Author Topic: [bug] [player] Crash on saving replay when pack not in workdir  (Read 1306 times)

0 Members and 1 Guest are viewing this topic.

Offline Simon

  • Administrator
  • Posts: 3283
    • View Profile
    • Lix
BitBucket: https://bitbucket.org/namida42/neolemmixplayer/issues/26/crashes-on-replay-saving-in-certain



Repro:
  • Put the nxp file in ~/softw/win/neolem/nepsterlems/packs/
  • Put the NL exe in ~/softw/win/neolem/nepsterlems/
  • Be in the exe's directory
  • Start the pack with wine NeoLemmix.exe ./packs/seb-1.00.nxp
  • Win the first level
Instead of showing the results screen, game shows the above error, then exits after I click OK.

The bug doesn't manifest when I do either one of these:
  • Go into the pack's dir, run the game with wine ../NeoLemmix.exe seb-1.00.nxp
  • Move the pack into the exe's dir, run with wine NeoLemmix.exe seb-1.00.nxp
On Windows, when you drag a file from a different dir on an executable, what is the working directory?

[05:50] <SimonN> it is the build without the fading
[05:50] <SimonN> let me check version
[05:50] <SimonN> 1.44
[05:50] <namida42> the no fading build is based off V1.43n-F

-- Simon
« Last Edit: June 14, 2016, 02:18:15 AM by namida »