RE: Weapon Data (and other vars) in WWP? [Archive] - Team17 Forum

PDA

View Full Version : RE: Weapon Data (and other vars) in WWP?

Lyndon13
10 Feb 2008, 05:46
Hey there
I've been reading through these forums for a little while, initially searching for some modding information or tools for Worms World Party, but apparently I own the wrong game :p
I was just wondering if anyone has any information for where the weapon data is stored in WWP. The mission data is stored as plain text in a very neat directory, my hope is that one of the game's .dlls contains a similar structure for storing weapon information or that the various variables are at least not hard coded into the game in some profound way.
[Edit: I'm aware of scheme editors and such that extend the existing in-game 'mod interface', as well as the official mission editor, however I'm seeking variables or data that effect the different types of explosions/clusters/projectiles in the game. For example, where is the data stored for the number of bomblets in a cluster bomb (rather than modifying the weapons power with a scheme, increasing both its explosive power and the number of bomblets)]
After playing worms 2 I was kind of disappointed with that facet of WWP, though I've enjoyed it a lot, and I'll be more than ready to forgive the developers if I can find a way to hack up their game. ;)
Any information on where I could locate data for use in modding could potentially save me a lot of wasted time and would be greatly appreciated :)
Thanks in advance for any help!

CyberShadow
10 Feb 2008, 06:01
Like W:A, WWP's weapon data is hard-coded by code, not data. You'd need to do a lot of reverse-engineering (which implies the ability to read IA32 machine code) to be able to mess with that.

Lyndon13
10 Feb 2008, 06:14
Like W:A, WWP's weapon data is hard-coded by code, not data. You'd need to do a lot of reverse-engineering (which implies the ability to read IA32 machine code) to be able to mess with that.
Thanks for the response Cyber.
I understand the implications of what you've said, and I definitely don't profess to be able to reverse engineer anything, but from my understanding there was a utility for W:A called "Fiddler" that allowed manipulation of those variables.
Though I don't have W:A yet to test it, I got the feeling the program had to be running for its modifications to have any effect, which could mean it was modifying the memory of the actual running process. Seeing as I don't have any way to verify this, if anyone is able to explain how Fiddler worked that would at least assuage my curiosity.
Thanks again :)

CyberShadow
10 Feb 2008, 07:46
The Fiddler overwrote W:A's weapon initialization code and replaced it with code that would initialize the weapons according to Fiddler's settings. It isn't compatible with the newer Beta updates.

robowurmz
11 Feb 2008, 07:46
However, is the Fiddler compatible with WWP? I don't believe anybody has tried this...

bonz
11 Feb 2008, 08:21
However, is the Fiddler compatible with WWP?
It isn't.
I don't believe anybody has tried this...
They have.
BTW, in June 2001 Fudge Boy even intended creating a new version of Fiddler for the then recently released WWP.

Lyndon13
13 Feb 2008, 15:35
Hey again.
Thanks all for the replies, disappointing but at least now I know.
The concept of making what would essentially be a trainer seems feasible only if one ignores the fact that taking focus away from the game crashes it.
I did read somewhere here about running WWP in a window so I'll investigate that and then start searching for memory addresses. I'll start a thread in a more appropriate sub-forum here if I find anything that could actually be of use to someone, but don't expect anything, I'm truly awful at everything I do.
This is really just a long 'Thankyou for your replies' post but I've been up all night playing worms so brain no make think. Still, thanks for you help; it's good to know old classics and underrated developers like this still have strong communities, keep it up! :D
On another note, I could be in some trouble now that I realise worms-induced sleep-deprivation is a self-perpetuating hyphen...
I have "I'll get you" carved into my brain and because I'm so sleep deprived I'm actually afraid that they will get me, so I can't go to sleep... Not to mention that I keep killing the *******s to try and thin the numbers, making them ever angrier. When I do go to sleep there will be a bazooker beside me and a holy hand grenade under my pillow, make no mistake!

franpa
14 Feb 2008, 07:26
http://forum.team17.co.uk/showthread.php?t=34025
hers some memory asddresses to analyze if you want. maybe team up with pisto?

Lyndon13
16 Feb 2008, 20:21
http://forum.team17.co.uk/showthread.php?t=34025
hers some memory asddresses to analyze if you want. maybe team up with pisto?
Fantastic! Thankyou greatly for that.
I've also picked up a copy of WA so hopefully now my script kiddy modding aspirations can come to fruition. :D
Thanks to everyone who responded :)

Muzer
16 Feb 2008, 21:15
You'll want the update from http://wa.team17.com (if you can't find it on that simple site you don't deserve to be a script kiddy) and for modifying weapons you'll want The Fiddler (www.worms2d.info/The_Fiddler), although that isn't compatible with the updates, that site explains all

vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.