Page 46 of 73

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 6:55 pm
by rezb1t
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.

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 8:14 pm
by noodohs
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.

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 8:17 pm
by Weario
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?

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 8:26 pm
by noodohs
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

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 8:37 pm
by Weario
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?

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 8:43 pm
by noodohs
Pretty much.

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 8:45 pm
by Weario
Thanks for explaining! =)

Re: Game Boy Interface

Posted: Wed Jun 20, 2018 9:06 pm
by Extrems
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.

Re: Game Boy Interface

Posted: Fri Jun 22, 2018 6:13 pm
by noodohs
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.

Re: Game Boy Interface

Posted: Fri Jun 22, 2018 6:14 pm
by Extrems
It is a low pass filter, with a frequency cutoff of 14336 Hz.

Re: Game Boy Interface

Posted: Fri Jun 22, 2018 6:25 pm
by noodohs
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 :)

Re: Game Boy Interface

Posted: Fri Jun 22, 2018 6:28 pm
by Extrems
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.

Re: Game Boy Interface

Posted: Tue Jun 26, 2018 4:48 am
by Extrems
  • Improved analog sound emulation. (thanks Ace9921)
For speedrunning edition:
  • Merged vertical filter controls.

Re: Game Boy Interface

Posted: Tue Jun 26, 2018 3:38 pm
by FirebrandX
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?

Re: Game Boy Interface

Posted: Tue Jun 26, 2018 3:49 pm
by Extrems
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.

Re: Game Boy Interface

Posted: Tue Jun 26, 2018 6:24 pm
by claywilson95
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!

Re: Game Boy Interface

Posted: Tue Jun 26, 2018 7:03 pm
by Extrems
Yes, but it's better to use GCMM (which does work and originally was for GameCube).

Re: Game Boy Interface

Posted: Tue Jun 26, 2018 10:45 pm
by emu_kidid
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.

Re: Game Boy Interface

Posted: Wed Jun 27, 2018 4:46 am
by FirebrandX
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!

Re: Game Boy Interface

Posted: Wed Jun 27, 2018 11:52 am
by Stremon
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?

Re: Game Boy Interface

Posted: Wed Jun 27, 2018 1:29 pm
by paulb_nl
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

Re: Game Boy Interface

Posted: Wed Jun 27, 2018 2:11 pm
by Extrems
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.

Re: Game Boy Interface

Posted: Wed Jun 27, 2018 2:22 pm
by Stremon
Extrems wrote:
Wed Jun 27, 2018 2:11 pm
--poll=0 should fix it.
Indeed, it works perfectly! :D
Thanks, that's really nice ;)

Re: Game Boy Interface

Posted: Tue Jul 03, 2018 6:02 pm
by Extrems
  • 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.

Re: Game Boy Interface

Posted: Fri Jul 06, 2018 2:22 am
by Extrems