wz stats tool(Windows exe only)
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
wz stats tool(Windows exe only)
Fortunately I am finally motivated to add a gui to the wzstats converter I wrote some time ago. ;D
This one uses AntTweakBar http://www.antisphere.com/Wiki/tools:anttweakbar for gui support,AntTweakBar is damn easy to implement and has pretty cool interface,also works quite well with both opengl and directX.Though the major downside of using AntTweakBar is that it doesnt support text edit,so I added a simple 'text box' to make modifying chars/strings possible.
Usage:
wztools [filename.extension] [stats type]
1.start->run->cmd->cd to the directory where wztools.exe and dlls and txt files are located then type
wztools weapons.txt 0
2.create a shortcut and appends the 'weapons.txt' and '0' to the target field
"C:\warzone\data\wztools.exe" weapons.txt 0
either way it should start gui to edit weapons.txt fields
statsType:
0 Weapon (weapons.txt)
1 Templates (templates.txt)
2 Structures (structures.txt)
3 BodyPropulsionImd
4 AssignWeapon
5 AssignStructureWeapon
6 Body
7 Propulsion
20 Research
21 pre-requisite Research
22 ResearchStructure
23 ResearchFunction
24 ResearchResultComponent
25 ResearchResultStructure
the interface of AntTweakBar is self-explanatory
Tips:
nav bar:
use itemIndex to goto corresponding line you want to modify
use save Changes to save changes to file
text box:
click on a string item button to open the text box.
use backspace to remove characters
use esc or space to DISCARD changes and close text box
use numeric keyboard enter to makes changes to data in memory and close text box
This one is windows exe only,I will send the source to someone with good make/gnu tools knowledge to check whether it works well on linux or not,since I am too lazy to mess around with linux-specific stuff atm.
edit:
Updated screenshot to reflect 0.4 changes
Removed old versions the downloads are in my last replies to this thread now
This one uses AntTweakBar http://www.antisphere.com/Wiki/tools:anttweakbar for gui support,AntTweakBar is damn easy to implement and has pretty cool interface,also works quite well with both opengl and directX.Though the major downside of using AntTweakBar is that it doesnt support text edit,so I added a simple 'text box' to make modifying chars/strings possible.
Usage:
wztools [filename.extension] [stats type]
1.start->run->cmd->cd to the directory where wztools.exe and dlls and txt files are located then type
wztools weapons.txt 0
2.create a shortcut and appends the 'weapons.txt' and '0' to the target field
"C:\warzone\data\wztools.exe" weapons.txt 0
either way it should start gui to edit weapons.txt fields
statsType:
0 Weapon (weapons.txt)
1 Templates (templates.txt)
2 Structures (structures.txt)
3 BodyPropulsionImd
4 AssignWeapon
5 AssignStructureWeapon
6 Body
7 Propulsion
20 Research
21 pre-requisite Research
22 ResearchStructure
23 ResearchFunction
24 ResearchResultComponent
25 ResearchResultStructure
the interface of AntTweakBar is self-explanatory
Tips:
nav bar:
use itemIndex to goto corresponding line you want to modify
use save Changes to save changes to file
text box:
click on a string item button to open the text box.
use backspace to remove characters
use esc or space to DISCARD changes and close text box
use numeric keyboard enter to makes changes to data in memory and close text box
This one is windows exe only,I will send the source to someone with good make/gnu tools knowledge to check whether it works well on linux or not,since I am too lazy to mess around with linux-specific stuff atm.
edit:
Updated screenshot to reflect 0.4 changes
Removed old versions the downloads are in my last replies to this thread now
Last edited by Watermelon on 26 Sep 2007, 06:09, edited 1 time in total.
tasks postponed until the trunk is relatively stable again.
- Deathguise
- Trained
- Posts: 85
- Joined: 06 Jul 2007, 20:08
- Location: UK
Re: wz stats tool(Windows exe only)
This is quite a nice little tool, definetly faster than editing the files by hand, thanks this will make converting my old balance/fix mod less of a headache.
"Abandon All Hope" - Chiggy von Richthofen
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: wz stats tool(Windows exe only)
Thanks,glad to know it's useful.I will look into the possibilities to make a pie modelling tool with that lib.Deathguise wrote: This is quite a nice little tool, definetly faster than editing the files by hand, thanks this will make converting my old balance/fix mod less of a headache.
tasks postponed until the trunk is relatively stable again.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: wz stats tool(Windows exe only)
0.2:
Fixes:
*Fixed a memory leak bug(i forgot to free the in buffer ;D)
Features:
*Added dummy int field(always 0 read-only because I dont want to change AntTweakBar source code) to display the value of string field
Fixes:
*Fixed a memory leak bug(i forgot to free the in buffer ;D)
Features:
*Added dummy int field(always 0 read-only because I dont want to change AntTweakBar source code) to display the value of string field
Last edited by Watermelon on 22 Aug 2007, 22:53, edited 1 time in total.
tasks postponed until the trunk is relatively stable again.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: wz stats tool(Windows exe only)
0.3:
Fixes:
*Fixed cpu hog by limiting the application to 100 fps
*Removed useless gl states copied from AntTweakBar examples
Features:
*Added a partial match search
*Added support for file names.txt in-game name search
*The window caption now display the in-game name of entry being edited
Fixes:
*Fixed cpu hog by limiting the application to 100 fps
*Removed useless gl states copied from AntTweakBar examples
Features:
*Added a partial match search
*Added support for file names.txt in-game name search
*The window caption now display the in-game name of entry being edited
Last edited by Watermelon on 26 Sep 2007, 06:07, edited 1 time in total.
tasks postponed until the trunk is relatively stable again.
Re: wz stats tool(Windows exe only)
Question: what's the difference between the "mingw" download and the one without "mingw" ?
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: wz stats tool(Windows exe only)
The one without mingw is compiled with MSVC,so it requires VC8 redist to be installed.Apparently some ppl had problems running my mingw builds,so I compiled both MSVC binaries and mingw binaries.Giel wrote: Question: what's the difference between the "mingw" download and the one without "mingw" ?
tasks postponed until the trunk is relatively stable again.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: wz stats tool(Windows exe only)
0.4:
Fixes:
*Fixed a bug with wrong number of bars created for super long cvs lines(weapons.txt)
Features:
*Changed color to less dazzling black/grey.
*Upgraded to AntTweakBar 1.10, now it supports entering values directly in addition to rotor.
Fixes:
*Fixed a bug with wrong number of bars created for super long cvs lines(weapons.txt)
Features:
*Changed color to less dazzling black/grey.
*Upgraded to AntTweakBar 1.10, now it supports entering values directly in addition to rotor.
- Attachments
-
- wztools0.4.zip
- (273.4 KiB) Downloaded 752 times
-
- wztools0.4mingw.zip
- (306.35 KiB) Downloaded 731 times
tasks postponed until the trunk is relatively stable again.
-
- New user
- Posts: 3
- Joined: 04 Oct 2007, 21:00
Re: wz stats tool(Windows exe only)
I cannot run the program, when i try the normal, it says the system couldn't run the program
and when i try the mingw, it crashes
I made the shortcut and tryed, but it says the application is incorect
I did all the steps indicated, but nothing works
and when i try the mingw, it crashes
I made the shortcut and tryed, but it says the application is incorect
I did all the steps indicated, but nothing works
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: wz stats tool(Windows exe only)
Maybe the 0.4 exe's are broken,I compiled 0.41 version,you can see if they fix your crash problems.
0.41:
*Changed string box to AntTweakBar 1.10 string edit varBars
0.41:
*Changed string box to AntTweakBar 1.10 string edit varBars
- Attachments
-
- wztools0.41mingw.zip
- (306.14 KiB) Downloaded 793 times
-
- wztools0.41.zip
- (273.16 KiB) Downloaded 815 times
tasks postponed until the trunk is relatively stable again.
-
- New user
- Posts: 3
- Joined: 04 Oct 2007, 21:00
Re: wz stats tool(Windows exe only)
Thanks, but still both don't work, I got the same problems again
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: wz stats tool(Windows exe only)
weird did it crash if you simply double-click the exe without any arguments passed to it?
an incorrect argument or arguments combination would cause the app to crash since it's not armored.
an incorrect argument or arguments combination would cause the app to crash since it's not armored.
tasks postponed until the trunk is relatively stable again.
-
- New user
- Posts: 3
- Joined: 04 Oct 2007, 21:00
Re: wz stats tool(Windows exe only)
i tried the cmd , and the shortcut, with the argument, and it doesn't work