Jump to content

Tokeiburu

Members
  • Content Count

    202
  • Joined

  • Last visited

  • Days Won

    37

Reputation Activity

  1. Upvote
    Tokeiburu got a reaction from DaviLord in GRF Editor   
    You will need the latest version from the mediafire link (1.6.7.5) : http://www.mediafire.com/download/aflylbhblrzpz0h
     
    There are two ways to encrypt files, but first, you'll want to setup your client.
    Go in Tools > GRF Encryption
    Put your encryption password in the first box (you can save the credentials to a .grfkey format if you plan on using the encryption often, but make sure this file is not shared with anyone else).
    Select your client executable (the name of the executable cannot be changed afterwards).
    Put your new cps.dll name. This cannot exceed 7 characters. You can simply leave it as "cps.dll", which won't require an edited client.
    Click on Generate files. If everything went well, a window should show up with your new cps.dll file selected (and the client, if it needed modifications).
    Screenshot below after you generate your client files.
    Copy the new generated files to your client folder.

     

     
     
    That's it for the client configuration.
     
    As for the GRF actual encryption now... Open your GRF in GRF Editor. If you want to encrypt your entire GRF, go in Tools > GRF Encryption, click on Encrypt GRF (might ask you for your password). The process should be rather quick, the output GRF is your new encrypted GRF.
     
    You can also encrypt specific files if you want : right-click the items you want to encrypt and use Encryption > Encrypt. Save your GRF.
     

     
     
    Encrypted files will show in orange. When opening up an encrypted GRF, GRF Editor will prompt you for your credentials (hence why it's useful to save your password somewhere, then you can quickly load it with Key... > Load recent > your key.grfkey) :

     
     
    To make encrypted Thor patches, create a new Thor file from File > New > New Thor. Add a data folder and add your files in there. This is the same process as above : right-click, Encryption > Encrypt. Make sure you use the same password/key. Go in the Container options tab and set your target GRF (as shown below). Once saving, you will no longer be able to modify your encrypted Thor patch though (the files will become unreadable). Also, always test your Thor patches to make sure everything is working fine.

     
    That should cover most of it xD! If you have further questions, go ahead.
  2. Upvote
    Tokeiburu got a reaction from DaviLord in What do you think about the new Prontera?   
    Heya, if anyone's interested, I made a GRF with the new prontera maps but with downgraded model files. Older clients will be able to load the maps just fine
     
    http://www.mediafire.com/download/7hcz6u9vl4vjhb4/newprontera.grf
  3. Upvote
    Tokeiburu got a reaction from AtlantisRO in GRF Editor   
    File Name: GRF Editor
    File Submitter: Tokeiburu
    File Submitted: 20 Jun 2014
    File Category: Client Resources
     
    ** This program has been orignally uploaded on rAthena; it's been uploaded on Hercules due to multiple requests. If you have suggestions or feedback and you want a quick response, please contact me via rAthena. I will respond on Hercules' forum as well, but it'll take a bit longer .
     
    Hey everyone,
     
    This is a GRF tool I started to develop for my own personnal use, but I thought I'd share it since I've upgraded the UI. Its primary goal is to be easy to use while offering a wide variety of options and customizations. The software is quite stable and can handle large operations easily.
     
    How to install
    Download the zip archive provided from the download link at the bottom of this description or directly from there : http://www.mediafire.com/?aflylbhblrzpz0h
    Install the application with GRF Editor Installer.exe; if you are missing a .NET Framework you will be prompted to download it.
    Once you are done, you can start the program from the link on your desktop.

    Key features
    Overall speed is faster (or at least equal) than any GRF tool.
    Common operations : add, delete, merge, extract, preview, save.
    Undo and redo for any operation.
    It can open any GRF file.
    Clean and very interactive interface.
    Saving formats supported : 0x200, 0x103 and 0x102 (through the Settings page).
    Instant filter and search options (example : "map .gat").
    File association and context menus integration for .grf, .gpf and .rgz (through the Settings page).
    Can rebuild separated images into one file easily.
    Lub decompilation (in beta, but it can decompile almost any lub file so far).
    Drag and drop (with the ALT key, can be modified in the Settings page). This is a big part of the software; most of the items can be moved around within the application itself or from/to Windows Explorer.

    Tools
    Sprite editor : a simple sprite editor with powerful features. Semi-transparent images can be added, you can easily change the order or replace images, etc. This tool can convert images in the wrong type by showing you multiple solutions (merging a new palette, dithering the image by using current palette, using the closest color, and a few more).
    Grf validation : allows you to validate a GRF with multiple settings. It can detect corrupted GRF entries, invalid sprites, empty files, non-GRF files, duplicate files and a lot more.
    Flat maps maker : generates flat maps from .gat and .rsw files. Useful to generate WoE maps or to fasten up the loading time.
    Patch maker : generates a GRF patch based on two different GRFs.
    Hash viewer : shows the hash code (both CRC32 and MD5) for files.
    Image converter : converts an image to any format requested (BMP, PNG, JPG, TGA).
    GrfCL : used to create batch files (.bat) which can automate tasks on GRF files. See the content in GrfCL.rar in the download for more information. This tool can be customized from the sources as well.
    Palette recolorer : creates new sprites by changing their colors (this tool is now deprecated).
    Client database editor : allows modifications of the database client files (txt and lua) with easy and simple tools. Work in progress.

    Grf encryption
     

    The encryption feature has been enabled again. It's similar to what it used to be and it has been tested on client versions ranging from 2012-08-01 to 2014-02-05. Some error messages will be displayed if necessary. If you have an issue, copy the error message (with the code, if there's one) and send me the client executable with the cps.dll file generated by GRF Editor. There shouldn't be compatibility issues anymore though!  
    Technical stuff
    Requires .Net Framework 3.5 (SP1) Client Profile to run (3.5 or more will work as well).
    Automatically converts file name encoding to their proper values (you can change the encoding).
    Data virtualization is used as much as possible to preview files, meaning the files aren't completely loaded.
    Right-clicking an item will bring up the available options with that file.
    Preview file formats : txt, log, xml, lua, lub, bmp, png, tga, jpp, db, ebm, pal, gnd, rsw, gat, rsm, str, spr, act, imf, fna and wav.
    Services are "crash ready", meaning that you will be warned about a failed operation and no work will be lost (the application won't close and crash). It tries to continue operating even if it meets unsual conditions.
    Operations can be cancelled by clicking on the button near the progress bar.
    The warning level can be changed to avoid messages like "Please select a folder first."
    When prompted with an error, use Ctrl-C to copy the current dialog's content.

    Some screenshots!
    1) Previewing an act file, while showing the search feature

     
    2) Preview of a model file (rsm)

     
    3) Preview of GrfCL with the MakeGrf command

     
    4) Preview of the Client Database Editor

     
    5) Preview of Grf validation

     
    6) Search feature (press Ctrl-F or Ctrl-H to bring up within a text editor)

    Sources : http://www.mediafire.com/download.php?7z6hkdag4ayj8rs
     
    Got a feedback? I'd gladly hear you out and fix issues you have with the program. If you want new features to be added, don't hesitate to ask!
     
    Click here to download this file
  4. Like
    Tokeiburu got a reaction from evilpuncker in Voting closed. A new patcher is coming.   
    Well the most popular requests have already been suggested, all of which are rather huge undertaking:
    A more friendly STR editor (which you've already said you're not interested in). A palette editor meant towards the creation of palettes for the job sprites/head sprites, as mentioned by evilpuncker. Either fully automated or for "manual mass creation" (as in choosing colors that would automatically create palettes for the other classes). It is hard to create a friendly interface for such a project though. The job sprite files are also different for some servers, so it's hard to account for everyone when doing such a project. It's quite a messy one that would leave you more frustrated than anything at the end of the day. A, yet again, new patcher similar to Thor. I don't think one is really necessary as Thor already does everything you'd want from a patcher though. Edit: A new map editor, similar to BrowEdit. BrowEdit 2.0 is still being worked on, though.  
    Those are certainly the requests I've received the most that I can remember. (I have a feeling those aren't the programs you'd be looking to make...!) But sorry, those are my best guesses.
  5. Like
    Tokeiburu got a reaction from evilpuncker in Voting closed. A new patcher is coming.   
    Heya,
     
    Sorry for sneaking in your thread... someone pinged me @@! I want to point out that your version of Act Editor is quite outdated (latest versions are on the mediafire links in its respective thread, or here). There are no known issues with the pick color tool; please forward them to me if you can reproduce it easily.
     
    I haven't dropped off the face of the earth...! I am simply not very active on Hercules' forums. I released the downgraded RSM2/RMS1 files on Borf's Discord. I believe I saw the models being reuploaded in other places afterwards...? Anyhow, I had also converted the RSW files with its objects, but never released those maps (someone had to do that manually ;x...). Though the models' conversion isn't perfect (the rotation frames' quaternions weren't converted properly), so some models ended up with oddities. A tool to convert those models will not be released however as it is simply easier to use a newer client instead to load those maps/models.
  6. Upvote
    Tokeiburu got a reaction from babymaru in Identify .str or .tga filenames of some effect/skill.   
    There's a trick to identify these... thanks Olrox ! Anyhow, many of them are hard coded in the client.
     
    15    Soul Strike pok1.tga pok3.tga ring_blue.tga lens1.tga lens2.tga
    17 Magnum Break ring_yellow.tga ´ëÆø¹ß.tga 27 Frost Diver (Traveling to Target) ice.tga pok1.tga pok3.tga smoke.tga 28 Frost Diver (Hitting) pok1.tga pok3.tga smoke.tga 226 Grand Cross Effect alpha_center.tga ring_white.tga ring_yellow.tga 252 Reflect Shield ring_yellow.tga 312 Heal Effect ring_white.tga pok1.tga pok3.tga 336 Kyrie Eleison/Parrying Shield kyrie.str 409 Meteor Assault purpleslash.tga   Edit : You can view the resources of STR files using GRF Editor, ex :
  7. Upvote
    Tokeiburu reacted to smiths12 in Next-gen Speaker   
    View File Next-gen Speaker
    Monster from MapleStory: Next-gen Speaker
     
     
     
    Submitter smiths12 Submitted 08/13/17 Category Sprites & Palettes  
  8. Upvote
    Tokeiburu got a reaction from SyncMaster in [MAP] Size restrictions?   
    Short answer is : yes, the client supports larger maps, but you have to be careful when you make them!   2013-07-08 : Maximum map size : 1500 x 1500   2010-07-30 : Maximum map size : 1350 x 1350   These large maps take about 300 MB of memory, but I doubt people will go that high.   Apart from the client version, maps also have a limit on the number of "lightmap" references, which is 65536 (ushort). Each tile is associated with a lightmap. Let's assume you have a map of size 512 by 512, that would mean... Tiles Up = Width/2 * Height/2 = 256 * 256 = 65536 Maximum Tiles = 3 * Width/2 * Height/2 = 196608 (up, left and right) Lightmaps to fill = Maximum Tiles = 196608   That means that even a map of 512 by 512 can "break". If you don't use walls, then you only have 65536 max tiles and there are no issues in that case. You can reuse an existing lightmap (which gives you a much bigger margin to play with), but BrowEdit doesn't seem to support this when you recalculate the lightmaps (this is the common "Sanity error: lightmaps out of bounds" error people get).   Just for a quick comparison, the map schg_dun01 has 63854 lightmaps and it is 400 by 400 in size. The map has many lighting effects though and the complex background is what increases the amount so much.   Also, maps larger than 1350 require a minimal size of 80 MB (this is without lightmaps), which is unfortunately too much for cps.dll (the limit is around ~75 MB). I doubt this will be needed anyhow.   For further reference, these are the maps I've used to do my tests ingame (they do not have lightmaps for the reasons mentionned above) : http://www.mediafire.com/download/737b0u8dp9b6v3f/testmaps.grf   You could have maps of 2500 by 20, there are no problems with these for the client. I don't think BrowEdit is able to calculate quad trees which aren't in a square shape (I may be wrong on BrowEdit's capabilities though! I haven't tested with non-squared maps).
  9. Upvote
    Tokeiburu got a reaction from Legend in NPC jump onbuy item   
    You can use this (it's based on rAthena, I haven't tested on Hercules ;x. I presume it's compatible though!).
    - shop #annie_shop -1,501:50,502:50,503:50 prontera,155,155,4 script Annie Shop 757,{ callshop "#annie_shop", 0; npcshopattach "#annie_shop"; end; OnBuyItem: .@map$ = .jmpmaps$[rand(getarraysize(.jmpmaps$))]; getfreecell(.@map$, .@x, .@y); specialeffect EF_TELEPORTATION2; // For the teleport effect unitwarp getnpcid(0), .@map$, .@x, .@y; dispbottom "Teleported NPC to " + .@map$ + " (" + .@x + ", " + .@y + ")"; end; OnInit: setarray .jmpmaps$, "hugel", "yuno", "comodo", "xmas", "aldebaran", "izlude", "payon", "geffen", "morocc", "prontera"; end; }  
  10. Upvote
    Tokeiburu got a reaction from coldmaster in What do you think about the new Prontera?   
    Heya, if anyone's interested, I made a GRF with the new prontera maps but with downgraded model files. Older clients will be able to load the maps just fine
     
    http://www.mediafire.com/download/7hcz6u9vl4vjhb4/newprontera.grf
  11. Upvote
    Tokeiburu got a reaction from coldmaster in What do you think about the new Prontera?   
    Alright, I've reuploaded the link and updated the files. There are no reasons why 2012 clients wouldn't be able to load this GRF. Models have been downgraded, again, for full support. It contains all the necessary files for the following maps :   pprontera.rsw prontera.rsw prt_cas.rsw prt_cas_q.rsw prt_church.rsw prt_fild01.rsw prt_fild05.rsw prt_fild06.rsw prt_fild08.rsw prt_in.rsw prt_lib.rsw prt_lib_q.rsw prt_pri00.rsw prt_prison.rsw prt_q.rsw  
    It is the same link as before : http://www.mediafire.com/download/7hcz6u9vl4vjhb4
  12. Upvote
    Tokeiburu got a reaction from estoudegreve in Act Editor   
    File Name: Act Editor
    File Submitter: Tokeiburu
    File Submitted: 03 Dec 2014
    File Category: Client Resources
     
    Heya,
     
    This tool is an action file editor, it edits Act and Spr files. You will find similarities with ActOR in its design, but it should be much more enjoyable to edit animations ;].
     
    Special thanks to Nebraskka for testing this software in its early days. All the suggestions and feedbacks made this software much better.
     
    How to install
    Download the zip archive provided from the download link at the bottom of this description or directly from there : http://www.mediafire.com/download/y3amu1o5zsmgd2o
    Install the application with Act Editor Installer.exe; if you are missing a .NET Framework you will be prompted to download it.
    Once you are done, you can start the program from the link on your desktop.


     
     
    Key features
    The software has many, many features available. It would take too long to describe each one of them, so I've only focussed on the more impotant ones.
    You can undo and redo everything, scripts included.
    You can edit and add sounds easily.
    Powerful and easy to use palette editor.
    Sprite types have been abstracted - you don't have to worry or care about that.
    Animation speed can be changed easily.
    Most components have a drag and drop feature.
    Advanced scripting engine (C# language). The scripts can also be used to customize the software menus.
    Error checking when saving the act/spr to avoid invalid files. The sprite version will be automatically downgraded if RLE compression is not available.
    Frame interpolation (inbetweening/tweening) is possible via the Animation menu.
    Prompts you with an image converter dialog if the added image is invalid.
    Allows advanced edition for actions and frames via their respective menus.
    You can load files from GRFs directly (and save in the GRFs directly as well).

    Technical stuff
    Requires .Net Framework 3.5 (SP1) Client Profile to run (3.5 or more will work as well).
    When prompted with an error, use the "Copy exception" button to copy the debugging info. I will need this to fix the issue you're encountering.

    The editor's primary window
    The interface is really straightforward and similar to ActOR. I'll only focus on new elements!
     
    Rendering mode : This option changes the behavior of how layers are rendered. If you use 'Editor', you'll clearly see all the pixels when zooming in. If you use 'Ingame', it will use a linear scaling instead, which is closer to what the client does.

     
    References : These allow you to know where your item will be positionned (the yellow marker is the anchor, see below).

     
    Color mask : To edit the color of a layer, simply click on the color rectangle. You can also drag and drop the colors between different layers to quickly modify many of them.
     
    Common shortcuts : You can manipulate layers by using common shortcuts. More can be found from the Edit menu. These below are only the primary ones.
    Ctrl-A : Select all layers.
    Ctrl-C : Copy the selected layers.
    Ctrl-V : Paste the copied layers.
    Ctrl-X : Cut the selected layers.
    Alt-C : Copy current action.
    Alt-V : Paste current action.

    Advanced action and frame editions
    These expose all the available methods of the editor. You can remove a range of frames or copy a frame 10 times very quickly and easily. This dialog is found in Action/Frame > Advanced edit...

     
     
    Anchors
    You can edit anchors from the editor directly. Anchors are points that connect frames together, from different act files. Here's an example without and with anchors :
     



     
    This is mostly useful when you're using reference sprites (on the right panel). Clicking on the anchor button will let you choose where to attach the sprite (this is set semi-automatically for you though). You can edit those from the Anchors menu, but it is recommended to start from a pre-existing act to avoid doing this tedious process.
     
     
    Palette editor
    The palette editor allows you to quickly recolor sprites with an intuitive interface. Only indexed images can be edited (it's a palette editor after all) and three modes are available. The gradient mode changes an existing gradient to another color while keeping the original saturation and brightness of the colors - this makes the gradients blend in better. If there are no gradient (usually because it's a custom sprite), there's always the Adjust color mode. This one changes all color from a specified range to another one (Photoshop has a similar feature, which does work better).
     

     
    You can click on the image (on the left) to automatically select the palette indexes. These will be highlighted for a few seconds to show you what you're about to edit.
     
     
    Interpolation (tweening)
    This script can be accessed via Animation > Interpolate frames. This process fills the images between two frames by detecting the changes applied to the layers. Here's a simple example of how it can be used :
     
     
     
     
    Script engine
    The script engine can be accessed via Scripts > Script Runner. This is a big feature of Act Editor, it allows you to automate all your work with the act and much more. Click on the Help button for guides and available methods (don't hesitate to try out a script; if an error occurs the act will be reversed to its previous state). The documentation doesn't cover all of the available options and methods for obvious reasons (the .net framework is huge). Doc example :
     

     
    The language used by the script engine is C#. If you're not familiar with it, simply check out the script samples (Scripts > Open scripts folder)! I won't go into details here, questions can be asked in the support thread regarding addiotional features and methods. If you believe your script should be added in the program, send it to me and I'll probably add it.
     
     
    Customizable
    The settings dialog allows you to modify all colors in the editor easily.

     
    You'll also find the sound resources (GRFs and folders) that can be set up in the Sound tab. The Shell integration tab can associate the .act files with the software to edit them more easily.
     

     
    Don't hesitate to give me a feedbacks or suggestions!
     
    Click here to download this file
  13. Upvote
    Tokeiburu reacted to dualityDiscretion in RO Webcomic [FIN]   
    Last year, I launched a RO-themed webcomic which I've been updating weekly. I've been posting it in several forums and someone told me to share it here too, so I thought why not~
     
    This comic follows Joshua, a newb adventurer who just arrived in Rune Midgard, struggling to understand how the world works, with some helping hands guiding him... kinda...
     
    http://tapas.io/series/PORINGS
     
    Been goin for almost a year, 44 strips so far and going strong. Updated every Friday~
  14. Upvote
    Tokeiburu got a reaction from caspe in GRF Editor   
    File Name: GRF Editor
    File Submitter: Tokeiburu
    File Submitted: 20 Jun 2014
    File Category: Client Resources
     
    ** This program has been orignally uploaded on rAthena; it's been uploaded on Hercules due to multiple requests. If you have suggestions or feedback and you want a quick response, please contact me via rAthena. I will respond on Hercules' forum as well, but it'll take a bit longer .
     
    Hey everyone,
     
    This is a GRF tool I started to develop for my own personnal use, but I thought I'd share it since I've upgraded the UI. Its primary goal is to be easy to use while offering a wide variety of options and customizations. The software is quite stable and can handle large operations easily.
     
    How to install
    Download the zip archive provided from the download link at the bottom of this description or directly from there : http://www.mediafire.com/?aflylbhblrzpz0h
    Install the application with GRF Editor Installer.exe; if you are missing a .NET Framework you will be prompted to download it.
    Once you are done, you can start the program from the link on your desktop.

    Key features
    Overall speed is faster (or at least equal) than any GRF tool.
    Common operations : add, delete, merge, extract, preview, save.
    Undo and redo for any operation.
    It can open any GRF file.
    Clean and very interactive interface.
    Saving formats supported : 0x200, 0x103 and 0x102 (through the Settings page).
    Instant filter and search options (example : "map .gat").
    File association and context menus integration for .grf, .gpf and .rgz (through the Settings page).
    Can rebuild separated images into one file easily.
    Lub decompilation (in beta, but it can decompile almost any lub file so far).
    Drag and drop (with the ALT key, can be modified in the Settings page). This is a big part of the software; most of the items can be moved around within the application itself or from/to Windows Explorer.

    Tools
    Sprite editor : a simple sprite editor with powerful features. Semi-transparent images can be added, you can easily change the order or replace images, etc. This tool can convert images in the wrong type by showing you multiple solutions (merging a new palette, dithering the image by using current palette, using the closest color, and a few more).
    Grf validation : allows you to validate a GRF with multiple settings. It can detect corrupted GRF entries, invalid sprites, empty files, non-GRF files, duplicate files and a lot more.
    Flat maps maker : generates flat maps from .gat and .rsw files. Useful to generate WoE maps or to fasten up the loading time.
    Patch maker : generates a GRF patch based on two different GRFs.
    Hash viewer : shows the hash code (both CRC32 and MD5) for files.
    Image converter : converts an image to any format requested (BMP, PNG, JPG, TGA).
    GrfCL : used to create batch files (.bat) which can automate tasks on GRF files. See the content in GrfCL.rar in the download for more information. This tool can be customized from the sources as well.
    Palette recolorer : creates new sprites by changing their colors (this tool is now deprecated).
    Client database editor : allows modifications of the database client files (txt and lua) with easy and simple tools. Work in progress.

    Grf encryption
     

    The encryption feature has been enabled again. It's similar to what it used to be and it has been tested on client versions ranging from 2012-08-01 to 2014-02-05. Some error messages will be displayed if necessary. If you have an issue, copy the error message (with the code, if there's one) and send me the client executable with the cps.dll file generated by GRF Editor. There shouldn't be compatibility issues anymore though!  
    Technical stuff
    Requires .Net Framework 3.5 (SP1) Client Profile to run (3.5 or more will work as well).
    Automatically converts file name encoding to their proper values (you can change the encoding).
    Data virtualization is used as much as possible to preview files, meaning the files aren't completely loaded.
    Right-clicking an item will bring up the available options with that file.
    Preview file formats : txt, log, xml, lua, lub, bmp, png, tga, jpp, db, ebm, pal, gnd, rsw, gat, rsm, str, spr, act, imf, fna and wav.
    Services are "crash ready", meaning that you will be warned about a failed operation and no work will be lost (the application won't close and crash). It tries to continue operating even if it meets unsual conditions.
    Operations can be cancelled by clicking on the button near the progress bar.
    The warning level can be changed to avoid messages like "Please select a folder first."
    When prompted with an error, use Ctrl-C to copy the current dialog's content.

    Some screenshots!
    1) Previewing an act file, while showing the search feature

     
    2) Preview of a model file (rsm)

     
    3) Preview of GrfCL with the MakeGrf command

     
    4) Preview of the Client Database Editor

     
    5) Preview of Grf validation

     
    6) Search feature (press Ctrl-F or Ctrl-H to bring up within a text editor)

    Sources : http://www.mediafire.com/download.php?7z6hkdag4ayj8rs
     
    Got a feedback? I'd gladly hear you out and fix issues you have with the program. If you want new features to be added, don't hesitate to ask!
     
    Click here to download this file
  15. Upvote
    Tokeiburu got a reaction from evilpuncker in RO installer script (Inno Setup) -help me   
    As the guide in the download page says:
    Server name : open RO.iss and change the first line : #define ServerName "YourRO" You changed all the preprocessor lines from #ServerName to #myRO, so that won't work.
  16. Upvote
    Tokeiburu got a reaction from Legend in RO installer script (Inno Setup) -help me   
    As the guide in the download page says:
    Server name : open RO.iss and change the first line : #define ServerName "YourRO" You changed all the preprocessor lines from #ServerName to #myRO, so that won't work.
  17. Upvote
    Tokeiburu got a reaction from Fou-lu in BrowEdit Erro!   
    Sprites don't appear on the end map. It's possible to recover your map, but I'd start by just deleting/renaming your .extra file and see if that's enough to load it up.
  18. Upvote
    Tokeiburu got a reaction from Like it~* in GRF Editor   
    File Name: GRF Editor
    File Submitter: Tokeiburu
    File Submitted: 20 Jun 2014
    File Category: Client Resources
     
    ** This program has been orignally uploaded on rAthena; it's been uploaded on Hercules due to multiple requests. If you have suggestions or feedback and you want a quick response, please contact me via rAthena. I will respond on Hercules' forum as well, but it'll take a bit longer .
     
    Hey everyone,
     
    This is a GRF tool I started to develop for my own personnal use, but I thought I'd share it since I've upgraded the UI. Its primary goal is to be easy to use while offering a wide variety of options and customizations. The software is quite stable and can handle large operations easily.
     
    How to install
    Download the zip archive provided from the download link at the bottom of this description or directly from there : http://www.mediafire.com/?aflylbhblrzpz0h
    Install the application with GRF Editor Installer.exe; if you are missing a .NET Framework you will be prompted to download it.
    Once you are done, you can start the program from the link on your desktop.

    Key features
    Overall speed is faster (or at least equal) than any GRF tool.
    Common operations : add, delete, merge, extract, preview, save.
    Undo and redo for any operation.
    It can open any GRF file.
    Clean and very interactive interface.
    Saving formats supported : 0x200, 0x103 and 0x102 (through the Settings page).
    Instant filter and search options (example : "map .gat").
    File association and context menus integration for .grf, .gpf and .rgz (through the Settings page).
    Can rebuild separated images into one file easily.
    Lub decompilation (in beta, but it can decompile almost any lub file so far).
    Drag and drop (with the ALT key, can be modified in the Settings page). This is a big part of the software; most of the items can be moved around within the application itself or from/to Windows Explorer.

    Tools
    Sprite editor : a simple sprite editor with powerful features. Semi-transparent images can be added, you can easily change the order or replace images, etc. This tool can convert images in the wrong type by showing you multiple solutions (merging a new palette, dithering the image by using current palette, using the closest color, and a few more).
    Grf validation : allows you to validate a GRF with multiple settings. It can detect corrupted GRF entries, invalid sprites, empty files, non-GRF files, duplicate files and a lot more.
    Flat maps maker : generates flat maps from .gat and .rsw files. Useful to generate WoE maps or to fasten up the loading time.
    Patch maker : generates a GRF patch based on two different GRFs.
    Hash viewer : shows the hash code (both CRC32 and MD5) for files.
    Image converter : converts an image to any format requested (BMP, PNG, JPG, TGA).
    GrfCL : used to create batch files (.bat) which can automate tasks on GRF files. See the content in GrfCL.rar in the download for more information. This tool can be customized from the sources as well.
    Palette recolorer : creates new sprites by changing their colors (this tool is now deprecated).
    Client database editor : allows modifications of the database client files (txt and lua) with easy and simple tools. Work in progress.

    Grf encryption
     

    The encryption feature has been enabled again. It's similar to what it used to be and it has been tested on client versions ranging from 2012-08-01 to 2014-02-05. Some error messages will be displayed if necessary. If you have an issue, copy the error message (with the code, if there's one) and send me the client executable with the cps.dll file generated by GRF Editor. There shouldn't be compatibility issues anymore though!  
    Technical stuff
    Requires .Net Framework 3.5 (SP1) Client Profile to run (3.5 or more will work as well).
    Automatically converts file name encoding to their proper values (you can change the encoding).
    Data virtualization is used as much as possible to preview files, meaning the files aren't completely loaded.
    Right-clicking an item will bring up the available options with that file.
    Preview file formats : txt, log, xml, lua, lub, bmp, png, tga, jpp, db, ebm, pal, gnd, rsw, gat, rsm, str, spr, act, imf, fna and wav.
    Services are "crash ready", meaning that you will be warned about a failed operation and no work will be lost (the application won't close and crash). It tries to continue operating even if it meets unsual conditions.
    Operations can be cancelled by clicking on the button near the progress bar.
    The warning level can be changed to avoid messages like "Please select a folder first."
    When prompted with an error, use Ctrl-C to copy the current dialog's content.

    Some screenshots!
    1) Previewing an act file, while showing the search feature

     
    2) Preview of a model file (rsm)

     
    3) Preview of GrfCL with the MakeGrf command

     
    4) Preview of the Client Database Editor

     
    5) Preview of Grf validation

     
    6) Search feature (press Ctrl-F or Ctrl-H to bring up within a text editor)

    Sources : http://www.mediafire.com/download.php?7z6hkdag4ayj8rs
     
    Got a feedback? I'd gladly hear you out and fix issues you have with the program. If you want new features to be added, don't hesitate to ask!
     
    Click here to download this file
  19. Upvote
    Tokeiburu got a reaction from dhaisuke in How to add custom @commands in group.conf   
    groups.conf only works with source-side defined commands. If you want to make a script atcommand, you'll need to add the gm level when you bind it, such as:
     
    bindatcmd("@evacheck", strnpcinfo(3)+ "::OnCheck"), 0, 99;
     
    Where 0 is the gm level required to use the command (@evacheck) and 99 is the gm level required to use the command as a char command (#evacheck).
  20. Upvote
    Tokeiburu reacted to bWolfie in New Sprite 3rd Bug Head!   
    hahahahahahaha

     
    edit: sorry for the useless post, just thought it was really funny
  21. Upvote
    Tokeiburu got a reaction from Legend in RO Installer Script (Inno Setup)   
    File Name: RO Installer Script (Inno Setup)
    File Submitter: Tokeiburu
    File Submitted: 17 Aug 2015
    File Category: Client Resources

    Heya!

    This 'release' is a very simple Inno Setup script to create Full or Lite client installers.

    It requires Inno Setup, which can be downloaded here : http://www.jrsoftware.org/isdl.php#stable. While installing Inno Setup, make sure the "Install Inno Setup Preprocessor" option is checked; otherwise you will get an "unknown option" error.

    How to make this work?
    Put your client files in either RO_Lite or RO_Full and then run the "_Make New Installer.bat" files. This will output a new installer called "YourRO Installer.exe".



    Customization
    Server name : open RO.iss and change the first line : #define ServerName "YourRO" The left image can be customized by editing background.bmp (or background.psd). The file format must remain a 24bit bmp. The wizard small image uses wizardSmallImage.bmp; the file format must remain 24bit as well. To add files to your installer, add them to the RO_Lite or RO_Full subfolders. Once you run the script, all the files in these folders will be packed in your installer. It can go over 2 GB, although if that's the case you might want to consider using the LZMA compression for your GRFs...! Install the VC++ Redistributable files (required by Harmony) silently. Open RO.iss and remove the semi-colon in front of "#define Harmony" to enable this option. By default, the necessary registry keys to start the game will be set if they aren't already. This is to avoid the "small window" issue people will have with older clients. The installer icon can be changed via installer.ico Uninstallating removes the entire RO folder, watch out (you can disable that). The default installer icon used comes from Lykos's icon pack, which can be found here : https://rathena.org/board/files/file/3190-s1-lykos-icon-pack/. It has been modified through hexing to allow the icon to be resizable by Windows Vista or more recent.

    Click here to download this file
  22. Upvote
    Tokeiburu got a reaction from evilpuncker in GRF Editor   
    Heya, this .lub can be decompiled just fine. Are you sure you're using the latest version?
  23. Upvote
    Tokeiburu got a reaction from Legend in GRF Editor   
    File Name: GRF Editor
    File Submitter: Tokeiburu
    File Submitted: 20 Jun 2014
    File Category: Client Resources
     
    ** This program has been orignally uploaded on rAthena; it's been uploaded on Hercules due to multiple requests. If you have suggestions or feedback and you want a quick response, please contact me via rAthena. I will respond on Hercules' forum as well, but it'll take a bit longer .
     
    Hey everyone,
     
    This is a GRF tool I started to develop for my own personnal use, but I thought I'd share it since I've upgraded the UI. Its primary goal is to be easy to use while offering a wide variety of options and customizations. The software is quite stable and can handle large operations easily.
     
    How to install
    Download the zip archive provided from the download link at the bottom of this description or directly from there : http://www.mediafire.com/?aflylbhblrzpz0h
    Install the application with GRF Editor Installer.exe; if you are missing a .NET Framework you will be prompted to download it.
    Once you are done, you can start the program from the link on your desktop.

    Key features
    Overall speed is faster (or at least equal) than any GRF tool.
    Common operations : add, delete, merge, extract, preview, save.
    Undo and redo for any operation.
    It can open any GRF file.
    Clean and very interactive interface.
    Saving formats supported : 0x200, 0x103 and 0x102 (through the Settings page).
    Instant filter and search options (example : "map .gat").
    File association and context menus integration for .grf, .gpf and .rgz (through the Settings page).
    Can rebuild separated images into one file easily.
    Lub decompilation (in beta, but it can decompile almost any lub file so far).
    Drag and drop (with the ALT key, can be modified in the Settings page). This is a big part of the software; most of the items can be moved around within the application itself or from/to Windows Explorer.

    Tools
    Sprite editor : a simple sprite editor with powerful features. Semi-transparent images can be added, you can easily change the order or replace images, etc. This tool can convert images in the wrong type by showing you multiple solutions (merging a new palette, dithering the image by using current palette, using the closest color, and a few more).
    Grf validation : allows you to validate a GRF with multiple settings. It can detect corrupted GRF entries, invalid sprites, empty files, non-GRF files, duplicate files and a lot more.
    Flat maps maker : generates flat maps from .gat and .rsw files. Useful to generate WoE maps or to fasten up the loading time.
    Patch maker : generates a GRF patch based on two different GRFs.
    Hash viewer : shows the hash code (both CRC32 and MD5) for files.
    Image converter : converts an image to any format requested (BMP, PNG, JPG, TGA).
    GrfCL : used to create batch files (.bat) which can automate tasks on GRF files. See the content in GrfCL.rar in the download for more information. This tool can be customized from the sources as well.
    Palette recolorer : creates new sprites by changing their colors (this tool is now deprecated).
    Client database editor : allows modifications of the database client files (txt and lua) with easy and simple tools. Work in progress.

    Grf encryption
     

    The encryption feature has been enabled again. It's similar to what it used to be and it has been tested on client versions ranging from 2012-08-01 to 2014-02-05. Some error messages will be displayed if necessary. If you have an issue, copy the error message (with the code, if there's one) and send me the client executable with the cps.dll file generated by GRF Editor. There shouldn't be compatibility issues anymore though!  
    Technical stuff
    Requires .Net Framework 3.5 (SP1) Client Profile to run (3.5 or more will work as well).
    Automatically converts file name encoding to their proper values (you can change the encoding).
    Data virtualization is used as much as possible to preview files, meaning the files aren't completely loaded.
    Right-clicking an item will bring up the available options with that file.
    Preview file formats : txt, log, xml, lua, lub, bmp, png, tga, jpp, db, ebm, pal, gnd, rsw, gat, rsm, str, spr, act, imf, fna and wav.
    Services are "crash ready", meaning that you will be warned about a failed operation and no work will be lost (the application won't close and crash). It tries to continue operating even if it meets unsual conditions.
    Operations can be cancelled by clicking on the button near the progress bar.
    The warning level can be changed to avoid messages like "Please select a folder first."
    When prompted with an error, use Ctrl-C to copy the current dialog's content.

    Some screenshots!
    1) Previewing an act file, while showing the search feature

     
    2) Preview of a model file (rsm)

     
    3) Preview of GrfCL with the MakeGrf command

     
    4) Preview of the Client Database Editor

     
    5) Preview of Grf validation

     
    6) Search feature (press Ctrl-F or Ctrl-H to bring up within a text editor)

    Sources : http://www.mediafire.com/download.php?7z6hkdag4ayj8rs
     
    Got a feedback? I'd gladly hear you out and fix issues you have with the program. If you want new features to be added, don't hesitate to ask!
     
    Click here to download this file
  24. Upvote
    Tokeiburu got a reaction from bWolfie in What do you think about the new Prontera?   
    Heya, if anyone's interested, I made a GRF with the new prontera maps but with downgraded model files. Older clients will be able to load the maps just fine
     
    http://www.mediafire.com/download/7hcz6u9vl4vjhb4/newprontera.grf
  25. Upvote
    Tokeiburu got a reaction from evilpuncker in how to check   
    If you want to know the amount of players in a guild for a specific map, you may also want to use:
    .@count = getmapguildusers("prontera", getcharid(2));
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.