The online racing simulator
"Could not write to data Folder" (Linux)
before u try to suggest me using search notice the "Linux" in the title

problem is that i want to make a shortcut (or a starter) on the desktop, which of course works.
but...when i want to start it then, it gives me that error.
when i navigate manually into the folder via terminal, and start it from there it works just fine.

ive checked the the permissions and set "Read and Write" for all users.
im kinda lost, would be nice if some1 has an idea.

its not that much of a problem to do it via terminal but hey u know, it could be easier and more comfortable
I've had this problem before, for some reason WINE doesn't like using shortcuts for LFS, just due to the way the "Start in" works for WINE applications.
but there got to be a workaround
write a shell script on the desktop that contains


#!/bin/bash

wine <path to LFS.exe>

That should work, make sure to chmod it to +x
i was already thinking why should that work...
practically its the same as when i create a starter.

oh btw it doesnt work, same error
Hmm, confusing. Stupid Linux, not knowing how to do "Start In"
Quote from dawesdust_12 :write a shell script on the desktop that contains


#!/bin/bash

wine <path to LFS.exe>

That should work, make sure to chmod it to +x

Perhaps with an addition of "cd <path-to-lfs>" before the execution of Wine?
Quote from xaotik :Perhaps with an addition of "cd <path-to-lfs>" before the execution of Wine?

nice idea!

#!/bin/bash
cd /usr/local/games/LFS
wine lfs.exe

works! wee
LFS works by trying to access ./data. In non-windows environments that is reported as the data directory in the current directory which you execute LFS from. Therefore if you make a shortcut to wine LFS.exe directly from the desktop, whilst not cd'ing to the correct directory, it tries to read /home/username/desktop/data, which probably doesnt exist.
Quote from xaotik :Perhaps with an addition of "cd <path-to-lfs>" before the execution of Wine?

Good job Was thinking of suggesting that, but wasn't sure how much it'd work.

FGED GREDG RDFGDR GSFDG