Is there any way to modify the color palettes of the GTA 1 peds?
Re: Is there any way to modify the color palettes of the GTA 1 peds?
It was holidays season. i will check why the tools are not properly calculating palette sizes and post with a fix.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
Thank you! Now the program is working correctly.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
wait, I found a bug, for some reason the last 11 palette cluts of style001.g24 only have the first 32 colors and even if you modify one of them and save the file, the program does not save these palettes and therefore these palettes remain unchanged.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
can you post a picture?
It is possible that not all palettes align perfectly with data in file - since palettes are stored in sets of 64 palettes, but in file - clut_size is specified as direct value, and i only read / write exact clut_size bytes.
I would guess those palettes are not actually in use for anything.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
Turns out i was wrong and the old tool improperly calculates palette location in the file.
https://github.com/mkmkme/OpenGTA/blob/ ... it.cpp#L99
I'll make a fix.
https://github.com/mkmkme/OpenGTA/blob/ ... it.cpp#L99
I'll make a fix.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
i made a fix to properly locate position & size of palettes in the file:
https://gtamp.com/tdc/clutedit_FIX.7z
try it.
Gtacars loads the file properly after saving it.
https://gtamp.com/tdc/clutedit_FIX.7z
try it.
Gtacars loads the file properly after saving it.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
the program still has the same problem.JernejL wrote: ↑09 Jan 2025, 07:15 i made a fix to properly locate position & size of palettes in the file:
https://gtamp.com/tdc/clutedit_FIX.7z
try it.
Gtacars loads the file properly after saving it.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
The gta1 file formats are pain in the ass, it is hard to determine start of palettes and where they end.
Try this: http://gtamp.com/tdc/clutedit_fix2.7z
Try NOT to edit the pixel part beyond end of actor palettes.
Re: Is there any way to modify the color palettes of the GTA 1 peds?
the program is still not saving these palettes.JernejL wrote: ↑10 Jan 2025, 07:36
The gta1 file formats are pain in the ass, it is hard to determine start of palettes and where they end.
Try this: http://gtamp.com/tdc/clutedit_fix2.7z
Try NOT to edit the pixel part beyond end of actor palettes.
When you try to fix it again, wouldn't it be better if you tested the program instead of me to be faster?
Re: Is there any way to modify the color palettes of the GTA 1 peds?
You assume that i can run gta1 on my pc, which i cannot, because i'm compiling this on a remote pc.
So, this time you said it doesn't crash game, but it also didn't save anything?
Re: Is there any way to modify the color palettes of the GTA 1 peds?
can you send me the image you are importing?