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#1 » Sat Apr 22, 2023 6:55 am

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#2 » Sat Apr 22, 2023 8:22 am

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

User avatar
MoeFoh
Uber
Posts: 1042

Re: Bangai-Oh VGA Patch

Post#3 » Sat Apr 22, 2023 8:32 am

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.
“The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.”
- Charles Bukowski

streeker
fragger
Posts: 254

Re: Bangai-Oh VGA Patch

Post#4 » Sat Apr 22, 2023 9:30 am

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

Re: Bangai-Oh VGA Patch

Post#5 » Sat Apr 22, 2023 11:01 am

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: 1400

Re: Bangai-Oh VGA Patch

Post#6 » Sat Apr 22, 2023 11:33 am

Great work!!! Thank you!!

User avatar
MoeFoh
Uber
Posts: 1042

Re: Bangai-Oh VGA Patch

Post#7 » Sat Apr 22, 2023 11:44 am

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.
“The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.”
- Charles Bukowski

User avatar
fafadou
Gold Lion
Posts: 1662

Re: Bangai-Oh VGA Patch

Post#8 » Sat Apr 22, 2023 1:51 pm

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: 7062
Contact:

Re: Bangai-Oh VGA Patch

Post#9 » Sat Apr 22, 2023 3:23 pm

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/d4an9iic4g2jvv2/Bangai-O+VGA+Patch(DS).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: 1576

Re: Bangai-Oh VGA Patch

Post#10 » Sat Apr 22, 2023 3:43 pm

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

  • Similar Topics
    Replies
    Views
    Last post

Return to “New Releases/Homebrew/Emulation”

Who is online

Users browsing this forum: No registered users