gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > game coding

#108859 - majorsoul - Sun Nov 12, 2006 12:46 pm

Hi all,

I am new to the NDS Homebrew, so I am sorry if I am asking the obvious.

1) Where can I find code for games which I can them run on emulators or use the passme to load them?

2) I want to be able to 'produce' the code myself from a cartridge I have bought and run it on an emulator, how do I do that?

Thanks,
-majorsoul

#108861 - Optihut - Sun Nov 12, 2006 1:18 pm

majorsoul wrote:
Hi all,

I am new to the NDS Homebrew, so I am sorry if I am asking the obvious.

1) Where can I find code for games which I can them run on emulators or use the passme to load them?

2) I want to be able to 'produce' the code myself from a cartridge I have bought and run it on an emulator, how do I do that?

Thanks,
-majorsoul


1. Look around the forums a bit.

2. You don't.

#108871 - sgeos - Sun Nov 12, 2006 2:52 pm

Optihut wrote:
majorsoul wrote:
2) I want to be able to 'produce' the code myself from a cartridge I have bought and run it on an emulator, how do I do that?
2. You don't.

You don't easily. Your choices are:
A) Disassemble. This is hard, and B is simpler.
B) Reverse engineer. You write a spec that produces the same feature and program that yourself. (Or hire someone to do it for you.)
There are, of course, sillier approaches that probably don't need to be mentioned. =)

-Brendan

#109138 - majorsoul - Wed Nov 15, 2006 2:11 pm

sgeos wrote:
Optihut wrote:
majorsoul wrote:
2) I want to be able to 'produce' the code myself from a cartridge I have bought and run it on an emulator, how do I do that?
2. You don't.

You don't easily. Your choices are:
A) Disassemble. This is hard, and B is simpler.
B) Reverse engineer. You write a spec that produces the same feature and program that yourself. (Or hire someone to do it for you.)
There are, of course, sillier approaches that probably don't need to be mentioned. =)

-Brendan

I understand that the game sits on a flash card, why cant I just read it with some kind of reader?

a few things I dont understand:
1) Why do I need to Disassemble it ? cant I run the assembly on the emulator?
2) what do you mean by Reverse engineer? to the HW? to the SW?
can you elaborate please?
3) what siller ways? :)

#109140 - Edelnutte - Wed Nov 15, 2006 2:41 pm

majorsoul wrote:
Hi all,

I am new to the NDS Homebrew, so I am sorry if I am asking the obvious.

1) Where can I find code for games which I can them run on emulators or use the passme to load them?

2) I want to be able to 'produce' the code myself from a cartridge I have bought and run it on an emulator, how do I do that?

Thanks,
-majorsoul


1) Write it or download Hombrew that comes with it Source Code

2)Do you want the Rom or the source? Anyway,as it's done with commercial games it's probably illegal

#109157 - Ant6n - Wed Nov 15, 2006 5:50 pm

do you want the actual source 'code' or the binary file of the cartridge?

#109170 - majorsoul - Wed Nov 15, 2006 7:56 pm

Ant6n wrote:
do you want the actual source 'code' or the binary file of the cartridge?


I dont care having the binary