10/04/2015, 06:43 PM
You're mostly correct in your understanding.
Rcomage doesn't have a GIM parser yet, so it can't figure out what settings to use. It currently just makes a guess from what the RCO file is - it doesn't know anything about the GIM.
A possible solution is as you mention - parse the GIM file and write the settings to the XML file. Then the compile process would need to read in the settings and generate the correct GIM file.
A limitation of that though, is that conversions may not work so nicely as GimConv doesn't support all of them.
Also, it may be possible to swap types - at least on the PSP, where most (all maybe?) firmware GIMs are 8-bit (indexed), but can be replaced by 32-bit (8888) and they work fine (provided you don't hit the internal memory limitations). I don't have a PS3 to test with, so I don't know what GIM types could be swapped.
---
The UMDFlag and minFirmwareVer attributes, I don't really know about. They are values in the RCO file which seem to correspond with versioning, but I don't fully understand them. 'minFirmwareVer' was used because I map the values in the RCO file to PSP firmware versions:
Rcomage doesn't have a GIM parser yet, so it can't figure out what settings to use. It currently just makes a guess from what the RCO file is - it doesn't know anything about the GIM.
A possible solution is as you mention - parse the GIM file and write the settings to the XML file. Then the compile process would need to read in the settings and generate the correct GIM file.
A limitation of that though, is that conversions may not work so nicely as GimConv doesn't support all of them.
Also, it may be possible to swap types - at least on the PSP, where most (all maybe?) firmware GIMs are 8-bit (indexed), but can be replaced by 32-bit (8888) and they work fine (provided you don't hit the internal memory limitations). I don't have a PS3 to test with, so I don't know what GIM types could be swapped.
---
The UMDFlag and minFirmwareVer attributes, I don't really know about. They are values in the RCO file which seem to correspond with versioning, but I don't fully understand them. 'minFirmwareVer' was used because I map the values in the RCO file to PSP firmware versions:
C Code
|
So I've seen a 0x107 for PS3 RCOs, I suppose some may be 0x130 and maybe something else. It may correspond with a particular firmware version, I don't know.