Skip to content

A collection of scripts and written code to emulate the Mobile GB service.

Notifications You must be signed in to change notification settings

Incineroar/MobileAdapterGB

Repository files navigation

We have moved to https://github.com/REONTeam for our later work; please visit the organisation page for up to date info!

MobileAdapterGB

A collection of scripts and written code to emulate the Mobile GB service.

Code is super WIP, but to use it:

  1. Drop the cgb folder and ALL OF ITS CONTENTS onto the root of a web server.
  2. Open mobilesystem.py with a text editor and edit the following: Line 11:
dns_server_replacement = {
	"gameboy.datacenter.ne.jp" : '127.0.0.1', # Change this IP with the IP of your server
	"mail.gbaa.dion.ne.jp" : b'127.0.0.1',
	"pop.gbaa.dion.ne.jp" : b'127.0.0.1'
}
  1. Open the Gameboy emulator BGB and open a compatible ROM (For the intents of this repo, Pocket Monsters Crystal (J) is supported currently, as well as the Mobile Trainer for setting up the emulated device), then right-click to get the menu, go to Link, then Listen
  2. Open the mobilesystem.py script in a console window and it should connect immediately. BGB will show (linked) in the title if it worked.
  3. Do whatever. For the current codebase, obtain the Egg Ticket from the old man in the daycare, then proceed to the Pokemon Communications Center (PCC) in Goldenrod City. Head to the lady to the right of the healing machine, and she should accept your ticket and allow you to connect online. Video here for demonstration: https://www.youtube.com/watch?v=LKhiwaFff28

If you're having issues, it's still a WIP so don't worry too much on this, at least yet ;) Heads up! If you're not able to connect you may have to first set up the Mobile Adapter config file if it doesn't exist or is blank. Games WILL NOT WORK without a configured Mobile Adapter.

See this thread on Glitch City Forums for more information on the Mobile Adapter GB, including uses, tech info, and more! https://forums.glitchcity.info/index.php?topic=7509.0

Notes

Future-proof this by adding the following to your Apache httpd.conf:

BrowserMatch (CGB-) force-response-1.0 downgrade-1.0

This will force Apache to serve Game Boy Color games with HTTP 1.0 instead of 1.1. This may also work with GBA by replacing CGB with AGB, but this needs further testing to be verified.

Image works with Mobile Trainer web browser, it supports the img src="" tag for parsing the images.

The maxum allowed image size is 144x96, the images MUST be saved as Bitmap/1BPP format.

About

A collection of scripts and written code to emulate the Mobile GB service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published