ModdingSimple teleport program from testing for GTA San Andreas
Posted:

ModdingSimple teleport program from testing for GTA San AndreasPosted:

XeCrippy
  • Blind Luck
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
I put this on GitHub but just putting it here in case someone finds it useful. It's not a complete tool, just some testing for teleporting your player but I did make it so you can save/load locations. It will save them to a .json file and you can press Refresh to update them to the comboBox for convenience.

Virus Scan (2 false positives but it's open source)

Download

Source Code

* * inject teleport hook while paused or it may crash

https://i.imgur.com/MOSlO6v.png


Last edited by XeCrippy ; edited 3 times in total

The following 1 user thanked XeCrippy for this useful post:

Allergies (02-02-2024)
#2. Posted:
XeCrippy
  • Winter 2019
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
Trying to figure out some new stuff and have hopefully figured out how to hook some of these functions instead of debugging breakpoints. This is very early and can be improved for sure but I thought it was interesting so figured I'd share

This is for god mode/one hit kill. So basically I changed an assembly instruction in the function to force it to branch to a custom function I wrote, which is injected into free memory. This function just checks whether it's your player or an enemy, if it's your player it returns the original function but after the point where your health would be reduced, if it's the enemy it returns the original function at a point where it will force their health to 0. The concept can be useful for a lot though I'd expect.

uint entry = 0x822FD778;
uint freeMemAddr = 0x83070050;
uint entryHook = 0x48D728D8; // this branches to free memory where the new custom function will be written
byte[] hook = new byte[] { 0x2C, 0x08, 0x00, 0x31, 0x41, 0x82, 0x00, 0x08, 0x4B, 0x28, 0xD7, 0x28, 0x4B, 0x28, 0xD7, 0x30 };
#3. Posted:
XeCrippy
  • Winter 2019
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
I just realized this is for TU1 I believe. It's the latest TU on Xbox unity/Aurora but apparently it's not the actual latest one
#4. Posted:
Sus-
  • Christmas!
Status: Offline
Joined: Jun 28, 201112Year Member
Posts: 819
Reputation Power: 589
Status: Offline
Joined: Jun 28, 201112Year Member
Posts: 819
Reputation Power: 589
XeCrippy wrote I just realized this is for TU1 I believe. It's the latest TU on Xbox unity/Aurora but apparently it's not the actual latest one


Yeah aurora's TUs are often outdated unfortunately.
#5. Posted:
XeCrippy
  • Rated Awesome
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
I just pushed an update for the latest TU and went ahead and added a few more features to it. I made some small improvements to the god mode/one hit kill but you can still die in vehicle explosions.

*Edit: fixed the god/ohk a little more. Noticed it wasn't working in missions. Now god mode should work inside buildings, on BMX/motorcycles, and in missions. I'm sure there will be some more circumstances where it doesn't work. The source for the latest update is on GitHub but I didn't upload the compiled release yet

#6. Posted:
Treason
  • Gold Member
Status: Offline
Joined: Jan 29, 201311Year Member
Posts: 236
Reputation Power: 123
Motto: RGH Consoles In Stock!
Motto: RGH Consoles In Stock!
Status: Offline
Joined: Jan 29, 201311Year Member
Posts: 236
Reputation Power: 123
Motto: RGH Consoles In Stock!
This looks neat I'm going to check this out right now, I've been playing GTA San Andreas on the original xbox for nostalgia now time for it with cheats
#7. Posted:
XeCrippy
  • Fairy Master
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
Status: Offline
Joined: May 12, 20167Year Member
Posts: 1,883
Reputation Power: 1259
Treason wrote This looks neat I'm going to check this out right now, I've been playing GTA San Andreas on the original xbox for nostalgia now time for it with cheats
It's for the Xbox 360 version on RGH
#8. Posted:
Treason
  • Gold Member
Status: Offline
Joined: Jan 29, 201311Year Member
Posts: 236
Reputation Power: 123
Motto: RGH Consoles In Stock!
Motto: RGH Consoles In Stock!
Status: Offline
Joined: Jan 29, 201311Year Member
Posts: 236
Reputation Power: 123
Motto: RGH Consoles In Stock!
XeCrippy wrote
Treason wrote This looks neat I'm going to check this out right now, I've been playing GTA San Andreas on the original xbox for nostalgia now time for it with cheats
It's for the Xbox 360 version on RGH


Yeah I know, I've got my personal rgh I meant time to play the game with cheats on the rgh since I've been playing legit from beginning to end
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS