Posted August 18, 2025
The following script fixes an issue where the game crashes whenever a character performs a critical hit.
Based on various bits of information I found scattered across the internet and a bit of reverse engineering, I came up with a script to disable the screen shake effect by patching the data.dts file. All the patch does is replace a few whitespace characters with slashes, commenting the lines of JavaScript code that invoke the Composition API. Tested on version 1.3.5x (MD5: 90eecf56fa927d0ca375951621005410 data.dts).
I can't post links so I've pasted the script into my message.
patch-esperia.sh:
---
#!/bin/bash
# Usage: ./patch-esperia.sh /path/to/data.dts
dts="$1"
[ -f "$dts" ] || { echo "Please provide path to data.dts" ; exit 1 ; }
cp --update=none-fail "$dts" "$dts~" || exit 1
echo '004fa6f6: 2f /' | xxd -c1 -r - "$dts"
echo '004fa6f8: 2f /' | xxd -c1 -r - "$dts"
echo '004fad60: 2f /' | xxd -c1 -r - "$dts"
echo '004fad62: 2f /' | xxd -c1 -r - "$dts"
echo '004fadee: 2f /' | xxd -c1 -r - "$dts"
echo '004fadf0: 2f /' | xxd -c1 -r - "$dts"
echo '004faea2: 2f /' | xxd -c1 -r - "$dts"
echo '004faea4: 2f /' | xxd -c1 -r - "$dts"
echo '004faf30: 2f /' | xxd -c1 -r - "$dts"
echo '004faf32: 2f /' | xxd -c1 -r - "$dts"
---
Based on various bits of information I found scattered across the internet and a bit of reverse engineering, I came up with a script to disable the screen shake effect by patching the data.dts file. All the patch does is replace a few whitespace characters with slashes, commenting the lines of JavaScript code that invoke the Composition API. Tested on version 1.3.5x (MD5: 90eecf56fa927d0ca375951621005410 data.dts).
I can't post links so I've pasted the script into my message.
patch-esperia.sh:
---
#!/bin/bash
# Usage: ./patch-esperia.sh /path/to/data.dts
dts="$1"
[ -f "$dts" ] || { echo "Please provide path to data.dts" ; exit 1 ; }
cp --update=none-fail "$dts" "$dts~" || exit 1
echo '004fa6f6: 2f /' | xxd -c1 -r - "$dts"
echo '004fa6f8: 2f /' | xxd -c1 -r - "$dts"
echo '004fad60: 2f /' | xxd -c1 -r - "$dts"
echo '004fad62: 2f /' | xxd -c1 -r - "$dts"
echo '004fadee: 2f /' | xxd -c1 -r - "$dts"
echo '004fadf0: 2f /' | xxd -c1 -r - "$dts"
echo '004faea2: 2f /' | xxd -c1 -r - "$dts"
echo '004faea4: 2f /' | xxd -c1 -r - "$dts"
echo '004faf30: 2f /' | xxd -c1 -r - "$dts"
echo '004faf32: 2f /' | xxd -c1 -r - "$dts"
---