It is currently 20 Jun 2025, 01:18
   
Text Size

Shandalar - Program Bugs

shandalar.exe looks in CWD for resources (reviewed)

 

For example, it tries to load cardback.pic from ./cardart/cardback.pic, rather than from $(dirname $0)/cardart/cardback.pic.

On windows this is rarely an issue, since the default value for CWD (both when double-clicking and when creating a shortcut) is the executable's containing directory, so you have work fairly hard to make this a problem. It is, however, very easy to run into when running it on linux via Wine, since the natural approach is to either 'wine C:/.../shandalar.exe' or 'wine ~/.wine/drive_c/.../shandalar.exe', and neither of those will work.

It is at least very easy to work around: cd into the shandalar directory and then start with 'wine ./shandalar.exe'.

History

Changed ticket status from "New" to "Reviewed"
Action performed by Korath » 07 Mar 2016, 00:28

Ticket details

  • Ticket ID: 1018
  • Project: Shandalar
  • Status: Reviewed
  • Component: Adventure Mode
  • Project version: Thieves Hideout 3
  • Priority: Normal
  • Severity: Normal
  • Assigned to: (unassigned)
  • Reported by: ToxicFrog
  • Reporter's tickets: List all tickets
  • Reported on: 19 Feb 2016, 23:01
  • Last visited by Korath » 16 Mar 2016, 16:38.
 

Main Menu

User Menu

Our Partners


Login Form