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.
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
Fix instructions #27
base: master
Are you sure you want to change the base?
Fix instructions #27
Changes from all commits
a81d6a4
f3906bf
e9c3d59
de7fc1b
826fe86
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Training Mode - A Melee Modpack for Practicing Tech
Training Mode is a modpack for Super Smash Bros. Melee that aims to streamline practice by providing pre-made individual training scenarios. This mod utilizes the event mode present in Super Smash Bros. Melee and reworks them to focus around specific techniques, complete with automatic savestate functionality to allow for rapid-fire practice. Some events have included video tutorials playable in-game (ISO version only) to teach the player about the tech and how to perform it. In addition to these events, Training Mode also includes onscreen text displays which provide you with information otherwise unavailable to you mid-game.
How To Compile the ISO on Windows
1.) Fizzi36 wrote a program to mass assemble .asm files, it is included in the "Build TM Codeset" folder in this repository. All you need to do is launch the "Build Training Mode Codeset.bat" file and the codes.gct file will be generated and placed in the "Additional ISO Files" folder. This folder contains all the files you need to place into the ISO to run Training Mode minus one file, the Start.dol.
2.) The Start.dol is the game's executable and contains copyrighted code, so for that reason I cannot distribute it. However, if you manage to extract the Start.dol file out of your own ISO file you can patch the dol file to load the codeset created prior. Look for the file named "Drag Melee v1.02 Start.dol Here.bat" located in the "Build TM Codeset" folder and drag your extracted 1.02 NTSC Start.dol file onto the .bat file. The modified Start.dol will also be place in the "Additional ISO Files" folder.
Option 1. Use the training pack builder (recommended)
1.) Download the training pack builder, extract the zip, open the
TM ISO Builder
folder then open the folder that represents your operating system.2.)
(Windows) Find your v1.02 Melee.iso file and click and drag your v1.02 Melee.iso file onto the
Drag Melee v1.02 Here.bat
as if it was a folder that you were putting a file into. A terminal window will come up, informing you that this build process will take a couple minutes. (Mac/Linux) Follow the instructions in the .txt file.3.) Move your newly generated
Training Mode v3.0 Alpha 7.2.iso
file into the same folder that your melee ISO was in (should be the folder Dolphin looks at for ISO files).4.) Refresh dolphin to see the new Training Pack in your list of games on Dolphin.
Option 2. Build the ISO with GCRebuilder
1.) Download this repository, open the
Build TM Codeset
folder and run theBuild Training Mode Codeset.bat
file. This will generate a file calledcodes.gct
in theAdditional ISO Files
folder. Thanks to Fizzi36 for this tool2.) Due to copyright issues, I cannot post the necessary Melee v1.02
Start.dol
file for this next step - you must either find or extract your ownStart.dol
file. Once you have yourStart.dol
file, open theBuild TM Start.dol
folder. Click and drag yourStart.dol
file onto theDrag Melee v1.02 Start.dol Here.bat
as if it was a folder that you were putting a file into. A terminal window will appear saying that your newly created files should be available in theAdditional ISO Files
folder.3.)
You can nowDownload GCRebuilder and copy the contents of"Additional ISO Files"Additional ISO Files
to an NTSC 1.02 Melee root folder and rebuild the ISO. I recommend using GCR.How To Compile The ISO on MacOS
Note: I haven't tested this on Linux.
Things
yYou'llnNeed1.) Install brew
2.) Run
brew install go wine xdelta
. This will installwine
for running GCR,go
for building our mass assembler, andxdelta
for patching the .iso.3.) Download a copy of GCRebuilder
4.) Clone or download the JLaferri/gecko repo
Before
yYourfFirstbBuildNote:
$PROJECTROOT
prefersrefers to the root of this project1.)
cd
into wherever you downloaded the JLaferri/gecko repo (e.x~/Downloads/gecko
)2.) Run
go build
. This will generate a an executable calledgecko
. Place that executable in the$PROJECTROOT/Build TM Codeset/mac
directory of this project3.) You'll need the
Start.dol
file from your Melee iso, this is wherewine
comes in handy. Runwine $PATH_TO_GCREBUILDER.exe
, GCRebuilder should open its own window, from there you can extract yourStart.dol
. Your Melee iso md5 hash should be equal to 0e63d4223b01d9aba596259dc155a174.Building
1.) cd into
$PROJECTROOT/Build TM Codeset/mac
, and run./gecko build
. This will mass assemble the.asm
files in the$PROJECTDIR/ASM
directory,.yYou should end up with acodes.gct
file in$PROJECTDIR/Additional ISO files
.Example output:
2.) Run
./modifyStartDol.sh $PATH_TO_YOUR_START.DOL
, where$PATH_TO_YOUR_START.DOL
iswhere theStart.dol
you extracted is locatedthe location of theStart.dol
file you extracted. This will generate a newStart.dol
at$PROJECTROOT/Additional ISO Files/Start.dol
3.) You can now copy the contents of
$PROJECTROOT/Additional ISO Files
to an NTSC 1.02 Melee root folder and rebuild the ISO, using GCRebuilder as we did in Step 3 in Before your first build.Common Errors
1.) When running GCRebuilder with wine it crashes with dyld: Symbol not found: _gliCreateContextWithShared
A) this solves the issue.
2.) xdelta3: target window checksum mismatch: XD3_INVALID_INPUT
A) Your
Start.dol
you extracted from Melee isn't correct. Make sure your .iso has a md5 hash equal to0e63d4223b01d9aba596259dc155a174
.