Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Wonderboy 3 - Sram save hack

Reply to topic
Author Message
  • Joined: 04 Jul 2010
  • Posts: 539
  • Location: Angers, France
Reply with quote
Wonderboy 3 - Sram save hack
Post Posted: Sun Aug 13, 2017 11:52 am
Last edited by ichigobankai on Wed Aug 30, 2017 9:26 am; edited 3 times in total
Hi guys, i've just finished to add an sram auto save/load function for WonderBoy 3.




Regards
Ichigo
wb3_save_edition.ips.zip (896 B)
IPS patch - checksum already corrected
wb3_sram-pad-init.zip (923 B)
IPS patch v1.2 - checksum already corrected

  View user's profile Send private message
  • Joined: 29 May 2015
  • Posts: 18
Reply with quote
Post Posted: Sun Aug 13, 2017 7:34 pm
Last edited by smokemonster on Wed Aug 30, 2017 5:24 pm; edited 4 times in total
Awesome work! Your patch appears to work with the US console FM-sound patch, and the D.C. hack, although I haven't tested them extensively.

edit: More roms it can be combined with:
Turma da Monica em O Resgate (B)
Turma da Monica - The Escape
Sonic-Boy 2 - Eggman's Trap
Guerreiro Lobo V2.0

Update: These all work with v1.2 as well :)
  View user's profile Send private message
  • Joined: 05 Jun 2010
  • Posts: 757
  • Location: Pennsylvania, USA
Reply with quote
Post Posted: Sun Aug 13, 2017 8:28 pm
Do you have to go to the password screen for it to save? Either way, awesome work.
  View user's profile Send private message Visit poster's website
  • Joined: 04 Jul 2010
  • Posts: 539
  • Location: Angers, France
Reply with quote
Post Posted: Sun Aug 13, 2017 9:43 pm
You must enter in a "password house"
(the password is generated in them)
  View user's profile Send private message
  • Joined: 28 Feb 2016
  • Posts: 502
  • Location: Barcelona
Reply with quote
Post Posted: Sun Aug 13, 2017 10:09 pm
I tried it and works great

Thankyou very much
  View user's profile Send private message
  • Joined: 21 Oct 2015
  • Posts: 303
Reply with quote
Post Posted: Mon Aug 14, 2017 9:22 am
Awesome job as usual!!!
  View user's profile Send private message
  • Joined: 18 Aug 2007
  • Posts: 10
Reply with quote
Post Posted: Tue Aug 15, 2017 12:17 am
this is pretty clever, good job!
  View user's profile Send private message
  • Joined: 11 Feb 2015
  • Posts: 17
Reply with quote
Post Posted: Sun Aug 20, 2017 8:57 am
I love this! I used to think the new Wonder Boy 3 remake made the original obsolete due to the save system, but just like that, you've turned the tables!

Thanks a lot.
  View user's profile Send private message
  • Joined: 05 Jun 2010
  • Posts: 757
  • Location: Pennsylvania, USA
Reply with quote
Post Posted: Mon Aug 21, 2017 5:13 am
I just tested this on a Mega EverDrive with a modded Nomad for SMS compatibility and it worked great! Thanks so much!
  View user's profile Send private message Visit poster's website
  • Joined: 04 Jul 2010
  • Posts: 539
  • Location: Angers, France
Reply with quote
Post Posted: Wed Aug 30, 2017 9:25 am
Little update

- Fix a tiny bug (emulators)

- Autodetect pad type, with a MD/GEN pad, Start act as "Pause" button (object menu)

- Stack/slots init corrected to work properly on MD.
If you make a repro, and have a simple/cheap MS to MD adapter the game will work.

- if no save is present, continue launch a "new game"

File in 1st post
  View user's profile Send private message
  • Joined: 15 Oct 2017
  • Posts: 4
  • Location: Bari (Italy)
Reply with quote
Post Posted: Wed Nov 08, 2017 8:26 am
ichigobankai wrote
Little update

- Fix a tiny bug (emulators)

- Autodetect pad type, with a MD/GEN pad, Start act as "Pause" button (object menu)

- Stack/slots init corrected to work properly on MD.
If you make a repro, and have a simple/cheap MS to MD adapter the game will work.

- if no save is present, continue launch a "new game"

File in 1st post


very goog job!!!
  View user's profile Send private message
  • Joined: 20 Apr 2011
  • Posts: 33
Reply with quote
Post Posted: Fri Oct 21, 2022 5:38 pm
At first, thanks for this very useful patch. I'm having a great time playing Wonder Boy Dragon's Trap without taking note of those long passwords.

However, when the IPS is applied to "Turma da Mônica em - O Resgate" rom, it kinda works, but the game displays some collateral effects like: black screen/freezing when entering the password menu or any password room; messed up text in the first menu (as shown in image). Comparing the Mônica rom with the Wonder Boy one, the culprit is probably the space between 7F07 and 7F56, which has additional data in the former rom, and is replaced by the patch, while the later has 0's in the same addresses. The section seems to hold some portuguese translation like "OURO" (GOLD).

Any help solving these would be very appreciated.
TurmaM01.jpg (29.6 KB)
TurmaM01.jpg
TurmaM02.jpg (176.47 KB)
TurmaM02.jpg

  View user's profile Send private message
  • Joined: 20 Apr 2011
  • Posts: 33
Reply with quote
Coin multiplication bug
Post Posted: Sat Dec 17, 2022 3:07 am
As some may perceive, I've been a bit addicted to these Wonderboy games lately.

Sorry for double posting, but I think this is worthy mentioning in a new post. I may have found two bugs in this SRAM hack.

The first one is a coin amount bug after resetting and continuing. For example, when I saved the game, I had 46 coins. When I reset the game and CONTINUE, I'll have 80 coins. The same happens whenever you get more coins and save the game. In other occasion I had 155 coins, after saving and resetting it raised to 240!

The second bug happens when I use a Genesis 6 button controller with the SMS (Alex Kidd BIOS). Some button pressings, or combinations cause the game to randomly pause. The most frustrating is when I press jump for the Hawk-Man to fly. The game starts pausing constantly when pressing the same single button two or three times quickly.

Do these bugs occur to someone else?
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14686
  • Location: London
Reply with quote
Post Posted: Sat Dec 17, 2022 8:19 am
The password system doesn’t store gold with full precision, so if the SRAM patch just stores the password to SRAM then it will have the same limitation.
  View user's profile Send private message Visit poster's website
  • Joined: 23 Jan 2010
  • Posts: 414
Reply with quote
Post Posted: Sat Dec 17, 2022 8:58 am
Quote
The second bug happens when I use a Genesis 6 button controller with the SMS (Alex Kidd BIOS). Some button pressings, or combinations cause the game to randomly pause. The most frustrating is when I press jump for the Hawk-Man to fly. The game starts pausing constantly when pressing the same single button two or three times quickly.

I was facing the same problem.
  View user's profile Send private message
  • Joined: 04 Jul 2010
  • Posts: 539
  • Location: Angers, France
Reply with quote
Post Posted: Sat Dec 17, 2022 9:35 am
It was years ago, from memory i've only tested with official md pad 3 buttons.
  View user's profile Send private message
  • Joined: 20 Apr 2011
  • Posts: 33
Reply with quote
Post Posted: Sun Dec 18, 2022 12:55 am
Maxim wrote
The password system doesn’t store gold with full precision, so if the SRAM patch just stores the password to SRAM then it will have the same limitation.


Thanks, this explains a lot. I should have tried the password before calling this a bug. I never noticed this behavior before, probably, because inserting the password makes me forget my coin count, while restarting the game and immediately sram reloading makes this more evident.

Regarding the 6 button controller, I circumvented the issue by:

a) patching a clean rom with the first sram patch file (1.0 maybe), found in the first post of this thread (wb3_save_edition.ips.zip)

b) then patching the same rom with this Start Button + FM + border color fix patch here:
https://www.smspower.org/forums/post123041#123041

Regarding Turma da Monica rom, I couldn't succeed, but I'm checking what can be done.
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!