- Joined
- Jan 16, 2014
- Messages
- 150
- Reaction score
- 189
EDIT: All these files can now be found on github:
You must be registered to see links
Last edited:
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Would be great if you add them all in one package, for those who don't have it :3
Few bytes changed, figure it out, it's not that hard.
Thank you for your guidanceRun ebm template first ?
//--------------------------------------##
// Game: CABAL Online
// File Format: EBM, EBS, ECH, EPS
// Description: Adds a new Material data block. Useful for adding layered textures to existing or custom files.
//--------------------------------------##
// Author: Yamachi, fixing : Punk
// Team: Forge
// Website: http://forge-dev.com
//--------------------------------------##
Assert(exists(estType), "No template results found. Please run the appropriate template before attempting to run this script again.");
Assert(estType == "EBM" || estType == "EBS" || estType == "ECH" || estType == "EPS", "File format not supported.");
int count = materials_and_textures.count;
int64 start = startof(materials_and_textures.materials[count - 1].layer);
int64 size = startof(materials_and_textures.chunk_id)-start;
start += size;
InsertBytes(start, 100);
materials_and_textures.count += 1;
// Refresh
RunTemplate();
materials_and_textures.materials[count].texture.id.length = 1;
materials_and_textures.materials[count].texture.size = 1;
start = startof(materials_and_textures.materials[count].texture.id.length);
start += 2;
InsertBytes(start, 1);
start = startof(materials_and_textures.materials[count].texture.size);
start += 5;
InsertBytes(start, 1);
// Refresh
RunTemplate();
materials_and_textures.materials[count].layer.material_index = -1;
materials_and_textures.materials[count].layer.render_flags = 4;
RunTemplate();
dearCode://--------------------------------------## // Game: CABAL Online // File Format: EBM, EBS, ECH, EPS // Description: Adds a new Material data block. Useful for adding layered textures to existing or custom files. //--------------------------------------## // Author: Yamachi, fixing : Punk // Team: Forge // Website: http://forge-dev.com //--------------------------------------## Assert(exists(estType), "No template results found. Please run the appropriate template before attempting to run this script again."); Assert(estType == "EBM" || estType == "EBS" || estType == "ECH" || estType == "EPS", "File format not supported."); int count = materials_and_textures.count; int64 start = startof(materials_and_textures.materials[count - 1].layer); int64 size = startof(materials_and_textures.chunk_id)-start; start += size; InsertBytes(start, 100); materials_and_textures.count += 1; // Refresh RunTemplate(); materials_and_textures.materials[count].texture.id.length = 1; materials_and_textures.materials[count].texture.size = 1; start = startof(materials_and_textures.materials[count].texture.id.length); start += 2; InsertBytes(start, 1); start = startof(materials_and_textures.materials[count].texture.size); start += 5; InsertBytes(start, 1); // Refresh RunTemplate(); materials_and_textures.materials[count].layer.material_index = -1; materials_and_textures.materials[count].layer.render_flags = 4; RunTemplate();
This should work, there's probably a better way to write it but I don't care. Make sure to run cabal_ebm.bt first still.
dearYou must be running an old version of 010.
Put the templates you downloaded in Documents/Sweetscape/010 Templates then replace the lines in the script with the RunTemplate("Cabal_"+estType+".bt");
(Download the full .zip and replace all your templates, as I've made numerous changes since I last published them)
- Updated EBM template to support newest Korean Test Client format.