Game Boy Interface

Release threads for homebrew & utilities only
GoddessMaria
Posts: 2
Joined: Wed Apr 18, 2018 3:48 pm

Re: Game Boy Interface

Post by GoddessMaria » Wed Apr 18, 2018 4:25 pm

Hello!

First off, I want to say thank you for making GBI! For those that make GB/GBC/GBA TASes, it is a lifesaver to have a way to verify their runs on console. The other features and improvements are also lovely. As a Judge on TASVideos, it's very helpful to have a way to have the accessibility of console verifications for judging a submission. Such a case was the Pokémon Blue TAS by gifvex as well as the one from luckytyphlosion.

That said, I have a small question. Judging from the file extension of the movie files on the first post (also in the extras download) and the txt file contained therein, how would I go about converting them for playback on GBI?

Thanks!
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Wed Apr 18, 2018 5:00 pm

It's complicated.

For GB/GBC, you need to extract input timestamps out of an emulator, and use this conversion formula:

Code: Select all

(cycles + 35112 * 14 - 228 * 90 - 512) / 512
For GBA, incrementing cycles by 280896 per-frame is sufficient.

Code: Select all

(cycles - 83776 - 4096) / 4096
For GBPP-verified movies, use this formula:

Code: Select all

(cycles - 4096) / 4096
L/R button codes are swapped on the Game Boy Player. GZip compression is optional.
GoddessMaria
Posts: 2
Joined: Wed Apr 18, 2018 3:48 pm

Re: Game Boy Interface

Post by GoddessMaria » Wed Apr 18, 2018 10:25 pm

So when making a movie via Bizhawk (Gambatte core for GB/GBC and mGBA core for GBA), the input timestamps would be the Input Log? Also are the cycles referring to the frame count from power-on (with GBA Bios screen) or is it something else entirely?

I do apologize and thank you for taking up your time to answer my questions! I understand that you likely have more important things that would take higher priority than this. :3
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Wed Apr 18, 2018 10:30 pm

It refers to the CPU cycle count.
FirebrandX
Posts: 18
Joined: Tue May 17, 2016 4:36 am

Re: Game Boy Interface

Post by FirebrandX » Thu Apr 19, 2018 2:01 pm

Just wanted to post an update in that I downloaded the latest package and tried again on the regular "gbihf.dol" driver and was able to dial in perfect pixels on the OSSC this time around. New settings:

gbihf.dol:

Video LPF = 35 MHz (still the perfect setting for official component cables)

Line4X mode = 320x240 optimal

Sync Opt.:

Analog sync LPF = 2.5 MHz (max)

Advance timing (320x240):

H. samplerate = 433
H. synclen = 31
H. backporch = 54
H. active = 320 (to give more standard footprint on the output)


Sampling opt.:

Sampling Phase = 168 degrees (this will differ from console to console).

Edit: It's still note quite as stable on the left and right edge of the screen as can be dialed in with the "gbihf-gcvideox" driver. On that one, I did a color sample from each side under the same settings as above, and found that a sampling phase of 225 gave me almost perfect edge-to-edge results.
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Fri Apr 20, 2018 4:23 am

For memory card boot disc:
  • Added SD card support.
  • Fixed compatibility with CLI append hack.
Home Bros. was similarly updated.
Stremon
Posts: 23
Joined: Wed Feb 14, 2018 3:18 pm

Re: Game Boy Interface

Post by Stremon » Sat Apr 21, 2018 1:57 am

Hey Extrems,

I got a question not related to the rumble function this time :P
Your multiboot works really well to dump my GBA games rom and save, but is there a way to dump GB/GBC roms the same way ?
I've been looking around but couldn't find anything relevant.

Thank you :)
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Sat Apr 21, 2018 3:05 am

I wish, but a cartridge protocol difference make this impossible.

Dumping using the N64 Controller + Transfer Pak is still on my bucket list.
Stremon
Posts: 23
Joined: Wed Feb 14, 2018 3:18 pm

Re: Game Boy Interface

Post by Stremon » Sat Apr 21, 2018 4:46 am

Extrems wrote:I wish, but a cartridge protocol difference make this impossible.

Dumping using the N64 Controller + Transfer Pak is still on my bucket list.
I see, thanks for the information ;)
I guess using a GC-GBA cable and the GB/GBC game inside the GBA would be the same?
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Sat Apr 21, 2018 4:50 am

unluckyeddie
Posts: 4
Joined: Mon Apr 23, 2018 11:43 pm

Re: Game Boy Interface

Post by unluckyeddie » Mon Apr 23, 2018 11:48 pm

I need some help, I've been looking everywhere and I apologize if the answer is already in the thread. I'm trying to use my GBA as a controller and it appears that R is mapped to Start and L is mapped to select. I'm using the latest release with the framemeister .dol. Again I'm sorry if this was already answered.
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Tue Apr 24, 2018 1:10 am

You're likely using control type B. The Game Boy Player Start-up Disc's controller setting carry over.
unluckyeddie
Posts: 4
Joined: Mon Apr 23, 2018 11:43 pm

Re: Game Boy Interface

Post by unluckyeddie » Tue Apr 24, 2018 1:25 am

Thank you so much for replying! I don't own a Gameboy Player Disc and I've haven't changed any settings. I extracted to the SD Card and I just selected "gbisr-xrgb" and it boots up. I don't have an opportunity to change any settings or whatnot.
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Tue Apr 24, 2018 1:30 am

You need to add "--control=0" to the CLI file.
unluckyeddie
Posts: 4
Joined: Mon Apr 23, 2018 11:43 pm

Re: Game Boy Interface

Post by unluckyeddie » Tue Apr 24, 2018 1:48 am

Thank you so much for taking the time out to help me. Your software is incredible, thank you again! I can't wait to play some Pokémon with my little one.
sekaichu
Posts: 2
Joined: Wed Apr 04, 2018 10:18 am

Re: Game Boy Interface

Post by sekaichu » Wed May 02, 2018 4:08 pm

Can you record a movie in the Standard Edition? If so, how?
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Wed May 02, 2018 4:15 pm

You pass "--movie-record" then press reset to save. It's saved in the GBI folder as "XXXXXXXX.TXT" incrementing.
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Sat May 05, 2018 4:50 am

For speedrunning edition:
  • Added Super Game Boy color palette setting.
For high-fidelity edition:
  • Added Super Game Boy color palette setting.
I ended up half-assing this feature. Press Left + B in the GBC BIOS for proper application. Blame Woozle.
d3ltax55
Posts: 2
Joined: Sun May 06, 2018 1:07 am

Re: Game Boy Interface

Post by d3ltax55 » Sun May 06, 2018 1:13 am

What is the command to put in DCP for zoom? I want to use GBi ull and found out the settings are all in the .DCP file. What are the command to put zoom? WHat are all the commands actually.
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Sun May 06, 2018 1:48 am

First off, GBI ULL no longer exists, and didn't support zoom.
Second, all arguments are listed in the opening post.
d3ltax55
Posts: 2
Joined: Sun May 06, 2018 1:07 am

Re: Game Boy Interface

Post by d3ltax55 » Sun May 06, 2018 3:11 am

OK sorry. my mistake. I had a old version on this sd card. played a bit then forgot about it. I want to play more of it now. What I did is get the new files and just copyed them over without looking at them lol. That is why i still have it. gbisr-xrgb is the one to boot right? I got a framemister with s-video cables.
unluckyeddie
Posts: 4
Joined: Mon Apr 23, 2018 11:43 pm

Re: Game Boy Interface

Post by unluckyeddie » Sun May 06, 2018 12:59 pm

Yes, and the gbisr-xrgb.cli file is where you add the agruements for additional features.
chrinfinity
Posts: 10
Joined: Thu May 10, 2018 8:26 am

Re: Game Boy Interface

Post by chrinfinity » Wed May 16, 2018 12:43 am

Is there anywhere one could go to find release notes for GBI?
User avatar
Extrems
Posts: 617
Joined: Tue Aug 17, 2010 10:40 pm
Location: Quebec, Canada
Contact:

Re: Game Boy Interface

Post by Extrems » Wed May 16, 2018 1:18 am

They're scattered over the thread, as seen above. They'll be in one place once it's eventually ported to the GC-Forever wiki.
Post Reply