F@H on linux?
VileDaRKNiGHT
Hudson FL
ok. gonna make this quick. im doing a partial boot on my system (windows screwed up so format time and i wanna run linux again) well. i looked at the FAH site and they have a linux version but its an EXE. as most of you know linux doesnt support EXE's so anyone have an idea on how i install it (other than using an emulator) cause if i cant get it to work ill only be folding about 30% of the time.
0
Comments
I did this:
I have a user named John, so I made a folder called FAH4 in the /home/John folder.
Here's how I did that:
I logged in as John. gave it my user password.
Now, Linux stuck me in /home/John by itself, so I made the folder
md FAH4
Then I went in Konquerer to the folding downloads site page, grabbed the .exe. Then I used Konqueror to move it to /home/John/FAH4 folder.
I renamed it FAH4Console.exe
then I had to tell linux it really could run this thing (it will, after this )
chmod +x FAH4Console.exe
Alternative way, using Octal values (no plus sign):
chmod 755 FAH4Console.exe
I used ls -al to check perms for the FAH4 directory, just to make sure things looked decent.
then I ran the client, since I am still in my FAH4 directory
./FAH4Console.exe -configonly
Alternative command:
./FAH4Console.exe -config (this will run client active after confguring, but I do not wan this as I want it running from the get-go with abunch of switches, so I do not use that switch at all when setting up clients or I will get Tinkers until I do what follows more than likely adn my P4 does not run Tinkers well at all, the P4 at 3.2 GHz took 67.9 hours for one Tinker one tume, 48 hours for another, and generally killed my point production.)
this got me into the scripted config run, and only configures it (see why above and part about making a .bat below)
I told it my folding ID, jdii1215
I told my team number, 93
I let it use defaults for the internet connection, I am on a cable braodband connect.
I chose Y for answer about going into advanced, set what I wanted set there.
I then made a file of type .bat in vim with the switches I wanted run at every normal run. It was a file with no ends of lines or returns.
Here is what is in it:
./FAH4Console.exe -advmethods -forcesse -forceasm -verbosity 9
I saved it as FAH4run.bat
I then did this:
chmod +x FAH4run.bat
now, to start client with same switches every time, I simply login to tty2 (NOTE: to get to tty2 I give Linux this key combo: CTRL-ALT-F2, neither KDe nor Gnome use this combo by default, but Linux knows to use CTRL-ALT plus a Function number key to go to tty's based on function number, F2 through F7 (GUI) are viable entries with CTRL-ALT also held down and then all released) and do this:
./FAH4run.bat
And the client runs. To get out of the client run and have the client save its work, I use CTRL-C (both CTRL and C keys pressed down at once and then released).
Now, if you want to load the client automatically, that is more complex and partly depends on distro, but you can start it after a reboot with minimal typing this way.
HTH. Feel free to ask about things you do not know, like using VIM or whatever.
Edit: although this could do some good being stickied so people who are new to linux know how to install folding