SilPho
30 Jan 2007, 16:40
While exploring the worms file structure both on the hard drive and on the disk, I can't seem to locate where the strings used in the game are stored. Some games store strings in separate files, some (I think) encode them into the game exe file, but for worms I can't figure it out.
All I'm doing is exploring the hex values of the files. So if the game uses even the most simplistic of algorithms to extract the characters it would explain why I can't see it straight away.
I guess you'd wonder why on earth I'd want to know where to find this information, simply put I'd love to be able to change some of the in game sentences. For example, instead of saying "xxxxx sank like the titanic" I could change it to "xxxxx has fallen to his watery doom" or something like that.
It's purely cosmetic and doesn't really carry any constructive purpose, but I'd like to have a play around if I could find where the game stores these values.
My initial thoughts were that it would be in "resource.dat" which is a 50MB file on the CD, but all that seems to be in there is gibberish. Yet as the most logical file for storing this information (that I can surmise at least) I wonder if the characters are somehow encoded in to this file, like offsetting the hex values by 5 so that it's not as easy to locate where the data actually is.
Hopefully at least some of this has made some sense. I know I'm rambling a lot for a point that doesn't really matter but I'd like to play around if I can.
All I'm doing is exploring the hex values of the files. So if the game uses even the most simplistic of algorithms to extract the characters it would explain why I can't see it straight away.
I guess you'd wonder why on earth I'd want to know where to find this information, simply put I'd love to be able to change some of the in game sentences. For example, instead of saying "xxxxx sank like the titanic" I could change it to "xxxxx has fallen to his watery doom" or something like that.
It's purely cosmetic and doesn't really carry any constructive purpose, but I'd like to have a play around if I could find where the game stores these values.
My initial thoughts were that it would be in "resource.dat" which is a 50MB file on the CD, but all that seems to be in there is gibberish. Yet as the most logical file for storing this information (that I can surmise at least) I wonder if the characters are somehow encoded in to this file, like offsetting the hex values by 5 so that it's not as easy to locate where the data actually is.
Hopefully at least some of this has made some sense. I know I'm rambling a lot for a point that doesn't really matter but I'd like to play around if I can.