Compare commits
5 Commits
9a17e87904
...
cec6847b4e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cec6847b4e | ||
|
|
82868b55e8 | ||
|
|
c189472646 | ||
|
|
cf192456ae | ||
|
|
37cc11d2d1 |
@@ -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
|
||||
|
||||
|
||||
46
Data/unpacker/pack_maps.sh
Normal 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
@@ -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"
|
||||
2
Game.ini
@@ -1,5 +1,5 @@
|
||||
[Game]
|
||||
Library=RGSS104E.dll
|
||||
Library=RGSS100J.dll
|
||||
Scripts=Data\Scripts.rxdata
|
||||
Title=infinitefusion
|
||||
RTP1=
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
BIN
Graphics/Characters/fusion azurill crobat.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Graphics/Characters/fusion marill crobat.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
BIN
Graphics/Characters/fusion_azumarill_crobat.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.3 KiB |
BIN
Graphics/Characters/fusion_azumarill_zubat.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
Graphics/Characters/fusion_azurill_crobat.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
Graphics/Characters/fusion_doduo_bellsprout.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
Graphics/Characters/fusion_marill_crobat.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
Graphics/Characters/fusion_marill_zubat.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |