Editing SELF - SPRX

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 372: Line 372:
}
}
</source>
</source>
The struct is the base or head of the actual struct used. The above fields are always present and their offsets do not change between versions.
The struct is the base or head of the actual struct used. The above fields are
always present and their offsets do not change between versions.


Fields whose name are of the form: unk_0x[0-9 aA-fF], are unknown fields whose offset is in the name, e.g. unk_0x18 is at offset 0x18.<source lang="c">
Fields whose name are of the form: unk_0x[0-9 aA-fF], are unknown fields whose
// checked FW 2.xx-7.00
offset is in the name, e.g. unk_0x18 is at offset 0x18.
// FW < 2.00 files do not have a PT_SCE_MODULE_PARAM segment, unchecked 7.00 < FW < 7.55
 
struct SceModuleParamV1 {
Examples for 6.20 and 8.03:
<source lang="c">
// used at 6.20
struct SceModuleParamV1_620 {
     uint64_t size; // 0x18
     uint64_t size; // 0x18
     uint32_t magic; // 0x3c13f4bf
     uint32_t magic; // 0x3c13f4bf
     uint32_t version; // 1 for V1
     uint32_t version; // 1 for V1
     uint32_t sdk_version;
     uint32_t sdk_version; // 0x0620_0011
}
}
// checked 7.55-9.00, unchecked FW > 10.50 and 7.00 < FW < 7.55
// used at 8.03
struct SceModuleParamV2 {
struct SceModuleParamV2_803 {
     uint64_t size; // 0x20
     uint64_t size; // 0x20
     uint32_t magic; // 0x3c13f4bf
     uint32_t magic; // 0x3c13f4bf
     uint32_t version; // 2 for V2
     uint32_t version; // 2 for V2
     uint32_t sdk_version;
     uint32_t sdk_version; // 0x0803_0001
     uint64_t unk_0x18;
     uint64_t unk_0x18;
}
}
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)