IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

This section is for any editing topics that don't fit into any of the other forums, any questions on how to mod belong in Editing Discussion

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Help with san andreas

 
sxriter  
Posted: Saturday, Apr 7 2012, 09:59
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 7, 2012

XXXXX



Hi, I need to make a new executable in san andreas that have a new gta3.img and a new main.scm. without editing the Original gta_sa.exe

please I want to have an original and edited version of gta san andreas without installing it again

from gta_sa.exe played the original GTA
from the new executable is played the edited version

if someone help me, i appreciate it a lot

i need a tutorial if possible

thanks smile.gif

sorry my bad english
PM
  Top
 

 
fastman92  
Posted: Saturday, Apr 7 2012, 10:07
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



Create shortcut for GTA SA with parameters.
Example:
"C:\Program Files (x86)\Rockstar Games\GTA San Andreas\gta_sa.exe" -game standard
"C:\Program Files (x86)\Rockstar Games\GTA San Andreas\gta_sa.exe" -game modified

Write ASI (DLL Library with changed extension) in C++ or any other programming language.

What it will do:
Depending on -game argument it will set path to .scm file, default path is:
CODE
data\script\main.scm


Your ASI will change to e.g

CODE
data\script\modified\main.scm

Add code to load select script.img
For example:
CODE
data\script\modified\script.img

Or
CODE
data\script\script.img


It's as easy as:
CODE
.text:005B9158 054                 push    1              ; notPlayerFile
.text:005B915A 058                 push    eax            ; lpFileName
.text:005B915B 05C                 call    _openImgFile   ; on 0x01567B90 on 1.0 US HOODLUM

Where _openImgFile is on address 0x00407610

Good luck.
Users WebsitePMMSN
  Top
 

 
sxriter  
Posted: Saturday, Apr 7 2012, 11:36
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 7, 2012

XXXXX



I don t understand, it's hard for me since I'm new In This. there is an easier way? thanks

This post has been edited by sxriter on Saturday, Apr 7 2012, 11:41
PM
  Top
 

 
xrk  
Posted: Saturday, Apr 7 2012, 12:09
Quote Post


30Hz
Group Icon
Group: Members
Joined: Feb 4, 2004

en.gif

XXXXX



You mean you just want to have seperate copies of the game?
Just copy an paste the whole sa folder, the only limit to the number of copies you can have is hdd space.
the computer tells the .exes apart using their location not file name.

that how I read your question anyway.
PMMSNXbox Live
  Top
 

 
sxriter  
Posted: Saturday, Apr 7 2012, 13:00
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 7, 2012

XXXXX



no gta consuming a lot of disk space

create more executables is not impossible, because someone else could do it
here a picture:

user posted image
PM
  Top
 

 
xrk  
Posted: Saturday, Apr 7 2012, 14:22
Quote Post


30Hz
Group Icon
Group: Members
Joined: Feb 4, 2004

en.gif

XXXXX



Well then, I think fastman92 answered it for you..
have fun tounge.gif
PMMSNXbox Live
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG