Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Updates
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. 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.

CheatDevice Update


edisoncarter
 Share

Recommended Posts

I did some work on VCS CheatDevice on 3.10OE-A and found the problem. This may fix it for higher versions as well. Rather than keep everyone waiting while I upgrade through each custom firmware, here's a copy of the beta test version for people to try on whatever OE/M33/devhook firmware versions they have and report if it works:

 

BETA TEST version:

(link deleted)

 

This is a beta for test purposes only. If confirmation comes back that it's good, I'll wrap it up into a 2.4 release.

 

The problem turned out to be calls into game code for GetPlayerObject and GetPlayerCar. Those were the only calls into game code, so I replaced them with my own versions to get rid of that potential area of failure.

 

Bugs to watch for: To check that GetPlayerCar (pcar) is working, check that any car related cheat is working, such as Hover Cars or Rocket Boost. To check GetPlayerObject (pplayer), hold SQUARE to super-jump.

 

Edit:

Here's the 2.4 release. It includes both versions of the PRX:

vcscheatdevice.prx is for DevHook/SE/OE all fw versions up to 3.60

vcscheatdevice371.prx is for 3.71 M33 and up, thanks jas0nuk!

 

http://www.cheatdevice.com/gta/VCSCheatDevice24.zip

 

and for LCS:

http://www.cheatdevice.com/gta/LCSCheatDevice10gPRX.zip

Edited by edisoncarter
Link to comment
Share on other sites

OK... it works fine on 3.71 M33 (but only AFTER I patched the NIDS using a hex editor as follows):

 

 

OLD NID ----- function name ---------------- offset ------ NEW NID0xEEDA2E54 -- sceDisplayGetFrameBuf -------- 0x11700 ----- 0xE56B11BA0x984C27E7 -- sceDisplayWaitVblankStart ---- 0x11704 ----- 0xB685BA360x6A2774F3 -- sceCtrlSetSamplingCycle ------ 0x11708 ----- 0x6D74BF080x1F4011E6 -- sceCtrlSetSamplingMode ------- 0x1170C ----- 0x28E71A160x3A622550 -- sceCtrlPeekBufferPositive ---- 0x11710 ----- 0xC4AAD55F

 

 

Here it is, pre-patched (works on 3.71 M33 ONLY, use the one edisoncarter uploaded for 2.71-3.52)

 

http://www.sendspace.com/file/hhuizc

 

Note: Tested your new implementation of pcar and pplayer using a spawn and super jump, working fine.

 

Once again, thanks edisoncarter for updating it smile.gif

 

 

 

Regards,

jas0nuk wink.gif

 

P.S.: Don't comment on the weird username, its ooold tounge.gif

Edited by hax0rofl
Link to comment
Share on other sites

great job on updating it, both of you.

 

@creepers, even if they don't work on 3.03, just upgrade.

the only reason left to stay on 3.03 was for cheatdevice.

Link to comment
Share on other sites

hey edison if you do release a 2.4 can you also change "never fall of bike" to include the quad?

 

edit:jas0nuk It works! YAY!!! no need for devhook and its lack of wlan support. maybe now i can use the cd in multiplayer. Edison may have to release 2 versions of cd now(3.71, and non 3.71) but that probably wont be a big issue.

Edited by rock4christ
Link to comment
Share on other sites

It should be fine on 3.03OE-C and lower. This is nothing that would break it where it's already working.

 

@hax0rofl - Huge thanks for patching the NIDs! I haven't kept up on the pspdev scene, I'm surprised just those 5 NIDs changed and nothing else?

 

@rock4christ - never fall off bike including quad is already in there.

 

Everybody make sure you tell what fw version you got and US/EU. So far its only tested on 3.10OE-C and 3.71 M33, we don't know anything in between. We need to figure out at what point you have to switch to the NID patched version.

Edited by edisoncarter
Link to comment
Share on other sites

I am on 3.71m33 using a US iso

 

edit: never fall off DOESN'T work w/ quads Edison. I just tried. hit a wall and fell off.

Edited by rock4christ
Link to comment
Share on other sites

Thank you ED i can now upgrade and program wlan games for lua

 

all my unfinished projects will work ya

 

shame you didnt come back earlier ( better late than never )

 

IT WORKS ON 3.03OE-C EURO

 

also what is the best fw (that will work for all psp hombrew) on the brick psp

 

thanks

 

 

great work eddy

Edited by emcp
Link to comment
Share on other sites

 

@hax0rofl - Huge thanks for patching the NIDs!  I haven't kept up on the pspdev scene, I'm surprised just those 5 NIDs changed and nothing else? 

<snip>

Everybody make sure you tell what fw version you got and US/EU.  So far its only tested on 3.10OE-C and 3.71 M33, we don't know anything in between.  We need to figure out at what point you have to switch to the NID patched version.

No problem biggrin.gif I'm just pleased its working again, hopefully it shouldn't ever have a problem in future kernels. smile.gif

 

And yes, those are the only 5 NIDs which CheatDevice imports and have changed. A lot of others have changed (basically all of sceCtrl and sceDisplay).

Most sceKernel functions are the same (definitely thread-related ones), sceIo hasn't changed at all, and of course Sysclib stuff like str(cmp, cpy, ...) has been retained to keep old games working.

 

As for switching to the patched version, that is only necessary at 3.71. The original one you uploaded can be used from 2.71 to 3.60. (Hardware version doesn't matter, when talking about NIDs its the firmware that counts)

 

Check out this topic for a summary of the changes: http://forums.ps2dev.org/viewtopic.php?t=9020

 

(I'm using the UK VCS disk, ULES-00502, btw)

 

 

Regards

~jas0nuk

Link to comment
Share on other sites

The 2.4 release zip is out, see first post.

 

I guess the Quad has its own fall-off routines since it's different enough from a motorcycle. That must be why I left it out in the first place.

 

Looks like now most PRXes are going to need pre and post 3.71 versions, but probably before long they'll build an automatic re-route into the dev lib so one version does both.

Link to comment
Share on other sites

Vicecitystories

Excellent to see something for vcs again it was getting kinda dull too bad we dont have totally new cheats lol! turn.gif good job Edison! turn.gif

Link to comment
Share on other sites

Thanks, EC. For completeness sake I am sending you the patched 2.4 release (so it says 2.4 rather than 2.3 test edition - for perfectionists like myself tounge.gif) via PM smile.gif

edit: Sent

Edited by hax0rofl
Link to comment
Share on other sites

Thanks, EC. For completeness sake I am sending you the patched 2.4 release (so it says 2.4 rather than 2.3 test edition - for perfectionists like myself) via PM smile.gif

it says 2.4 already

Link to comment
Share on other sites

wow.gif It does! I didn't check it, I just noticed that the file size was smaller than the Devhook one tounge.gif

 

Never mind then xD

Link to comment
Share on other sites

can u do this for LCS CheatDevice Too plz?

probably, its just a mater of finding the ninds right?

 

also are you the same mohaas from qj.net?

Link to comment
Share on other sites

Durka Durka Mahn

Ed, you REALLY need to post this on QJ so other people see it!

 

Oh and btw, will there be any new additions to the Cheat Device? (Code wise)

Link to comment
Share on other sites

 

 

If i load another save cheats stop working

i dont understand you do you mean when you use one user cheat and then another the first one doesnt work

 

2 things which can cause this is

 

changing files if you change the file all the cheats in the previous file doesnt work also if you activated a cheat and then another the bottom one might be overwritten values in the same address theres for the first cheat doesnt work eg

 

 

Cheat 1 -- something = 2

Cheat 2 -- something = 5

 

something will equal 5 for the majority of the time an something will only equal 2 form cheat1 to cheat2 and then it will equal 5 again

 

 

one thing i would highly like to see for the cd is custom plugins (but scriptive form) seeing pd2dev or cygwin doesnt work for me,

but things which allow you to take a value at an address and save it to a file among over code etc aswell as more math functions but i dont this will ever happen sad.gif

 

eg atan2

Edited by emcp
Link to comment
Share on other sites

Ed, you REALLY need to post this on QJ so other people see it!

 

Oh and btw, will there be any new additions to the Cheat Device? (Code wise)

already posted this on QJ

 

 

and EMCP

 

no cheats work.

Inf health, never wanted, all weapons etc.

doesn't matter if they are user or the ones ed put in

Link to comment
Share on other sites

Lets keep it here until we've got everything more tested out.

 

Here's LCS PRX version with both DevHook/SE/OE version and patched 3.71 M33 version, please test:

http://www.cheatdevice.com/gta/LCSCheatDevice10gPRX.zip

 

 

 

If i load another save cheats stop working

That must be that the pplayer pointer changes when you load another savefile. That's why I was using GetPlayerObject() instead of hardcoded. Does the whole cheatdevice go away? Check if some of the cheats and car related cheats still work.

 

I don't know at the moment how to find pplayer. If anyone wants to hack on this, here's how I found how to calculate pcar. I used this simple code to see pplayer or pcar (as decimal, you have to convert to hex yourself):

 

#cheat money equals pplayer

setint(0x08bde55c, pplayer, pplayer);

 

#cheat money equals pcar

p = 0;

p = pcar;

setint(0x08bde55c, p, p);

 

For pcar I did captures in different cars, and one outside a car = 0, and did a greater/less than comparison based on the pcar values on size char. I found a char value in the stack area at 0x09F6B46D that is proportional to pcar - an offset. It's the index into the car array. The pcar calculation worked out to:

 

 

CarObject* GetPlayerCar(){   unsigned char nCarIndex = *(unsigned char*)0x09F6B46D;   if (nCarIndex == 0)       return NULL;   return FixupRegion(0x098EDCC0) + (nCarIndex * 0x820);}

 

 

I'm thinking a similar search could figure out how to calculate pplayer. You gotta do this on cheatdevice 2.3a and keep reloading the game to get pplayer to change.

Edited by edisoncarter
Link to comment
Share on other sites

yeah ed it seems to be player related, because hover cars works, also ones like force push or fireball slingshot make the camera twitch and the person aimed at disappears aim of death works fine tho.

 

edit:defense orbs,blendo, inf ammo, and no reloading dont work.

 

hahaha forceblast all peds affects you. lol

 

teleport doesn't work either

 

kill all peds doesn't affect you(odd, since forceblast did)

Edited by rock4christ
Link to comment
Share on other sites

can u do this for LCS CheatDevice Too plz?

probably, its just a mater of finding the ninds right?

 

also are you the same mohaas from qj.net?

yes i am biggrin.gif probably the same one you'll find on every other site too.

Link to comment
Share on other sites

it works on the slim theres those lil gliches but it works ill check again and tell you everything that dosent seem to work cuz i think the infinte ammo worked for me

 

pic update lol

 

user posted image

 

 

update

infinte ammo worked for me

 

Edited by makaveli 7
Link to comment
Share on other sites

Lets keep it here until we've got everything more tested out.

 

Here's LCS PRX version with both DevHook/SE/OE version and patched 3.71 M33 version, please test:

http://www.cheatdevice.com/gta/LCSCheatDevice10gPRX.zip

 

 

 

If i load another save cheats stop working

That must be that the pplayer pointer changes when you load another savefile. That's why I was using GetPlayerObject() instead of hardcoded. Does the whole cheatdevice go away? Check if some of the cheats and car related cheats still work.

 

I don't know at the moment how to find pplayer. If anyone wants to hack on this, here's how I found how to calculate pcar. I used this simple code to see pplayer or pcar (as decimal, you have to convert to hex yourself):

 

#cheat money equals pplayer

setint(0x08bde55c, pplayer, pplayer);

 

#cheat money equals pcar

p = 0;

p = pcar;

setint(0x08bde55c, p, p);

 

For pcar I did captures in different cars, and one outside a car = 0, and did a greater/less than comparison based on the pcar values on size char. I found a char value in the stack area at 0x09F6B46D that is proportional to pcar - an offset. It's the index into the car array. The pcar calculation worked out to:

 

 

CarObject* GetPlayerCar(){   unsigned char nCarIndex = *(unsigned char*)0x09F6B46D;   if (nCarIndex == 0)       return NULL;   return FixupRegion(0x098EDCC0) + (nCarIndex * 0x820);}

 

 

I'm thinking a similar search could figure out how to calculate pplayer. You gotta do this on cheatdevice 2.3a and keep reloading the game to get pplayer to change.

when i click the link it says page not found

Link to comment
Share on other sites

it works on the slim theres those lil gliches but it works ill check again and tell you everything that dosent seem to work cuz i think the infinte ammo worked for me

 

pic update lol

 

user posted image

 

 

update

infinte ammo worked for me

after loading up the game did you go to start and load a different save?

Link to comment
Share on other sites

Vicecitystories
it works on the slim theres those lil gliches but it works ill check again and tell you everything that dosent seem to work cuz i think the infinte ammo worked for me

 

pic update lol

 

user posted image

 

 

update

infinte ammo worked for me

after loading up the game did you go to start and load a different save?

Gravity? lol nice to see phils back after getting Badly burned on that stage!

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.