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

Author Topic: Breath of Fire GBA improved  (Read 27817 times)

ThegreatBen

  • Hero Member
  • *****
  • Posts: 693
    • View Profile
Re: Breath of Fire GBA improved
« Reply #80 on: February 09, 2020, 05:55:23 pm »
You need to compile the code. There are armips scripts in there with a batch, also a makefile to be configured with devkitArm.

Alright I'll play with it a little when I have time, thanks.

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1110
  • Guardian of Mystery
    • View Profile
Re: Breath of Fire GBA improved
« Reply #81 on: February 10, 2020, 05:32:19 pm »
Hey Ben, if you figure this out can you drop me a line? We also still need support for spell and enemy names at the bare minimum.
All my life I've tried to fight what history has given me.

Bregalad

  • Hero Member
  • *****
  • Posts: 2698
    • View Profile
Re: Breath of Fire GBA improved
« Reply #82 on: February 16, 2020, 12:33:39 pm »
I've got good news. I've looked into the "Exchange crash" bug, and this is a very simple RAM conflict, where I used RAM which I thought was unused, but was actually used only when using the "Exchange" command. This is very easy to fix, and I'll release an updated patch ASAP. I'm sorry to have left this bug unfixed for more than 2 years, even though it was trivial to fix.

For those who do not wish to wait for the patch to be updated, the changes are as follow.

Changes for (J) ROM :
  • At 0x9DEFD, replace [0x51] by [0x52]
  • At 0x9EB91, replace [0x51] by [0x52]
  • At 0x317700, replace [0x00] by [0xE0]

Changes for (U) ROM :
  • At 0x9E0DD, replace [0x50] by [0x52]
  • At 0x9ED71, replace [0x50] by [0x52]
  • At 0x318E00-0x318E01, replace [0x00, 0x57] by [0xE0, 0x58]

Changes for (E) ROM :
  • At 0x9E211, replace [0x50] by [0x52]
  • At 0x9EEA5, replace [0x50] by [0x52]
  • At 0x323200-0x323201, replace [0x00, 0x57] by [0xE0, 0x58]

That should be all, folks. Enjoy the fix, and sorry again for letting the bug there for so long. I hope this won't create another bug though.

ThegreatBen

  • Hero Member
  • *****
  • Posts: 693
    • View Profile
Re: Breath of Fire GBA improved
« Reply #83 on: February 16, 2020, 01:30:41 pm »
Thanks I'll add this to my version as well.

uVSthem

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Breath of Fire GBA improved
« Reply #84 on: February 16, 2020, 04:12:16 pm »
That's awesome. Thanks you guys.

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1110
  • Guardian of Mystery
    • View Profile
Re: Breath of Fire GBA improved
« Reply #85 on: February 17, 2020, 10:06:13 pm »
I tested trading with VBA Link earlier today and nothing seems to be going awry. I got random items from the sky no problem.
All my life I've tried to fight what history has given me.

Bregalad

  • Hero Member
  • *****
  • Posts: 2698
    • View Profile
Re: Breath of Fire GBA improved
« Reply #86 on: February 18, 2020, 04:53:29 am »
I tested trading with VBA Link earlier today and nothing seems to be going awry. I got random items from the sky no problem.
Oh thanks for testing. I can't even test this myself, as I only have one GBA without link cable (I have a retro-compatible DSi but I doubt you can link it) - and as to emulating two connected GBAs I never got it to work when I tried, alas. And yeah, no RAM conflict when opening the "Exchange" menu is not the same as no RAM conflict during actual exchange :)

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1110
  • Guardian of Mystery
    • View Profile
Re: Breath of Fire GBA improved
« Reply #87 on: February 18, 2020, 10:24:41 am »
Hey Ben, I was able to change GP to zenny thanks to my friend helping me out.

https://pastebin.com/n0fcg3zP
« Last Edit: February 19, 2020, 01:38:07 pm by vivify93 »
All my life I've tried to fight what history has given me.

ThegreatBen

  • Hero Member
  • *****
  • Posts: 693
    • View Profile
Re: Breath of Fire GBA improved
« Reply #88 on: February 18, 2020, 11:36:13 am »
I thought I had already got them all in my last release. I'll double check sometime soon.

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1110
  • Guardian of Mystery
    • View Profile
Re: Breath of Fire GBA improved
« Reply #89 on: February 18, 2020, 12:33:46 pm »
Oh sweet. Sorry about that then. The three in particular I needed help from a friend with was the first three: the merchant mini-game in Prima, the menu display, and the shop display.

Edit 1 - I'm still missing the values for the storage. I'll get those to you as soon as I can.

Edit 2 - Added info on how to change G to Z in storage. Thanks to mteam for basically all the changes except dialogue, items, and the battle message.

https://pastebin.com/n0fcg3zP

(this pastebin upload and the one in my previous post are now the same one)
« Last Edit: February 19, 2020, 07:42:49 pm by vivify93 »
All my life I've tried to fight what history has given me.

ThegreatBen

  • Hero Member
  • *****
  • Posts: 693
    • View Profile
Re: Breath of Fire GBA improved
« Reply #90 on: February 19, 2020, 03:43:20 pm »
Cool, looks like I have a to do list.

Bregalad

  • Hero Member
  • *****
  • Posts: 2698
    • View Profile
Re: Breath of Fire GBA improved
« Reply #91 on: February 22, 2020, 03:45:35 am »
@ThegreatBen just in case this is of any use to you, my sound restoration patch actually adds new music sequences at (offsets for US ROM) : 0x318C00 - 0x330334. Because this takes more room than the original music sequences, I made them at the end of the ROM in an unused area.

This means the space between 0xD65F4 and 0xEB3DF, which contains the original music sequences, is now left unused, although there's still data in the ROM so it appears used. If you have an use for this ROM space you can use it.

Thanatos-Zero

  • Full Member
  • ***
  • Posts: 227
  • NES Graphic Designer
    • View Profile
Re: Breath of Fire GBA improved
« Reply #92 on: February 22, 2020, 09:03:46 am »

Notes:
- Reference happenings of Breath of Fire V: Dragon Quarter. BoF5 was by far my least favourite but the crutch of the story is that it is supposed to turn the story into a paradox. The world of Breath of Fire gets destroyed by the end of 4 and the people travel underground where you start in BoF5. Once you make your way to the surface the game ends indicating the creation of a new town and the restart of the cycle. Personally I prefer to pretend BoF5 isn't part of the series as it makes it more enjoyable but if it were about series consistency, subtle nods might be worth mentioning.

Dragon Quarter is neither a sequel or prequel to any of the other games.
It is a self-contained story and setting, which just borrows and tweaks elements of the previous.

BoF 4 however is open. It can work as a distant prequel to BoF 1 and as a parallel universe. Momo even states her presence in 4 by hopping dimensions.

Idkbutlike2

  • Sr. Member
  • ****
  • Posts: 313
  • Beer Chozo
    • View Profile
Re: Breath of Fire GBA improved
« Reply #93 on: February 22, 2020, 07:51:54 pm »
Has anyone else gotten this tile bug with the newest released version of the patch, or is this just an emulator-specific issue? I'm using mGBA.

Bregalad

  • Hero Member
  • *****
  • Posts: 2698
    • View Profile
Re: Breath of Fire GBA improved
« Reply #94 on: February 23, 2020, 04:46:50 am »
Has anyone else gotten this tile bug with the newest released version of the patch, or is this just an emulator-specific issue? I'm using mGBA.
You should probably share your save file so that we can investigate this. There's basically 3 hacks combined, so any of those 3 could have triggered that bug. And I'm currently extremely worried that by moving the sound buffers further in RAM (while fixing the Exchange crash bug) I might have created another bug somewhere else...
I'm re-testing the game but I'm still relatively early in the game as I have a lot of stuff to do IRL those times.

Idkbutlike2

  • Sr. Member
  • ****
  • Posts: 313
  • Beer Chozo
    • View Profile
Re: Breath of Fire GBA improved
« Reply #95 on: February 23, 2020, 08:36:48 am »
You should probably share your save file so that we can investigate this.
No problem.

https://www.dropbox.com/s/ssalg6r2otghtw0/0245%20-%20Breath%20of%20Fire%20%28U%29%28Mode7%29.SaveRAM?dl=0

February 23, 2020, 01:33:51 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Okay, disregard my last few posts. This seems to be an emulator-related issue. It has nothing to do with the patch. Sorry for wasting your time. :-X
« Last Edit: February 23, 2020, 01:33:51 pm by Idkbutlike2 »

Bregalad

  • Hero Member
  • *****
  • Posts: 2698
    • View Profile
Re: Breath of Fire GBA improved
« Reply #96 on: February 23, 2020, 02:45:34 pm »
It's fine, it didn't waste my time (although it was going to right now when I came see your answer :) ).

Granville

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Breath of Fire GBA improved
« Reply #97 on: February 23, 2020, 04:34:00 pm »
Does that gray tile glitch occur on the non-patched original rom too? If so, might want to let endrift know about it.

Idkbutlike2

  • Sr. Member
  • ****
  • Posts: 313
  • Beer Chozo
    • View Profile
Re: Breath of Fire GBA improved
« Reply #98 on: February 23, 2020, 04:48:42 pm »
Does that gray tile glitch occur on the non-patched original rom too? If so, might want to let endrift know about it.
Yeah, it seems to be an issue in mGBA. Lament Forest looks fine on VBA-M.

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1110
  • Guardian of Mystery
    • View Profile
Re: Breath of Fire GBA improved
« Reply #99 on: February 23, 2020, 04:51:45 pm »
The Lament Woods don't look like that on mGBA on my end in a BoFI that doesn't use Ben's project...
All my life I've tried to fight what history has given me.