Sweetscape 010 Editor Templates & Scripts

Page 1 of 4 1234 LastLast
Results 1 to 15 of 49
  1. #1
    Proficient Member estsoft is offline
    MemberRank
    Jan 2014 Join Date
    154Posts

    Sweetscape 010 Editor Templates & Scripts

    EDIT: All these files can now be found on github: https://github.com/Epidal/010_game_templates
    Last edited by estsoft; 06-07-17 at 02:50 PM. Reason: Added github link


  2. #2
    Valued Member xDarkMoon is offline
    MemberRank
    Nov 2012 Join Date
    The moonLocation
    142Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    Would be great if you add them all in one package, for those who don't have it :3

  3. #3
    Cya nerds PunkS7yle is offline
    MemberRank
    Feb 2010 Join Date
    1,448Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    Right click each one > save file as. on each one. ez pz u lazy squeezy

  4. #4
    Proficient Member estsoft is offline
    MemberRank
    Jan 2014 Join Date
    154Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    Quote Originally Posted by xDarkMoon View Post
    Would be great if you add them all in one package, for those who don't have it :3
    The reason they're not available as one download is because each is a Dropbox link. I've done it this way so that the links always point to the latest versions of the templates and scripts. All I have to do on my end is edit the local versions on my PC, and Dropbox takes care of the rest.

    Speaking of which, I've updated the ui.dat and EBM templates a little.

    EDIT: Added a link to an auto-generated zip archive of all of the scripts and templates. Added very basic EBD (band) and GLS (glass) templates.
    Last edited by estsoft; 02-05-14 at 09:44 PM.

  5. #5
    Valued Member xDarkMoon is offline
    MemberRank
    Nov 2012 Join Date
    The moonLocation
    142Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    I'm quite lazy indeed, must admit though it makes me find the shortest ways :P

  6. #6
    UtakAso Drav3n is offline
    MemberRank
    Aug 2011 Join Date
    PHLocation
    919Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    any template for the latest item.enc now?

    Item.ENC [EP10] <<< does not work for the item.enc from latest official client.

  7. #7
    Cya nerds PunkS7yle is offline
    MemberRank
    Feb 2010 Join Date
    1,448Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    Few bytes changed, figure it out, it's not that hard.

  8. #8
    UtakAso Drav3n is offline
    MemberRank
    Aug 2011 Join Date
    PHLocation
    919Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    Quote Originally Posted by PunkS7yle View Post
    Few bytes changed, figure it out, it's not that hard.
    Honestly, I don't have any idea how to figure it out.

  9. #9
    Member lqy1471 is offline
    MemberRank
    Feb 2013 Join Date
    85Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    The boss, please help me
    As shown in figure
    When I run the script, to get such a mistake
    What should I do is right?
    Help me, thank you

  10. #10
    Cya nerds PunkS7yle is offline
    MemberRank
    Feb 2010 Join Date
    1,448Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    Run ebm template first ?

  11. #11
    Member lqy1471 is offline
    MemberRank
    Feb 2013 Join Date
    85Posts

    Re: Sweetscape 010 Editor Templates &amp; Scripts

    Thank you for your guidance
    Now suggest such a mistake

    The next step in the right what should I do?Help me
    thank you

    - - - Updated - - -

    Quote Originally Posted by PunkS7yle View Post
    Run ebm template first ?
    Thank you for your guidance
    Now suggest such a mistake

    The next step in the right what should I do?Help me
    thank you
    I'm sorry my English is very poor

  12. #12
    Cya nerds PunkS7yle is offline
    MemberRank
    Feb 2010 Join Date
    1,448Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    The script is bad, i'll look at it when I wake up.

  13. #13
    Cya nerds PunkS7yle is offline
    MemberRank
    Feb 2010 Join Date
    1,448Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    Code:
    //--------------------------------------##
    // 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.
    Last edited by PunkS7yle; 09-03-16 at 03:21 PM.

  14. #14
    Member lqy1471 is offline
    MemberRank
    Feb 2013 Join Date
    85Posts

    Re: Sweetscape 010 Editor Templates &amp; Scripts

    Quote Originally Posted by PunkS7yle View Post
    Code:
    //--------------------------------------##
    // 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.
    dear
    Thanks for your great work.
    According to your instruction, now still have such a mistake

    Hope to be able to repair it
    Thank you for your
    You are a good man
    Last edited by lqy1471; 10-03-16 at 02:03 AM.

  15. #15
    Cya nerds PunkS7yle is offline
    MemberRank
    Feb 2010 Join Date
    1,448Posts

    Re: Sweetscape 010 Editor Templates & Scripts

    You 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");



Page 1 of 4 1234 LastLast

Advertisement