WZ2100 Text File Editor BETA

Discuss the future of Warzone 2100 with us.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

WZ2100 Text File Editor BETA

Post by milo christiansen »

This is the beta version of a editor I'm writing for the many comma-delimited text files warzone uses for unit stats.
The editor uses sets of definition files to tell it how to interpret the text files so it can be used with any kind of delimited file. So far the definition files are only done for weapons.txt so this is for testing/feedback purposes only.
I hope this will be useful.
You do not have the required permissions to view the files attached to this post.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: WZ2100 Text File Editor BETA

Post by Zarel »

Um... it seems easier just to rename the file to .csv and use a spreadsheet...
User avatar
zoid
Trained
Trained
Posts: 125
Joined: 13 Jun 2009, 00:45

Re: WZ2100 Text File Editor BETA

Post by zoid »

Good work. It's very nice to know what values you're editing. It is somewhat awkward to go through all the menus, however. For mass modding csv on spreadsheet is better, but I still like your tool. Maybe I'll even make a mod now. ;)
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: WZ2100 Text File Editor BETA

Post by milo christiansen »

I have never heard of anything to do with a spread sheet. How does it work?
This is only a beta so it will soon be much improved.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: WZ2100 Text File Editor BETA

Post by i-NoD »

I guess Zarel just tells you that stats files can be easily modified with such Win-applications as Excel and OpenOffice's Calc.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: WZ2100 Text File Editor BETA

Post by Zarel »

Assuming Windows:

1. Install Microsoft Office, OpenOffice, or some other spreadsheet program.
2. Rename weapons.txt to weapons.csv
3. Double-click weapons.csv
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: WZ2100 Text File Editor BETA

Post by milo christiansen »

Beta 2 is here!

This version adds tooltips to the value edit box that explain the possible values.
A gui to choose which file to edit is added instead of having to use the command line or register the files.
A error or two was fixed in the edit def and the config files and the way these files are handled is changed.

The spread sheet method works but you still have to count cells to figure out what to edit, so even if its a pain to make the definition files you only have to do it once. :)
You do not have the required permissions to view the files attached to this post.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: WZ2100 Text File Editor BETA

Post by milo christiansen »

More definition files!

This pack is the definition file for every file I know how to edit. If you need more you will have to make them yourself, sorry.

If someone makes more definitions PLEASE post them here. I want them if no one else does.

Note: These files only work with beta 2 They would have to be re-done for beta 1.
You do not have the required permissions to view the files attached to this post.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
zoid
Trained
Trained
Posts: 125
Joined: 13 Jun 2009, 00:45

Re: WZ2100 Text File Editor BETA

Post by zoid »

I'm not seeing any tooltips anywhere, must be a bug. You should consider using a separate pane for the description. I hate waiting for tips to pop up. Besides, the window is quite small. Just add a pane at the bottom or somewhere instead of using tooltips.
BTW, like your avatar bar. ;)
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: WZ2100 Text File Editor BETA

Post by milo christiansen »

The tooltips should show over the far right box. And yes a separate box is planed for the next version.
zoid wrote:BTW, like your avatar bar. ;)
I got the idea from you you know xD .
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
zoid
Trained
Trained
Posts: 125
Joined: 13 Jun 2009, 00:45

Re: WZ2100 Text File Editor BETA

Post by zoid »

OK, I get it. :) The tooltips show over the input box. I did find a minor bug, though. If at the starting "Choose File to Edit" box you click on a blank where there isn't a file name, an error message appears.
milo christiansen wrote:I got the idea from you you know xD .
You have no idea what a feeling of accomplishment and camaraderie that gives me. xD
p.s. programmer has 2 m's
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: WZ2100 Text File Editor BETA

Post by milo christiansen »

zoid wrote:p.s. programmer has 2 m's
Oops I guess its obvious I failed spelling luckily fire fox has spell check or this would be unreadable. ;)

I discovered some bugs on my own that need fixing so a new version is coming, with a new GUI! :D
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: WZ2100 Text File Editor BETA

Post by milo christiansen »

The new version is still coming but some things just wont work. :gonk: :scream: :stressed:
Once I fix every thing i can find i will post it probably in 3 or 4 weeks. :-S
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual