Stats path
Stats path
I'm editing the stats in the game using the Pumkpin database. I've added a new version of Lancer.
When I go to load up a game, it says that it is missing the string resource for this weapon. So I was wondering if someone could tell me where abouts in the wz source code it stores the path to the stats files when loading them, so I can work out where to put this string resource.
Thanks.
When I go to load up a game, it says that it is missing the string resource for this weapon. So I was wondering if someone could tell me where abouts in the wz source code it stores the path to the stats files when loading them, so I can work out where to put this string resource.
Thanks.
Re: Stats path
That new weapon hasn't got name.dmkp wrote:I'm editing the stats in the game using the Pumkpin database. I've added a new version of Lancer.
When I go to load up a game, it says that it is missing the string resource for this weapon. So I was wondering if someone could tell me where abouts in the wz source code it stores the path to the stats files when loading them, so I can work out where to put this string resource.
Thanks.
Look at names.txt.
Re: Stats path
To be exact, look at messages/strings/names.txt
Re: Stats path
Ah yeah. Found it now..
Can you tell me where in the wz src it stores these paths? I'd like to rearrange them a bit.
Can you tell me where in the wz src it stores these paths? I'd like to rearrange them a bit.
Re: Stats path
wrf/stats.wrf, I think.
Re: Stats path
Oh right.. that's different. Like a bunch of config files.
How does it locate "stats.wrf" then? I can't see anywhere in the source code where it explicitly defines a path to this file.
How does it locate "stats.wrf" then? I can't see anywhere in the source code where it explicitly defines a path to this file.
Re: Stats path
I don't know. That's about as far as I traced the data loading code before giving up in disgust.
Re: Stats path
I see :p
I did notice it used the windows file finding functions. I guess it relies on the fact the current directory is by default where the exe is. So they didn't need to tell it a path?
I did notice it used the windows file finding functions. I guess it relies on the fact the current directory is by default where the exe is. So they didn't need to tell it a path?
Re: Stats path
Well, it uses PhysFS. I'm pretty sure it uses few direct file read/write functions.
Re: Stats path
What's physFS?
I was talking about the original src anyway.
I was talking about the original src anyway.