Skip to content

[VCS] Game is not playable with a custom main.scm #85

Closed

Description

@x87

Reported here by DragonYisusXD https://gtaforums.com/topic/211077-rel-sanny-builder/?do=findComment&comment=1071377748

Issue

when i recompile a modded VCS main.scm and start a new game, if i restart the emulator, the missions of Louise, Phil and Marty glitch, what kind of glitch ? well for instance their missions markers appears even if you haven't even finished Martinez Missions, and the worst thing, if you try to enter in their markers, the mission name doesn't appear and the game stuck in loading

Steps to reproduce

  1. i only just change the gang vehicle of gang 8 (Vance Illegal Gang)
  2. i changed the gang vehicle of Gang 6 (Vance Legal Gang/Marty's Gang) to be set after To Victor, The Spoil
  3. i change the model of gang 6 to be the exactly same as gang 8 after From Zero to Hero
  4. I recompile Back
  5. i overwrite the Main.SCM in the ISO with the modded SCM (using WinISO)
  6. i played the first mission
  7. i save the game
  8. i restart the emulator PPSSPP (this part is when the problem start)
  9. i load the save file
  10. the marker of Louise, Marty and Phil appears in mini-map and in-game
  11. the Empire Buildings dissapeared
  12. i can't play neither of Phil, Marty or Louse mission
  13. the game get stuck

Activity

  1. added
    type:bug
    priority:p2
    on Nov 8, 2020
  2. x87 commented on Jul 25, 2021

    @x87
    CollaboratorAuthor

    I can reproduce this bug. Made a save after the initial mission. Immediately loaded the save and got multiple icons on radar (L, M, P).

    What I found, is that the game seems to execute some SCM code each time I touch the save pickup after the first mission. I added a line

    0094: add_score $782 value 50000 // money 
    

    before:

    00C5: add_sprite_blip_for_contact_point 1@ 2@ 3@ sprite 40 store_to 5@
    

    and when I play with this custom SCM, any time I touch the save diskette (without even saving) I get $50000.

    I know the save routine is controlled by SCM so maybe there is some issue with labels or variables not compiling properly so when the game runs the save-related code (around opcode 0260: activate_save_menu) it also runs the code responsible for activating contact points (00C5).

  3. added this to the v3.8.0 milestone on Jul 30, 2021
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:p2scope:compilertype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions