KittyPBoxx / pokeemerald-net-demo

Demo of emerald network functions using a connection to a wii
MIT License
73 stars 4 forks source link

⚠️ This project has mostly been tested on dolphin, use on real hardware at your own risk. ⚠️

This project is in development. While it should be functional this version is only intended for use by developers. Feel free to contribute.

Emerald Net Demo

This project aims to add a network connection into Pokemon Emerald, using only official hardware. With some demos and a web server to test things.

Current Demos

Several features are included to showcase the network conectivity. These crrently include:

Network Diagram

sequenceDiagram
    participant 🎮 GBA
    participant 📺 WII
    participant 🌐 TCP SERVER
    🎮 GBA->>📺 WII: DOL-011 Cable
    Note over 🎮 GBA,📺 WII: (JOYBUS)
    📺 WII->>🌐 TCP SERVER: WIFI
    Note over 📺 WII,🌐 TCP SERVER: (TCP)
    🌐 TCP SERVER->>📺 WII: WIFI
    Note over 🌐 TCP SERVER,📺 WII: (TCP)
    📺 WII->>🎮 GBA: DOL-011 Cable
    Note over 📺 WII,🎮 GBA: (JOYBUS)

Requirements

There are two ways to get this project running:

- OR -

Software Components

There are 3 main components to this project:

You can download a zip of the latest releas build here https://github.com/KittyPBoxx/pokeemerald-net-demo/releases

Quick Start

1 - Get all the resources

See the 'requirements' section for all the software/hardware you can use. You also need the release zip which contains three programs.

On top of these you will need

2 - Patching Emerald

3 - Configure Dolphin

Configure the following settings

The easiest way to run the wii channel is just to drag and drop the 'pokecom-channel.dol' file into dolphin.

If you are running on a real wii, copy the whole PokecomChannel folder (including, the dol, icon.png and meta.xml) to the apps folder on your sd card and launch through homebrew

4 - Run the server

To locally host a server in windows double click on celioserver-win.exe or run it from the command line.

Once it is running you can go to the web ui by going to localhost:8081 in your web browser

The game server runs at localhost:9000 so dolphin should automatically be able to connect if they are running on the same PC

If you can't run a server yourself you can configure the wii channel to connect the the public test server 130.162.161.228:9000. Be aware this is a test environment an may go offline or be unstable.

5 - Play the game

Dev Guide

Dev info for each of the projects can be found their project folders:

Poke Emerald (GBA)

Celio Server (Web Server)

Pokecom Channel (Wii)