MKDD Online add

This commit is contained in:
Nayla Hanegan 2024-06-24 11:25:50 -04:00
commit b8ec8537e6
8 changed files with 66 additions and 5 deletions

View file

@ -0,0 +1,29 @@
@echo off
setlocal enabledelayedexpansion
REM Initialize the iso_file variable
set "iso_file="
REM Get the first ISO file in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_file=%%~F"
goto :found_iso
)
:not_found
echo.
echo No ISO files found in the same directory as the script.
echo Place the Mario Kart Double Dash (PAL) ISO in the script's directory and run it again.
echo.
pause
exit /b 0
:found_iso
echo.
echo Given "%iso_file%"
xdelta3.exe -d -s "%iso_file%" data.xdelta3 "Mario Kart Double Dash (PAL) [Online V2].iso"
echo.
echo Press Enter to exit. Remember to enable SP1 Broadband HLE Emulation.
pause
exit /b 0

View file

@ -0,0 +1,27 @@
#!/bin/bash
# Get a list of ISO files in the same directory as the script
iso_files=$(find "$(dirname "$0")" -maxdepth 1 -type f -iname "*.iso")
# Check if there are no ISO files
if [ -z "$iso_files" ]; then
echo ""
echo "No ISO files found in the same directory as the script."
echo "Place the Mario Kart Double Dash (PAL) ISO in the script's directory and run it again."
echo ""
read -p "Press Enter to exit..."
exit 0
fi
# Iterate over each ISO file and process it
for originalISO in $iso_files; do
echo ""
echo "Given \"$originalISO\""
xdelta3 -d -s "$originalISO" data.xdelta3 "Mario Kart Double Dash (PAL) [Online V2].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -0,0 +1,5 @@
Place the Mario Kart Double Dash (PAL) ISO in the script's directory and run the patch script to patch it.
This patch will convert your game to the online modified version.
Please also enable the SP1 Broadband Adapter HLE Setting in Dolphin's Settings > GameCube

View file

@ -36,7 +36,7 @@ for %%F in (%iso_files%) do (
)
REM Copy files using xcopy
xcopy "mp8motion" "!dest_dir!" /s /y /e
xcopy "mp8candy" "!dest_dir!" /s /y /e
"tools/wit" copy "temp" "..\Mario Party 8 (USA) [Extended Candy].wbfs"
rmdir /s /q temp

View file

@ -16,7 +16,7 @@ fi
# Iterate over each ISO or WBFS file and process it
for originalISO in $iso_files; do
echo ""
echo "Constructing the Mario Party 8 GC Controller WBFS for \"$originalISO\". Please stand by...."
echo "Constructing the Mario Party 8 Extended Candy WBFS for \"$originalISO\". Please stand by...."
cd "$(dirname "$0")/tools"
@ -26,12 +26,12 @@ for originalISO in $iso_files; do
wit extract "$originalISO" --dest=temp
if [ -d "temp/DATA" ]; then
cp -r "../mp8motion" "temp/DATA"
cp -r "../mp8candy" "temp/DATA"
else
cp -r "../mp8motion" "temp"
cp -r "../mp8candy" "temp"
fi
wit copy "temp" "../Mario Party 8 GC Controller.wbfs"
wit copy "temp" "../Mario Party 8 (USA) [Extended Candy].wbfs"
rm -rf temp
echo ""