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

Please post mod releases in the Mod Showroom

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)


Pages: (2) [1] 2   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 How do I edit the GTA-VC.exe?

 I want to change some in game attributes
 
Jsmith1980  
Posted: Monday, May 14 2012, 18:01
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



Hi all

I wondered if anyone on here knows how to change the coding in the gta-vc.exe?

I want to have the option of changing in game attributes that are not changeable in the main.scl file.

Thanks

John
PM
  Top
 

 
Deji  
Posted: Monday, May 14 2012, 18:25
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



It may help to be more specific...
Users WebsitePM
  Top
 

 
Jsmith1980  
Posted: Monday, May 14 2012, 19:04
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



Okay colgate.gif

I want to change the weapons carried by the SWAT team and the national guard in Vice City. I know that it isnt possible by editing the main.scl file.
PM
  Top
 

 
JACK JONES  
Posted: Monday, May 14 2012, 19:43
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



You're gonna need cheat engine program. Memory addresses for SWAT and ARMY are probably around the memory region 004EC000 or 004ED000. I assume this because someone found nitestick that COPS are having with 1 star wanted level:
CODE
Police weapons:
0x4ED772 - [byte] - first weapon (Nitestick)
0x4EC21D - [byte]
0x4EC228 - [byte]


I build a code with this addresses so with 1 star wanted level cops are having chainsaws:
CODE
{$CLEO .cs}
thread 'LOOOL'

:COP
wait 0
05E0: 0@ = read_memory 0x4ED772 size 1 virtual_protect 1
05E0: 1@ = read_memory 0x4EC21D size 1 virtual_protect 1
05E0: 2@ = read_memory 0x4EC228 size 1 virtual_protect 1
if or
0039:   0@ == 4 // integer values
0039:   1@ == 4 // integer values
0039:   2@ == 4 // integer values
else_jump @COP
05DF: write_memory 0x4ED772 size 1 value 11 virtual_protect 1
05DF: write_memory 0x4EC21D size 1 value 11 virtual_protect 1
05DF: write_memory 0x4EC228 size 1 value 11 virtual_protect 1
jump @COP
05DC: end_custom_thread

Very funny I loooled. lol.gif You could put them some other weapon by changing value 11.

EDIT: Hey Jsmith I got some good news - I found the SWAT gun addresses - here:
CODE
004ED7D1
004ED7DC

I'm searching for ARMY right now - I'll tell you if I find something.

Yeah I finaly find those - I've been searching them for months - here you go:
CODE
ARMY guns:
004ED842
004ED84D

Enjoy. I'll try to find all wanted gun addresses.

This post has been edited by JACK JONES on Tuesday, May 15 2012, 09:19
PM
  Top
 

 
Jsmith1980  
Posted: Tuesday, May 15 2012, 17:11
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



Thanks for all of your help Jack Jones, this is very much appreciated. icon14.gif

I will have to read over these addresses until I fully understand them before I change anything.

The chainsaw script does sound funny, although I dont think I have enough experience to write something that complicated.


What was the name of the cheat engine software? I used Sanny Builder to change the main.scm file. That didnt work when I opened the gta-vc.exe.


Thankyou

John

This post has been edited by Jsmith1980 on Tuesday, May 15 2012, 17:15
PM
  Top
 

 
JACK JONES  
Posted: Tuesday, May 15 2012, 17:31
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



It's not so hard to understand - only on the first look. Just read CLEO scrypt tutorial by ZAZ:
http://www.gtaforums.com/index.php?showtopic=403594
And Cheat Engine is a tool that can open any exe file and gives the ability to change values of memory addresses - just find it with google or yahoo - it's all over the internet and this tool also has its own tutorial. By the way Sanny Builder can NOT open an exe file.
PM
  Top
 

 
Deji  
Posted: Tuesday, May 15 2012, 17:33
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



QUOTE (Jsmith1980 @ Tuesday, May 15 2012, 17:11)
What was the name of the cheat engine software?

Cheat Engine
Users WebsitePM
  Top
 

 
Jsmith1980  
Posted: Tuesday, May 15 2012, 17:39
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



Thanks Deji lol

Gonna start with the changes. Hopefully the game will still load when I am finished making changes.

Thanks again Jack Jones

I will find it with google.

I will also change the weapons that the guys in the ammunation stores have also. I should be able to find those addresses too.

This post has been edited by Jsmith1980 on Tuesday, May 15 2012, 17:50
PM
  Top
 

 
JACK JONES  
Posted: Tuesday, May 15 2012, 17:55
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



QUOTE
I will also change the weapons that the guys in the ammunation stores have also. I should be able to find those addresses too.

I think that they are in main.scm file.
PM
  Top
 

 
Jsmith1980  
Posted: Tuesday, May 15 2012, 19:01
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



QUOTE (JACK JONES @ Tuesday, May 15 2012, 17:55)
[QUOTE]I think that they are in main.scm file.
[QUOTE]


Really? I will have another look through it and find them.
PM
  Top
 

 
Jsmith1980  
Posted: Saturday, May 19 2012, 06:52
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



I have downloaded Cheat Engine and I have worked over the tutorials, however I am still unsure as how I can use it to change the settings I mentioned previously.

When I start the game.... Would I need to have the SWAT and National Guard come after me before I can search and change the values? Will the changes I make be permanent?

Thanks
PM
  Top
 

 
JACK JONES  
Posted: Saturday, May 19 2012, 07:07
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



http://www.mediafire.com/?jtks29wma8ofmlm
Army - M4
FBI - Ruger
SWAT - MP5LNG
VICE - MP5LNG
However I'm still searching for COP pistols - looks like there're more then 2 mem addresses for that. And use EDIT instead of double posting.
An off topic question: Does anyone know why cheat engine didn't find these mem addresses after I hit first scan? Is it because they're virtual protected?

This post has been edited by JACK JONES on Saturday, May 19 2012, 07:13
PM
  Top
 

 
Ashwin the new boy  
Posted: Saturday, May 19 2012, 07:11
Quote Post


I am The Most Confused Person
Group Icon
Group: Members
Joined: Nov 14, 2010

ia.gif

XXXXX



QUOTE
Will the changes I make be permanent?

No, Until you restart the game
i mean close & start again (not new game) lol.gif

if you want them to be permanent
* make a dll(ASI) that change the mem add as the game starts
* find that address in Gta-vc.exe HEX & change it

@JJ
check out the Memory scan options

also don't forget to load the Models in Script,
otherwise your Game will crash as soon as the cop come with that weapon

I would love to help you both but I am very busy in other scripting stuff
good luck!

This post has been edited by Ashwin the new boy on Saturday, May 19 2012, 07:20
Users WebsitePM
  Top
 

 
JACK JONES  
Posted: Saturday, May 19 2012, 07:20
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



But I tested the scrypt and there was no game crashing. Also all new weapons are showing up. Aren't the models already loaded in exe file?
PM
  Top
 

 
Ashwin the new boy  
Posted: Saturday, May 19 2012, 07:22
Quote Post


I am The Most Confused Person
Group Icon
Group: Members
Joined: Nov 14, 2010

ia.gif

XXXXX



Not sure,
but i i remember that My game was crashed when i change COP's 'nightStick' to 'Machete',
Users WebsitePM
  Top
 

 
JACK JONES  
Posted: Saturday, May 19 2012, 07:37
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



Yes you're right - machete is crashing without loading a model but that's not a case with chainsaw and the other weapons I used in my scrypts - everything is fine without model loading - I saw those weapons in police hands - they were visible and there was no game crashing. Hmmmm - strange.
PM
  Top
 

 
Jsmith1980  
Posted: Saturday, May 19 2012, 08:34
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



Thanks for the file Jack Jones.

Do I just need to place the Wanted Guns.cs file and the text file in the data folder and its good to go?

Thanks
PM
  Top
 

 
Ashwin the new boy  
Posted: Saturday, May 19 2012, 08:50
Quote Post


I am The Most Confused Person
Group Icon
Group: Members
Joined: Nov 14, 2010

ia.gif

XXXXX



QUOTE
Do I just need to place the Wanted Guns.cs file and the text file in the data folder and its good to go?


Where is that Big Face palm PIC, ohh here it is
user posted image


Did you heard a Name 'CLEO' ?
no ! good
=>when you get file whose extension is .cs
it means that a Cleo Script,
so you need to download a Cleo mod for your game
then install it & put the file in Cleo folder present in Root folder,
& RUN the game
A Big Hint for you

Can't believe you are going to do that Memory stuff

This post has been edited by Ashwin the new boy on Saturday, May 19 2012, 08:56
Users WebsitePM
  Top
 

 
Jsmith1980  
Posted: Saturday, May 19 2012, 09:42
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



Okay, cleo is installed and the cs and text file are in the CLEO folder which is in the root GTA Vc folder. I even see at the bottom of the screen when I load the game that CLEO is recognised.

I started a firefight in the game and the SWAT team arrived, however they were armed with their default weapons. I had started a new game from the beginning. Is there anything I may have missed?
PM
  Top
 

 
Ashwin the new boy  
Posted: Saturday, May 19 2012, 09:55
Quote Post


I am The Most Confused Person
Group Icon
Group: Members
Joined: Nov 14, 2010

ia.gif

XXXXX



No you have installed it in Right way.
Now discuss this Problem its Author [JJ]
Users WebsitePM
  Top
 

 

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

0 Members:

Pages: (2) [1] 2 

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



 
IMG IMG