Page 1 of 1

Techinal Question on new scenario files

Posted: Thu Feb 06, 2003 4:03 am
by Possum
Hello.
Can anyone tell me what the extra 322 bytes on the new WIR3.3 Scenario data files is for?
Does it contain new, vital information?
I have had no luck trying to see what this extra data is.

Posted: Wed Mar 19, 2003 4:26 am
by Delta-V
Bytes 59933 to 59964 are "Lost Since Start" numbers, but that's all I can figure out. They're each 3 bytes long, listed in the order of the end-of-turn summary screen.

Bytes 59965-60164 are Korps flags for special supply.

Is there a list of the bytes somewhere? I've got most of them figured out, but there's a few I can't get:
12401-12800 (Factory data?)
15901-15950 (HQ data?)
54351-54550 (Korps data?)
58380-58542
58642-58702
59103-59492
59686-59602
Plus the new bytes.

I've been messing with Michael Fleshman's Editor, correcting a couple of errors and making some improvements. His email in the readme doesn't work, tho. I was going to send him my new version.

Posted: Sat Mar 29, 2003 4:12 am
by Delta-V
If anybody's interested in trying out the scenerio editor, I'll email it. It's just a little big to post here.

Posted: Thu Apr 03, 2003 4:42 am
by Possum
Delta-V, Yes, I'm interested.

Posted: Thu Apr 03, 2003 6:09 am
by K62_
Hi, Delta-V. I'm also interested. My email is andyfurtuna@hotmail.com.

Do you think it's possible to make the editor ask for a password and only display your side? I would use it to check the statistics on my troops during a game, but it's like a cheat since it also shows your enemy's data.

Also, could you share the list of the bytes you've already got? I'm interested in porting the editor to Access, where there's much more you can do in terms of databases.

Posted: Fri Apr 04, 2003 2:28 pm
by Mika Väliviita
You might want to check my editors definition file, I don't remember if I have all those addresses but probably some of them.

And there is an option to black out either side, although not password protected.

http://www.helsinki.fi/~valiviit/gedit.html

Posted: Fri Apr 04, 2003 8:19 pm
by matt.buttsworth
How do I edit a scenario? And how do I change the manpower multiplier for German and Russian reinforcements in a scenario? I want to edit Possum 6.

Posted: Sat Apr 05, 2003 7:30 am
by Delta-V
Originally posted by K62
Do you think it's possible to make the editor ask for a password and only display your side? I would use it to check the statistics on my troops during a game, but it's like a cheat since it also shows your enemy's data.

Also, could you share the list of the bytes you've already got? I'm interested in porting the editor to Access, where there's much more you can do in terms of databases.


Sending you the file now. I'll include the Byte list in the file.

I'm sure I could come up with something to hide the enemy data, it's not too hard. You could always use the autofilter before you opened the file, too. Password protection might be kinda silly...if you wanted to cheat, you'd just use another editor. Without encrypting the game file, there's not much point.

Originally posted by Mika Väliviita
You might want to check my editors definition file, I don't remember if I have all those addresses but probably some of them.
Looks like you've got about what I've got. There's a few groups of bytes that look like index numbers, and a couple that never seem to change. I was thinking some might be 'fog of war' visibility, but it looks like the game calculates visibility every time you load a save-game.

Thanks, Delta-V!

Posted: Sun Apr 06, 2003 3:21 am
by K62_
Impressive work... I especially liked the map. Too bad I'll have to delete it, it shows both sides :( Otherwise it would have been nice to know instantly where a certain airgroup or division is. And I think it's a great improvement for those who actually design scenarios.

BTW, how did you access Michael's macros, even though they're password protected? As I said, I plan to move this kind of thing to MS Access, which also suports VBA, and if I could just run those macros it would make it much easier. :rolleyes:

Posted: Sun Apr 06, 2003 3:25 am
by K62_
Originally posted by Mika Väliviita

And there is an option to black out either side, although not password protected.


How do you do that, Mika? I've been playing with it a little and, even though it is quite user-friendly (for a text-based interface, at least ;) - did you develop it under UNIX?), I couldn't discover that... Very nice feature that you can edit several types of scenarios from different games!

Re: Thanks, Delta-V!

Posted: Sun Apr 06, 2003 6:38 am
by Delta-V
Originally posted by K62
Impressive work... I especially liked the map. Too bad I'll have to delete it, it shows both sides :( Otherwise it would have been nice to know instantly where a certain airgroup or division is. And I think it's a great improvement for those who actually design scenarios.

BTW, how did you access Michael's macros, even though they're password protected? As I said, I plan to move this kind of thing to MS Access, which also suports VBA, and if I could just run those macros it would make it much easier. :rolleyes:

Yea, the map really helps when setting up scenarios. You could keep the map, just delete the opposing korps and HQs.

Yea, I hacked Michael's VBA password. :eek: As usual, MS's security isn't so hot and VBA password encryption can be hacked in about 5ms. Dunno why I even bothered re-passwording it. I'll send you the password. I re-wrote everything and cleaned it up to make it run quicker, but Michael did the hard work by figuring out the bytes. (I hope he's not offended)

Posted: Sun Apr 06, 2003 6:36 pm
by K62_
Thanks, Delta-V! It's really great to have all those macros. I'm really amazed at how you made the map (and how you hacked the password :D ). Two thumbs up! :cool:

How about posting the editor online, so more people could enjoy it? I can help, if you want.

Posted: Mon Apr 07, 2003 1:05 pm
by Mika Väliviita
Originally posted by K62
How do you do that, Mika? I've been playing with it a little and, even though it is quite user-friendly (for a text-based interface, at least ;) - did you develop it under UNIX?), I couldn't discover that... Very nice feature that you can edit several types of scenarios from different games!


One of the Alt- commands (I forget, it's been a while) listed on the main screen is "hide color 1" (and it then changes to "hide color 2" and "show both colors"), which does what it says (it actually still outputs everything, just using black on black :))

It was on DOS and DJGPP.