Bangai-Oh VGA Patch

Place for discussing homebrew games, development, new releases and emulation.

Moderators: pcwzrd13, deluxux, VasiliyRS

TapamN
letterbomb
Posts: 149

Bangai-Oh VGA Patch

Post by TapamN »

I just spent like 9 hours straight doing this, so I don't really feel like going into detail. This could probably be turned into a Codebreaker code, maybe later. The instructions are to patch a clean GDI rip of the US version of Bangai-Oh. All the changes are on track 37. I've also included the RAM address from my notes of what needs to be patched, if you subtract 0x8c010000 from this, you can get the address into an unscrambled 1ST_READ.BIN, if you want to patch it that way.

Fix render glitches (results in 320x240 window in top-left of 640x480 screen):
Track 37 at 0x069DBBD4 (Ram address 0x8c0790e4) change [0x01] to [0xFF]

Fix slowdown:
Track 37 at 0x069C5108 (Ram address 0x8c065598) change from [0x01] to [0xFF]
Track 37 at 0x069C5156 (Ram address 0x8c0655e6) change from [0x2D 0x94] to [0x00 0xe4]

Make fullscreen (fix horizontal):
Track 37 at 0x069F1B3A (Ram address 0x8c08c32a) change from [0x01 0xc9] to [0x01 0xe0]

Make fullscreen (fix vertical):
Track 37 at 0x069F1278 (Ram address 0x8c08bb98) change from [0x00 0x41] to [0x02 0xe1]

Restore bottom 16 pixels of screen:
Track 37 at 0x069F1904 (Ram address 0x8c08c0f4) change from [0x1c 0x30] to [0x01 0x70]

Disable dither:
Track 37 at 0x069F1452 (Ram address 0x8c08bd72) change from [0x2b 0x1e] to [0xdb 0x1e]

With the patch applied, it probably still works on NTSC as well, but I haven't tested it. Now that I know what kind of surgery needs to be done to convert a 320x240 NTSC only game to 320x240 VGA, it will probably be much easier to do the same to other games (like KoF 98). Some other day.

Edit: Oh, this doesn't include a patch for the VGA support bit in IP.BIN. Someone else can figure that out if they want it.

Edit 2: Codebreaker version

0f0790e4 000088ff
0f065598 000088ff
0f0655e6 0000e400
0f08c32a 0000e001
0f08bb98 0000e102
0f08c0f4 00007001
0f08bd72 00001edb
Last edited by TapamN on Sun Apr 23, 2023 4:14 pm, edited 2 times in total.

Impacto
dark night
Posts: 63

Re: Bangai-Oh VGA Patch

Post by Impacto »

Unbelievable. So in theory, every non vga game can be patched?

User avatar
MoeFoh
Uber
Posts: 1071

Re: Bangai-Oh VGA Patch

Post by MoeFoh »

This is going to make a lot of people very happy! :mrgreen:
Last edited by MoeFoh on Sat Apr 22, 2023 1:29 pm, edited 1 time in total.

streeker
fragger
Posts: 254

Re: Bangai-Oh VGA Patch

Post by streeker »

Incredible work! Thanks a lot!!
VGA confirmed working on a PAL DC with USB-GDROM.
Though Scart/RGB output is now broken.

MikeStutzzzz
Outrun
Posts: 1133
Dreamcast Games you play Online: I Love Playing all dreamcast games.
But im pretty boss at:
MvC2, Etc

Re: Bangai-Oh VGA Patch

Post by MikeStutzzzz »

Awesome
Meh Stuff http://dreamcast-talk.com/forum/viewtopic.php?p=18650#p18650
Before you download meh mirrors read this
http://dreamcast-talk.com/forum/viewtopic.php?f=2&t=2353&p=22482#p22482

User avatar
deluxux
Black Mesa
Posts: 1405

Re: Bangai-Oh VGA Patch

Post by deluxux »

Great work!!! Thank you!!

User avatar
MoeFoh
Uber
Posts: 1071

Re: Bangai-Oh VGA Patch

Post by MoeFoh »

VGA patched track03 and track37 of the US TOSEC Bangai-O dump. Working on GDEMU.

https://www.mediafire.com/file/gyt7ev3y ... mN.7z/file
Last edited by MoeFoh on Mon Apr 24, 2023 12:40 am, edited 4 times in total.

User avatar
fafadou
Gold Lion
Posts: 1663

Re: Bangai-Oh VGA Patch

Post by fafadou »

MoeFoh wrote:This is going to make a lot of people very happy! :mrgreen:
That's it, words missing :)
Japanese_cake sais it was impossible to patch this game due to 2d to redraw.

Amazing @TampaN !!

User avatar
pcwzrd13
Seen Any Sailors?
Posts: 7096
Dreamcast Games you play Online: All of them! I'm able to connect with dial-up or broadband.
Location: USA
Contact:

Re: Bangai-Oh VGA Patch

Post by pcwzrd13 »

Nice job man! This is one game I haven't really played mainly because of the lack of VGA support. I might actually give it a shot now. lol

Here's a patched track37.iso for anyone using DreamShell (optimized/shrunk image):
https://www.mediafire.com/file/d4an9iic ... ).zip/file

This is the NTSC-U version.
PSO Characters:
Teal'c - lvl 119 HUcast - GC# 11666
Alto - lvl 39 FOnewm - GC# 12964

YouTube Channel : Dreamcast Live

User avatar
dubcity
Super Sonic
Posts: 1578

Re: Bangai-Oh VGA Patch

Post by dubcity »

Wow that's incredible TapamN!!! Thank you for going thru 9 hours of work. Now go get some rest.