Unit parameter editor / Stat Editor by crab [win only]

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Reg312 » 09 Jan 2012, 16:29

i have 15 downloads of version 4 :), it motivates me to fix some bugs and add some functionality
ready improvements for next version:
1) View/Edit features
2) View and navigate through research prerequsites of any item
3) Count and show research points required to research wapons, bodies etc.
4) Fix 2 errors

2all: is anybody here who used my program and who has any ideas what i should improve or what errors i should fix?

2milo christiansen: i want produce next version with your beatiful installer, NSIS looks too complex for me for making installer fast.

User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by milo christiansen » 09 Jan 2012, 17:26

Well I took my best shot but I still can't get it to run unless installed by click once

None of the dlls can be registered
All required files appear to be present

For some reason it just crashes as soon as it runs.

If anyone can figure out what it needs an installer will be easy (once you write one or two you develop a system :wink:).
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual

Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Reg312 » 09 Jan 2012, 17:48

you should said earlier, it's my fault. Problem was in different way which used program to proccess open file command (run args)
it was required by ClickOnce..
this time i tested running program on clean machine (XP + .net v4) and it works

http://www.mediafire.com/file/6j07o2ess ... elease.zip

User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by milo christiansen » 09 Jan 2012, 17:50

Cool I'll tell you what I get :)
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: Unit parameter editor / Stat Editor by crab [win only]

Post by milo christiansen » 11 Jan 2012, 17:09

Here you go :)

I couldn't figure out exactly what command line to use for opening a wz file so I used '"WarzoneStat Editor (Version 5).exe" "%1"'.
You'll need to correct that.

I included header and welcome page images as well as installer/unistaller icons that you can customize. I did not set the icon for .wz files in the installer, sorry I forgot :oops:

If you need help getting it working just ask :)
Attachments
WZStatEditor Installer Files.7z
(26.31 KiB) Downloaded 333 times
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual

Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Reg312 » 11 Jan 2012, 20:16

awesome! :) great thanks :wink:
new open command was not implemented yet. i sent you working untested version
now i have enough changes and fixes to produce next version, but need some debugging

Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Reg312 » 15 Jan 2012, 21:04

uploaded version 5 of stat editor.

http://www.mediafire.com/?bz0zp66ndvqt0m0

Many new features implemented, which mean new bugs.
I slightly bored of this program, i think it is last version :)
if someone use this program and found a bug please post it here!

New in version 5:
1) Show parts of research tree for any item (new tab "Research")
- open elements of research tree part by double click
2) NEW BEATIFUL INSTALLER
3) Open linked elements with eye button (such as elements of list of result components for research)
4) Edit some parameters by select in list of items (like edit body of template by select in list of bodies)
5) Viewing/Editing features (like Oil Resource)
6) Viewing any stats from wz original files (this functions does not require load those files into your mod)
7) Load stats from text files
So now program support 3 file types:
1. Warzone files .wz
2. .crab-files
3. Stat text files .txt (like weapons.txt)
Program try to find what stats file matches to text file, which user want to load
If matched file finded program load text file
8) Added column "Sum of research points" for all items
9) Added compability with master version (!)
10) Viewing/Editing BodyPropulsion.txt

Decebalus_Rex
Rookie
Rookie
Posts: 24
Joined: 24 Oct 2011, 04:59

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Decebalus_Rex » 26 Jan 2012, 04:08

Great work, thank you :)

Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Reg312 » 02 Feb 2012, 22:22

i found annoying bugs in my stat editor. some of them fixed
that bugs makes WZ crash if you try to load mod

Download version 5.1:
http://www.mediafire.com/file/hgobsbzmp ... 20v5.1.exe

Version 5.1 changes
1) Improved installer: Added checking if .Net Framework not installed.
also .net web installer was included in setup
2) Added more checkings
- check if item have reference to another item, which not exists
example: you deleted propulsion, but some templates still have reference to this propulsion then program will warn you
3) Fixed bug "change code of element with references"
4) Fixed bug "delete element with references"
5) Fixed bug "empty lines was added to stat-files on each save"
6) Fixed bug "Incorrect set -1 or -2 to IMD2 Column in research,txt"
7) Fixed bug "Inccorrect changing structure functions (wz will crash if you' change structure functions)"

User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by vexed » 07 Feb 2012, 05:34

Any chance you can give the source as well, perhaps someone will convert it to use Qt...

Also, is there any reason why you require .wz files and not just pointing at the directory where the data is at ?
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.

Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Reg312 » 07 Feb 2012, 08:15

vexed wrote:Any chance you can give the source as well, perhaps someone will convert it to use Qt...
Also, is there any reason why you require .wz files and not just pointing at the directory where the data is at ?
yes, no problem :)
when i started program i did not taken into account what stat files is just directory on dev machine.
wz-files more comfortable for players, do not need unpack and repack maps every time when you want test you modification
anyway, i want add feature reading from directory, it requires just about 1/2 hour

update: i not sure my code is good. i tried make all fast and dont count perfomance and memory. May be i should try Qt by myself, if QT contains good grid controls it can be easy to convert to QT

User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by NoQ » 07 Feb 2012, 14:08

if QT contains good grid controls
It does (QTableWidget).

User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland
Contact:

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Emdek » 07 Feb 2012, 15:02

As I've said on IRC earlier, I can help with that (I was planning to do my own stats editor anyway).
Use the model, NoQ!
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.

Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Reg312 » 07 Feb 2012, 20:55

Source code of Warzone Stat Editor by crab
version 5.1
WZStats_source.zip
(1.59 MiB) Downloaded 322 times

User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland
Contact:

Re: Unit parameter editor / Stat Editor by crab [win only]

Post by Emdek » 07 Feb 2012, 21:01

Reg312, repository would be best, but since it is going to be rewritten from scratch with current code only as example implementation then it would be best to create empty one fro new code only, on github.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.

Post Reply