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.

Easy script switcher [PC v1 only]


rubregg
 Share

Recommended Posts

Nice work rubregg!

 

I have little suggestion for your tool. If you make some minor changes in batch file, it can be used to start the game too.

:ASK

::

echo.

echo      change to [1] v1, [2] v2, [h] Hot Coffee, Spaceeinstein or [e] Start game

echo      or

set /p PRESSEDKEY=      [c] toggle CLEO status (disable/enable)  /  [q] quit: 

::

if %PRESSEDKEY%==1 (set NEWVER=v1) else (

if %PRESSEDKEY%==2 (set NEWVER=v2) else (

  if %PRESSEDKEY%==h (set NEWVER=hc) else (

  if %PRESSEDKEY%==s (set NEWVER=sp) else (

    if %PRESSEDKEY%==c (goto :CLEO) else (

        if %PRESSEDKEY%==q (goto :eof) else (

    if %PRESSEDKEY%==e (start gta_sa.exe) else (

      goto :ASK

      )

      )

    )

    )

  )

  )

)

Above code will ask user to press 'e' to start game or if below code is used, it will automatically start game after

 

switching files.

................OUTPUT / SUCCESS / RAAAH............

::

echo.

echo.

echo.

echo    successfully installed %NEWMESSAGE%

set OLDVER=%NEWVER%

start gta_sa.exe  // or nosplash.exe

goto :eof

 

And I think save games can also be switched by this tool. I would really like to see this feature in your tool.

Link to comment
Share on other sites

Thanks hmvartak, good idea to start the game from within the script switcher. I don't like the idea of an automatic start, but I'll include a 'start game' key.

 

What exactly do you mean by switching save files? Switch back and forth between two sets? A proper save file manager is probably more than I can handle.

 

But while we're at it, I'm wondering about file sizes to implement a better check of the installed version. I know of these two:

 

main.scm size: v1 3079599 -- v2 3079744

 

Does anyone know if there are any other original script versions (v1.01, what else...?) or is that it?

Link to comment
Share on other sites

But while we're at it, I'm wondering about file sizes to implement a better check of the installed version. I know of these two:

 

main.scm size: v1 3079599 -- v2 3079744

 

Does anyone know if there are any other original script versions (v1.01, what else...?) or is that it?

I see Script:

•V3.....(Not Tried) @ direct2Drive.com

Link to comment
Share on other sites

But while we're at it, I'm wondering about file sizes to implement a better check of the installed version. I know of these two:

 

main.scm size: v1 3079599  --  v2 3079744

 

Does anyone know if there are any other original script versions (v1.01, what else...?) or is that it?

I see Script:

•V3.....(Not Tried) @ direct2Drive.com

AFAIK, the v3 scripts are the same as v2 scripts. I have completed v3 SnPs using v2 scripts. So, I don't see a need to include another option for v3.

Link to comment
Share on other sites

AFAIK, the v3 scripts are the same as v2 scripts. I have completed v3 SnPs using v2 scripts. So, I don't see a need to include another option for v3.

Thanks girishb, good to know.

 

FYI, I'm currently working on yet another new version. Bye-bye label file, hello new routine to determine currently installed scripts. Looks as it'll be a file compare of the installed main.scm with the contents of the subfolders v1, v2 etc.

Link to comment
Share on other sites

Update: v0.7 released

 

Download (http://files.filefront.com/sa+scriptchange+07zip/;11887924;/fileinfo.html)

 

NEW in v0.7:

• Start GTASA from within the script switcher: normal or nosplash (if nosplash.exe present).

• New routine to determine the installed scripts.

• Label file not needed anymore, old one(s) will be deleted.

 

NEW in v0.6:

• Easy disabling and enabling of the CLEO library (if installed).

• It's now possible to re-install a script version the program thinks is already running (makes things easier for users of SannyBuilder).

 

--> see it all in the edited top of thread (http://www.gtaforums.com/index.php?showtopic=244165&view=findpost&p=3688363)

 

Thank You:

hmvartak for suggesting the 'Start Game' feature

OrionSR for testing & help on the file compare routine

 

As usual - please use, comment, improve, enjoy smile.gif

Edited by rubregg
Link to comment
Share on other sites

Pretty good, Alex. Everything works sweet for me except starting the game without the splash screen. I hit 'n' and it says 'feature not available'. Is something wrong with my game?

Link to comment
Share on other sites

Pretty good, Alex. Everything works sweet for me except starting the game without the splash screen. I hit 'n' and it says 'feature not available'. Is something wrong with my game?

No, there's nothing wrong with your game. Starting without the splash screen needs NoSplash.exe and NoSplash.dll present in the game's main directory, i.e. this feature has to be installed separately. If it is installed, then it can be used. (Nosplash doesn't work with my game so I don't have it installed either.) OrionSR reported it works for him.

 

Good to hear the rest seems to be working for you. smile.gif

Link to comment
Share on other sites

Yay, Start the game directly !

Uh,.....Is there another mirror please,I have trouble downloading at Filefront.......

Link to comment
Share on other sites

Uh,.....Is there another mirror please,I have trouble downloading at Filefront.......

How could you miss this? *http://rubregg.p2partesans.com/sa/sc/sa_scriptchange_0.7.zip

Link to comment
Share on other sites

This is for reference / note to self and FYI @ who's interested.

 

CLEO disabling

Phreak has posted something on this in the chain game lounge (http://www.gtaforums.com/index.php?showtopic=298966&view=findpost&p=1058540269). I dug a little through the cleo folders and it looks as if

 

vorbisFile.dll and

vorbishooked.dll (the original vorbisFile.dll)

 

don't actually belong to cleo itself, but are the ASI Loader. This will load cleo.asi (and other .asis in the game's main folder). cleo.asi seems to be the actual cleo file, so the cleo routine in the script switcher will indeed switch off cleo - but only cleo and not any other .asis you might be running.

 

 

any asi files in gta-sa folder will be loaded on startup, that is immediately when program loads. asi files are simply dll files with asi extension, you can use them to hook code in gta-sa executable etc..

 

Link to comment
Share on other sites

So, you're script switcher toggles the cleo.asi on/off right Rubregg? What are these other .asi's. Are they present in a normal ,unmodded game? Do these .asi's harm the In-game components? Can all these .asi's be integrated to the script switcher in such a way that it switches all of them on/off(including cleo) smile.gif ?

Link to comment
Share on other sites

  • 2 weeks later...

Sorry, missed that posting.

 

 

So, you're script switcher toggles the cleo.asi on/off right Rubregg?
Right cacarla, the script switcher toggles cleo.asi "off" by renaming it to cleo.asi.bup.

 

 

What are these other .asi's. Are they present in a normal ,unmodded game? Do these .asi's harm the In-game components? Can all these .asi's be integrated to the script switcher in such a way that it switches all of them on/off(including cleo) smile.gif ?
In a normal unmodded game there are no .asis at all. cleo.asi is the only .asi I've come across so far - maybe some mods use them. They'd have to be in the game's main folder to be loaded by the asi loader, so just check that folder of yours to see if you have any in there.

 

In case some other mods use other .asis, I wouldn't know if disabling the asi loader is all that's required to disable these specific mods or if this would mess up things. That's why I'll leave my routine as it is for now. It's doing all it's supposed to do.

Link to comment
Share on other sites

That's why I'll leave my routine as it is for now. It's doing all it's supposed to do.

No doubt about that Rubregg. The script switcher works flawlessly for me and to many others also. Just curious to know about these .asis. Thanks Rubregg icon14.gifwink.gif . See ya around mate.

Link to comment
Share on other sites

  • 2 months later...

 

@Rubregg, one question about the Script Switcher tool, Will it work with switching between the Mission Passer's main.scm/Pillager's main.scm, and the Original main.scm?
Technically yes; as long as a mod consists only of 'main.scm' and 'script.img', you can highjack either of the v1, v2 or hot coffee folders for that mod. On-screen messages will not be altered by this, so you'll have to remember where you put your different mods. If a mod only consits of 'main.scm' you'll have to add your original 'script.img' to the subfolder anyway, otherwise you'll get a file-missing error message.

 

Got the real-names switcher to work?

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

I need some Backup link for easy script switcher since both this Links are dead please can somebody post some new link in this Thread or pm me please sad.gif

Link to comment
Share on other sites

I need some Backup link for easy script switcher since both this Links are dead please can somebody post some new link in this Thread or pm me please sad.gif

Both? The mirror is still working for me. Click me.

 

@rubregg: Can you upload the switcher to GTAGarage? That would ensure permanent hosting for it.

Link to comment
Share on other sites

Bugger it - all my filefront uploads have disappeared. wtf!?!?!! ...yeah, I'll see what I can do about this, thanks for the heads-up.

Link to comment
Share on other sites

 

confused.gif Hey rugbregg..... your pc script switcher don't works more me it says no script files were found.......... what is the exact location your script switcher aims?? i can then arrange files like that ...... i have v2 scripts and v1 also but cleo tooo

Link to comment
Share on other sites

 

confused.gif Hey rugbregg..... your pc script switcher don't works more me  it says no script files were found.......... what is the exact location your script switcher aims?? i can then arrange files like that ...... i have v2 scripts and v1 also but cleo tooo

First you need to make folder named v1, v2, hc & sp in 'data\script folder'. And put corresponding script files in those folders. Have you done this?

 

Here are instructions from readme file.

 

First Installation

 

--  Make backup copies of all your different version script files!!!

--  Make backup copies of '..\text\american.gxt' if you're using the spaceeinstein mod!!!

--  Make a backup copy of '..\cleo.asi' if you're using the CLEO library!!!

--  Make sure you have write access in the folders specified above in the first 3 paragraphs of 'Basics'.

--  Go to your GTA SA script folder (e.g. 'C:\Program Files\GTA San Andreas\data\script').

--  In there create subfolders called 'v1', 'v2', 'hc' & 'sp' (all file & folder names without ' ' of course).

--  Put the script files ('main.scm' and 'script.img') of v1 into the subfolder 'v1', those of v2 into subfolder 'v2' and those of Hot Coffee into subfolder 'hc'.

--  Put all the files of the spaceeinstein mod ('main.scm', 'script.img' and 'american.gxt') into the subfolder 'sp'.

--  Unzip 'sa_scriptchange.bat' to any convenient location.

Link to comment
Share on other sites

hmmmm hmvartak you mean that i neeed space mod and hot cofeee also??? where the hell i will get hot coffeee...... and even where i will get spaceint mod.......

Link to comment
Share on other sites

 

hmmmm hmvartak you mean that i neeed space mod and hot cofeee also??? where the hell i will get hot coffeee...... and even where i will get spaceint mod.......

If you don't have them, you can leave hc, sp folders empty.

Link to comment
Share on other sites

oh ok,,, i wil try this in 1 or 3 days a si neede cleo now for mission makings.... i will disable cleo later but i hve one more ques...... can cleo be enabled again with script switcher?????????

Link to comment
Share on other sites

 

oh ok,,, i wil try this in 1 or 3 days a si neede cleo now for mission makings.... i will disable cleo later but i hve one more ques...... can cleo be enabled again with script switcher?????????

Script switcher can be used to enable/disable CLEO. 'C' is the key.

 

Can you see this screen?

 

user posted image

Edited by hmvartak
Link to comment
Share on other sites

lol when i open that screenshot it ius way too small for seeing anythinhg confused.gif . but i was to know..... thanks for telling.... i will tryn it tomorrow or day afrter tomorrow

Link to comment
Share on other sites

Thanks hmvartak for helping out! biggrin.gif

 

@hetmet

Thanks for your interest in the script switcher. No, you don't have to use the spaceeinstein or hot coffee mods, just ignore stuff about mods you don't want to use. If you only want to switch between v1 and v2, then v1 and v2 scripts is all you need. If you only want to switch between, say, v1 and hot coffee, then you don't need v2 and spaceeinstein scripts. Etc...

 

Same goes for Cleo - if you're not using it, just don't use the "C" option.

 

If you want to use this tool for switching Cleo on and off, you first need Cleo installed - Cleo doesn't come with this program. If you do have Cleo installed you can switch it off and later switch it on again.

 

I strongly recommend reading the readme though, or the instructions on the front page, it's really all explained in there... wink.gif

 

@everyone

Any idea what went on with FileFront? I just checked and OrionSR's files are all gone too. My own files were still there after FileFront was briefly down and then relaunched, now everything is gone. angry.gif

 

GTA Garage

Ok, so I just uploaded the script switcher to GTA Garage, hope I did everything right. Can't seem to link this topic to the mod - does this only work with topics in the Mod Showroom? Also I don't know how long it'll take until downloading works, but here is the link:

Script Switcher at GTA Garage

Edited by rubregg
Link to comment
Share on other sites

trickstar34
Thanks hmvartak for helping out! biggrin.gif

 

@hetmet

Thanks for your interest in the script switcher. No, you don't have to use the spaceeinstein or hot coffee mods, just ignore stuff about mods you don't want to use. If you only want to switch between v1 and v2, then v1 and v2 scripts is all you need. If you only want to switch between, say, v1 and hot coffee, then you don't need v2 and spaceeinstein scripts. Etc...

 

Same goes for Cleo - if you're not using it, just don't use the "C" option.

 

If you want to use this tool for switching Cleo on and off, you first need Cleo installed - Cleo doesn't come with this program. If you do have Cleo installed you can switch it off and later switch it on again.

 

I strongly recommend reading the readme though, or the instructions on the front page, it's really all explained in there... wink.gif

 

@everyone

Any idea what went on with FileFront? I just checked and OrionSR's files are all gone too. My own files were still there after FileFront was briefly down and then relaunched, now everything is gone. angry.gif

 

GTA Garage

Ok, so I just uploaded the script switcher to GTA Garage, hope I did everything right. Can't seem to link this topic to the mod - does this only work with topics in the Mod Showroom? Also I don't know how long it'll take until downloading works, but here is the link:

Script Switcher at GTA Garage

If you want I can host it on my site GrandTheftAuto-Gaming.com?

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.