ethteck / splat

A binary splitting tool to assist with decompilation and modding projects
MIT License
149 stars 41 forks source link

Support for `.lit4` section on PS2 #352

Closed polybiusproxy closed 3 months ago

polybiusproxy commented 4 months ago

PS2 games seem to have a .lit4 section, which is basically .rodata but specifically for floats only. splat does not have support for splitting this section, and thus it is not possible to decompile functions that use floats.

The .lit4 section seems to be after .rodata, and spimdisasm already seems to handle this section well: https://github.com/polybiusproxy/parappa2/blob/main/output/SCPS_150_.lit4.data.s

splat should be able to split this section the same way it does with .data and .rodata.

AngheloAlf commented 3 months ago

Fixed by #360