Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - snes decompiler | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
firemaker

Level: 26

Posts: 25/247
EXP: 94178
For next: 8097

Since: 03-23-04
From: UK berkshire

Since last post: 17 days
Last activity: 11 days
Posted on 05-17-04 05:28 PM Link | Quote
who knows where i can get a snes decompiler. i want to decompile supermetroid and recompile it to put it on my flash cart plz help!!!!!!! where do i get the decompiler
LocalH

Red Goomba
Level: 12

Posts: 5/46
EXP: 7612
For next: 309

Since: 03-17-04

Since last post: 25 days
Last activity: 4 days
Posted on 05-17-04 05:32 PM Link | Quote
You mean you want to port the game onto the GBA so you can run it on a flash cart?

Sorry. Unless you're willing to reverse engineer every last bit of the game and port the assembly code to the GBA, then it's not going to happen. You don't just 'decompile' and 'recompile' a game for a different platform.
Kefka
Indefinitely Unbanned
Level: 81

Posts: 1864/3392
EXP: 4826208
For next: 166641

Since: 03-15-04
From: Pomona, CALIFORNIA BABY!

Since last post: 4 hours
Last activity: 4 hours
Posted on 05-17-04 06:22 PM Link | Quote
I assume that you know already, firemaker, that porting a game to the GBA would be quite a long project... I don't know where a decompiler is, but check the usual suspects such as Zophar...
Weasel
Missionary in Peru
Level: 34

Posts: 325/454
EXP: 236444
For next: 17207

Since: 03-15-04
From: Washington

Since last post: 467 days
Last activity: 339 days
Posted on 05-17-04 07:55 PM Link | Quote
I've never even heard of a decompiler From what I understood, once it's compiled, the program stays compiled, unless you hand code it back to source code. Which would suck.
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 594/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 05-17-04 08:13 PM Link | Quote
decompilers are the holy grail of the computing programming...the closest "decompiler" that exist is a program that will change the game's data into assembly...
Grinto

Red Goomba
Level: 12

Posts: 11/43
EXP: 6890
For next: 1031

Since: 03-15-04

Since last post: 13 hours
Last activity: 12 hours
Posted on 05-17-04 08:41 PM Link | Quote
Where did the initial poster even mention GBA?
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 598/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 05-17-04 09:28 PM Link | Quote
Originally posted by Grinto
Where did the initial poster even mention GBA?


two words: flash cart

many people associate that word, in the context of ROMs, with the GBA


(edited by neotransotaku on 05-17-04 12:29 PM)
Grinto

Red Goomba
Level: 12

Posts: 12/43
EXP: 6890
For next: 1031

Since: 03-15-04

Since last post: 13 hours
Last activity: 12 hours
Posted on 05-18-04 12:37 AM Link | Quote
Most people? Heh, that's news to me.
Ultima4701
Newcomer
Level: 5

Posts: 2/7
EXP: 452
For next: 77

Since: 03-15-04
From: Florida

Since last post: 492 days
Last activity: 339 days
Posted on 05-18-04 12:41 AM Link | Quote
Yes, there is no such thing as "flashing" a snes cart.

You could potentially reverse engineer all of super metroid's source code into something usable, but as mentioned, that would do nothing in the way of getting the game onto GBA.

Getting the raw source itself is not difficult. Super Metroid is primarily* programmed in 65816 assembly; and all assembly languages I'm familiar with have a 1:1 ratio of source instructions to actual binary output. You don't compile assembly source code; you assemble it. The difference is subtle but meangingful, especially in this case. You cannot decompile any program and receive substantial, useful source code in a high level language such as C (regardless of the original language used to create the binary). You can, however, disassemble binaries and get precise matches of source instructions in whatever language the binary was built for. Of course, your disassembly will not be very pretty if the original programming language used to compile the binary was high-level; during the compilation process of high-level languages, much is changed and lost especially during the advanced optimizations. When assembling a low-level language, you lose comments, white space, line labels, and source file organization; but at least you can re-source the actual instructions properly.

To the original poster: in the future, check first to see if the source code you're trying to get was portable in the first place. Super Metroid's is not.

*It has been suggested, and seems clear by certain pieces of code studied by those wiser than I, that parts of the game [and indeed, other snes games] were programmed in C. Some of the best clues to this involved rather inefficient or just plain stupid-looking code, which is very unlikely to have been written by hand considering the quality of the rest of the work.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 682/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 05-18-04 12:58 AM Link | Quote
Well first of all, you don't decompile a game (unless you have a LOT of spare time to do it by hand), you disassemble it. Second, you don't need to do any such thing for a flash cart, unless you meant on something other than SNES, which won't work anyway.
theclaw

Red Cheep-cheep
Level: 24

Posts: 66/202
EXP: 69367
For next: 8758

Since: 03-28-04
From: USA

Since last post: 21 hours
Last activity: 7 min.
Posted on 05-18-04 01:37 AM Link | Quote
They don't make flash carts for using on a real SNES? If that's what he wants, there's no need to compile or assemble anything. Just connect the flash cart to a PC, upload a ROM, then put that into the SNES and play. Putting SNES games on GBA isn't so easy. Leave that for the big development teams (you could kindly ask Nintendo to port it, but I doubt it'll work).
Omega45889

Panser
Level: 30

Posts: 96/335
EXP: 148978
For next: 16891

Since: 03-22-04
From: Vancouver Canada

Since last post: 5 days
Last activity: 6 hours
Posted on 05-18-04 06:18 AM Link | Quote
There is a SNES emulator for GBA that can be used with flash carts. Im not sure how good it is, but u could try it.

If you are trying to flash a homemade Snes cart, u dont need to decompile anything.
Kefka
Indefinitely Unbanned
Level: 81

Posts: 1879/3392
EXP: 4826208
For next: 166641

Since: 03-15-04
From: Pomona, CALIFORNIA BABY!

Since last post: 4 hours
Last activity: 4 hours
Posted on 05-18-04 05:54 PM Link | Quote
Originally posted by Omega45889
There is a SNES emulator for GBA that can be used with flash carts. Im not sure how good it is, but u could try it.




Which, by the way, can be found here.


(edited by Kefka on 05-18-04 02:41 PM)
(edited by Kefka on 05-18-04 02:41 PM)
Kitten Yiffer

Purple wand
Furry moderator
Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien !
Level: 135

Posts: 1756/11162
EXP: 28824106
For next: 510899

Since: 03-15-04
From: Sweden

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-18-04 09:48 PM Link | Quote
No here http://www.snesadvance.org/

That's not the offical site, it's just some site who is trying to sell Flash carts.
Kefka
Indefinitely Unbanned
Level: 81

Posts: 1891/3392
EXP: 4826208
For next: 166641

Since: 03-15-04
From: Pomona, CALIFORNIA BABY!

Since last post: 4 hours
Last activity: 4 hours
Posted on 05-18-04 11:42 PM Link | Quote
I seem to have trouble finding the real sites nowadays Remember when this sorta thing happened when I found (note, I did not DISCOVER) PocketNES?
BGenesis

Red Goomba
Level: 11

Posts: 26/38
EXP: 5415
For next: 570

Since: 05-17-04
From: In the tyranny that is Brittania.

Since last post: 516 days
Last activity: 339 days
Posted on 05-19-04 02:41 AM Link | Quote
Check out the Utils section of http://www.gbxemu.com/ It should have what you need, although many games are buggy/don't work.

Why not just play SNES games on your Dreamcast like everyone else?
firemaker

Level: 26

Posts: 26/247
EXP: 94178
For next: 8097

Since: 03-23-04
From: UK berkshire

Since last post: 17 days
Last activity: 11 days
Posted on 05-19-04 05:38 PM Link | Quote
Originally posted by BGenesis
Why not just play SNES games on your Dreamcast like everyone else?


because i dont have a dreamcast. not many people do. anyway is snes 16 bit or 32. myn friend i refused 2 speak to each other after we had this argument
Xkeeper
The required libraries have not been defined.
Level: NAN

Posts: -4403/-863
EXP: NAN
For next: 0

Since: 03-15-04

Since last post: 2 hours
Last activity: -753366 sec.
Posted on 05-19-04 05:43 PM Link | Quote
Originally posted by firemaker
Originally posted by BGenesis
Why not just play SNES games on your Dreamcast like everyone else?


because i dont have a dreamcast. not many people do. anyway is snes 16 bit or 32. myn friend i refused 2 speak to each other after we had this argument
16.

Pretty damn sure, anyway. After all, the PSX was 32
Geiger

Buster Beetle
Level: 34

Posts: 57/460
EXP: 241080
For next: 12571

Since: 03-15-04
From: Indianapolis, IN, USA

Since last post: 6 hours
Last activity: 6 hours
Posted on 05-19-04 09:37 PM Link | Quote
Relevant SNES bittage:

CPU: 16 bit
Graphics: 15 bit
Sound: 8 bit (sorta)

---Evil Peer
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 715/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 05-20-04 05:56 AM Link | Quote
SNES has 15-bit colour, 16-bit registers (switchable to 8-bit), and 24-bit addressing. The instructions are variable sizes.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - snes decompiler | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.059 seconds.