5 Commits

37 changed files with 92 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -627,7 +627,7 @@ ItemHandlers::UseOnPokemon.add(:DNAREVERSER, proc { |item, pokemon, scene|
def reverseFusion(pokemon)
if pokemon.owner.name == "RENTAL"
pbDisplay(_INTL("You cannot unfuse a rental pokémon!"))
pbMessage(_INTL("You cannot reverse a rental pokémon!"))
return
end
@@ -1553,7 +1553,7 @@ def pbUnfuse(pokemon, scene, supersplicers, pcPosition = nil)
return false
end
if pokemon.owner.name == "RENTAL"
pbDisplay(_INTL("You cannot unfuse a rental pokémon!"))
scene.pbDisplay(_INTL("You cannot unfuse a rental pokémon!"))
return
end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,46 @@
#!/bin/bash
# Exit on error
set -e
echo "📂 Current working directory: $(pwd)"
echo "🔍 Listing contents of ../:"
ls -l ../
# Define input/output
INPUT_DIR="../."
OUTPUT_DIR="./unpacked"
# Create output directory if it doesn't exist
mkdir -p "$OUTPUT_DIR"
# Find Map*.rxdata files in INPUT_DIR
map_files=($(find "$INPUT_DIR" -maxdepth 1 -type f -name 'Map*.rxdata'))
# Debug: print raw file list
echo "🧪 Raw find output: ${map_files[*]}"
# Check if any map files were found
if [ ${#map_files[@]} -eq 0 ]; then
echo "❌ No Map*.rxdata files found in $INPUT_DIR"
exit 1
fi
# Print found files
echo "📄 Found the following map files:"
for file in "${map_files[@]}"; do
echo " - $file"
done
# Join files with commas
FILE_LIST=$(IFS=,; echo "${map_files[*]}")
# Run fusionpacker
echo "🚀 Running fusionpacker..."
bundle exec fusionpacker --force \
--files "$FILE_LIST" \
--project-type xp \
--action unpack \
--project "$OUTPUT_DIR"
echo "✅ Maps unpacked to: $OUTPUT_DIR"

43
Data/unpacker/unpack_maps.sh Executable file
View File

@@ -0,0 +1,43 @@
#!/bin/bash
set -e
# Get script location
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Input: where the map files are
INPUT_DIR="$SCRIPT_DIR/../"
# Output: where to unpack
OUTPUT_DIR="$SCRIPT_DIR/unpacked"
echo "📂 Script directory: $SCRIPT_DIR"
echo "🔍 Looking for .rxdata files in: $INPUT_DIR"
ls -l "$INPUT_DIR"
# Create output dir if needed
mkdir -p "$OUTPUT_DIR"
# Find map files
map_files=()
while IFS= read -r -d '' file; do
map_files+=("$file")
done < <(find "$INPUT_DIR" -maxdepth 1 -type f -name 'Map*.rxdata' -print0)
# Error if none found
if [ ${#map_files[@]} -eq 0 ]; then
echo "❌ No Map*.rxdata files found in $INPUT_DIR"
exit 1
fi
echo "📄 Found the following map files:"
for file in "${map_files[@]}"; do
echo " - $file"
done
# Pass files to fusionpacker in manageable chunks using xargs
echo "🚀 Running fusionpacker..."
# Use xargs to split the command and avoid path too long errors
printf "%s\n" "${map_files[@]}" | xargs -n 10 fusionpacker --force --project-type xp --action unpack --project "$OUTPUT_DIR"
echo "✅ Maps unpacked to: $OUTPUT_DIR"

View File

@@ -1,5 +1,5 @@
[Game]
Library=RGSS104E.dll
Library=RGSS100J.dll
Scripts=Data\Scripts.rxdata
Title=infinitefusion
RTP1=

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB