mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 11:46:27 +00:00
MKDD Online add
This commit is contained in:
parent
97ac76f373
commit
b8ec8537e6
8 changed files with 66 additions and 5 deletions
Binary file not shown.
|
@ -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
|
|
@ -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
|
|
@ -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
|
BIN
Data/Extras/Mario Kart Double Dash Online [PAL Only]/xdelta3
Normal file
BIN
Data/Extras/Mario Kart Double Dash Online [PAL Only]/xdelta3
Normal file
Binary file not shown.
BIN
Data/Extras/Mario Kart Double Dash Online [PAL Only]/xdelta3.exe
Normal file
BIN
Data/Extras/Mario Kart Double Dash Online [PAL Only]/xdelta3.exe
Normal file
Binary file not shown.
|
@ -36,7 +36,7 @@ for %%F in (%iso_files%) do (
|
||||||
)
|
)
|
||||||
|
|
||||||
REM Copy files using xcopy
|
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"
|
"tools/wit" copy "temp" "..\Mario Party 8 (USA) [Extended Candy].wbfs"
|
||||||
rmdir /s /q temp
|
rmdir /s /q temp
|
||||||
|
|
|
@ -16,7 +16,7 @@ fi
|
||||||
# Iterate over each ISO or WBFS file and process it
|
# Iterate over each ISO or WBFS file and process it
|
||||||
for originalISO in $iso_files; do
|
for originalISO in $iso_files; do
|
||||||
echo ""
|
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"
|
cd "$(dirname "$0")/tools"
|
||||||
|
|
||||||
|
@ -26,12 +26,12 @@ for originalISO in $iso_files; do
|
||||||
wit extract "$originalISO" --dest=temp
|
wit extract "$originalISO" --dest=temp
|
||||||
|
|
||||||
if [ -d "temp/DATA" ]; then
|
if [ -d "temp/DATA" ]; then
|
||||||
cp -r "../mp8motion" "temp/DATA"
|
cp -r "../mp8candy" "temp/DATA"
|
||||||
else
|
else
|
||||||
cp -r "../mp8motion" "temp"
|
cp -r "../mp8candy" "temp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wit copy "temp" "../Mario Party 8 GC Controller.wbfs"
|
wit copy "temp" "../Mario Party 8 (USA) [Extended Candy].wbfs"
|
||||||
rm -rf temp
|
rm -rf temp
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue