You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
First mission in GTA VCS PSP is not playable with a custom main.scm #56
The issue is found. Both GTA LCS and GTA VCS use different numbering system for compound conditions. Previously the parameter in the IF instruction was off by 1 than the number of underlying conditions, now they match:
GTA 3, VC, SA:
if 1
cond1
cond2
jf
GTA LCS, GTA VCS:
if 2
cond1
cond2
jf
Feel dumb for not knowing that for so many years 😞 Learned it the hard way.
Activity
x87 commentedon Aug 21, 2020
The issue is found. Both GTA LCS and GTA VCS use different numbering system for compound conditions. Previously the parameter in the IF instruction was off by 1 than the number of underlying conditions, now they match:
GTA 3, VC, SA:
GTA LCS, GTA VCS:
Feel dumb for not knowing that for so many years 😞 Learned it the hard way.
x87 commentedon Aug 21, 2020
The issue is only reproducible with
Check conditionson, as otherwise the disassembler keeps the IF number in place.