Kodewerx
https://www.kodewerx.org/forum/

[SNES] Question... Debugging
https://www.kodewerx.org/forum/viewtopic.php?f=2&t=4713
Page 1 of 1

Author:  DeadlyData [ Fri Nov 16, 2007 4:22 pm ]
Post subject:  [SNES] Question... Debugging

Hi i've got a small question about debugging SNES games
by debugging of course I'm speaking of bringing it down to the ASM level(Might sound stupid I'm saying that but some people wouldn't know wtf I ment ,experienced it before).

Basically I have several questions about it I'm a former PC game hacker and I'm used to being able to find a address and auto hack then from there go to where the pointer is and check out the memory(ASM) with a debugger such as the one included with Cheat Engine or MHS.

My question for SNES games is (Since I know that you can't just simply attach a debugger to a emulator and get the same results as you would from a PC game) if there is any real debugger for SNES which would work the same way as many like Cheat Engine or MHS do.

If so could you provide a link to it please/and if possible(if needed provide a help doc/tutorial on how to use it) unless of course you think it's such an easy application to figure out that no tutorial/readme would be needed.

Another simple question I had about it is if it's put into an ASM format is it any thing like the standard X86/intel or will it be just a bit different(expected to be different)?

Reasons why I'd want to do this are simply just instead of freezing/locking after poking and address with a value I want to make sure like say you have money and you buy something well it's still being decreased I just wanna nop the dec... so it's not and it's considered real non decreasing instead of freezing.

Any way thanks in advance to any one who comments/helps out.

Cheers, DeadlyData.

Author:  Dualscreenman [ Fri Nov 16, 2007 6:42 pm ]
Post subject:  Re: [SNES] Question... Debugging

You should be able to find your answers by reading from here down in the Enhacklopedia.

Author:  DeadlyData [ Fri Nov 16, 2007 6:43 pm ]
Post subject:  Re: [SNES] Question... Debugging

Well some of my questions have been answered by the following document by Tony H

Code:
http://www.angelfire.com/games2/codehut/AdvancedGGTips.txt


So thanks to that... but I'd still like to know if it's possible to work the same way as you do while training PC games with an actually debugging interface/auto hacking.

Author:  dlong [ Fri Nov 16, 2007 7:32 pm ]
Post subject:  Re: [SNES] Question... Debugging

Maybe try reading dsman's post?

Author:  DeadlyData [ Fri Nov 16, 2007 7:43 pm ]
Post subject:  Re: [SNES] Question... Debugging

Sorry about that me and him seemed to have posted at the same time or had been posting at the same time then he posted his before mine thanks for the link... very useful resource that I obviously over looked like a complete dumb ass.

P.S. If this is your dedicated server(not saying you have to because maybe you want it that way.) but you should add in the mime types to apache or what ever web server you run or if it's not your web server just throw them into an htaccess for 7z's so they don't just appear as text and actually download when you click the link by quick reference I think it's mime is

Code:
application/x-7z-compressed


or could be

Code:
application/x-7-zip


the Max OSX dmg seems to do the same thing

Once again if running apache just throw it in the mime.types file

Code:
File:mime.types
Line: application/octet-stream bin dms lha lzh exe class so dll (add here) "dmg" w/o ""

Author:  dlong [ Fri Nov 16, 2007 7:52 pm ]
Post subject:  Re: [SNES] Question... Debugging

Yes, I saw the timestamp. Hence the post, so that you would look at the topic again. It's worth noting that the 65c816 architecture is extremely different from the x86 you are familiar. You will be working with much less complicated instructions. It does not even have instructions for multiplication and division. You also have less registers, and the registers you do have are smaller If it's any consolation, you still get variable-length opcodes.

Author:  DeadlyData [ Fri Nov 16, 2007 8:11 pm ]
Post subject:  Re: [SNES] Question... Debugging

Thanks for the help DSman and dlong,
P.S. plan to stick around ( if you guys don't mind ) you guys seem pretty smart and the community is interesting as well.

Author:  +++NdsH4ck3r [ Sat Nov 17, 2007 11:40 am ]
Post subject:  Re: [SNES] Question... Debugging

By all means stay as long as you wish. You're the first new person here i've seen whose first post isn't something along the lines of "HOW DUZ I H4X THE WII 4 MO POINTZ?" I'm sorry I can't help you too much with SNES material since I really don't know anything about them (I'm much more experienced with DS, hence my name), but perhaps I can learn some stuff from you. Welcome to the forums. :D

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/