Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      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

[Vice City] Sanny Builder decompiles with incorrect car model names?


marcelo_20xx
 Share

Recommended Posts

marcelo_20xx

I am using Sanny Builder 3.3.3 and when I decompile an original main.scm the main.txt contains incorrect car models names, for example the ADMIRAL is called DIABLOS, the INFERNUS is called MANANA. Is there a way to fix it, thanks for any response...

Link to comment
Share on other sites

I don't confirm, i can't find DIABLO or MANANA inside vc main.scm

do you mean this?

014B: $1992 = init_car_generator #ADMIRAL 8 8 force_spawn 0 alarm 50 door_lock 0 min_delay 0 max_delay 10000 at -401.2715 -534.6655 11.7534 angle 149.2032 
014C: set_parked_car_generator $1992 cars_to_generate_to 101

did you switch sannybuilder to vc mode at right lower corner?

and did you gave then the correct game path at TOOLS > Options > General ?

Link to comment
Share on other sites

marcelo_20xx

This is a code decompilation of the original main.scm at line 30674, I gave the correct path to a clean installation folder and switch to VC mode by selecting the appropriate icon:

 

:INTRO_11929
Model.Load(#DIABLOS)
Model.Load(#FERRY)
023C: load_special_actor 10 'IGKEN' 
038B: load_requested_models 

 

DIABLOS is ID 175 which should be the ADMIRAL and FERRY is ID 192 and should be the FAGGIO

 

EDIT: Hmm I gave the correct path to my VC installation since I was editing GTAIII before but it didn't work until I restarted the program, so now it shows the correct names again, thanks and sorry for any troubles...

Edited by marcelo_20xx
Link to comment
Share on other sites

2 hours ago, marcelo_20xx said:

DIABLOS is ID 175 which should be the ADMIRAL and FERRY is ID 192 and should be the FAGGIO

Those model IDs are for Liberty City Stories.

Link to comment
Share on other sites

marcelo_20xx

That's correct, I was trying to decompile the main.scm of the mod called "Re: Liberty City Stories" based on the VC engine without success...

Edited by marcelo_20xx
Link to comment
Share on other sites

Your results suggest you are decompiling an original main with an install directory linked to data files modified for LCS. The model IDs aren't hard coded for each game, they are read by Sanny when it starts, the install folder is changed, or edit modes switched. Set the install folder to a folder with original data files when decompiling an original main, or a folder with modified data files for a modified main that depends on those modified data files.

 

Having both game versions fully installed isn't too tough these days, but I think the only files Sanny really needs are:

  • data\default.dat
  • data\default.ide
  • data\generic.ide
  • data\gta_vc.dat
  • text\american.gxt

An alternative to switching install directories when working with full map mods, is to create a custom edit mode for Sanny. Then all you need to do is switch edit modes, and you can support special purpose customvariables.ini and other support files specific to that mod.

Edited by OrionSR
Link to comment
Share on other sites

marcelo_20xx

Yeah I edited my second post to explain that I was decompiling the main.scm using the dir of the mod Re:LCS as my install dir, changing that dir to a clean install folder and restarting the program fixed the issue, thanks though...

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.