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 start.dol folder name on README.md #16
base: master
Are you sure you want to change the base?
Fix start.dol folder name on README.md #16
Changes from all commits
f0b86ff
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
CodesetStart.dol" 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.3.) You can now copy the contents of "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 you'll need
1.) 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 your first build
Note:
$PROJECTROOT
prefers 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, you 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
is where theStart.dol
you extracted is located. 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
.