Closed Tenome closed 2 months ago
Were you able to find anything for this? There is one other texture loading func which tweaks doesn't hook into atm, it's to do with cube textures though which I thought were only to do with cubemaps/skybox, but guess car textures might be using that too, could try looking into hooking that as well.
I tried it again with Ninja Ripper just now, and the decals on the livery dumped by themselves as separate textures (which I think it did for Tweaks' dump as well). Maybe the player car color isn't a a texture at all, but just a color value which then gets the textures pasted onto it? I didn't see a standalone texture like with rival/ghost cars.
I think I found the folder that hosts the color textures. obj_pc_color_pmt contains 8x8 color squares that are stretched over the entire car. (possibly some parts underneath? I saw the headlight rims also change color). Unfortunately this probably means you can't put anything other than basic color swaps over the player car. If you make solid stripes at a high resolution, and then downscale to 8x8, the compression artifacts will create a nice gradient.
After a bit of testing, it seems like each individual texture isn't a skin in and of itself, but rather a color that is used across all cars for various purposes. The red will be used for a skin in one car, but then only for the door in another. So you basically have to pick a color for the car that you want, edit it as desired, and then ignore the messed up skins on the other cars in the same color category.
It looks like he dumped the color sprites from the Xbox version, why not just add it yourself as a custom texture? It probably won't be added officially. For reference, the "Xbox blue" looks to be 0000e6.
Tweaks version
Commit 4a97d98
Describe your issue here (please attach the OutRun2006Tweaks.log file with your report, you can drag+drop it into the text area)
I tried dumping the textures of the 512 BB (OR) which seem to be contained in obj_rc_512bb_t_pmt (rival car instead of the expected obj_plcar). However, when I check the dumped texture folder, it seems to dump everything except the main texture. The texture that's dumped (9C126A6C_256x256.dds) in the folder seems to be for rivals/time trial ghosts (note the different number, 88 instead of 66). I tried editing the texture anyway (maybe it just swaps the number), but it didn't affect the car's texture. Is the texture contained within the 3D model archive instead? It does dump the other miscellaneous textures such as the license plate, headlights, etc.