Game Boy Interface

Release threads for homebrew & utilities only
rezb1t
Posts: 1
Joined: Wed Jun 20, 2018 6:48 pm

Re: Game Boy Interface

Post by rezb1t » Wed Jun 20, 2018 6:55 pm

First post here, but I've been a big fan of Game Boy Interface for a while now. Thanks for all the awesome work!
paulb_nl wrote:
Sun May 27, 2018 8:13 pm
...

Nice work Extrems. 960x360p mode works very nicely for pixel perfect scaling with the OSSC. I modified the OSSC firmware for sampling at 240x360 optimized and then upscaling to 1280x720 and 1920x1080.

...
Wow this sounds really cool! Are your modifications posted anywhere? Would love to check out 360p on my OSSC as well, particularly via GBIHF.
Extrems wrote:
Wed Jun 06, 2018 2:35 pm
paulb_nl wrote:
Wed Jun 06, 2018 9:01 am
NIce. High Fidelity with 360p. Thanks Extrems!
It doesn't have temporal interpolation though. And since it's exactly 60 Hz, you get worse judder than ever.

I'm considering adding a closer matching format, but the parameter space isn't looking too appealing to me.
This would be great! Understandable that you're hesitant, though. The amount of options can be overwhelming.
noodohs
Posts: 22
Joined: Mon Feb 05, 2018 10:51 pm

Re: Game Boy Interface

Post by noodohs » Wed Jun 20, 2018 8:14 pm

For analog emulation, if I don't specify parameters (other than analog) am I correct in assuming that it has default values in line with what you consider to be good settings? Been trying to read up on the math behind biquad filters but my brain is mush right now. More of a visual guy when it comes to filters, honestly.
Weario
Posts: 30
Joined: Tue Feb 28, 2017 10:24 pm

Re: Game Boy Interface

Post by Weario » Wed Jun 20, 2018 8:17 pm

Extrems wrote:
Tue Jun 19, 2018 3:46 pm
  • Added analog sound emulation.
  • Fixed some audio bugs.
For standard edition:
  • Changed default sound mode to analog.
I've always felt sound left something to be desired. Now it sounds like the Nintendo DS' headphone out.
Interesting, I always thought that digital sound was better. Or is that not the case here?
noodohs
Posts: 22
Joined: Mon Feb 05, 2018 10:51 pm

Re: Game Boy Interface

Post by noodohs » Wed Jun 20, 2018 8:26 pm

Weario wrote:
Wed Jun 20, 2018 8:17 pm
Interesting, I always thought that digital sound was better. Or is that not the case here?
On a technical level yes, digital is "better" in that it is a more pure representation. But better is subjective and it's not necessarily faithful to how it originally sounded, either. For example, games were developed with the intention of being heard on the crappy speaker of the original GBA, not coming out of your hi-fi home theater. I find the sound from GBI to be rather loud (which can be adjusted) and harsh. I suspect this helps smooth it out, but haven't had a chance to try it yet.

We could get into endless debates about vinyl versus CDs here, but... let's just leave it there :p
Weario
Posts: 30
Joined: Tue Feb 28, 2017 10:24 pm

Re: Game Boy Interface

Post by Weario » Wed Jun 20, 2018 8:37 pm

noodohs wrote:
Wed Jun 20, 2018 8:26 pm
Weario wrote:
Wed Jun 20, 2018 8:17 pm
Interesting, I always thought that digital sound was better. Or is that not the case here?
On a technical level yes, digital is "better" in that it is a more pure representation. But better is subjective and it's not necessarily faithful to how it originally sounded, either. For example, games were developed with the intention of being heard on the crappy speaker of the original GBA, not coming out of your hi-fi home theater. I find the sound from GBI to be rather loud (which can be adjusted) and harsh. I suspect this helps smooth it out, but haven't had a chance to try it yet.

We could get into endless debates about vinyl versus CDs here, but... let's just leave it there :p
Ahh yes, I think I understand. It's much like how you can also change the color matrix to make it look like the original GBA, so that it matches more with what the game was intended to look like, right?
noodohs
Posts: 22
Joined: Mon Feb 05, 2018 10:51 pm

Re: Game Boy Interface

Post by noodohs » Wed Jun 20, 2018 8:43 pm

Pretty much.
Weario
Posts: 30
Joined: Tue Feb 28, 2017 10:24 pm

Re: Game Boy Interface

Post by Weario » Wed Jun 20, 2018 8:45 pm

Thanks for explaining! =)
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Wed Jun 20, 2018 9:06 pm

If you thought digital was harsh, this is even harsher.

This calculator is nice: http://www.earlevel.com/main/2013/10/13 ... ulator-v2/
Enter 2097152 Hz as sample rate.
noodohs
Posts: 22
Joined: Mon Feb 05, 2018 10:51 pm

Re: Game Boy Interface

Post by noodohs » Fri Jun 22, 2018 6:13 pm

Extrems wrote:
Wed Jun 20, 2018 9:06 pm
If you thought digital was harsh, this is even harsher.

This calculator is nice: http://www.earlevel.com/main/2013/10/13 ... ulator-v2/
Enter 2097152 Hz as sample rate.
Oh, that is neat, thanks! If I'm not mistaken, though, the filter could be configured as a LPF, which would accomplish the goal of reducing the treble and smoothing it out a bit. At least in theory. I think that's basically what a lot of people had been asking for in terms of audio, so this should help them, too.
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Fri Jun 22, 2018 6:14 pm

It is a low pass filter, with a frequency cutoff of 14336 Hz.
noodohs
Posts: 22
Joined: Mon Feb 05, 2018 10:51 pm

Re: Game Boy Interface

Post by noodohs » Fri Jun 22, 2018 6:25 pm

That's just the default though, right? If I'm not mistaken, one could also configure it as a notch or (for some reason) a high pass. Or a shelf or some other options. I may just not be understanding the options, but LPF is what I'm looking for anyway. So that is awesome :)
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Fri Jun 22, 2018 6:28 pm

Yes, you can use any filter types in the calculator. They're not all suitable for this application though.

I figured out the parameters for the Game Boy Player Start-up Disc, so you can use those now.
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Tue Jun 26, 2018 4:48 am

  • Improved analog sound emulation. (thanks Ace9921)
For speedrunning edition:
  • Merged vertical filter controls.
FirebrandX
Posts: 18
Joined: Tue May 17, 2016 4:36 am

Re: Game Boy Interface

Post by FirebrandX » Tue Jun 26, 2018 3:38 pm

Okay so I'm going sound like a bother, and idiot, noob, etc., but each week a new package of software is released for the Game Boy Player, and each week it completely breaks the work I did on the OSSC because the defaults are changed and I have NO IDEA how to set the High Fidelity parameters. I shouldn't have to resort to booting with Swiss and that funky GUI, so I have to ask the same question you've likely been asked a thousand times, Extrems:

Pretend I don't know a damned thing (which I don't). How do I set the parameters of "GBIHF.dol" such that it is 240p by default every time I load it? If I have to compile the software, how do I do that and what do I need? I see there are new files in the package with the extension of ".dcp" which appear to list all sorts of wonderful little features you could use if you knew what you were doing. And that's the real problem here for new users or people like myself that simply have too many other projects to become intimately familiar on the subject of getting a 240p High Fidelity GBI software that I can simply calibrate the OSSC on for perfect chroma alignment. I mean, do I really have to use Swiss?
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Tue Jun 26, 2018 3:49 pm

480p is a necessary "evil" because of GCVideo DVI. Disable progressive scan if you don't want it.

360p is arguably better than 240p for the OSSC.
claywilson95
Posts: 47
Joined: Tue Aug 29, 2017 5:54 am

Re: Game Boy Interface

Post by claywilson95 » Tue Jun 26, 2018 6:24 pm

Extrems wrote:
Tue Jun 26, 2018 3:49 pm
480p is a necessary "evil" because of GCVideo DVI. Disable progressive scan if you don't want it.

360p is arguably better than 240p for the OSSC.
Hey there Extrems, irrelevant question to this subject, but about Swiss. Can I uses Swiss to backup GC saves from memory cards, and then dump them onto SD cards? All I can seem to find with my research suggests that I use Wii Homebrew to do this. Thanks!
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Tue Jun 26, 2018 7:03 pm

Yes, but it's better to use GCMM (which does work and originally was for GameCube).
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Game Boy Interface

Post by emu_kidid » Tue Jun 26, 2018 10:45 pm

claywilson95 wrote:
Tue Jun 26, 2018 6:24 pm
Hey there Extrems, irrelevant question to this subject, but about Swiss. Can I uses Swiss to backup GC saves from memory cards, and then dump them onto SD cards? All I can seem to find with my research suggests that I use Wii Homebrew to do this. Thanks!
Yeah, Swiss doesn't handle memory card file transfers that well and it also tries to handle .gci vs just regular files being dumped on the card which can confuse people too. Just use GCMM unless if you have a card you just want to mess around with until you get the hang of how Swiss handles that stuff.
Image
FirebrandX
Posts: 18
Joined: Tue May 17, 2016 4:36 am

Re: Game Boy Interface

Post by FirebrandX » Wed Jun 27, 2018 4:46 am

Extrems wrote:
Tue Jun 26, 2018 3:49 pm
480p is a necessary "evil" because of GCVideo DVI. Disable progressive scan if you don't want it.

360p is arguably better than 240p for the OSSC.
Okay so how do I do that? I was able to calibrate a sharp profile for OSSC based on your 522P default package for High Fidelity, but the image is awfully small at 2x compared to being able to scale 240p to 5x. Much appreciated for your help on this. I just need to find out how to customize GBIHF such that a separate custom file can be loaded that's perfectly suited for 240p (or 360p if you think that's better) for official component cables. Or if you'd be willing to make such a file and add it back into your official packages, that would make this a lot easier for my work!
Stremon
Posts: 23
Joined: Wed Feb 14, 2018 3:18 pm

Re: Game Boy Interface

Post by Stremon » Wed Jun 27, 2018 11:52 am

Hey Extrems,
Did you had any experience with controllers/adapters incompatibility while making GBI?
I recently bought an EMS Classic Linker N64 to be able to play with the Snes mini controller or a wii classic controller, but sadly the adapter isn't recognized at all.
It works perfectly in Swiss, GC games and other homebrew, but it stop working as soon as I launch GBI, both with enhancement enabled or disabled.
I guess GBI has a special behavior for the detection of different controllers like the GBA link cable and all, but is there a way to force GBI to stay in GC controller mode?
paulb_nl
Posts: 12
Joined: Sat May 26, 2018 7:20 pm

Re: Game Boy Interface

Post by paulb_nl » Wed Jun 27, 2018 1:29 pm

rezb1t wrote:
Wed Jun 20, 2018 6:55 pm

Wow this sounds really cool! Are your modifications posted anywhere? Would love to check out 360p on my OSSC as well, particularly via GBIHF.
The firmware has been posted here: https://shmups.system11.org/viewtopic.p ... 0#p1322960
FirebrandX wrote:
Wed Jun 27, 2018 4:46 am
Extrems wrote:
Tue Jun 26, 2018 3:49 pm
480p is a necessary "evil" because of GCVideo DVI. Disable progressive scan if you don't want it.

360p is arguably better than 240p for the OSSC.
Okay so how do I do that? I was able to calibrate a sharp profile for OSSC based on your 522P default package for High Fidelity, but the image is awfully small at 2x compared to being able to scale 240p to 5x. Much appreciated for your help on this. I just need to find out how to customize GBIHF such that a separate custom file can be loaded that's perfectly suited for 240p (or 360p if you think that's better) for official component cables. Or if you'd be willing to make such a file and add it back into your official packages, that would make this a lot easier for my work!
You can create a cli file with the parameters for 240p/360p. Swiss will autoload this cli file when it has the same name as the dol but if you do not want to use Swiss you can append the cli file to the dol binary. "copy /b gbihf.dol+gbihf.cli gbihf_cli.dol" .I haven't tried this myself.

Take a look at the gbihf-xrgb.cli file in the gbi zip file. It sets the format to custom-m (59.738Hz) and non-interlaced(240p). format ntsc is 59.83Hz and custom is 59.72Hz.

360p settings are posted here: viewtopic.php?p=41221#p41221
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Wed Jun 27, 2018 2:11 pm

Stremon wrote:
Wed Jun 27, 2018 11:52 am
Hey Extrems,
Did you had any experience with controllers/adapters incompatibility while making GBI?
I recently bought an EMS Classic Linker N64 to be able to play with the Snes mini controller or a wii classic controller, but sadly the adapter isn't recognized at all.
It works perfectly in Swiss, GC games and other homebrew, but it stop working as soon as I launch GBI, both with enhancement enabled or disabled.
I guess GBI has a special behavior for the detection of different controllers like the GBA link cable and all, but is there a way to force GBI to stay in GC controller mode?
--poll=0 should fix it.
Stremon
Posts: 23
Joined: Wed Feb 14, 2018 3:18 pm

Re: Game Boy Interface

Post by Stremon » Wed Jun 27, 2018 2:22 pm

Extrems wrote:
Wed Jun 27, 2018 2:11 pm
--poll=0 should fix it.
Indeed, it works perfectly! :D
Thanks, that's really nice ;)
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Tue Jul 03, 2018 6:02 pm

  • Updated DOL parameters.
For speedrunning edition:
  • Readded Open Source Scan Converter preset.
  • Disabled component video DAC oversampling.
For high-fidelity edition:
  • Added Open Source Scan Converter preset.
User avatar
Extrems
Posts: 1310
Joined: Tue Aug 17, 2010 10:40 pm
Location: Québec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Fri Jul 06, 2018 2:22 am

Post Reply