Talk:SA SCM

From GTAMods Wiki
Jump to navigation Jump to search

The unknown bits of the last header segment aren't Number of allocated externals / Number of unused externals I believe. The Steam SCM differ in value from the 1.0 SCM here. While the Steam SCM is (39 02 00 00), the 1.0 SCM is (3E 02 00 00). There's no difference related to streamed script allocations there. Further: I believe this is a single 32-bit value, not three separate values. We can discard it being garbage/padding since it's aligned on a 4-byte boundary. So, what could it be? The difference in value is by 5 (i.e. the Steam SCM has 5 less of whatever this counter is). Most of the changes in the Steam SCM are additions, except for the girlfriend scripts, which are a lot of deletions. At first I thought it was the amount of SWITCHes used by scripts, but it doesn't seem like so, the difference is of 10 switches here, not 5. Moreover, the count of SWITCH_START (0871) in the entire SCM is much greater than the header value. Dividing by two didn't help. Anyway, here's the diff for GF_DATE and GF_SEX: https://www.diffchecker.com/hQZR5I6x, if anyone get to see what are these 5 differences, we'll solve this puzzle. --Link2012 (talk) 18:52, 10 December 2016 (UTC)

I don't think that number is somehow related to the GF script. Could it be an SCM build number or the compiler version? Seemann (talk) 20:46, 10 December 2016 (UTC)
I would go for the build number. Starting with the version 2.00 of San Andreas on iOS and Android devices, this field has been "reset" to 1 which is fairly symptomatic. --Wesser (talk) 17:06, 24 August 2020 (UTC)