(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-02-24 07:19 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - some things I found in Doom (GBA)... New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Mutation

Goomba


 





Since: 11-18-05

Last post: 6491 days
Last view: 6283 days
Posted on 12-12-05 02:18 AM Link | Quote
Here are some things I found in the GBA version of Doom... (Keep in mind, this isn't anywhere close to being complete, and it probably needs some a lot of cleaning up...)



RAM LOCATIONS

03000010: ASCII "MAP" immediately followed by the map number, which is also in ASCII... (for example, on level 1, it's "MAP01")
03000044: something to do with sound effects...
03000100: something to do with the rhythm...
03000110: something to do with sound effects; this value goes to about 5320000 when a sound effect plays
030004A0: turning speed; full turning speed is +-7D00000
030004A4: vertical height of the viewpoint; changes as the viewpoint bobs up and down
030004B0: horizontal speed - seems to define what PERCENTAGE of the MAXIMUM speed; 100% of full speed is 90000
03000574: something to do with what weapon you have equipped; I had the chaingun (weapon 4) equipped, and it was 86BF21C...I switched to the shotgun (weapon 3) and it went to 86BF238 (as weapon 4 went down), 86BF0CC (as weapon 3 went up) and stopped at 086BF094...actually, I think it has to do with the GRAPHICS for your weapon - when you have the chainsaw, it goes back and forth between 86BF430 and 86BF414

ROM LOCATIONS:

Between 004FEE70 and 004FF6A8, I found a lot of text, including these messages:
004FF050: You picked up the armor.
004FF06C: You got the MegaArmor.
004FF084: You picked up a blue keycard.
004FF0A4: You picked up a yellow keycard
004FF0C4: You picked up a red keycard.
004FF0E4: You picked up a blue skull key
004FF104: You picked up a yellow skull key.
004FF128: You picked up a red skull key.
004FF148: You picked up a stimpack.
004FF164: You pick up a medikit that youREALLY need!
004FF190: You picked up a medikit.
004FF1A8: Invulnerability!
004FF1C0: Berserk!
004FF1CC: Radiation Shielding Suit
004FF1E8: Computer Area Map
004FF224: You picked up a health bonus.
004FF244: You picked up an armor bonus.
004FF264: Supercharge!
004FF274: Picked up a clip.
004FF288: Picked up a box of bullets.
004FF2A4: Picked up a rocket.
004FF2B8: Picked up a box of rockets.
004FF2D4: Picked up an energy cell.
004FF2F0: Picked up an energy cell pack.
004FF310: Picked up the shotgun shells.
004FF330: Picked up a box of shotgun shells.
004FF358: Picked up a backpack full of ammo!
004FF37C: You got the BFG9000! Oh, yes.
004FF39C: You got the chaingun!
004FF3B4: A chainsaw! Find some meat!
004FF3D4: You got the rocket launcher!
004FF3F4: You got the plasma gun!
004FF410: You got the shotgun!

At 004FF540, I found a partial list of levels:
"E1M4 E1M1 "
"E3M7 E1M2 "
"E3M5 E3M4 "
"E1M3 E1M5 "
(That was in the ROM as ASCII text, by the way.)

I also found some cheat code messages at 004FF624...

Also...
004FF658: Computer Area Map
004FF66C: Invulnerability!
004FF680: Berserk!
004FF68C: Radiation Shielding Suit

There's another chunk of text between 004FFAA8 and 004FFDAC.

006A6EF4: PRESS ANY BUTTON
006A6F08: TO CONTINUE

006A6F74: DOOM originally developed by
006A6F94: ID Software

I found some credits between 006A71BC and 006A8E0C.

Some ending text is between 006C7AE4 and 006C7DC8.
006C7AE4: The loathsome demons that
006C7B08: masterminded the invasion of
006C7B2C: the moon bases and caused so
006C7B50: much death have had their
006C7B74: asses soundly kicked for all
006C7B98: time.
006C7BE0: A hidden doorway opens and you
006C7C04: enter. You have proven too
006C7C28: tough for Hell to contain, and
006C7C4C: now Hell at last plays fair
006C7C70: -- for you emerge from the
006C7C94: door to see the green fields
006C7CB8: of Earth! Home at last.
006C7D00: You wonder what has been
006C7D24: happening on Earth while you
006C7D48: were battling evil unleashed.
006C7D6C: It's good that no Hell-spawn
006C7D90: could have come through that
006C7DB4: door with you...




(edited by Mutation on 12-12-05 01:18 AM)
Cellar Dweller +

Red Koopa









Since: 11-18-05
From: Arkansas

Last post: 6292 days
Last view: 6283 days
Posted on 12-12-05 03:48 PM Link | Quote
The data formats for the PC version of doom are publicly well documented. Even if some of the data formats have been changed, referring to the documents could be very useful.

Also, id released the Linux version of the Doom engine under the GPL some time ago. Some stuff must have been changed to port Doom to the GBA, but most of the code will probably be the same.
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6282 days
Last view: 6282 days
Posted on 12-19-05 12:17 AM Link | Quote
It'd probably help you more to just make a PWAD for the general Doom ports (Windows, DOS, Linux, BeOS, Mac OS, just about _everything_ else). See doomworld.com and other sites.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - some things I found in Doom (GBA)... |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.039 seconds; used 360.19 kB (max 429.47 kB)