marcelo_20xx Posted July 23, 2020 Share Posted July 23, 2020 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 More sharing options...
ZAZ Posted July 23, 2020 Share Posted July 23, 2020 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 ? CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
marcelo_20xx Posted July 23, 2020 Author Share Posted July 23, 2020 (edited) 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 July 23, 2020 by marcelo_20xx Link to comment Share on other sites More sharing options...
OrionSR Posted July 24, 2020 Share Posted July 24, 2020 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 More sharing options...
marcelo_20xx Posted July 24, 2020 Author Share Posted July 24, 2020 (edited) 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 July 24, 2020 by marcelo_20xx Link to comment Share on other sites More sharing options...
OrionSR Posted July 24, 2020 Share Posted July 24, 2020 (edited) 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 July 24, 2020 by OrionSR Link to comment Share on other sites More sharing options...
marcelo_20xx Posted July 24, 2020 Author Share Posted July 24, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now