I stumbled onto this game pretty recently and wanted to share my experience getting it running on linux. I used the
dd
,
mkfs.vfat
and
mount
approach.
Set up & mount a fat32 img:
Bash:
dd if=/dev/zero of=test.img count=1000 bs=1M
mkfs.vfat test.img
mkdir ~/mnt
sudo mount -t vfat test.img ~/mnt -o rw,uid=$(id -u),gid=$(id -g)
Get the nwjs linux runtime from:
You must be registered to see the links
I got
You must be registered to see the links
which is the newest version currently.
Extract it somewhere.
Copy/Move the
www/
directory and
package.json
file from Farmer's Dreams to where you extracted the nwjs runtime. Then move the
nwjs-v0.52.2-linux-x64
directory to
~/mnt
cd
into
~/mnt/nwjs-v0.52.2-linux-x64
and run
./nw
NOTES:
- I should note that I'm using the compressed version of Farmer's Dreams R21.1. Which is why I only created a 1GB
test.img
file. Adjust the dd
parameters accordingly if you need a larger file.
- I also ran into a couple of errors which were trivial to fix in
www/js/plugins/PKD_VNSaveSys_build.js
. Unfortunately I didn't make a note of the specific code changes so I'm just attaching my PKD_VNSaveSys_build.js
file here. Only use it if you run into errors yourself.
- I also have not progressed very far in the game, so there may be more errors I haven't yet encountered.
- While this will probably work just fine with
wine
instead of using the nwjs linux runtime, I'm running this on a 7 year old laptop and cannot really afford the performance penalty.
Should also be possible to get it running on macs using this approach, but I haven't tested that at all.
EDIT: Had uploaded wrong file before. Uploaded fixed file now.