-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT: Add Pokémon Trading/Colosseum support #1007
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aemiii91
changed the title
FEAT: Add Pokemon Red/Blue/Yellow - Silver/Gold/Crystal Trading/Colesseum support
FEAT: Add Pokémon Red/Blue/Yellow - Silver/Gold/Crystal Trading/Colosseum support
Jul 17, 2023
Aemiii91
changed the title
FEAT: Add Pokémon Red/Blue/Yellow - Silver/Gold/Crystal Trading/Colosseum support
FEAT: Add Pokémon Trading/Colosseum support
Jul 17, 2023
Aemiii91
approved these changes
Jul 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIKI
Overview
This is a Hotspot/GLO function and does not currently support trading globally - it will work with friends nearby over the hotspot connection - I will work on Global another time
The first connection after a reboot may fail. (Looking into this)
Includes a recent compile of hostapd_cli and a change to hostapd.conf to add a ctrl_interface for hostapd to hook.
Adds Pokémon Trading/Battling over link for:
Red
<->Blue
<->Yellow
Gold
<->Silver
<->Crystal
I've tested this on:
Red
->Blue
Blue
->Yellow
Red
->Yellow
Crystal
->Crystal
There may be a delay for the host when leaving RetroArch - unsure of the cause and also present in Easy Netplay
For the host:
You must use GLO and press Y on the game you want to host (EG loading Pokémon Red will load the Pokémon Red save)
For the client
You must use GLO and press Y on the game you want
Notes
It does NOT matter which core is set to default in GLO - this process hardcodes TGB Dual for the trade. However! When you load into RA to play on your own you must take the saved location into consideration. They will be in the TGB Dual folder.
This means when you start the game through normal means and your core isn't set to TGB Dual you will not load these saves unless you move them (or just load TGB Dual).
You MUST have saves that match the identical name of the Rom
The save files must be located in:
/mnt/SDCARD/Saves/CurrentProfile/saves/TGB Dual
You MUST exit the trade room in Pokémon by going to Menu -> Reset (On Gold/silver/crystal just leave the room)
You MUST then save the game by going to Menu -> Save when you load back in
You MUST Exit RetroArch gracefully after (Menu -> Quit)
You MUST NOT interrupt the process after RetroArch exits.
You may have changed the settings in TGB Dual so you have 2 screens showing or you may not, the script should handle this so only 1 is showing (yours)
Logging available by touching .tmp_update/config/.logging and will be generated in ./tmp_update/logs
Test process
Preparation
/mnt/SDCARD/Saves/CurrentProfile/config/TGB Dual/TGB Dual.opt
file and take note of the contents (The script makes changes but reverts them afterwards)You'll currently have 20 seconds after starting the host to start the client. We can discuss this timeout.
Session Setup
The trade
Cleanup
/mnt/SDCARD/Saves/CurrentProfile/saves/TGB Dual
folder/mnt/SDCARD/Saves/CurrentProfile/config/TGB Dual/TGB Dual.opt
file contents have reverted (Stayed the same as they were at the start)Retry the process after a fresh restart with WIFI enabled in the preparation stage (Rather than disabling it)
All files generated by the script are intended to be cleaned apart from save backups, check save folders/rom folders for duplicates.