Points of Required Attention™
Smaghetti, a new Super Mario Advance 4 editor, is currently in development! Check out the thread HERE!

Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,313,555
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 03-28-24 04:52 PM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests

Main - ROM Hacking - A few (hopefully simple) Zelda 3 hacking questions New thread | New reply


Kilkakon
Posted on 06-17-13 05:10 PM Link | Quote | ID: 154125

Newcomer
Level: 5

Posts: 1/4
EXP: 501
Next: 28

Since: 06-17-13

Last post: 3934 days
Last view: 3931 days
Hi there everyone,

I've been asked by somebody I know to make a Zelda3 (ALTTP) romhack for them, and I've been using some excellent tutorials provided by sorlokreaves at http://lthzelda.wordpress.com/

This has lead me to a few questions, which I hope I can do via hex editing (I'm used to that, so give me an offset and I will play with it!) but if I need to learn ASM then feel free to point me where I should go... I admit I did search around a lot for what I was after but couldn't see much, so here I am. Thanks for anybody who reads this and responds.

A) I want to make the shopkeeper only sell 2 items, i.e., not have one in the middle (I'm making him in the same room as the fortune teller, having three items blocks the stairs and the 'teller). I tried playing around with hex values, and got something close, although there's a graphical anomaly. What'd be the best way to do that?

B) How can I increase the damage of the Cane of Somaria? I'd like it to be double of what it currently is (it seems to be 1/2 of a sword strike) I'm happy with buffing the block collide damage or the fireball damage or both, whichever is easiest.

C) Which particular rom would be the best one to work from as a starting point? I realise the way to make roms legal is with the whole IPS patch thing, but with that train of thought it's best to be using whatever everybody else is using. Mine is dated 28 March 1996 and is 1,049,088 bytes, and is NTSC.

Thanks for your time! Hope that none of those questions were too boring.

Chaobomr
Posted on 06-17-13 06:15 PM Link | Quote | ID: 154126


Buster Beetle
Banned: Spammer takeover?
Level: 45

Posts: 19/467
EXP: 636502
Next: 23662

Since: 05-07-13
From: The dirty south

Last post: 3451 days
Last view: 3450 days
I think maybe with (A) you should look at the PPU for hints. If it's anything like the NES, then you should be able to find a good "block" that'll prevent Link from interacting with. On that note, I haven't played ALTTP in a while, and I can't remember how to interact with the shopkeeper's items. Best of luck to ya

____________________
Sorry for the stupidity. That jerk will be dealt with in the most insane way possible.

puzzledude
Posted on 06-17-13 08:18 PM Link | Quote | ID: 154128


Porcupo
Level: 38

Posts: 261/302
EXP: 370102
Next: 345

Since: 08-16-10

Last post: 2245 days
Last view: 2245 days
You could post this question at General Zelda3 hacking thread.

I also hope you want to make a Z3 hack for you, not just for someone else.



A) Shopseller is a sprite. So gfx and specially ASM is needed here, to make mods. This is somewhat not recommended for beginners, since you need to analyze the sprite's source code (done by Math on Napkins).

B) This is editable in hex, however only the sword damages as well as some other things, like armor, magic use etc were found. The damage of the Cane of Byrna was not yet found.

C) You can use any Alttp rom, but if you want to use Hyrule Magic for editing, you will need the US non headered rom. Doesn't matter if it is from 1996 or 2004 (these two are the most known). IPS or any other patch is mandatory for public release.


PS
By the end of this year a Super Zelda3 Guide is going to be released by SePH, including hex and asm editing, which can help you alot.

PPS
Zelda3 hacking in general is quite difficult at the moment. For all beginners I would recomend to wait for Black Magic Editor by Math on Napkins, since today you will need extensive knowledge of the actual code in hex, to be able to debug all the bugs, made by Hyrule Magic.


Kilkakon
Posted on 06-18-13 01:56 AM Link | Quote | ID: 154134

Newcomer
Level: 5

Posts: 2/4
EXP: 501
Next: 28

Since: 06-17-13

Last post: 3934 days
Last view: 3931 days
Thanks for the replies, guys. Appreciate it~

Good point @ motivation Puzzledude, but yeah I don't mind doing this for me too. I think it's a cute idea, hehe.

A) Alright, well for now I can just have him selling the two items and having the third chopped off by the wall, it's a little dodgy but it'll be okay for now. I'll probably need to learn ASM eventually though.

B) Ah right, no Somaria code found yet. Any suggestions where I should start? I suppose I could keep changing values randomly around where the magic rod damage is. I've reduced it's magic use to 2, although killing anything with more than 10 health starts to test patience.

My early weapons are the Bow (low ammo) and Cane of Somaria, with no sword or shield.

C) Thanks. Yeah I have a headered 1996 one... seems to work okay with Hyrule Magic. Editing graphics with zcompress is a pain as I have to cut out the extra bytes and put them back again with XVI32 but it works.


Haha looking forward to the Super Guide, hope that it surpasses the Perfect Guide. :O

I don't mind things being a little complex (my day job is a computer programmer). Yesterday I was in XVI32 at work, went home, did more XVI32. XD

puzzledude
Posted on 06-18-13 02:30 PM (rev. 2 of 06-18-13 02:33 PM) Link | Quote | ID: 154139


Porcupo
Level: 38

Posts: 262/302
EXP: 370102
Next: 345

Since: 08-16-10

Last post: 2245 days
Last view: 2245 days
Starting with no sword and shield is not recommended. When you rescue Zelda, and then talk to uncle, the game will come into paradox (Zelda will disappear). You also won't be able to save.

------------------------------------------

Something to get you started. All addresses are for NON headered rom, so you might want to remove it first. Quote: Header is poison for hex editing (since all pointers point to a value with no header).

Sword damage addresses tested by Puzzledude

address 36D33 (no header) = start (12 bytes)

01st byte - sword1 damage (value 01 by default)
02nd byte - sword2 damage
03rd byte - sword3 damage
04th byte - sword4 damage
05th byte - spin with sword1
06th byte - spin with sword2
07th byte - spin with sword3
08th byte - spin with sword4
09th byte - stab with sword1
10th byte - stab with sword2
11th byte - stab with sword3
12th byte - stab with sword4

------------------------------------------

Posted by Nanite

37627 - Start of a set of numbers that determines how much damage is taken from enemies and other things. Each set of three numbers represents a different damage type. The first number is damage taken with no armor, 2nd is with blue mail, last is with red mail.


Starting at 6BAF9 is the amount of damage various weapons do.

The 6th string of numbers is the bow.

7th is the hookshot, which can stun enemies. I believe a value of 255 means a long stun, 252 is a shorter stun, and 251 is a very short stun (depending on what enemy your hitting).

8th is the bomb.

9th is the silver bow and arrow.

10th is the magic powder, with 249 turning an enemy (the skulls) into fairies, and 250 turning enemies into yellow slime.

11th is the fire rod, with 253 being incinerate

12th is the ice rod, with 254 being freeze

13th is bombos, 14th is ether, and 15th is quake

------------------------------------------

Maybe Cane of Somaria and Byrna are later on in this string. Note (I haven't tested those values).


Kilkakon
Posted on 06-18-13 05:14 PM Link | Quote | ID: 154141

Newcomer
Level: 5

Posts: 3/4
EXP: 501
Next: 28

Since: 06-17-13

Last post: 3934 days
Last view: 3931 days
Hi there~

I did have a go at trying to find the Somaria damage values based off the other ones you provided. Sadly no dice--still took two hits to kill a green soldier defending the palace. I did leave the header on when working with those particular values as with the header on I was able to change the bow strength successfully. I changed every non-zero value I could find but alas I still couldn't kill them in one hit of the block.

With the sword and shield thing, I was following a tutorial, and deleted the uncle guy from the dungeon. I did play through it without any issues and was able to save once I reached the church--but not sure if there was a bug you were referring to after that point.

puzzledude
Posted on 06-19-13 05:41 PM Link | Quote | ID: 154154


Porcupo
Level: 38

Posts: 263/302
EXP: 370102
Next: 345

Since: 08-16-10

Last post: 2245 days
Last view: 2245 days
Idea. Reduce the power of the guards. This can be done via Euclid's program Hyrule Add ons. This is not exactly compatible to what you want, but it is a start.

If you play with no uncle in the game, it can be a problem of gaining the sword (no matter what type). Haven't really tested, what happens, if you run into uncle after rescuing Zelda to the church. Or if you pull the Master sword, without having the sword1, or picking sword3 from a chest, without having sword1. Sword2 can not be in the chest by the way.

Kilkakon
Posted on 06-19-13 06:18 PM Link | Quote | ID: 154155

Newcomer
Level: 5

Posts: 4/4
EXP: 501
Next: 28

Since: 06-17-13

Last post: 3934 days
Last view: 3931 days
Nice idea--rearrange the equation around the only constant we have--the damage of the cane, which is 2. Reducing enemy health to 2 makes them die in a single hit from the cane or a thrown object, which is both fine. Thanks for that Puzzledude. I can of course weaken the bow and sword and other objects as I need thanks to the other information you gave above.

What happened when I got to the church is that I was given the "swing" ability, i.e. attacking without a weapon. I only played up to that point though, so not sure what'd happen after that. Does the uncle reappear later in the game? I could always remove him entirely.

I admit I'm not sure what my sequence of weapons'll be just yet. Aiming for more of a rangery sort of focus.

Main - ROM Hacking - A few (hopefully simple) Zelda 3 hacking questions New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.023 seconds. (340KB of memory used)
MySQL - queries: 72, rows: 99/100, time: 0.017 seconds.