Jump to content

jTynne's Palette Renaming Tool 2.0


About This File

Okay, so, basically I needed a tool that would copy and rename .pal files into all the different class palette names since the "All In One" palette diff no longer works with RE game clients. The result was me asking for someone to write something that did just that, and clydelion is in the process of writing a program that can do that. I've created a php script based off of something Yommy posted to us in #rathena that did similar. I've adjusted his script base to do the following:

- Script reads numerically numbered .PAL files from one directory and renames them into all the different class names (and genders).

- Script tar.gz's the output directory and provides a download link for easily downloading the files.

- Script can easily be edited to do what YOU need it to do.

From the "readme.txt" file:

== Instructions ==

1. On a PHP enabled machine, upload the contents of this package to a web directory (or localhost if you're that cool).

2. Next, CHMOD 777 "base" and "output" directories.

3. Upload palettes as #.PAL (capital extension -- you MUST honor the case) to the "base" folder.

Note: Numbering starts at 0 and ends at whatever you define in the palette.php file.

Find: for($i = 0; $i < 100; $i++) { and change the 100 to the max number of palette files you have in the "base" directory.

4. Run palette.php from your browser. You'll see a bunch of confirmation messages.

5. You can then download the contents of the "output" directory.

Unfortunately, I'm not that great with PHP, so I doubt I'll be able to extend this script much further. If someone else would care to collaborate or modify it further, please do let me know.

If you'd like to share your appreciation for this release, my Paypal is: [email protected] - 50% proceeds go back to rAthena.

Questions? Comments? Please reply!


What's New in Version 2.0

Released

  • v2: Now tar.gz's the output directory for easy downloading.
  • v1: Initial beta release. July 15th, 2012

×
×
  • Create New...