Skip to content

First mission in GTA VCS PSP is not playable with a custom main.scm #56

Closed

Description

@x87

Got a report that you can't get back to the army base in the first mission of GTA VCS. Investigating.

Activity

  1. added
    type:bug
    priority:p0
    on Aug 20, 2020
  2. x87 commented on Aug 21, 2020

    @x87
    CollaboratorAuthor

    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.

  3. x87 commented on Aug 21, 2020

    @x87
    CollaboratorAuthor

    The issue is only reproducible with Check conditions on, as otherwise the disassembler keeps the IF number in place.

  4. added
    workaround-available
    on Aug 21, 2020
  5. added this to the v3.5 Hotfix 1 milestone on Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p0scope:compilertype:bugworkaround-available

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions