Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

SANNY BUILDER 3 - SCM PROBLEM (NOT RECOGNIZING VEHICLES WHEN DECOMPILE FILE)


nick323f
 Share

Recommended Posts

In Sunny Builder 3 when I decompile Vice City SCM file (original and my own edited one) vehicles begun not to show up at all. When I enter car name in search it says "Match not found".

 

It worked flawlessly until today and I even tried installing Sunny Builder 3 on other PC but the same thing happened.

 

 

Does anyone know solution to this? 

Link to comment
Share on other sites

It was already set for VC.

 

My goal was to make Vice City and its missions more diverse, I have changed some of the vehicles locations and in some cases replaced which vehicles appear on map and in some missions (for example instead of Admiral white Sentinel XS would be driven by Diaz in "Guardian Angels" and random colored one would appear instead of Admiral parked in front of mansion, set the exact color combination for Squalo to look the same in "The fastest boat" and "Supply and demand", I enabled helicopters and boats from the start of the game etc... and firstly it all worked well, I tested all the edited missions and there were no unhandled exceptions.

 

Than suddenly the problem came which I cannot resolve yet.

 

I first realized when I started a new game that the vehicles that had new locations (which I edited myself) did not appear and when I decompiled main.scm I saw 

that both vehicle and weapon names have been changed to IDs and even reverted to original coded locations. I had made a several backups of the main.scm too and it also happened when I imported each one into the data folder.  

 

For example:

 

014B: $1992 = init_car_generator #ADMIRAL 8 8 force_spawn 0 alarm 25 door_lock 0 min_delay 0 max_delay 10000 at -406.5043 -536.2903 12.508 angle 267.8336 
014C: set_parked_car_generator $1992 cars_to_generate_to 101 

 

was changed into:  

 

014B: $1992 = init_car_generator 175 8 8 force_spawn 0 alarm 25 door_lock 0 min_delay 0 max_delay 10000 at -406.5043 -536.2903 12.508 angle 267.8336 
014C: set_parked_car_generator $1992 cars_to_generate_to 101 

 

and what is even worse is what happened to my custom SCM in which I replaced Admiral with Sentinel XS and the line (and it worked well previously)

 

014B: $1992 = init_car_generator #SENTXS -1 -1  force_spawn 0 alarm 0 door_lock 0 min_delay 0 max_delay 10000 at -408.372 -525.684 11.776 angle 270.0
014C: set_parked_car_generator $1992 cars_to_generate_to 101 

 

was also changed into original 

 

014B: $1992 = init_car_generator 175 8 8 force_spawn 0 alarm 25 door_lock 0 min_delay 0 max_delay 10000 at -406.5043 -536.2903 12.508 angle 267.8336 
014C: set_parked_car_generator $1992 cars_to_generate_to 101 

 

 

The game reverted the whole scm to original lines and now I don't know where to fix the problem...

 

Please if anyone could help  :((

 

 

Link to comment
Share on other sites

1 hour ago, nick323f said:

The game reverted the whole scm to original lines and now I don't know where to fix the problem...

 

it sounds like your system is protecting against modding

test the script below, it's a totally stripped main, test if it is possible to play vc with modified main.scm

DEFINE OBJECTS 1
DEFINE OBJECT (unused)                

DEFINE MISSIONS 0

//-------------MAIN---------------
03A4: name_thread 'MAIN' 
016A: fade 0 0 ms 
01F0: set_max_wanted_level_to 6 
0111: set_wasted_busted_check_to 0 
00C0: set_current_time 12 0 
04E4: unknown_refresh_game_renderer_at -372.8478 -535.991
03CB: set_camera -372.8478 -535.9914 17.2823 
0053: $PLAYER_CHAR = create_player #NULL at -372.8478 -535.9914 17.2823 
01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR
0001: wait 1000 ms 


:MAIN_133 
00D6: if 
0256:   player $PLAYER_CHAR defined 
004D: jump_if_false @MAIN_133
01B6: set_weather 0 
0352: set_actor $PLAYER_ACTOR skin_to 'PLAYER' 
038B: load_requested_models 
0353: refresh_actor $PLAYER_ACTOR 
04BB: select_interiour 0 // select render area 
01B4: set_player $PLAYER_CHAR frozen_state 1 
01B7: release_weather
016A: fade 1 1000 ms

:MAIN_169
0001: wait 2500 ms 
0002: jump @MAIN_169

 

Edited by ZAZ
Link to comment
Share on other sites

Thank you ZAZ, I tested the game with that stripped script and it worked. 

 

What should I do next to enable modding?

 

My own modified script worked for some time and it got reverted by game and by Sanny Builder 

Edited by nick323f
Updated info
Link to comment
Share on other sites

I have the issue too,

when working with stripped main, popup model list didn't show correct, cargen model names crashed game and by decompiling the names were replaced with wrong numbers.

I doesn't happen with originally main.scm

 

Then i installed newest Sannybuilder version 3.8.0 and the issues were fixed

But it came back as i opened sanny the second time

 

btw. post bugreports at https://github.com/sannybuilder/dev/issues

 

 

Edited by ZAZ
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.