|
CSP's
Jan 27, 2009 23:21:39 GMT -5
Post by stevetv on Jan 27, 2009 23:21:39 GMT -5
OK. I'm stuck. I'm trying to edit the CSP's and I have my tpl, but I can't get it into the bin.out. My problem is that My tpl is WAY bigger than it should be. It's not mip-mapped. But when I open it in hex editor neo, it's huge. According to the guide it should only be a max of like 32 lines. Any Idea what I'm doing wrong?
|
|
|
CSP's
Jan 28, 2009 1:25:11 GMT -5
Post by Joey90 on Jan 28, 2009 1:25:11 GMT -5
Compare it with the original tpl.
Possibilities: You didn't save it as a paletted tpl or that the palette is much bigger than it should be.
Also, did you find the PAL CSP's or is this NTSC?
|
|
|
CSP's
Jan 28, 2009 10:54:46 GMT -5
Post by stevetv on Jan 28, 2009 10:54:46 GMT -5
NTSC. Here's what I have so far. This is my tpl I copied the highlighted text. And this is my bin.out I pasted the text that's red. Is that how I insert the palette? I'm not quite sure where the palette starts, so I just grabbed it on the 5th line as if it were a texture.
|
|
|
CSP's
Jan 28, 2009 12:48:06 GMT -5
Post by Joey90 on Jan 28, 2009 12:48:06 GMT -5
Palettes start at 0x20 in the tpl and the texture starts at 0x260 Hopefully that helps.
|
|
|
CSP's
Jan 28, 2009 14:33:55 GMT -5
Post by stevetv on Jan 28, 2009 14:33:55 GMT -5
Wow. that is good to know. I started at 0x40. Glad I waited to hex it. Thanks joey90. Is that in EE's guide? 'cause if it is, I completely missed it.
|
|
|
CSP's
Jan 29, 2009 1:35:26 GMT -5
Post by Joey90 on Jan 29, 2009 1:35:26 GMT -5
It is, but it's in the caption for one of the pictures...
|
|
|
CSP's
Jan 29, 2009 9:14:48 GMT -5
Post by stevetv on Jan 29, 2009 9:14:48 GMT -5
well... Another day, another DVD. Here's what I have so far: When the match ends it locks up. I think I may have put the wrong BIN.OUT into the game. I can only think of one thing that would cause these to show up the way they do. Do I have to force transparency for the parts that were transparent to begin with? I didn't delete anything, all I did was recolored. But there was transparency around them to begin with. I suppose I could also just color the background, but that might make it look weird. The other thing is that I GREATLY reduced the number of colors in my palette. Maybe that's why their colors are all messed up? I don't really know what to think. Anyone have any advice for the next DVD I waste?
|
|
|
CSP's
Jan 29, 2009 13:28:21 GMT -5
Post by Joey90 on Jan 29, 2009 13:28:21 GMT -5
I don't know how much manual hexing of paletted textures you have done (none by the looks of it)
The palette in the .pac starts at the PLT0 header then 4 lines down like with a texture and you need to carefully work out how many colours should be in the palette...
Now if this is anything less than 256 (32 lines) you need to fudge things.
If you use photoshop you instantly make work for yourself* because it fills the palette from the bottom, so you have to shift up the palette data and subtract that number from the texture data (which is a bit retarded)
Then copy in the palette (from 0x20) and the texture (from 0x260 originally, but if you have to modify the palette size this might change...)
To do transparency colour everything magenta, then in the palette data look for 'FC1F' and replace with 0000 (transparent)
If the image looks screwed up then you messed up the texture data, if the image is fine but the colours are screwed up (like here) then you messed up the palette data or transposed the texture wrong.
*I have an idea to avoid this though, try converting to a however many colour image (like normal) but then increasing the colour depth to 256, and hopefully it should fill in the blacks afterwards... otherwise, you just have to do it like I said.
|
|
|
CSP's
Jan 29, 2009 15:28:17 GMT -5
Post by stevetv on Jan 29, 2009 15:28:17 GMT -5
I don't know how much manual hexing of paletted textures you have done (none by the looks of it) Too little, too long ago to be worth anything. so none.
|
|
|
CSP's
Jan 30, 2009 1:33:44 GMT -5
Post by Joey90 on Jan 30, 2009 1:33:44 GMT -5
When you save a .tga file the only options are (whether you know it or not ) 8-bit 16-bit or 24-bit. This means when you palette the texture with fewer than 256 colours it fills in the rest of the 256 with black when you save the file. Photoshop fills in the black beforehand by default, so I was suggesting Changing it to 256 colours before saving, so that it might put the colours at the start of the palette, thus making it simpler to hex. I don't know how GIMP works. When you make your tpl texture data starts at 0x260 and will only move if you delete something before it... (or insert something)
|
|