Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Site Suggestions

  • 0
rubregg

Easy script switcher [PC v1 only]

Question

rubregg

Edit: From OrionSR: MAIN-SA-V2-PC.rar

 

Read the notes near the end of the script switcher topic for instructions on how to adapt

 

 

 

 

Easy script switcher for GTA SA

...to swap between v1, v2, Hot Coffee and Spaceeinstein's All In One Mod

...or toggle the CLEO library off/on

 

Current Version: v0.7 -- released September 25 2008

 

Latest additions:

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

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

 

Supported versions of Spaceeinstein's All In One Mod: v2.6 --> v3.0

 

Downloads

Related topics screenshot070.th.png

 

 

 

 

Purpose

 

While helping other players with their missions I often had to switch my v1 scripts to v2 or even the Hot Coffee mod. Since repetitive file copying got sort of tiring for me I made this little batch file to do the job for me. Support for Spaceeinstein's All In One Mod was included by request from v0.3 on and the script is written in a way that should allow more future extensions, if wished for. Drop a line here if you want something else included and I'll see what I can do.

 

Since CLEO scripts have become an issue in the Chain Game, a routine to easily toggle them off or on has been added.

 

 

Systems

  • Written on and only tested on WinXP .
  • grishb reports that it also works on Vista . Judging from what I hear about Vista you'll very likely have to manually change permissions for some folders, see "Basics" below.
  • Due to the registry reading feature it might not run on Win2K . You must have Win2K Support Tools installed, but since there are syntax differences for the command 'reg.exe' in WinXP and Win2K Support Tools it may still not run on 2K.
Instructions

 

Basics

  • This program needs write access in your GTA SA script folder (e.g. 'C:\Program Files\GTA San Andreas\data\script'). Log in as administrator and grant write access to the user account running GTA SA and the scriptchanger (or ask your system administrator to do this for you). This needs to be done only once - if at all. On a standard Win2K/XP installation you probably *won't* have to do it because all standard user accounts have full admin rights there (incl. write access everywhere). With Vista you most likely *will* have to do it.
  • If you're using the Spaceeinstein Mod, you will also need write access in '..\text'.
  • If you're using CLEO, you will also need write access in your game's main directory.
  • GTA SA v2 has restricted modding abilities and needs to be downgraded before you can switch scripts.
  • You can still use this program no matter whichever version of GTA SA you run, because all this program does is copy script files around. If your game won't run after this it could be due to your script files being incompatible with your game.
  • You don't *have* to use *all* the possible options - just ignore all instructions for folders/files you are not going to use. If you pick an unexisting selection in the menu by mistake, you'll get an error message and your currently installed scripts will remain unaltered.
  • The CLEO toggle is not a clean (un-)install routine; all it does is rename the file cleo.asi to cleo.asi.bup and back. This seems to do the trick for me.
  • The currently installed scripts are determined via file compare with the contents of your '..\data\script\v1', 'v2', etc folders. Be careful to put the right scripts into the right folder, otherwise you'll get inaccurate information.
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.
Updating the Scriptchanger
  • Make sure your scriptchanger is not running and simply overwrite your old 'sa_scriptchange.bat' with the new one.
  • If you're updating from pre v0.6 and using the CLEO library: Make a backup copy of '..\cleo.asi' and make sure you have write access in the game's main folder.
Changing between different *supported* versions of the Spaceeinstein Mod
  • Replace the contents of your '..\data\script\sp' folder.
  • Switch to spaceeinstein.
  • You can leave this version of the scriptchanger running while you do this.
  • You'll be told which version of the Spaceeinstein mod you're running.
Using this program
  • Double-click 'sa_scriptchange.bat', make your choice & press [Enter]. That's basically it.
  • For multiple script swaps you can leave this program running in the background while playing, but always make sure the game itself isn't running when you change the scripts .
Disclaimer

 

use at own risk ...yaddayadda... comes as is ...bleh... no warranties ...blurp... etc...

...and make those backups first

 

 

Changelog

 

v0.7

• start GTASA from within the script switcher

• new routine to determine the installed scripts

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

 

v0.6

• added CLEO toggle (disable/enable if installed)

• enabled changing to a script version the program thinks is already installed

 

v0.5

• updated Spaceeinstein routine to support multiple versions of the mod

• currently supported versions: v2.6 --> v3.0

• content of label file gives exact installed version

• reversed the formatting of the text output to pre-0.41 (liked it better after all)

 

v0.41

• updated Spaceeinstein support to v2.8

• very minor change in the formatting of the text output (blank line shoving, basically)

 

v0.4

• changed the way the game's path will be read from the registry (dropped using the GUID due to rare bug reports and Wolf68k's invaluable input)

• updated support for Spaceeinstein's All In One Mod to the current version v2.6

• overhauled instructions incl. a few comments on updating, Win2K, Vista, write access & modding of SA v2

 

v0.3

• added Spaceeinstein's All In One Mod (v1.7.1) as a possible selection; existing '..\text\american.gxt' will be backuped to '..\text\american.orig.gxt'

• program will run in a loop until you exit

• complete structural overhaul, hopefully makes future extensions easier to work in

• changed location of the label file (see instructions); changed extension of label file to .ini; old label files will automatically be converted

• label file is no dummy anymore but will be read to find out the currently installed game scripts

 

v0.2

• paths will be automatically read from the windows registry - no more manual editing of the file

• a few security checks added - e.g. your installation will not be changed if you select Hot Coffee but don't have those script files

 

 

Thanks...

 

• to Wolf68k for priceless help (especially with the registry stuff) and for mirroring the downloads,

• to Plaka for pinning this topic and providing a download mirror,

• to DrSnuggles for webspace,

• to hmvartak for suggesting the 'Start Game' feature

• to OrionSR for coding help and testing

• and to all those testing, using & feedbacking. icon14.gif

 

 

As usual: Feel free to comment & improve & expand to cover more mods etc... smile.gif

 

Enjoy,

rubregg

Edited by lil weasel

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0
Wolf68k

just a friendly bump

Share this post


Link to post
Share on other sites
  • 0
Plaka

I'll Pin this Topic it's just too good to keep losing ...

Share this post


Link to post
Share on other sites
  • 0
crazyanurag
I'll Pin this Topic it's just too good to keep losing ...

lol.gif very true...i was gonna suggest the same, as well, the next time we spoke...

 

anyhow, rubregg, congrats on the pin, man wink.gif ...keep up the great work...

 

You'll Never Walk Alone

Share this post


Link to post
Share on other sites
  • 0
rubregg

wow - thanks for the pin, I'm glad it's being found useful biggrin.gif

Share this post


Link to post
Share on other sites
  • 0
Plaka

By request from someome having trouble downloading from Filefront here's another mirror: sa_scriptchange_0.3.zip

Share this post


Link to post
Share on other sites
  • 0
Seddo

as i want to start helping people with missions and i have version 2 San Andreas, is there anyway i can get the version 1 scripts from anywhere, because ive made those sub folders in the script folder wink.gif

Share this post


Link to post
Share on other sites
  • 0
HerrieM
as i want to start helping people with missions and i have version 2 San Andreas, is there anyway i can get the version 1 scripts from anywhere, because ive made those sub folders in the script folder wink.gif

If you have version 2 then you can't preform version 1 savegames whit just the scripts. I have heard that you can downgrade your version to version 1 but because that is illegal, it can't be discussed on this forum.

 

 

Share this post


Link to post
Share on other sites
  • 0
Seddo

ok if i get the downgrader, and i download the sa_scriptchanger do i need to place that anywhere specific

Share this post


Link to post
Share on other sites
  • 0
rubregg

 

ok if i get the downgrader, and i download the sa_scriptchanger do i need to place that anywhere specific

From the Instructions:

  • You don't *have* to use *all* the supported scripts - just ignore folders/files you are not going to use.

     

  • (...) unzip 'sa_scriptchange.bat' to any convenient location

     

Hope this helps smile.gif

Share this post


Link to post
Share on other sites
  • 0
Seddo
ok if i get the downgrader, and i download the sa_scriptchanger do i need to place that anywhere specific

From the Instructions:

 

You don't *have* to use *all* the supported scripts - just ignore folders/files you are not going to use.

 

 

(...) unzip 'sa_scriptchange.bat' to any convenient location

 

 

Hope this helps smile.gif

yeah i read the instructions but when it said convenient location i didnt know if it was to be put into the san andreas folders for convenience blush.gif

 

anyway thanks for the help wink.gif

Share this post


Link to post
Share on other sites
  • 0
rubregg

hehe, don't worry mate :-)

 

The only thing is, 'sa_scriptchange.bat' will write a label file into the folder it is run from so you need to have writing permissions for that folder. Bearing that in mind you can put 'sa_scriptchange.bat' anywhere you like and run it from there.

 

For speed reasons I'd suggest you read that as "anywhere on your hard drives" although USB stick or diskette would theoretically also work.

 

Good luck on the 'downgrading' and thanks for the interest in the scriptchanger. smile.gif

Edited by rubregg

Share this post


Link to post
Share on other sites
  • 0
Seddo

I am trying to help people with SnP and i have followed the instructions in this topic but still when i cahnge the version scripts it doesnt work. I can still not play on version 1 games even though i have the version 1 downgrader patch.

 

user posted image

 

so i can play version 2 requests but not version 1, whats the problem still, Please help.

Edited by Seddo87

Share this post


Link to post
Share on other sites
  • 0
rubregg

@Seddo87

 

I'm not 100% sure about this, but as far as I know all that script changing only works for San Andreas v1. I can really only quote:

 

If you have version 2 then you can't perform version 1 savegames with just the scripts.

My scriptchanger only exchanges the script files in the /data/script folder and doesn't do anything else to the game. Since I myself have v1 I'm afraid I don't know anything about that downgrader patch or what it actually does, sorry... :-|

Edited by rubregg

Share this post


Link to post
Share on other sites
  • 0
Seddo

Well when i first install my game it has the little 2.00 thing at the bottom meaning my game is version 2 and when i try to play the online multiplayer games it doesnt work.

 

But when i installl the downgrader patch the 2.00 mark goes away meaning my game is now version 1 and also i can now play the multiplayer games online.

 

So my game version must be version 1 now becuase i have installed the downgrader.

Share this post


Link to post
Share on other sites
  • 0
0mfg0rz

Sadly, I cant get this to work :s . The label file "current-install-xx.ini" just wont appear . Ive provided a screen capture so you can correct me if ive done something wrong ? user posted image

 

Edit : I realised i accidently called hot coffee HV in the screen shot instead of HC, I changed the name but it still does not work.

Edited by 0mfg0rz

Share this post


Link to post
Share on other sites
  • 0
rubregg

@Seddo: Sorry for missing your last posting for so long blush.gif Still I'm afraid I can't help you. I don't know what this 'downgrading' actually does to your game. I can only guess that a downgraded v2 game is in essence still a v2 game (with some files exchanged?) and that's why the scripts don't work. This program really only swaps the script files in ...\data\script\ around so if that copying works but your game won't, then the provided script files are incompatible with your version of the game. Sorry. confused.gif

 

@0mfg0rz: Are you sure you have write access in ..\data\script\ ? Do you actually run the sa_scriptchange.bat file from the ..\data\script\ folder itself or do you have a shortcut/windows-link pointing at it that you double-click? If so, does the label-file appear in the folder that contains this link? Does the scriptchanger give you any error messages when you run it? Do scripts actually get exchanged (you can check with the filesizes)? ...just for your information, you don't have to bury the sa_scriptchange.bat into the ..\data\script\ folder, you can put that anywhere you like, for example the folder you keep all your other gta-related things in (maps, tools, id-converter, whatever...).

 

Share this post


Link to post
Share on other sites
  • 0
0mfg0rz

OK thanks for the detailed response icon14.gif

 

1) Yes I do run the .bat from the script folder

 

2) Yes it does give an error

 

user posted image

 

3) No the scripts do not get exchanged

Edited by 0mfg0rz

Share this post


Link to post
Share on other sites
  • 0
rubregg

@0mfg0rz

 

 

1) Yes I do run the .bat from the script folder
This has nothing to do with the problem, but you still might want to run it from a more convenient place...

 

2) Yes it does give an error  (...)

3) No the scripts do not get exchanged

The error you've posted indicates that the installation path of the game can't be read from your registry. There's a couple of possible reasons this could happen, but first here's a quick workaround. Open the sa_scriptchange.bat with a text editor, e.g. notepad.exe, and in the section 'STANDARD PATHS' (quite near the beginning) replace this

for /f "skip=2 tokens=3*" %%G in ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D417C96A-FCC7-4590-A1BB-FAF73F5BC98E} /v InstallLocation') do set GAMEPATH="%%G %%H"

by this

set GAMEPATH="C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas"

 

(I've read your path from the screenshot in your other posting)

 

As for why your path can't be read by the .bat file:

 

a) Maybe you didn't install your game properly and it's not in your registry at all.

b) Maybe your game comes with a different application code than my v1, which has

 

{D417C96A-FCC7-4590-A1BB-FAF73F5BC98E}

 

 

Now if you're sure you have a proper install and if you have the patience and only if you absolutely know what you're doing, could you please check out your registry and see if the game is in there? If so, would you please let me know what code it registered with and exactly what version of the game you're running? Thanks.

 

If, however,

c) you're running a pirated copy of the game, then I'm afraid to say all support has to end here, for this is strictly against this forum's policy.

 

 

Hope this helps icon14.gif

 

Share this post


Link to post
Share on other sites
  • 0
0mfg0rz

Well the support will have to stop I guess, Purchased my copy from ebay and runs with no cd..

 

Thanks for your time anyway..

Share this post


Link to post
Share on other sites
  • 0
rubregg

@Seddo: In addition to what I said in my last post - I just did an SnP for someone who runs a 'downgraded v2' like you. To do this, I *had* to use the v2 scripts.

 

@0mfg0rz: I'm sorry to hear you paid money for a possibly dodgy version...

Share this post


Link to post
Share on other sites
  • 0
rubregg

Proudly announcing -- new version v0.4 released

 

A quick "what's new":

• changed the way the game's path will be read from the registry (dropped using the GUID due to rare bug reports and Wolf68k's invaluable input)

• updated support for Spaceeinstein's All In One Mod to the current version v2.6

 

Also, I finally came round to give the instructions and the presentation a bit of an overhaul.

--> see it all in the edited top of thread

 

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

Edited by rubregg

Share this post


Link to post
Share on other sites
  • 0
crazyanurag

just tried it out, and it works all right smile.gif

 

great job again! if you haven't already, you should PM Rex or Wolf about changing the topic title description to v0.4 released...

 

You'll Never Walk Alone

Share this post


Link to post
Share on other sites
  • 0
quartet1977

thanks for the new version of a great tool!!

Share this post


Link to post
Share on other sites
  • 0
rubregg

 

@crazyanurag & quartet1977: Thanks for the support, mates smile.gif

Share this post


Link to post
Share on other sites
  • 0
matts417

I am confused, i may be dumb but i red this over 3 times, and still didnt get it. but does this let you run more than one mod at a time? or is that even possable cus im looking for a program that is easy to use and lets me run more than one mod at a time. well thanks.

Share this post


Link to post
Share on other sites
  • 0
rubregg

 

I am confused, i may be dumb but i red this over 3 times, and still didnt get it. but does this let you run more than one mod at a time? or is that even possable cus im looking for a program that is easy to use and lets me run more than one mod at a time. well thanks.

No, this program is *not* for running more than one mod at a time, and I don't know if that's possible at all or not, sorry... All this program does is copy a few files around, so that you don't have to do it manually. At the moment it only supports v1 / v2 / v1+Hot Coffee / Spaceeinstein' All In One Mod.

Share this post


Link to post
Share on other sites
  • 0
rubregg

Minor update v0.41 released

 

slightly improved screen output

spaceeinstein support updated to the latest version v2.8

dead download links fixed in posting

Edit: added links to savegame conversion details to posting

 

--> see it all in the edited top of thread

 

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

Edited by rubregg

Share this post


Link to post
Share on other sites
  • 0
Girish

Does it (or Can it) support v2.9 of Spaceinstein Mod?

Share this post


Link to post
Share on other sites
  • 0
rubregg
Does it (or Can it) support v2.9 of Spaceinstein Mod?

Sorry for the delay, I've been away for a couple of weeks.

No, spaceeinstein v2.9 is not yet supported. That'll be the next version v0.42, hope I can make that within the next couple of days.

Share this post


Link to post
Share on other sites
  • 0
Girish

 

@rubregg: Just to let you know, Spaceeinstein Mod v3.0 is now available. So, maybe you can include that too.

Share this post


Link to post
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

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

×

Important Information

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