Skip to content
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

Load scenes via MxScn.dat #367

Merged
merged 7 commits into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Data/Sys/GameFiles/GALE01/MxDb.dat
Binary file not shown.
Binary file removed Data/Sys/GameFiles/GALE01/MxDt.dat
Binary file not shown.
Binary file added Data/Sys/GameFiles/GALE01/MxScn.dat
Binary file not shown.
1,803 changes: 33 additions & 1,770 deletions Data/Sys/GameSettings/GALE01r2.ini

Large diffs are not rendered by default.

1,803 changes: 33 additions & 1,770 deletions Data/Sys/GameSettings/GALJ01r2.ini

Large diffs are not rendered by default.

1,720 changes: 1,720 additions & 0 deletions Data/Sys/Slippi/InjectionLists/list_netplay-2.json

Large diffs are not rendered by default.

Binary file modified Data/Sys/bootloader.gct
Binary file not shown.
8 changes: 7 additions & 1 deletion Source/Core/Core/Slippi/SlippiGameFileLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ u32 SlippiGameFileLoader::LoadFile(std::string fileName, std::string &data)
}

std::string fileContents;
File::ReadFileToString(gameFilePath, fileContents);

// Don't read MxDt.dat because our Launcher may not have successfully deleted it and
// loading the old one from the file system would break m-ex based ISOs
if (fileName != "MxDt.dat")
{
File::ReadFileToString(gameFilePath, fileContents);
}

if (gameFilePath.substr(gameFilePath.length() - 5) == ".diff")
{
Expand Down