Hello,
I'm reporting a bug that occurs in Summer Pockets Reflection Blue after using the repack command.
The tool successfully creates a new script.pak file, seemingly without errors. However, within the game, specific choices become bugged. When selecting one of these bugged options, the game fails to proceed to the correct scene or event. Instead, it displays a message box with the text: "Clear data (system data) was saved."
This issue does not happen with the original, unmodified script.pak.
Most importantly, the bug persists even when I perform a clean repack: if I decompile the files and then immediately repack them with the tool without making any changes, the resulting script.pak still has the bug. This suggests the issue lies within the repacking process itself.
The command I used to recompile is as follows(cmd windows):
@echo off
REM --- Repack SummerPockets SCRIPT.PAK ---
REM PAK original (base)
set SOURCE_PAK=SCRIPT.PAK
REM Diretório onde estão os .txt exportados
set EXPORT_DIR=Export
REM Arquivos de plugin e opcode
set PLUGIN=data/SummerPocketsRB.py
set OPCODE=data/SummerPocketsRB.txt
REM PAK de saída (repack)
set OUTPUT_PAK=SCRIPT.PAK
echo Repackando SCRIPT.PAK a partir de %EXPORT_DIR% usando %SOURCE_PAK% como base...
REM A linha abaixo foi modificada para incluir "|| pause" no final
LuckSystem.exe script import -s SCRIPT.PAK -i export -o SCRIPT_repacked.PAK -p data/SummerPocketsRB.py -O data/SummerPocketsRB.txt -c UTF-8 || pause
if %ERRORLEVEL% neq 0 (
echo Ocorreu um erro durante o repack!
) else (
echo Repack concluido com sucesso!
)
pause
Below are images of the specific in-game locations where I've identified this bug, along with the original script files for context:

choice bugged

after clicking
90_卓球シナリオ.txt
Attached is the .txt file for the relevant scene.

In the map selection, consistently choosing the Sanctuary triggers the bug

The same issue also happens when selecting Kamome & Nomiki on the map (Wenders crash the game).
99_マップ選択.txt
This is the script file for the map selection.
@thedanill
Hello,
I'm reporting a bug that occurs in Summer Pockets Reflection Blue after using the repack command.
The tool successfully creates a new script.pak file, seemingly without errors. However, within the game, specific choices become bugged. When selecting one of these bugged options, the game fails to proceed to the correct scene or event. Instead, it displays a message box with the text: "Clear data (system data) was saved."
This issue does not happen with the original, unmodified script.pak.
Most importantly, the bug persists even when I perform a clean repack: if I decompile the files and then immediately repack them with the tool without making any changes, the resulting script.pak still has the bug. This suggests the issue lies within the repacking process itself.
The command I used to recompile is as follows(cmd windows):
@echo off
REM --- Repack SummerPockets SCRIPT.PAK ---
REM PAK original (base)
set SOURCE_PAK=SCRIPT.PAK
REM Diretório onde estão os .txt exportados
set EXPORT_DIR=Export
REM Arquivos de plugin e opcode
set PLUGIN=data/SummerPocketsRB.py
set OPCODE=data/SummerPocketsRB.txt
REM PAK de saída (repack)
set OUTPUT_PAK=SCRIPT.PAK
echo Repackando SCRIPT.PAK a partir de %EXPORT_DIR% usando %SOURCE_PAK% como base...
REM A linha abaixo foi modificada para incluir "|| pause" no final
LuckSystem.exe script import -s SCRIPT.PAK -i export -o SCRIPT_repacked.PAK -p data/SummerPocketsRB.py -O data/SummerPocketsRB.txt -c UTF-8 || pause
if %ERRORLEVEL% neq 0 (
echo Ocorreu um erro durante o repack!
) else (
echo Repack concluido com sucesso!
)
pause
Below are images of the specific in-game locations where I've identified this bug, along with the original script files for context:
90_卓球シナリオ.txt
Attached is the .txt file for the relevant scene.
99_マップ選択.txt
This is the script file for the map selection.
@thedanill