Private/Locked Memory Ranges in Some Games
#11
(07-12-2013, 07:25 AM)vsub Wrote: In PC RAM the range is 20000000-21FFFFFF but in ps2\pcsx2 memory,its' 00000000-01FFFFFF

For example this code
patch=1,EE,01e22740,short,000003e7
in CE will be
21e22740 000003e7

Depending on the code type...some code types use the value as address and the address as value
http://www.codemasters-project.net/porta...content.23

Ok...so as I said earlier, why do some patches have memory addresses starting with 4? Like this one:

// Unlock All NPC's
patch=1,EE,4031F1EC,extended,00030001
Reply

Sponsored links

#12
4 points it's a multi line write code that line is just half of the code;p, just look at that link Vsub posted and you'll get it. You have to know those code types at least most commonly used ones if you want to get anything from them. Mips would also help since many advanced codes basically are editing game code.
Reply
#13
As miseru said, editing memory isn't always straight forward.
A code could be exploiting some hardware behaviour that you would need to know about to get it.
That said, PCSX2 doesn't hide anything. It even makes it as easy (and fast) as possible to access memory,
for performance reasons Wink
Reply
#14
(07-12-2013, 08:29 AM)jbarker2160 Wrote: Ok...so as I said earlier, why do some patches have memory addresses starting with 4? Like this one:

// Unlock All NPC's
patch=1,EE,4031F1EC,extended,00030001

The code contains one more line,it's not just that.

aaaaaaaa bbbbcccc
dddddddd eeeeeeee

a - starting address
b - code lines in hex
c - address increment multiplied by 4
d - starting address value
e - value increment

So if you decondense this code you'll endup with
2031F1EC you didn't add the second line in your post
2031F1F0 ^
2031F1F4 ^
Reply




Users browsing this thread: 1 Guest(s)