sfall-team / sfall

sfall - Engine modifications for Fallout 2
https://sfall-team.github.io/sfall/
GNU General Public License v3.0
342 stars 40 forks source link

Fallback to english by individual message in MSG files #543

Closed phobos2077 closed 4 months ago

phobos2077 commented 4 months ago

Closes #542

NovaRain commented 4 months ago

It crashes at startup for my French game (from GOG installer). Here are the binaries and test msg/scripts I used (press semicolon to print msgs): sfall-msgline-fallback-test.zip

The crash message:

The instruction at 004c5d09 referenced memory at xxxxxxxx
The memory could not be read from

debug log:

Fade time is 109
Fade steps are 96

Fade time is 78
Fade steps are 134
Chi squared is 25.559500, P = 36.420000 at 0.05
Sequence is random, 95% confidence.
>partyMember_init   soundInit: Setting primary buffer to: 16 bit, 2 channels, 44100 rate
soundInit: Primary buffer settings set to: 16 bit, 2 channels, 44100 rate
>gsound_init    >initMovie      >gmovie_init    >moviefx_init   >art_init       >tile_init      >obj_init       >cycle_init     
 ** String not found @ getmsg(), MESSAGE.C **

 ** String not found @ getmsg(), MESSAGE.C **

 ** String not found @ getmsg(), MESSAGE.C **

 ** String not found @ getmsg(), MESSAGE.C **

 ** String not found @ getmsg(), MESSAGE.C **
Memory header stomped.
Memory footer stomped.
Memory header stomped.
Memory footer stomped.
>intface_init   >iso_init       >gmouse_init    >proto_init     >anim_init      >scr_init       >game_load_info >scr_game_init  >wmWorldMap_init    >CharEditInit   >pip_init       >InitLoadSave   >gdialog_init   >combat_init    >automap_init   >message_init   >message_load   >scr_disable    Memory header stomped.
Memory header stomped.
Memory footer stomped.
Memory header stomped.
Memory footer stomped.
Memory header stomped.
Memory footer stomped.
Memory header stomped.
Memory footer stomped.