extended tables

This commit is contained in:
Nayla Hanegan 2024-06-10 20:58:15 -04:00
commit 50790018a6
118 changed files with 232330 additions and 121274 deletions

View file

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd"[]>
<datafile>
<header>
<name>Custom Dat</name>
<description>Created by NKit</description>
<category>Games</category>
<version>1</version>
<date>20180614</date>
<author>You</author>
<email>-not specified-</email>
<homepage>-not specified-</homepage>
<url>-not specified-</url>
<comment>-not specified-</comment>
<clrmamepro />
</header>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd"[]>
<datafile>
<header>
<name>Custom Dat</name>
<description>Created by NKit</description>
<category>Games</category>
<version>1</version>
<date>20180614</date>
<author>You</author>
<email>-not specified-</email>
<homepage>-not specified-</homepage>
<url>-not specified-</url>
<comment>-not specified-</comment>
<clrmamepro />
</header>
</datafile>

View file

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd"[]>
<datafile>
<header>
<name>Custom Dat</name>
<description>Created by NKit</description>
<category>Games</category>
<version>1</version>
<date>20180614</date>
<author>You</author>
<email>-not specified-</email>
<homepage>-not specified-</homepage>
<url>-not specified-</url>
<comment>-not specified-</comment>
<clrmamepro />
</header>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd"[]>
<datafile>
<header>
<name>Custom Dat</name>
<description>Created by NKit</description>
<category>Games</category>
<version>1</version>
<date>20180614</date>
<author>You</author>
<email>-not specified-</email>
<homepage>-not specified-</homepage>
<url>-not specified-</url>
<comment>-not specified-</comment>
<clrmamepro />
</header>
</datafile>

View file

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd"[]>
<datafile>
<header>
<name> REPLACE THIS FILE WITH THE WII REDUMP.DAT </name>
<description>Created by NKit</description>
<category>Games</category>
<version>1</version>
<date>20180614</date>
<author>You</author>
<email>-not specified-</email>
<homepage>-not specified-</homepage>
<url>-not specified-</url>
<comment>-not specified-</comment>
<clrmamepro />
</header>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd"[]>
<datafile>
<header>
<name> REPLACE THIS FILE WITH THE WII REDUMP.DAT </name>
<description>Created by NKit</description>
<category>Games</category>
<version>1</version>
<date>20180614</date>
<author>You</author>
<email>-not specified-</email>
<homepage>-not specified-</homepage>
<url>-not specified-</url>
<comment>-not specified-</comment>
<clrmamepro />
</header>
</datafile>

File diff suppressed because one or more lines are too long

View file

@ -1,84 +1,84 @@
- - - - - -__- - -.- - - -.- - -.- - -.- - \|/.- - -.- - -.-__- -.- - - -
. . ___/ |__ . __ . . . . . --O--. __ . ___/ | _____ . .
\__ + \ ___/ |__ __ . __ /|\___/ |__ \__ |/ + / .
. . / | + \\__ \ ___/ |__.___/ |__ \__ \ ./ | / .
. /+ | \/ _| \\__ \\__ \ / | \/ + + /_ .
. / |+ \ \_ \/ | \/ | \/ | \ | \ . .
. / + | + \_ | \_ | \_ | \_ | \_+ | + \ .
. _/ + |_______/ |______/ |_____/ ______/ _______/ | \_ .
.\ + |==\______|===\_____|==\_____|==\______|==\______|+ + /
- - \_______| - - - - - - - Proudly Presents - - - - - - - |_______/ - -
NKit - Tools to Recover / Preserve Wii and GameCube Disc Images
.
. . .
Overview
----------------------------------------------------------------------------
NKit is a Nintendo ToolKit that can Recover and Preserve Wii and GameCube
disc images
Recovery is the ability to rebuild source images to match the known good
images verified by Redump
Preserve is the ability to shrink any image and convert it back to the
source iso
NKit can convert to ISO and NKit format. The NKit format is designed to
shrink an image to it's smallest while ensuring it can be restored back to
the original source data. NKit images are also playable by Dolphin
Read the Docs :) - https://wiki.gbatemp.net/wiki/NKit
.
. . .
Features
----------------------------------------------------------------------------
- Recovery and Preservation of GameCube and Wii images
- NKit Format (smallest format, Dolphin compatible, GC is h/w compatible)
- GC NKit format aligns audio and tgc files to 32k for playability
- Wii NKit format removes hashes and encryption (Dolphin Compatible)
- Reusable library for use in other projects
- Test Mode
- Summary log of all conversions
- Rename images that match Dat file entries to a configurable mask
- Supports 100% of Redump images (Unlicensed, All Regions, Multi Disc etc)
- Scrubbed and Hacked preservation support
Formats
- GCZ support
- ISO.DEC read support
- WBFS read support
- ISO support
- RVT-R Wii ISO read support
- NKit Format support (smallest format and Dolphin compatible)
- Read the above images from Rar/Zip/7zip etc
Recovery Abilities
- Insert missing Wii Update (inc rare extra data), Channel / VC partitions
- Replace Brickblocked Update partitions
- Auto fixes modified disc headers (where the Data header remains intact)
- Fixes rare corrupt Wii partition table (caused by WBM)
- Fixes scrubbed trailing file 0's
- Fixes truncated Wii images (where the Data partition is intact)
- Fixes slightly overdumped images (from descramble tools)
- Fixes Wii Data partitions moved before 0xF800000 to save space
- Fixes compacted GC images
- Fixes moved and reordered GC files
- Fixes modified GC headers (inc. title, region hacks)
- Fixes mod chip modified GC apploaders
- Fixes GC images with non conformant junk
- Fixes modified Wii region and ratings
- Support for GC images with junk not generated with the image ID
.
. . .
Requirements
- Windows | Linux | Mac
- .Net or Mono 4.6.1 (Will be ported to dotnet core 3.0 soon)
- Wine for Apps under Linux and Mac
.
. . .
- - - - - -__- - -.- - - -.- - -.- - -.- - \|/.- - -.- - -.-__- -.- - - -
. . ___/ |__ . __ . . . . . --O--. __ . ___/ | _____ . .
\__ + \ ___/ |__ __ . __ /|\___/ |__ \__ |/ + / .
. . / | + \\__ \ ___/ |__.___/ |__ \__ \ ./ | / .
. /+ | \/ _| \\__ \\__ \ / | \/ + + /_ .
. / |+ \ \_ \/ | \/ | \/ | \ | \ . .
. / + | + \_ | \_ | \_ | \_ | \_+ | + \ .
. _/ + |_______/ |______/ |_____/ ______/ _______/ | \_ .
.\ + |==\______|===\_____|==\_____|==\______|==\______|+ + /
- - \_______| - - - - - - - Proudly Presents - - - - - - - |_______/ - -
NKit - Tools to Recover / Preserve Wii and GameCube Disc Images
.
. . .
Overview
----------------------------------------------------------------------------
NKit is a Nintendo ToolKit that can Recover and Preserve Wii and GameCube
disc images
Recovery is the ability to rebuild source images to match the known good
images verified by Redump
Preserve is the ability to shrink any image and convert it back to the
source iso
NKit can convert to ISO and NKit format. The NKit format is designed to
shrink an image to it's smallest while ensuring it can be restored back to
the original source data. NKit images are also playable by Dolphin
Read the Docs :) - https://wiki.gbatemp.net/wiki/NKit
.
. . .
Features
----------------------------------------------------------------------------
- Recovery and Preservation of GameCube and Wii images
- NKit Format (smallest format, Dolphin compatible, GC is h/w compatible)
- GC NKit format aligns audio and tgc files to 32k for playability
- Wii NKit format removes hashes and encryption (Dolphin Compatible)
- Reusable library for use in other projects
- Test Mode
- Summary log of all conversions
- Rename images that match Dat file entries to a configurable mask
- Supports 100% of Redump images (Unlicensed, All Regions, Multi Disc etc)
- Scrubbed and Hacked preservation support
Formats
- GCZ support
- ISO.DEC read support
- WBFS read support
- ISO support
- RVT-R Wii ISO read support
- NKit Format support (smallest format and Dolphin compatible)
- Read the above images from Rar/Zip/7zip etc
Recovery Abilities
- Insert missing Wii Update (inc rare extra data), Channel / VC partitions
- Replace Brickblocked Update partitions
- Auto fixes modified disc headers (where the Data header remains intact)
- Fixes rare corrupt Wii partition table (caused by WBM)
- Fixes scrubbed trailing file 0's
- Fixes truncated Wii images (where the Data partition is intact)
- Fixes slightly overdumped images (from descramble tools)
- Fixes Wii Data partitions moved before 0xF800000 to save space
- Fixes compacted GC images
- Fixes moved and reordered GC files
- Fixes modified GC headers (inc. title, region hacks)
- Fixes mod chip modified GC apploaders
- Fixes GC images with non conformant junk
- Fixes modified Wii region and ratings
- Support for GC images with junk not generated with the image ID
.
. . .
Requirements
- Windows | Linux | Mac
- .Net or Mono 4.6.1 (Will be ported to dotnet core 3.0 soon)
- Wine for Apps under Linux and Mac
.
. . .

View file

@ -1,30 +1,29 @@
@echo off
setlocal enabledelayedexpansion
REM Get a list of ISO files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! "%%F""
)
REM Check if there are no ISO files
if not defined iso_files (
echo.
echo No ISO files found in the same directory as the script.
echo Place the Mario Party 4 (USA) (v1.00) ISO in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO file and process it
for %%I in (%iso_files%) do (
echo.
echo Given "%%~I"
xdelta3.exe -d -s "%%~I" data.xdelta3 "Mario Party 4 (USA) (v1.01).iso"
echo Press Enter to exit.
set /p "=<" NUL
)
echo.
pause
@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 Party 4 (USA) (v1.00) 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 Party 4 (USA) (v1.01).iso"
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -1,27 +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 Party 4 (USA) (v1.00) 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 Party 4 (USA) (v1.01).iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
#!/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 Party 4 (USA) (v1.00) 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 Party 4 (USA) (v1.01).iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -1 +1,3 @@
Place the Mario Party 4 (USA) (v1.00) ISO in the script's directory and run the patch script to patch it.
Place the Mario Party 4 (USA) (v1.00) ISO in the script's directory and run the patch script to patch it.
This patch will convert your game from a v1.00 rom to a v1.01 rom.

View file

@ -1,30 +1,29 @@
@echo off
setlocal enabledelayedexpansion
REM Get a list of ISO files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! "%%F""
)
REM Check if there are no ISO files
if not defined iso_files (
echo.
echo No ISO files found in the same directory as the script.
echo Place the Mario Party 4 (USA) (v1.01) ISO in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO file and process it
for %%I in (%iso_files%) do (
echo.
echo Given "%%~I"
xdelta3.exe -d -s "%%~I" data.xdelta3 "Mario Party 4 (USA) [Widescreen].iso"
echo Press Enter to exit.
set /p "=<" NUL
)
echo.
pause
@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 Party 4 (USA) (v1.01) 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 Party 4 (USA) [Widescreen].iso"
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -1,27 +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 Party 4 (USA) (v1.01) 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 Party 4 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0
#!/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 Party 4 (USA) (v1.01) 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 Party 4 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -1 +1,3 @@
Place the Mario Party 4 (USA) (v1.01) ISO in the script's directory and run the patch script to patch it.
Place the Mario Party 4 (USA) (v1.01) ISO in the script's directory and run the patch script to patch it.
This patch will convert your game to a widescreen version.

View file

@ -1,30 +1,29 @@
@echo off
setlocal enabledelayedexpansion
REM Get a list of ISO files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! "%%F""
)
REM Check if there are no ISO files
if not defined iso_files (
echo.
echo No ISO files found in the same directory as the script.
echo Place the Mario Party 5 (USA) ISO in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO file and process it
for %%I in (%iso_files%) do (
echo.
echo Given "%%~I"
xdelta3.exe -d -s "%%~I" data.xdelta3 "Mario Party 5 with Shops.iso"
echo Press Enter to exit.
set /p "=<" NUL
)
echo.
pause
@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 Party 5 (USA) 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 Party 5 with Shops.iso"
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -1,27 +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 Party 5 (USA) 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 Party 5 With Shops.iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0
#!/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 Party 5 (USA) 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 Party 5 With Shops.iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -1,4 +1,6 @@
Place the Mario Party 5 (USA) ISO in the script's directory and run the patch script to patch it.
Refer to this list for descriptions of capsules:
Place the Mario Party 5 (USA) ISO in the script's directory and run the patch script to patch it.
This patch will convert your game to a version that adds shops.
Refer to this list for descriptions of capsules:
https://www.mariowiki.com/Mario_Party_5#Capsules

View file

@ -1,30 +1,29 @@
@echo off
setlocal enabledelayedexpansion
REM Get a list of ISO files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! "%%F""
)
REM Check if there are no ISO files
if not defined iso_files (
echo.
echo No ISO files found in the same directory as the script.
echo Place the Mario Party 5 (USA) ISO in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO file and process it
for %%I in (%iso_files%) do (
echo.
echo Given "%%~I"
xdelta3.exe -d -s "%%~I" data.xdelta3 "Mario Party 5 [Widescreen].iso"
echo Press Enter to exit.
set /p "=<" NUL
)
echo.
pause
@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 Party 5 (USA) 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 Party 5 [Widescreen].iso"
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -1,27 +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 Party 5 (USA) 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 Party 5 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
#!/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 Party 5 (USA) 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 Party 5 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -1 +1,3 @@
Place the Mario Party 5 (USA) ISO in the script's directory and run the patch script to patch it.
Place the Mario Party 5 (USA) ISO in the script's directory and run the patch script to patch it.
This patch will convert your game to a widescreen version.

View file

@ -1,30 +1,29 @@
@echo off
setlocal enabledelayedexpansion
REM Get a list of ISO files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! "%%F""
)
REM Check if there are no ISO files
if not defined iso_files (
echo.
echo No ISO files found in the same directory as the script.
echo Place the Mario Party 6 (USA) ISO in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO file and process it
for %%I in (%iso_files%) do (
echo.
echo Given "%%~I"
xdelta3.exe -d -s "%%~I" data.xdelta3 "Mario Party 6 [Widescreen].iso"
echo Press Enter to exit.
set /p "=<" NUL
)
echo.
pause
@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 Party 6 (USA) 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 Party 6 [Widescreen].iso"
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -1,27 +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 Party 6 (USA) 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 Party 6 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
#!/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 Party 6 (USA) 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 Party 6 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -1 +1,3 @@
Place the Mario Party 6 (USA) ISO in the script's directory and run the patch script to patch it.
Place the Mario Party 6 (USA) ISO in the script's directory and run the patch script to patch it.
This patch will convert your game to a widescreen version.

View file

@ -1,30 +1,29 @@
@echo off
setlocal enabledelayedexpansion
REM Get a list of ISO files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! "%%F""
)
REM Check if there are no ISO files
if not defined iso_files (
echo.
echo No ISO files found in the same directory as the script.
echo Place the Mario Party 7 (USA) ISO in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO file and process it
for %%I in (%iso_files%) do (
echo.
echo Given "%%~I"
xdelta3.exe -d -s "%%~I" data.xdelta3 "Mario Party 7 [Widescreen].iso"
echo Press Enter to exit.
set /p "=<" NUL
)
echo.
pause
@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 Party 7 (USA) 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 Party 7 [Widescreen].iso"
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -1,27 +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 Party 7 (USA) (v1.02) 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 Party 7 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
#!/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 Party 7 (USA) (v1.02) 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 Party 7 (USA) [Widescreen].iso"
echo "Press Enter to exit."
read -p ""
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -1 +1,3 @@
Place the Mario Party 7 (USA) (v1.02) ISO in the script's directory and run the patch script to patch it.
Place the Mario Party 7 (USA) (v1.02) ISO in the script's directory and run the patch script to patch it.
This patch will convert your game to a widescreen version.

View file

@ -0,0 +1,44 @@
@echo off
setlocal enabledelayedexpansion
REM Initialize the iso_files variable
set "iso_files="
REM Get a list of ISO and WBFS files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! \"%%~F\""
)
for %%F in ("%~dp0*.wbfs") do (
set "iso_files=!iso_files! \"%%~F\""
)
REM Check if there are no ISO or WBFS files
if not defined iso_files (
echo.
echo No ISO or WBFS files found in the same directory as the script.
echo Place the Mario Party 8 (USA) (Revision 2) ISO or WBFS in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO or WBFS file and process it
for %%I in (!iso_files!) do (
echo.
echo Given %%~I
wit extract %%~I --dest=temp
IF exist "temp\DATA" (
xcopy "..\mp8candy" "temp\DATA" /s /y /e
) ELSE (
xcopy "..\mp8candy" "temp" /s /y /e
)
wit copy "temp" "..\Mario Party 8 (USA) [Extended Candy].wbfs"
rmdir /s /q temp
echo Press Enter to continue.
pause
)
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -0,0 +1,43 @@
#!/bin/bash
# Get a list of ISO and WBFS files in the same directory as the script
iso_files=$(find "$(dirname "$0")" -maxdepth 1 -type f \( -iname "*.iso" -o -iname "*.wbfs" \))
# Check if there are no ISO or WBFS files
if [ -z "$iso_files" ]; then
echo ""
echo "No ISO or WBFS files found in the same directory as the script."
echo "Place the Mario Party 8 (US) ISO or WBFS in the script's directory and run it again."
echo ""
read -p "Press Enter to exit..."
exit 0
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...."
cd "$(dirname "$0")/tools"
# Ensure temp directory exists
mkdir -p temp
wit extract "$originalISO" --dest=temp
if [ -d "temp/DATA" ]; then
cp -r "../mp8motion" "temp/DATA"
else
cp -r "../mp8motion" "temp"
fi
wit copy "temp" "../Mario Party 8 GC Controller.wbfs"
rm -rf temp
echo ""
echo "Construction complete for \"$originalISO\"!"
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -0,0 +1,3 @@
Place the Mario Party 8 (USA, Asia) (Revision 2) ISO / WBFS in the script's directory and run the patch script to patch it.
This patch will convert your game to an edition that has the candy tables extended. This can be used for mods that patch candy values.

View file

@ -0,0 +1,3 @@
@echo off
bash.exe ./load-titles.sh --cygwin
pause

View file

@ -0,0 +1,133 @@
#!/usr/bin/env bash
#####################################################################
## __ __ _ ___________ ##
## \ \ / /| |____ ____| ##
## \ \ / / | | | | ##
## \ \ /\ / / | | | | ##
## \ \/ \/ / | | | | ##
## \ /\ / | | | | ##
## \/ \/ |_| |_| ##
## ##
## Wiimms ISO Tools ##
## http://wit.wiimm.de/ ##
## ##
#####################################################################
## ##
## This file is part of the WIT project. ##
## Visit http://wit.wiimm.de/ for project details and sources. ##
## ##
## Copyright (c) 2009-2017 by Dirk Clemens <wiimm@wiimm.de> ##
## ##
#####################################################################
## ##
## This file loads the title files from WiiTDB.com ##
## ##
#####################################################################
#------------------------------------------------------------------------------
NEEDED="wit wget tr"
BASE_PATH="/usr/local"
SHARE_PATH="/usr/local/share/wit"
URI_TITLES=http://gametdb.com/titles.txt
LANGUAGES="de es fr it ja ko nl pt ru zhcn zhtw"
SHARE_DIR=./share
#------------------------------------------------------------------------------
CYGWIN=0
if [[ $1 = --cygwin ]]
then
shift
CYGWIN=1
SHARE_DIR=.
export PATH=".:$PATH"
fi
#------------------------------------------------------------------------------
MAKE=0
if [[ $1 = --make ]]
then
# it's called from make
shift
MAKE=1
fi
#------------------------------------------------------------------------------
function load_and_store()
{
local URI="$1"
local DEST="$2"
local ADD="$3"
echo "*** load $DEST from $URI"
if wget -q -O- "$URI" | wit titles / - >"$DEST.tmp" && test -s "$DEST.tmp"
then
if [[ $ADD != "" ]]
then
wit titles / "$ADD" "$DEST.tmp" >"$DEST.tmp.2"
mv "$DEST.tmp.2" "$DEST.tmp"
fi
if [[ -s $DEST ]]
then
grep -v ^TITLES "$DEST" >"$DEST.tmp.1"
grep -v ^TITLES "$DEST.tmp" >"$DEST.tmp.2"
if ! diff -q "$DEST.tmp.1" "$DEST.tmp.2" >/dev/null
then
#echo " => content changed!"
mv "$DEST.tmp" "$DEST"
fi
else
mv "$DEST.tmp" "$DEST"
fi
fi
rm -f "$DEST.tmp" "$DEST.tmp.1" "$DEST.tmp.2"
}
#------------------------------------------------------------------------------
errtool=
for tool in $NEEDED
do
((CYGWIN)) && [[ -x $tool.exe ]] && continue
which $tool >/dev/null 2>&1 || errtool="$errtool $tool"
done
if [[ $errtool != "" ]]
then
echo "missing tools in PATH:$errtool" >&2
exit 2
fi
#------------------------------------------------------------------------------
mkdir -p "$SHARE_DIR"
load_and_store "$URI_TITLES" "$SHARE_DIR/titles.txt"
# load language specific title files
for lang in $LANGUAGES
do
LANG="$( echo $lang | tr '[a-z]' '[A-Z]' )"
load_and_store $URI_TITLES?LANG=$LANG "$SHARE_DIR/titles-$lang.txt" "$SHARE_DIR/titles.txt"
done
if (( !MAKE && !CYGWIN ))
then
echo "*** install titles to $SHARE_PATH"
mkdir -p "$SHARE_PATH"
cp -p "$SHARE_DIR"/titles*.txt "$SHARE_PATH"
fi
# remove a possible temp dir in SHARE_PATH
((CYGWIN)) || rm -rf "$SHARE_PATH/$SHARE_DIR"

View file

@ -0,0 +1,121 @@
#
#------------------------------------------------------------------------------
### author: Wiimm, 2012-09-20
### info: man magic(5) file(1)
### append to: /etc/magic
### download: http://wit.wiimm.de/download/magic.txt
#------------------------------------------------------------------------------
# ISO image of a GameCube disc
# Created by: Wiimm, www.wiimm.de, 2012-09-19
0x1c belong 0xc2339f3d
>0 regex =^[A-Z0-9]{6} GameCube ISO image
!:mime application/x-gamecube-iso-image
>>0x00 string x '%.6s'
>>0x20 string x %.64s
#------------------------------------------------------------------------------
# ISO image of a Wii disc
# Created by: Wiimm, www.wiimm.de, 2012-09-19
0x18 belong 0x5d1c9ea3
>0 regex =^[A-Z0-9]{6} Wii ISO image
!:mime application/x-wii-iso-image
>>0x00 string x '%.6s'
>>0x20 string x %.64s
#------------------------------------------------------------------------------
# WBFS == Wii Backup File System
# Created by: Wiimm, www.wiimm.de, 2012-09-19
0 string WBFS WBFS
!:mime application/x-wbfs
>10 byte x v%u
>8 byte 9 \b, hss 512
>8 byte 10 \b, hss 1K
>8 byte 11 \b, hss 2K
>8 byte 12 \b, hss 4K
>8 byte 13 \b, hss 8K
>8 byte 14 \b, hss 16K
>8 byte <9 \b, hss 2^%u
>8 byte >14 \b, hss 2^%u
>9 byte 20 \b, wss 1M
>9 byte 21 \b, wss 2M
>9 byte 22 \b, wss 4M
>9 byte 23 \b, wss 8M
>9 byte 24 \b, wss 16M
>9 byte 25 \b, wss 32M
>9 byte 26 \b, wss 64M
>9 byte >26 \b, wss 2^%u
>9 byte <20 \b, wss 2^%u
>12 quad !1 \b, multi disc archive
>12 quad =1
>>0x200 regex =^[A-Z0-9]{6}
>>>0x21c belong 0xc2339f3d
>>>>0x200 string x \b, GC '%.6s'
>>>>0x220 string x %.64s
>>>0x218 belong 0x5d1c9ea3
>>>>0x200 string x \b, Wii '%.6s'
>>>>0x220 string x %.64s
#------------------------------------------------------------------------------
# WDF == Wii(mms) Disc File
# Created by: Wiimm, www.wiimm.de, 2012-09-19
0 string WII\001DISC WDF
!:mime application/x-wdf
>8 belong x v%u,
>24 bequad x v-size %lld,
>44 belong x %u chunks
>0x38 regex =^[A-Z0-9]{6}
>>0x54 belong 0xc2339f3d
>>>0x38 string x \b, GC '%.6s'
>>>0x58 string x %.64s
>>0x50 belong 0x5d1c9ea3
>>>0x38 string x \b, Wii '%.6s'
>>>0x58 string x %.64s
#------------------------------------------------------------------------------
# WIA == Wii(mms) ISO Achive
# Created by: Wiimm, www.wiimm.de, 2012-09-19
0 string WIA\001 WIA
!:mime application/x-wia
>4 byte x v%u
>5 byte x \b.%02x
>0x4c belong 0 NONE
>0x4c belong 1 PURGE
>0x4c belong 2 BZIP2
>0x4c belong 3 LZMA
>0x4c belong 4 LZMA2
>0x4c belong >4 ?
>0x50 belong x \b.%u
>0x54 belong 0x0200000 \b@1
>0x54 belong !0x0200000
>>0x54 belong 0x0a00000 \b@5
>>0x54 belong !0x0a00000
>>>0x54 belong 0x1400000 \b@10
>>>0x54 belong !0x1400000
>>>>0x54 belong 0x2800000 \b@20
>>>>0x54 belong !0x2800000
>>>>>0x54 belong 0x3c00000 \b@30
>>>>>0x54 belong !0x3c00000
>>>>>>0x54 belong 0x5000000 \b@40
>>>>>>0x54 belong !0x5000000
>>>>>>>0x54 belong 0x6400000 \b@50
>>>>>>>0x54 belong !0x6400000
>>>>>>>>0x54 belong x \b, c-size %x
>0x24 bequad x \b, v-size %llu
>0x58 regex =^[A-Z0-9]{6}
>>0x74 belong 0xc2339f3d
>>>0x58 string x \b, GC '%.6s'
>>>0x78 string x %.64s
>>0x70 belong 0x5d1c9ea3
>>>0x58 string x \b, Wii '%.6s'
>>>0x78 string x %.64s
#------------------------------------------------------------------------------

View file

@ -0,0 +1,80 @@
#####################################################################
## __ __ _ ___________ ##
## \ \ / /| |____ ____| ##
## \ \ / / | | | | ##
## \ \ /\ / / | | | | ##
## \ \/ \/ / | | | | ##
## \ /\ / | | | | ##
## \/ \/ |_| |_| ##
## ##
## Wiimms ISO Tools ##
## http://wit.wiimm.de/ ##
## ##
#####################################################################
## ##
## This file is part of the WIT project. ##
## Visit http://wit.wiimm.de/ for project details and sources. ##
## ##
## Copyright (c) 2009-2011 by Dirk Clemens <wiimm@wiimm.de> ##
## ##
#####################################################################
## ##
## This file is used to translate the version number of the ##
## wad file name into the public system menu version. ##
## ##
## Syntax: wad_version_number = system menu version ##
## ##
#####################################################################
33 = 1.0
97 = 2.0U
128 = 2.0J
130 = 2.0E
162 = 2.1E
192 = 2.2J
193 = 2.2U
194 = 2.2E
224 = 3.0J
225 = 3.0U
226 = 3.0E
256 = 3.1J
257 = 3.1U
258 = 3.1E
288 = 3.2J
289 = 3.2U
290 = 3.2E
352 = 3.3J
353 = 3.3U
354 = 3.3E
384 = 3.4J
385 = 3.4U
386 = 3.4E
416 = 4.0J
417 = 4.0U
418 = 4.0E
448 = 4.1J
449 = 4.1U
450 = 4.1E
454 = 4.1K
480 = 4.2J
481 = 4.2U
482 = 4.2E
486 = 4.2K
512 = 4.3J
513 = 4.3U
514 = 4.3E
518 = 4.3K

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,131 @@
#!/usr/bin/env bash
#####################################################################
## __ __ _ ___________ ##
## \ \ / /| |____ ____| ##
## \ \ / / | | | | ##
## \ \ /\ / / | | | | ##
## \ \/ \/ / | | | | ##
## \ /\ / | | | | ##
## \/ \/ |_| |_| ##
## ##
## Wiimms ISO Tools ##
## http://wit.wiimm.de/ ##
## ##
#####################################################################
## ##
## This file is part of the WIT project. ##
## Visit http://wit.wiimm.de/ for project details and sources. ##
## ##
## Copyright (c) 2009-2017 by Dirk Clemens <wiimm@wiimm.de> ##
## ##
#####################################################################
## ##
## This file installs the distribution on a windows system. ##
## ##
#####################################################################
#------------------------------------------------------------------------------
# simple cygwin check
if [[ $1 != --cygwin ]]
then
echo "Option --cygwin not set => exit" >&2
exit 1
fi
#------------------------------------------------------------------------------
# pre definitions
BIN_FILES="wit wwt wdf wfuse"
WDF_LINKS="wdf-cat wdf-dump"
SHARE_FILES="titles.txt titles-de.txt titles-es.txt titles-fr.txt titles-it.txt titles-ja.txt titles-ko.txt titles-nl.txt titles-pt.txt titles-ru.txt titles-zhcn.txt titles-zhtw.txt system-menu.txt magic.txt"
WIN_INSTALL_PATH="Wiimm/WIT"
#------------------------------------------------------------------------------
# setup
echo "* setup"
export PATH=".:$PATH"
key="/machine/SOFTWARE/Microsoft/Windows/CurrentVersion/ProgramFilesDir"
if ! WIN_PROG_PATH="$(regtool get "$key")" || [[ $WIN_PROG_PATH = "" ]]
then
echo "Can't determine Windows program path => abort" >&2
exit 1
fi
#CYGWIN_PROG_PATH="$( realpath "$WIN_PROG_PATH" )"
CYGWIN_PROG_PATH="${WIN_PROG_PATH//\\//}"
WDEST="$WIN_PROG_PATH\\${WIN_INSTALL_PATH//\//\\}"
CDEST="$CYGWIN_PROG_PATH/$WIN_INSTALL_PATH"
#------------------------------------------------------------------------------
# install files
# mkdir before testing the directory
mkdir -p "$CDEST"
if [[ $(stat -c%d-%i "$PWD") != "$(stat -c%d-%i "$CDEST")" ]]
then
echo "* install files to $WDEST"
cp --preserve=time *.bat *.dll *.exe *.sh *.txt "$CDEST"
fi
#------------------------------------------------------------------------------
# define application pathes
for tool in $BIN_FILES $WDF_LINKS
do
[[ -s "$CDEST/$tool.exe" ]] || continue
echo "* define application path for '$tool.exe'"
key="/machine/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/$tool.exe"
regtool add "$key"
regtool set -s "$key/" "${WDEST}\\${tool}.exe"
regtool set -s "$key/Path" "${WDEST}\\"
done
#------------------------------------------------------------------------------
# add WIT path to environment 'Path'
echo "* add WIT path to environment 'Path'"
function set_path()
{
local key="$1"
local p=
local count=0
local new_path=
# split at ';' & substitute ' ' temporary to ';' to be space save
for p in $( regtool --quiet get "$key" | tr '; ' '\n;' )
do
p="${p//;/ }"
#echo " -> |$p|"
if [[ "$p" == "$WDEST" ]]
then
((count++)) || new_path="$new_path;$p"
#echo "$count $WDEST"
elif [[ $p != "" ]]
then
new_path="$new_path;$p"
fi
done
if [[ $new_path != "" ]]
then
((count)) || new_path="$new_path;$WDEST"
#echo "count=$count"
#echo "new_path=${new_path:1}"
regtool set -e "$key" "${new_path:1}"
fi
}
set_path '/machine/SYSTEM/CurrentControlSet/Control/Session Manager/Environment/Path'
set_path '/user/Environment/Path'
#------------------------------------------------------------------------------

View file

@ -0,0 +1,108 @@
#!/usr/bin/env bash
#####################################################################
## __ __ _ ___________ ##
## \ \ / /| |____ ____| ##
## \ \ / / | | | | ##
## \ \ /\ / / | | | | ##
## \ \/ \/ / | | | | ##
## \ /\ / | | | | ##
## \/ \/ |_| |_| ##
## ##
## Wiimms ISO Tools ##
## http://wit.wiimm.de/ ##
## ##
#####################################################################
## ##
## This file is part of the WIT project. ##
## Visit http://wit.wiimm.de/ for project details and sources. ##
## ##
## Copyright (c) 2009-2017 by Dirk Clemens <wiimm@wiimm.de> ##
## ##
#####################################################################
## ##
## This file installs the distribution on a windows system. ##
## ##
#####################################################################
#------------------------------------------------------------------------------
# simple cygwin check
if [[ $1 != --cygwin ]]
then
echo "Option --cygwin not set => exit" >&2
exit 1
fi
#------------------------------------------------------------------------------
# pre definitions
BIN_FILES="wit wwt wdf wfuse"
WDF_LINKS="wdf-cat wdf-dump"
SHARE_FILES="titles.txt titles-de.txt titles-es.txt titles-fr.txt titles-it.txt titles-ja.txt titles-ko.txt titles-nl.txt titles-pt.txt titles-ru.txt titles-zhcn.txt titles-zhtw.txt system-menu.txt magic.txt"
WIN_INSTALL_PATH="Wiimm/WIT"
#------------------------------------------------------------------------------
# setup
echo "* setup"
export PATH=".:$PATH"
key="/machine/SOFTWARE/Microsoft/Windows/CurrentVersion/ProgramFilesDir"
if ! WIN_PROG_PATH="$(regtool get "$key")" || [[ $WIN_PROG_PATH = "" ]]
then
echo "Can't determine Windows program path => abort" >&2
exit 1
fi
#CYGWIN_PROG_PATH="$( realpath "$WIN_PROG_PATH" )"
CYGWIN_PROG_PATH="${WIN_PROG_PATH//\\//}"
WDEST="$WIN_PROG_PATH\\${WIN_INSTALL_PATH//\//\\}"
CDEST="$CYGWIN_PROG_PATH/$WIN_INSTALL_PATH"
#------------------------------------------------------------------------------
# remove application pathes
for tool in $BIN_FILES $WDF_LINKS
do
key="/machine/SOFTWARE/Microsoft/Windows/CurrentVersion/App Paths/$tool.exe"
if regtool check "$key" >/dev/null 2>&1
then
echo "* remove application path for '$tool.exe'"
regtool unset "$key/" "${WDEST}\\${tool}.exe"
regtool unset "$key/Path" "${WDEST}\\"
regtool remove "$key"
fi
done
#------------------------------------------------------------------------------
# remove WIT path to environment 'Path'
echo "* remove WIT path from environment 'Path'"
function set_path()
{
local key="$1"
local p=
local count=0
local new_path=
# split at ';' & substitute ' ' temporary to ';' to be space save
for p in $( regtool --quiet get "$key" | tr '; ' '\n;' )
do
p="${p//;/ }"
#echo " -> |$p|"
[[ "$p" = "$WDEST" ]] || new_path="$new_path;$p"
done
[[ $new_path = "" ]] || regtool set -e "$key" "${new_path:1}"
}
set_path '/machine/SYSTEM/CurrentControlSet/Control/Session Manager/Environment/Path'
set_path '/user/Environment/Path'
#------------------------------------------------------------------------------

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2 MiB

Before After
Before After

View file

@ -1,39 +1,44 @@
@echo off
set originalISO=%~1
:: First, ensure a file was provided to the script.
if NOT "%originalISO%"=="" goto :sourceProvided
echo.
echo To use this, drag-and-drop your Vanilla Mario Party 8 (US) ISO or WBFS onto the batch file.
echo.
echo (That is, the actual file icon in the folder, not this window.)
echo.
echo Press any key to exit. . . && pause > nul
goto eof
:sourceProvided
echo.
echo Constructing the Mario Party 8 GC ControllerWBFS Please stand by....
cd /d %~dp0
cd tools
wit extract "%originalISO%" --dest=temp
IF exist "temp/DATA" (xcopy "../mp8motion" "temp/DATA" /s /y /e) ELSE (xcopy "../mp8motion" "temp" /s /y /e)
wit copy "temp" "../Mario Party 8 GC Controller.wbfs"
rmdir /s /q temp
echo. && echo.
echo Construction complete!
echo.
echo Press any key to exit. . . && pause > nul
:eof
@echo off
setlocal enabledelayedexpansion
REM Initialize the iso_files variable
set "iso_files="
REM Get a list of ISO and WBFS files in the same directory as the script
for %%F in ("%~dp0*.iso") do (
set "iso_files=!iso_files! \"%%~F\""
)
for %%F in ("%~dp0*.wbfs") do (
set "iso_files=!iso_files! \"%%~F\""
)
REM Check if there are no ISO or WBFS files
if not defined iso_files (
echo.
echo No ISO or WBFS files found in the same directory as the script.
echo Place the Mario Party 8 (USA) (Revision 2) ISO or WBFS in the script's directory and run it again.
echo.
pause
exit /b 0
)
REM Iterate over each ISO or WBFS file and process it
for %%I in (!iso_files!) do (
echo.
echo Given %%~I
wit extract %%~I --dest=temp
IF exist "temp\DATA" (
xcopy "..\mp8motion" "temp\DATA" /s /y /e
) ELSE (
xcopy "..\mp8motion" "temp" /s /y /e
)
wit copy "temp" "..\Mario Party 8 (USA) [GameCube Contrller v5].wbfs"
rmdir /s /q temp
echo Press Enter to continue.
pause
)
echo.
echo Press Enter to exit.
pause
exit /b 0

View file

@ -1,43 +1,43 @@
#!/bin/bash
# Get a list of ISO and WBFS files in the same directory as the script
iso_files=$(find "$(dirname "$0")" -maxdepth 1 -type f \( -iname "*.iso" -o -iname "*.wbfs" \))
# Check if there are no ISO or WBFS files
if [ -z "$iso_files" ]; then
echo ""
echo "No ISO or WBFS files found in the same directory as the script."
echo "Place the Mario Party 8 (US) ISO or WBFS in the script's directory and run it again."
echo ""
read -p "Press Enter to exit..."
exit 0
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...."
cd "$(dirname "$0")/tools"
# Ensure temp directory exists
mkdir -p temp
wit extract "$originalISO" --dest=temp
if [ -d "temp/DATA" ]; then
cp -r "../mp8motion" "temp/DATA"
else
cp -r "../mp8motion" "temp"
fi
wit copy "temp" "../Mario Party 8 GC Controller.wbfs"
rm -rf temp
echo ""
echo "Construction complete for \"$originalISO\"!"
done
echo ""
read -p "Press Enter to exit..."
#!/bin/bash
# Get a list of ISO and WBFS files in the same directory as the script
iso_files=$(find "$(dirname "$0")" -maxdepth 1 -type f \( -iname "*.iso" -o -iname "*.wbfs" \))
# Check if there are no ISO or WBFS files
if [ -z "$iso_files" ]; then
echo ""
echo "No ISO or WBFS files found in the same directory as the script."
echo "Place the Mario Party 8 (US) ISO or WBFS in the script's directory and run it again."
echo ""
read -p "Press Enter to exit..."
exit 0
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...."
cd "$(dirname "$0")/tools"
# Ensure temp directory exists
mkdir -p temp
wit extract "$originalISO" --dest=temp
if [ -d "temp/DATA" ]; then
cp -r "../mp8motion" "temp/DATA"
else
cp -r "../mp8motion" "temp"
fi
wit copy "temp" "../Mario Party 8 GC Controller.wbfs"
rm -rf temp
echo ""
echo "Construction complete for \"$originalISO\"!"
done
echo ""
read -p "Press Enter to exit..."
exit 0

View file

@ -1 +1,3 @@
Place the Mario Party 8 ISO or WBFS in the script's directory and run the patch script to patch it.
Place the Mario Party 8 (USA, Asia) (Revision 2) ISO / WBFS in the script's directory and run the patch script to patch it.
This patch will convert your game to an edition that works with GameCube controllers version.

View file

@ -1,3 +1,3 @@
@echo off
bash.exe ./load-titles.sh --cygwin
pause
@echo off
bash.exe ./load-titles.sh --cygwin
pause

Some files were not shown because too many files have changed in this diff Show more