News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Poll

What should the new name for the "Spell" spell be?

Reveal
5 (21.7%)
Unveil
4 (17.4%)
Enigma
9 (39.1%)
Expose
5 (21.7%)

Total Members Voted: 23

Author Topic: Zelda II Redux  (Read 156968 times)

itemdrop

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Zelda II Redux
« Reply #340 on: December 18, 2018, 09:28:28 am »
I prefer the original link sprite a lot more. I commend the attempt to change it but it's just not my thing.

ultimaweapon

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: Zelda II Redux
« Reply #341 on: December 18, 2018, 02:56:00 pm »
The New Link Sprites are good. I like Revility's Rev Edition sprites even better.
Trust in the Heart of the Cards

Shade Aurion

  • Submission Reviewer
  • Sr. Member
  • *****
  • Posts: 257
  • Shadow Keeper
    • View Profile
    • DudeGoBack
Re: Zelda II Redux
« Reply #342 on: December 18, 2018, 07:19:25 pm »
I second Revility's sprite. A longer sword is fine once you get a feel for the hit boxes and it overall looks much better and more inline with other Links in the series. All the other swords kinda look like little knives, daggers or gladius' and I prefer Link with what looks like more of a sword.

darthvaderx

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Re: Zelda II Redux
« Reply #343 on: December 19, 2018, 12:29:59 pm »
 
"Rev Edition 1.6.00" + "Redux Beta2" + "New Link Sprites" + "Restart from palace at game over" =


 https://www.dropbox.com/s/zyeg9kn0ymz766v/Zelda%20II%20-%20The%20Adventure%20of%20Link%20%28U%29%20%5BHacks%5D.ips?dl=0

« Last Edit: December 19, 2018, 11:12:09 pm by darthvaderx »

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1259
    • View Profile
Re: Zelda II Redux
« Reply #344 on: December 20, 2018, 06:49:02 pm »
@darthvaderx:
Thanks for that!

Though correct me if I'm wrong, but I think all of the Redux betas should already include the "Restart from palace at Game over", don't they?

That was one of the features right from the start, can anyone please check if both the normal beta in OP and the newest Beta 2 in page 17 have said feature, please?

ultimaweapon

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: Zelda II Redux
« Reply #345 on: December 21, 2018, 08:45:24 am »
I'll have to redownload the beta 2, but all the other versions did have the restart from the palace.
Trust in the Heart of the Cards

darthvaderx

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Re: Zelda II Redux
« Reply #346 on: December 21, 2018, 11:17:12 am »
@darthvaderx:
Thanks for that!

Though correct me if I'm wrong, but I think all of the Redux betas should already include the "Restart from palace at Game over", don't they?

That was one of the features right from the start, can anyone please check if both the normal beta in OP and the newest Beta 2 in page 17 have said feature, please?

I just tested it now and both hacks already have this feature, I'm sorry.
But the last patch with the three hacks provided above has a glitch in the swamp areas, it's the same conflict of different graphics that you solved with Redux + Rev + NewLink.ips and that I had not checked so far.

Here in this link the fix if you are going to use Redux beta2 and Rev Edition together but still with the swamp areas problem, if you can work on it after your vacation I will be very grateful, this patch can be applied in all the updates of the other hacks.

https://www.dropbox.com/s/9e87uzaxd8r4z2x/Redux%2BRev%2BNewLinkFix.ips?dl=0

« Last Edit: December 21, 2018, 02:14:28 pm by darthvaderx »

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1259
    • View Profile
Re: Zelda II Redux
« Reply #347 on: January 08, 2019, 03:51:01 pm »
Guess who's back?
Back again.
Shadow's back
Tell a friend. 8)

Time to continue development on Zelda II Redux, let's hope the last points can be cleared out before Q1 2019 ends :P

Here are my observations so far:

- The JUMP spell in the Pause pane has a bad tile mapping.
- I think spells should never have odd numbers for magic consumption. Ex.: LIFE spell at 25 magic cost. My rationale is, we should be able to tell the difference on screen.
- A Bot in the first palace deals a whole heart of damage at Life level 2. Is that intentional? I think it's excessive.
- Bubbles (flashing skull heads in palaces) should definitely be worth less than 50 points, especially when they can be killed with very few hits. I suggest 20. Maybe a bit more for Fast Bubbles?

- Correct the White Magic Square in the HUD, but that's already acknowledged by ShadowOne.

Other than that, it's very good. The Intro story makes sense, the dialogs are WAY better. The Overworld animations are a nice touch. I don't really like the longer sword, not because I think the sword shouldn't be lengthened, but because the hitboxes are the same (as far as I know), so it's basically a visual illusion.
Thanks for those points, Trax!

  • Indeed, the JUMP text had a changed tile there, it was a leftover from when I was trying to mimic Shadow of Night's altered Pause pane. Forgot to change than one back :P
    I might drop the extra dots between the names of the spells and the actual numbers, just to make the Pause pane look cleaner.
  • Sounds logic. I will check the spell consumption rates and make them either end with 0 or 5 instead of odd numbers.
  • Huh I'm not sure which bot that is. Do you have a pic of the bot in particular and/or what room it is located exactly to debug it properly?
  • Mmm yeah seeing as it is pretty early in the game, maybe an Exp reduction wouldn't do any harm and balance things better.
  • Yep, that's the only change remaining to properly make the new HUD a thing already. Just the white magic square.

As for sword, the only thing I did was rework Link's sprite so that his arms don't take as much tile-space as they used to before, and the sword is simply narrower to make it look like a proper sword instead of making it look like Link is holding a chicken drumstick ;D

I will try to address those issues this week, might have a new beta ready by Friday hopefully.

ultimaweapon

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: Zelda II Redux
« Reply #348 on: January 09, 2019, 04:04:30 am »
@ShadowOne - Each magic container is a total of 16 points for an overall total of 128 with all 8 containers. To take the magic use see balanced, you should use multiples of 4, 8, and 16 for your spell usage and not 0 or 5 unless the zero falls into one of the multiples like 20, 40, or 80. If 1 magic container is 16, then 2 is 32, 3 is 48, 4 is 64, 5 is 80, 6 is 96, 7 is 112, and all 8 is 128. Now, if you find a way to increase the max number, I'm all ears! LOL!

Also, you still need to fix the HUD display as well. I know that's at the top of you list.

As a suggestion you or Trax can try is to implement a map of the overworld you are in when you pause the game on the overworld. That would be great.
Trust in the Heart of the Cards

XianJip

  • Newbie
  • *
  • Posts: 1
  • I do not work on ROM hacks...
    • View Profile
Re: Zelda II Redux
« Reply #349 on: January 09, 2019, 12:04:54 pm »
This looks nice!
I do not work on ROM hacks... Please don't message me for anything.

niuus

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Re: Zelda II Redux
« Reply #350 on: January 12, 2019, 12:04:23 pm »
Awesome hack, ShadowOne333. Eager to play this when it's finished.

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1259
    • View Profile
Re: Zelda II Redux
« Reply #351 on: January 14, 2019, 11:42:01 am »
@ShadowOne - Each magic container is a total of 16 points for an overall total of 128 with all 8 containers. To take the magic use see balanced, you should use multiples of 4, 8, and 16 for your spell usage and not 0 or 5 unless the zero falls into one of the multiples like 20, 40, or 80. If 1 magic container is 16, then 2 is 32, 3 is 48, 4 is 64, 5 is 80, 6 is 96, 7 is 112, and all 8 is 128. Now, if you find a way to increase the max number, I'm all ears! LOL!

Also, you still need to fix the HUD display as well. I know that's at the top of you list.

As a suggestion you or Trax can try is to implement a map of the overworld you are in when you pause the game on the overworld. That would be great.

Well I already have the magic consumption that way, in multipliers of 4.
Every magic has some number which is a direct multiply of 4, so that's how it already is.

What Trax meant is using odd numbers to see the difference on-screen
Odd numbers are basically those that don't end with a reminder of 0 when divided by two.
In other words, any number which ends in a 1, 3, 5, 7 or 9.

I already fixed the wrong tile in the JUMP spell tiles, next up should be the Bot which apparently gives a whole heart of damage in the First palace.
Anyone knows which Bot this is specifically? I still haven't found that enemy yet.


Awesome hack, ShadowOne333. Eager to play this when it's finished.

Thanks, dude! :D
I'm in the finishing touches of the hack, hopefully I can get this done before March haha
« Last Edit: January 14, 2019, 11:50:14 am by ShadowOne333 »

Trax

  • Hero Member
  • *****
  • Posts: 524
    • View Profile
    • Trax ROM Hacking
Re: Zelda II Redux
« Reply #352 on: January 14, 2019, 06:51:14 pm »
It's not a specific Bot, just the enemy type itself. For enemies such as Bots and Bits, I'd expect a half heart of damage at most.

IcePenguin

  • RHDN Patreon Supporter!
  • Sr. Member
  • *****
  • Posts: 278
    • View Profile
Re: Zelda II Redux
« Reply #353 on: January 27, 2019, 02:30:04 am »
Do you still need to separate the EXP from the health bar?  I was looking through my notes, but I couldn't find anything on the HUD.  I think the notes for that might be on my old computer, which I used to hack Zelda II back then.  Anyway, I opened a clean rom and did some testing to re-create the HUD I made in Shadow of Night, and I remembered how I separated the exp from the health bar.  (something you needed help with, right?)

Well, here is a screenshot to help me explain:



There are 3 parts to the exp counter.  Part 1 and 2 are the green highlighted portion, and part 3 is the red.  The yellow highlighted portion is what you see in game, and purple is what I did for Shadow of Night.


Part 1 is at 0x1655.

20 6E 10 F4 F4 F4 F4 F4 F4 F4 F4 D0 D0 D0 D0 CE D0 D0 D0

This line of code is the entire green portion of the screenshot.  6E is the position in the HUD, and 10 (16) is the length of tiles.  So without having any digits in the exp counter, you would only see 0000/000.  Those are static tiles.

Part 2 is the actual position of each digit within the above range of tiles.

0x1769   - Position of tens digit for current xp value.
0x176E   - Position of hundreds digit for current xp value.
0x1773   - Position of thousands digits for current xp value.
0x1777   - Position of ones digit for current xp value.

0x1789   - Position of tens digit in required xp value.
0x178E   - Position of hundreds digit in required xp value.
0x1793   - Position of thousands digit in required xp value.

The tens digit in the required exp is the LAST digit within the counter.  There is no ones digit since it is never used.  If you try to move a digit outside of the counter's range of tiles, it won't be visible.

Part 3 is at 0x1D101.

20 7A 05 CE D0 D0 D0 D0

This line of code is the red potion of the screenshot.  It is a static string of tiles, and its only purpose is to have a ones digit in the required exp.  It sits behind the actual exp counter, and looks like this /0000 in game.  7A is the position, and 05 is the length of tiles.

What I did for Shadow of Night is the purple highlighted area in the screenshot.  In that hack, I never used the ones digit OR tens digit for required exp.  I sacrificed the tens digit by moving it out of Part 1's available range of 10 (16) tiles.

You probably don't want to do that, since Zelda II uses the tens digit for required exp, so your only option is to relocate the data in Part 1, and extend its range of tiles to 11 (17).  Then you could freely moves all digits of the counter one space over.

As for the white tile in the magic meter, if I remember correctly, all I did was open Tile Layer Pro and moved the actual white square up one space.  It made the boss health bars have an "empty" space between their remaining red bars and the white bars.  It wasn't too big of a deal so I just left it, ha ha.  I'm pretty sure that's how I did that, but I'll check to make sure.  There is definitely a better way to do that.
« Last Edit: January 27, 2019, 02:49:05 am by IcePenguin »

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1259
    • View Profile
Re: Zelda II Redux
« Reply #354 on: January 28, 2019, 05:01:29 pm »
Do you still need to separate the EXP from the health bar?  I was looking through my notes, but I couldn't find anything on the HUD.  I think the notes for that might be on my old computer, which I used to hack Zelda II back then.  Anyway, I opened a clean rom and did some testing to re-create the HUD I made in Shadow of Night, and I remembered how I separated the exp from the health bar.  (something you needed help with, right?)

Well, here is a screenshot to help me explain:



There are 3 parts to the exp counter.  Part 1 and 2 are the green highlighted portion, and part 3 is the red.  The yellow highlighted portion is what you see in game, and purple is what I did for Shadow of Night.


Part 1 is at 0x1655.

20 6E 10 F4 F4 F4 F4 F4 F4 F4 F4 D0 D0 D0 D0 CE D0 D0 D0

This line of code is the entire green portion of the screenshot.  6E is the position in the HUD, and 10 (16) is the length of tiles.  So without having any digits in the exp counter, you would only see 0000/000.  Those are static tiles.

Part 2 is the actual position of each digit within the above range of tiles.

0x1769   - Position of tens digit for current xp value.
0x176E   - Position of hundreds digit for current xp value.
0x1773   - Position of thousands digits for current xp value.
0x1777   - Position of ones digit for current xp value.

0x1789   - Position of tens digit in required xp value.
0x178E   - Position of hundreds digit in required xp value.
0x1793   - Position of thousands digit in required xp value.

The tens digit in the required exp is the LAST digit within the counter.  There is no ones digit since it is never used.  If you try to move a digit outside of the counter's range of tiles, it won't be visible.

Part 3 is at 0x1D101.

20 7A 05 CE D0 D0 D0 D0

This line of code is the red potion of the screenshot.  It is a static string of tiles, and its only purpose is to have a ones digit in the required exp.  It sits behind the actual exp counter, and looks like this /0000 in game.  7A is the position, and 05 is the length of tiles.

What I did for Shadow of Night is the purple highlighted area in the screenshot.  In that hack, I never used the ones digit OR tens digit for required exp.  I sacrificed the tens digit by moving it out of Part 1's available range of 10 (16) tiles.

You probably don't want to do that, since Zelda II uses the tens digit for required exp, so your only option is to relocate the data in Part 1, and extend its range of tiles to 11 (17).  Then you could freely moves all digits of the counter one space over.

As for the white tile in the magic meter, if I remember correctly, all I did was open Tile Layer Pro and moved the actual white square up one space.  It made the boss health bars have an "empty" space between their remaining red bars and the white bars.  It wasn't too big of a deal so I just left it, ha ha.  I'm pretty sure that's how I did that, but I'll check to make sure.  There is definitely a better way to do that.

That write up is really nice, IcePenguin!
Thanks!

I think I tried to do something in the vein of relocating the data found at Part 1 (0x1655) to some other place.
However, I think the only pointer or call to that particular section of the ROM is located at 0x173E, with [BD 41 96] or LDA $9641.
I tried to move the data around to some other place where I could write additional entries for that code, with something like [20 6C 11 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 CE F4 F4 F4],  but for some reason I kept getting glitched tiles when trying to place the data somewhere else and changing the [BD 41 96] correspondingly.
Maybe I didn't make the repointing as it should have been, but I'll try again just in case.

I'll also add a data comparison between both the Original Zelda II and Shadow of Night. Maybe this can help for others.

Code: [Select]
* Part 1 (0x1655) -
Original:
[20 6E 10 F4 F4 F4 F4 F4 F4 F4 F4 D0 D0 D0 D0 CE D0 D0 D0]

Shadow of Night:
[20 6C 10 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 F4 CE F4 F4]

* Part 2:
0x1768 - Original: [99 13 03] / SoA: [99 14 03]
0x176D - Original: [99 12 03] / SoA: [99 13 03]
0x1772 - Original: [99 11 03] / SoA: [99 12 03]
0x1776 - Original: [99 14 03] / SoA: [99 15 03]

0x1788 - Original: [99 18 03] / SoA: [99 1A 03]
0x178D - Original: [99 17 03] / SoA: [99 18 03]
0x1792 - Original: [99 16 03] / SoA: [99 17 03]

* Part 3:
Original: [20 7A 05 CE D0 D0 D0 D0] / SoA: [20 7C 05 D0 D0 F4 F4 F4]

As for the white tile for the Magic meter, it was just through tile editing?
I opened both SoA and Redux in YY-CHR and the white tile is basically the same in both, so I'm not sure if that one is entirely all just tile editing, it could be something else, maybe one opcode which determines the Y position of said tile.


Thank you so much for dropping this info, IcePenguin, even though you didn't have the notes at hand, you took your time to recreate the hack. I really appreciate it, thanks!
« Last Edit: January 28, 2019, 05:38:20 pm by ShadowOne333 »

IcePenguin

  • RHDN Patreon Supporter!
  • Sr. Member
  • *****
  • Posts: 278
    • View Profile
Re: Zelda II Redux
« Reply #355 on: January 29, 2019, 12:18:43 am »
Here is a solution.  Pulled it off with no glitches, and seems to work fine!  You can test it more thoroughly if you wish.  :)



Copy this:

20 52 01 D1 20 6E 11 F4 F4 F4 F4 F4 F4 F4 F4 F4 D0 D0 D0 D0 CE D0 D0 D0 FF

To 0x28C0.

Change the pointer at 0x173F from 41 96, to B0 A8.

At 0x1747, change the value from 18 to 19.  This is probably why you were experiencing issues with simply increasing the range of tiles from 10(16) to 11 (17).  The Life counter was taking into consideration the length of bytes from 0x1651 to 0x1668.  (which is the life counter, health, and exp)  So you have to extend that, as well.  I could be wrong on if that's actually what the game is doing, but just from looking at it, I'm pretty sure it is.

After that, move all digits in the exp counter one space to the right.  Oh, and also move the static string of tiles at 0x1D101 one space to the right.   :woot!: 
« Last Edit: January 29, 2019, 12:40:40 am by IcePenguin »

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1259
    • View Profile
Re: Zelda II Redux
« Reply #356 on: January 29, 2019, 10:44:15 am »
Here is a solution.  Pulled it off with no glitches, and seems to work fine!  You can test it more thoroughly if you wish.  :)



Copy this:

20 52 01 D1 20 6E 11 F4 F4 F4 F4 F4 F4 F4 F4 F4 D0 D0 D0 D0 CE D0 D0 D0 FF

To 0x28C0.

Change the pointer at 0x173F from 41 96, to B0 A8.

At 0x1747, change the value from 18 to 19.  This is probably why you were experiencing issues with simply increasing the range of tiles from 10(16) to 11 (17).  The Life counter was taking into consideration the length of bytes from 0x1651 to 0x1668.  (which is the life counter, health, and exp)  So you have to extend that, as well.  I could be wrong on if that's actually what the game is doing, but just from looking at it, I'm pretty sure it is.

After that, move all digits in the exp counter one space to the right.  Oh, and also move the static string of tiles at 0x1D101 one space to the right.   :woot!: 

Success! :woot!:



The byte at 0x1747 is the one that was giving me issues, that's why I couldn't get the tens digit to show up.
I also had to change the byte at 0x1788 from 0x1B to 0x19 so that the number in the tens shows up properly too.
Also, I had to change the pointer to somewhere else in the ROM, somewhere near the tunic changing routine I made, at $AB50, or PC address 0x2B60.
Now it's all working nicely :D



Now here's the last thing that needs to be done:


To move that white tile (which is the one that moves when you use magic, the tile that tracks the magic consumption) up one row, while retaining the red one for the hearts in the same row.

Once that is done, the whole new HUD should be ready to go :)

Thank you SO much for your help, IcePenguin, it is really appreciated that you take your time to recreate all of this from scratch.

IcePenguin

  • RHDN Patreon Supporter!
  • Sr. Member
  • *****
  • Posts: 278
    • View Profile
Re: Zelda II Redux
« Reply #357 on: January 29, 2019, 05:26:54 pm »
Happy to help when I can!  :)  Took another look at the white magic tile, and for Shadow of Night, I simply moved the tile up through tile editing, and also moved it with its X position value.  The side effect is having that "empty" space in boss health bars.  If you fight a boss in Shadow of Night, you'll see what I mean.

Here is what I did:



The top row of tiles is original Zelda II.  The bottom row is what I did in Shadow of Night.

Then I changed its X position to the same as the health:  (so it's right above)

0x1699 - Tile used for sliding magic tile.
0x169A - Tile used for sliding health tile.
0x169B - X position for sliding magic tile.
0x169C - X position for sliding health tile.

That is one solution, but comes with the empty space side effect in boss health bars.  I'm positive that is the only side effect, and for me, doesn't seem like such a bad thing.  The obvious better option is to locate the Y position for this tile, but I'm willing to bet that the sliding magic tile and health tile share the same Y position.


Edit:
If you have any extra gfx tiles to use, you could make a new white tile for the boss health bar and have it use that instead of sharing one with Link.  Or just make a new one for Link.  Either way.  :P

Here is some data on the boss health bar.  It would be a good solution and have no side effects.

0x11C64  - Y position for boss health bar.
0x11C68  - Tiles for empty white tiles in boss health bar.
0x11C6D  - Tiles for red tiles in boss health bar.
0x11C72  - Palette used for boss health bar.
0x11C77  - X position for boss health bar.
« Last Edit: January 29, 2019, 11:36:22 pm by IcePenguin »

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1259
    • View Profile
Re: Zelda II Redux
« Reply #358 on: January 31, 2019, 12:24:01 pm »
Happy to help when I can!  :)  Took another look at the white magic tile, and for Shadow of Night, I simply moved the tile up through tile editing, and also moved it with its X position value.  The side effect is having that "empty" space in boss health bars.  If you fight a boss in Shadow of Night, you'll see what I mean.

Here is what I did:



The top row of tiles is original Zelda II.  The bottom row is what I did in Shadow of Night.

Then I changed its X position to the same as the health:  (so it's right above)

0x1699 - Tile used for sliding magic tile.
0x169A - Tile used for sliding health tile.
0x169B - X position for sliding magic tile.
0x169C - X position for sliding health tile.

That is one solution, but comes with the empty space side effect in boss health bars.  I'm positive that is the only side effect, and for me, doesn't seem like such a bad thing.  The obvious better option is to locate the Y position for this tile, but I'm willing to bet that the sliding magic tile and health tile share the same Y position.

WHAT KIND OF DARK MAGIC IS THIS?!
Holy shit, like really I didn't expect the solution to that to just be a simple tile edit. xD
The HUD is now working properly :)
The only issue remaining is indeed the Boss' HP meter, which behaves oddly when hit:

                    Original Zelda II                                Zelda II Redux (New HUD)


So what happens is that when the first red rectangle of health is deplenished, the white tile appears one tile above where it should. That's all.

Edit:
If you have any extra gfx tiles to use, you could make a new white tile for the boss health bar and have it use that instead of sharing one with Link.  Or just make a new one for Link.  Either way.  :P

Here is some data on the boss health bar.  It would be a good solution and have no side effects.

0x11C64  - Y position for boss health bar.
0x11C68  - Tiles for empty white tiles in boss health bar.
0x11C6D  - Tiles for red tiles in boss health bar.
0x11C72  - Palette used for boss health bar.
0x11C77  - X position for boss health bar.

Interesting.
Though I think that means that I'll have to search for two available tiles (one blank, one with the white rectangle) in every instance where the HUD graphics are used, and I think the game uses like a lot of banks for this :P
I'll see if I can manage to find some suitable empty tiles for each one, hopefully that doesn't change anything else graphics-wise in the game once re-implemented.

dACE

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
Re: Zelda II Redux
« Reply #359 on: January 31, 2019, 01:00:05 pm »
What would happen if you moved the boss health-bar up by one tile (Y-8)?
Wouldn’t that solve it?

/dACE