preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: May 08, 2024, 07:46:56 am
 Dwarf Fortress File Depot » Utilities » TokenRAWplacement
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: TokenRAWplacement
Last Updated: Nov 21, 2013, 05:58:17 pm
File version: 1.0
For DF version: Multiple
Downloads: 36 Size: 25.8 KB
Views: 393 Type: ZIP
Rating (0 votes): Unrated
Description
So after learning that modders had to keep most of the RAWs in synch between different tilesets that they want to include, I thought there had to be a better way.

I wrote a little program that will take a file and change the TILE & COLOR (along with other tokens) in your main "master" RAW folder.

The input file would have the same structure as the original "master" file with all of the tokens that you don't want to change removed. The program will likely work for any token that makes use of a : after the token name and the token only occurs once in the object, but I designed it to help with tileset changes and haven't tested it with anything else.

The only issue that I am aware of at this time, is that the multiple DISPLAY_COLOR tokens that may occur in a PLANT for the products that can be processed from them, alcohol, leaves, powder, etc. So in my example set of RAWs, I only included the token that would change the plant's color.

I'm including the files necessary to convert the RAWs back to the default ASCII tileset. The program doesn't handle the changes that are also needed for the graphics files, it only handles the RAWs.

Usage:
TokenRAWplacement "masterRAWfolder" "inputRAWfolder" [/b]


The /b option will create a backup of the master file before it overwrites it.


Once I figure out how to put my source code in GIT, I'll make it available. Or I just may post it in the forums since it's less than 200 lines of VB.

http://www.bay12forums.com/smf/index.php?topic=133506.msg4779833#msg4779833
Raw Data: JSON / Text
Checksum / Hash
SHA-256: fc682005dbf66702df2ceb6cb91c610862ac510eb9aae9c0296719cd08ca25b4
IP: logged
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Website by Brett Flannigan. The core site script is PHCDownload (© 2005-2024).
Hosted by Linode.