The Dink Network

Game crashes when certain screens are loaded

Friends Beyond 3: Legend of Tenjin

May 25th, 06:38 PM
anon.gif
ghostknight
Ghost
 
I am playing Friends Beyond 3 on freedink 109.6. The game crashes when certain screens are loaded. I first noticed it in script 's7-inn.c' when a dream sequence is triggered.
Here is the corresponding code section:
      if (&doll == 1)
      {
        int &dream = random(3, 1);
        
        if (&dream == 3)
        {
          wait(500);
          script_attach(1000);

          fill_screen(0);
          dink_can_walk_off_screen(1);
          set_dink_speed(3);
          &player_map = 307;
          sp_x(1, -50);
          sp_y(1, 200);
          load_screen(307); // crash

When it tries to load screen number '307' it crashes. I replaced the screen number with '26', the first dream sequence on the plateau, and it does not crash but the screen is of course not right. So I am guessing that the map file may be corrupted or incompatible with my dink version. Is there a way to fix this?

PS:
In the walkthrough I read that someone made a few modifications to the game, but I do not know who that was or where to find the files. So I did not try the modified version, if it is even available still.
May 26th, 02:34 PM
spike.gif
SlipDink
Peasant Male United States bloop
2nd generation. No easy way to be free. 
Try the 1.08[x] version of freedink. I'd say it is the most universally compatible version.

Good luck.
May 27th, 11:19 AM
peasantmb.gif
yeoldetoast
Peasant Australia steam
discord.gg/Ukugfbh 
The modifications mentioned are by the user BigTed. I'm not sure if they relate to this particular problem, although they are nice to have. This sounds like some sort of game engine problem. If you're a Lunix user unfortunately your only real options are to either use an older version of Freedink, or otherwise use Dink 1.08 through Wine.

If the map file is corrupted, you can attempt to re-install using DFarc and see if that changes anything. If you want to attempt to narrow down things further, try running with the sound off as a launch option in DFarc for example.