How to replace pie files in regular game?
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: How to replace pie files in regular game?
PIESlicer comes with it's own textures which have to be used. They are in PCX format.
Warzone however has it's textures in PNG format.
So you need to make it .pcx when working with PIESlicer, but .png when using them in Warzone.
Warzone however has it's textures in PNG format.
So you need to make it .pcx when working with PIESlicer, but .png when using them in Warzone.
Re: How to replace pie files in regular game?
Does the file reference inside of the PIE file , or whatever, need to be changed? I have the texpage file that I used to make the textures on the model in the texpage folder in the warzone directory as .png. Is this the same problem with trying to open the games pie files with pie slicer, but in reverse?
Re: How to replace pie files in regular game?
OK. I figured it out and it works now. It is what I thought. Thanks for your help. It is appreciated.
However, the model in game looks nothing like it does in pie slicer, why is that?
However, the model in game looks nothing like it does in pie slicer, why is that?
Re: How to replace pie files in regular game?
Extually they should look the same except for some texture problems. In Pie slicer some textures appear transparent while they actually sghould not be. If this is what you mean just keep in mind that every pixel that's not flashy green will be rendered in warzone.Azraiel wrote: OK. I figured it out and it works now. It is what I thought. Thanks for your help. It is appreciated.
However, the model in game looks nothing like it does in pie slicer, why is that?
Re: How to replace pie files in regular game?
No thats not what it is. I made a simple camo texture. In PIE slicer, it looks fine. However, in warzone, it is horribly smeared and looks almost like sh*t brown.
- Watermelon
- Code contributor
- Posts: 551
- Joined: 08 Oct 2006, 09:37
Re: How to replace pie files in regular game?
maybe bigger and more detailed texture page will help,since current textures are stretched badly in game due to their relatively small size.Azraiel wrote: No thats not what it is. I made a simple camo texture. In PIE slicer, it looks fine. However, in warzone, it is horribly smeared and looks almost like sh*t brown.
tasks postponed until the trunk is relatively stable again.
Re: How to replace pie files in regular game?
Yes but they are stretched the same way in pie slicer. are all the vertices (points) still in their right position or are they also changed? If nothing's wrong with that then it looks like warzone is reading the textyure data from the wrong texpage.Watermelon wrote: maybe bigger and more detailed texture page will help,since current textures are stretched badly in game due to their relatively small size.
Re: How to replace pie files in regular game?
Yes, it was the wrong texpage. I gave the one I was using the same number as another one already there, and it used the one already there as the texture for my body design heh.
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: How to replace pie files in regular game?
You should not name custom texture pages in the "page-123" style.Azraiel wrote: Yes, it was the wrong texpage. I gave the one I was using the same number as another one already there, and it used the one already there as the texture for my body design heh.
Use "azraiel_cool-body" or similar instead. (Prefix with your name or the name of the mod and use a sensible description after that.)
Texpage names in 2.0 are not allowed to be longer than 64 chars. Anything more and you will get an illegal write or segfault.
Re: How to replace pie files in regular game?
uh... checks and debug messages are a lot nicer than segfaults...DevUrandom wrote: Anything more and you will get an illegal write or segfault.
Re: How to replace pie files in regular game?
When I give it a unique name like that, it causes a crash. I read the stderr file, and it says it needs to be preloaded into the wrf, how do I do this?
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: How to replace pie files in regular game?
You need to add a line similar to
to following files:
Code: Select all
file TEXPAGE "azraiel_cool-body.png"
Code: Select all
wrf/frontend.wrf
wrf/vidmem.wrf
wrf/vidmem2.wrf
wrf/vidmem3.wrf
Re: How to replace pie files in regular game?
great thanks
--
OK, I added the you gave to the files you listed, but it gives me the same error still.
--
OK, I added the you gave to the files you listed, but it gives me the same error still.
Last edited by DevUrandom on 13 Apr 2007, 15:58, edited 1 time in total.
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: How to replace pie files in regular game?
When do you get that error?
If it happens when loading a map, then the issue is that you forgot to edit the .wrf files in mp/wrf/
(Actually it should even be sufficient to add them only to mp/wrf/, as long as the pie's are also only in mp/wrf/)
If it happens when loading a map, then the issue is that you forgot to edit the .wrf files in mp/wrf/
(Actually it should even be sufficient to add them only to mp/wrf/, as long as the pie's are also only in mp/wrf/)
Re: How to replace pie files in regular game?
Ah ok. Thank you once again. Didn't realize there is a difference between single player and multiplayer.