shithub: cstory

Download patch

ref: b81023f63cab2a4b827e04188147e5ba345577b6
parent: a0d11aee3c0a6d3df7cc379cc6fb283d2b828a96
author: Clownacy <[email protected]>
date: Sat Dec 21 09:53:01 EST 2019

Fix a bug in River.tsc that affects portability

Funny story: so, there's a bugged TSC command in this file, which
causes it to try to read a flag beyond the end of the flag array.
If the memory it reads happens to be set to true, then it will
attempt to jump to an invalid event number, causing a crash.

Since I don't want to riddle CSE2's codebase with ugly compatibility
hacks, I think it's best to just fix the TSC file directly.

--- a/assets/data_en/Stage/River.tsc
+++ b/assets/data_en/Stage/River.tsc
@@ -1,1 +1,1 @@
-=:S``i`=:l}~qls}�``chl���`d``lvqy````lu~t=:S``ia=:l}~qls}�``chl���`d``lvqy```alu~t=:S``ib=:l}~qls}�``chl���`d``lvqy```blu~t=:S``ic=:l}~qls}�``chl���`d``lvqy```clu~t=:S``id=:l}~qls}�``chl���`d``lvqy```dlu~t=:=:S``ie=:ls}�``chlvqy````lu~t=:=:S`a``=:l{u�lvq```als��l��q``dgj``iaj```hj```i=:=:S`aa`=:l{u�lv~`b``j``afl�qy``a`lvq````lv}``aflv|zhe`j`aaa=:lv|[`he0l}�w=:���������W�P������QQl~tl}�t````l��q``caj``ibj``c`j```h=:S`aaa=:l{u�ls��l��q``aej``icj``adj```a=:=:S`aaf=:=:S`ab`=:l{u�lq~�`ab`j````j```bl��``aa=:lvq```dls��l��q``gcj``idj```fj```i=:=:S`b``=:=:S`bb`=:l{u�lt~�`bb`=:lv|zadddj````=:lv|z`hcfj`bbalu~t=:S`bba=:l��yl�qy````l{u�lv|[`hea=:l�q�l�qy``e`l��yl}�ws����W�P����P���������P����=:������^^^l~tlu~t=:=:
\ No newline at end of file
+=:S``i`=:l}~qls}�``chl���`d``lvqy````lu~t=:S``ia=:l}~qls}�``chl���`d``lvqy```alu~t=:S``ib=:l}~qls}�``chl���`d``lvqy```blu~t=:S``ic=:l}~qls}�``chl���`d``lvqy```clu~t=:S``id=:l}~qls}�``chl���`d``lvqy```dlu~t=:S``ie=:ls}�``chlvqy````lu~t=:S`a``=:l{u�lvq```als��l��q``dgj``iaj```hj```i=:S`aa`=:l{u�lv~`b``j``afl�qy``a`lvq````lv}``aflv|z`he`j`aaa=:lv|[0he`l}�w=:���������W�P������QQl~tl}�t````l��q``caj``ibj``c`j```h=:S`aaa=:l{u�ls��l��q``aej``icj``adj```a=:S`aaf=:S`ab`=:l{u�lq~�`ab`j````j```bl��``aa=:lvq```dls��l��q``gcj``idj```fj```i=:S`b``=:S`bb`=:l{u�lt~�`bb`=:lv|zadddj````=:lv|z`hcfj`bbalu~t=:S`bba=:l��yl�qy````l{u�lv|[`hea=:l�q�l�qy``e`l��yl}�ws����W�P����P���������P����=:������^^^l~tlu~t
\ No newline at end of file