Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raw code structure
#1
Hey guys. I've been a long time lurker for the past year or so. I just really got into ps2 emulation this summer. Anyway, guys, naturally I want to play some of the games with codes. I'm trying to understand the structure for this specific code.
 
406D2F80 000700D4
00000079 00000000

From little what I understand, it's writing the values 0007 and 00D4 at that specific offset. But I don't understand why the bottom line is even there or why it just has 79 and a bunch of zeros.

Or is there maybe a guide somewhere that gives a breakdown of the raw code format andformats?
Reply

Sponsored links

#2
That's a condensed type of code(more advanced level if you don't understand how the basic ones works)
It's a type of code that modify multiple addresses but it's two lines long

In the example above you are writing D4 to 7 addresses and the difference is
206D2F80 000000D4
206D2F80+79(I don't remember if that was a hex 79 value or dec)000000D4
above address + 79 000000D4
and so on 7 times

You get the idea but that's only for normal codes
Reply
#3
Thanks for the quick response. I'm actually interested in learning how to make codes and so on. Where or how did you learn to read coding? Is there a section on the site dedicated to learning programming and making codes?
Reply
#4
I learn how to make cheats,understand how they work and guess the encryption type by type by reading from different sites and trying.
There is no single place I learn everything but this can help

http://www.codemasters-project.net/porta....php?cat.1
http://forums.pcsx2.net/Thread-How-pnach-files-work
http://forums.pcsx2.net/Thread-A-simplis...or-dummies

And my tool in my signature
Reply
#5
(01-29-2017, 04:37 AM)vsub Wrote: I learn how to make cheats,understand how they work and guess the encryption type by type by reading from different sites and trying.
There is no single place I learn everything but this can help

http://www.codemasters-project.net/porta....php?cat.1
http://forums.pcsx2.net/Thread-How-pnach-files-work
http://forums.pcsx2.net/Thread-A-simplis...or-dummies

And my tool in my signature

Okay I see, thanks. I found the other two links a while back when I was working on developing some personal codes for the ds. But I've never stumbled across that codemaster's site. Thanks for sharing it with me.

If I have some more questions would it be okay if I shoot some of them your way?


Also, the code you gave me is a bit wrong. The 79 is the value that's supposed to be written. I did some testing and I think the code means write the value 79 7 times every D4 spaces.

But thanks for the help anyway. It really helped me understand that code.
Reply
#6
(01-29-2017, 07:00 AM)MikeHawk Wrote: Also, the code you gave me is a bit wrong. The 79 is the value that's supposed to be written. I did some testing and I think the code means write the value 79 7 times every D4 spaces.

Yes,I was wondering how it was...I'm starting to forget some things because I more and more rarely do anything related to PS2 codes.
Reply
#7
You'll actually want to read this one instead for the 'how pnach files work' guide.

http://forums.pcsx2.net/Thread-How-PNACH-files-work-2-0

It's an updated version and explains it a bit more thoroughly.


And as I told you in PM:

Code:
406D2F80 000700D4
00000079 00000000

Let's disassemble this a bit:
406D2F80 XXXXYYYY
AAAAAAAA 00000000

406D2F80 = The starting address. (The 4 indicates a 32-bit multi-address type of code aka condensed code).
XXXX = The number of addresses it will write to.
YYYY = Increments each address by this number.
AAAAAAAA = Value to be written to each of the addresses. (in this case 79 makes no sense, for Tales of the Abyss you'll want 15 (0000000F)
Intel Core i5-4670K @ 3.40GHz | 16GB (2x8GB) DDR3-1866 G.SKILL Sniper Series
AMD Radeon R9 280 @ 3 GB | 120GB SSD | Windows 7 Ultimate x64 (SP1)
Reply




Users browsing this thread: 1 Guest(s)