Author Topic: Setting ProfilePath under Linux  (Read 997 times)

I am wanting to host a server from my computer under a different directory then my main Blockland folder, I've tried setting the profilePath in the shortcut, but it always comes up with an error saying that it cannot write the cache.db.

I've tried these different variations, all the same results.

Code: [Select]
env WINEPREFIX="/home/mckpah/.wine" wine C:\\Program\ Files\ \(x86\)\\Blockland\\BlocklandLauncher.exe -dedicated -profilePath Z:/home/mckpah/BLServer
-profilePath Z:\home\mckpah\BLServer
-profilePath Z:\\home\\mckpah\\BLServer

Pretty sure that the application can only access files from within the .wine folder.

Pretty sure that the application can only access files from within the .wine folder.
I just noticed something wrong that I did, I think I might have fixed it.

I just noticed something wrong that I did, I think I might have fixed it.
No-Edit

I did figure it out.
Code: [Select]
env WINEPREFIX="/home/mckpah/.wine" wine C:\\Program\ Files\ \(x86\)\\Blockland\\BlocklandLauncher.exe -dedicated -profilePath C:/users/mckpah/My\ Documents/BLServerI used that inside a shortcut.

It worked, it appears when you use the method to bypass the launcher it sets the profilePath to Z: (Directory in linux, eg /home/mckpah/BLServer), but run it from the launcher its like the above.


You might wanna check this out: http://forum.blockland.us/index.php?topic=254544.0
Thanks for that, I tried searching earlier for some help but I only selected the Help section, not thinking anyone would had put that in General Discussion.
So, if I got it right I would use
Code: [Select]
blockland-server -a -g Custom -p /home/mckpah/BLServer
Inside a terminal, or create a .sh with that in it?
After I had installed the script of course.

So, if I got it right I would use
Code: [Select]
blockland-server -a -g Custom -p /home/mckpah/BLServer
Inside a terminal, or create a .sh with that in it?
After I had installed the script of course.

Yep! You could simplify that to blockland-server -ap /home/mckpah/BLServer if you want.

Let me know if it works correctly and what distribution/wine version you have.

Sorry, with that version of the script it looks like you need to do -p /home/mckpah/BLServer/Blockland.exe instead of -p /home/mckpah/BLServer.

Alright, I got it working, thanks Greek.
I have Ubuntu 12.04 (precise) 64-bit
Kernel Linux 3.5.0-41-generic
DE: GNOME 3.4.2
My wine version is Wine 1.6.1.

If you need to know anything else, let me know.

Nope, just curious. No problem!