It is currently Thu Sep 02, 2010 1:26 pm

How To Install MFH Mod 3.0xx under GNU/Linux

Discuss mods and get help with mods ONLY

How To Install MFH Mod 3.0xx under GNU/Linux

Postby Lysdestic » Mon Sep 29, 2008 1:19 am

How to install MFH Mod 3.0xx mod under GNU/Linux.
================================================

Okay, I've decided to make a new thread for the new 3.0 release, enjoy.

I've been getting some PM's from several Linux users who have resorted to using WINE to play Frets On Fire under Linux--This definitely should not be necessary as there is a native Alarian release for Linux. Using it under WINE only does two things, complicates it more than it should, and hampers performance.

We don't want that do we?

Now, before I start I feel that I should mention I'm not the developer for the Linux port, that is Evilynux, who from what I understand is carrying on the work from another user before him. The guy is amazing, not only does he port it to Linux, he has helped MFH with several big issues that affect all users.

First off you will need to go here, as this is the post that should contain the most up-to-date version of MFH Mod Linux port.

Make sure you get the appropriate versions! There are two, 32-Bit and 64-bit, and please note, filenames between the two platforms will vary. (i386 for 32-bit, and amd64 for 64-bit

Now, download the full release. (Which as of right now is 3.05.1).

We could just stop there, but we don't want the old version do we? Alarian is under extremely active development, it seems as if a new patch is released every day. So, scroll up to the top of the post and look for the latest patch. (As of right now, 3.015~b4.1.)

Now that you have those, you can do one of two things, you can do the rest in a terminal, as I will show you, or you can do it from a GUI. The terminal isn't hard, it isn't super necessary, but it makes things easier, and quicker. If the demand is there, I may edit this for GUI usage, but if you guys read this without intimidation, that will not be necessary.

We should now have two files on our Desktop that we downloaded named 'MFH_Full_3.005.1.32bit.7z' and 'MFH_Patch_3.015~b4.1_32bit.tar.bz2'

Remember to follow this tutorial step by step, as it is very important that the patches are installed in the appropriate order.

Now, take a deep breath, and open up the terminal of your choice.

The first thing we need to do is make sure we are in the Desktop folder.

cd ~/Desktop/

Now, we want to extract the full release of the MFH-Alarian mod into that folder, to do this we will type this.

7z x MFH_Full_3.005.1.32bit.7z

And finally, extract the latest version patch.

tar -zxvf MFH_Patch_3.015~b4.1_32bit.tar.bz2

Next, we want to rename the Alarian folder to FretsOnFire.

mv MFH_Full_3.005.1.32bit/ FretsOnFire/

And finally, patch it up to the latest version.

mv patchname/* ~/Desktop/FretsOnFire/

Okay, personally I like to have all of my program folders outside of my home directory so we are going to move the FretsOnFire folder to a system directory. First you will need to make yourself root.

su
[enter password]

Now, type this to move the folder to the /usr/local/ directory.

mv FretsOnFire/ /usr/local/

Once you have done this you are pretty much good to go, but I like to do a few other things.

First, a script in /usr/local/bin/ to start Frets On Fire from command line or a run box.

Open a text editor as root (For KDE Users enter kdesu kate into a run box.)

Paste the following:

Code: Select all
#!/bin/sh
cd /usr/local/FretsOnFire/ && ./FretsOnFire "$@"


Save it as /usr/local/bin/FretsOnFire

Now you should be good to type 'FretsOnFire' in the command line to start the game. :)

The second thing I like to do is make a shortcut, feel free to make one, just make the command 'FretsOnFire'.

Lastly, the 3.0 release saw a feautre added to it that allows for storage of songs in the ~/.fretsonfire/songs/ directory, so you can store your songs there without having to become root. Take advantage of that, it is standard linux practice to keep things like that in the home directory as opposed to program directory. Optionally, you can create a whole other folder as well, but that is up to you.

I wrote this up while half asleep, and chatting on MSN, so if there are any errors and anyone needs help, let me know. I made it because of several PM's I had of people asking for help, and I hope this works. Feel free to sticky this, as Linux users seem to be a rare breed and this thread will be buried quickly without it.

-Lysdestic
Last edited by Lysdestic on Mon Oct 20, 2008 2:20 pm, edited 2 times in total.
Image
[DLC Quickplay|Lysdestic.com]

raph666 wrote:Lys might be rude sometimes, but he's often right.

Prof. Logic, Ph.D
User avatar
Lysdestic
Member
 
Posts: 2733
Joined: Fri Dec 14, 2007 2:41 am
Location: Kentucky -- Longing for Oregon.
Karma: 16

Postby Lysdestic » Mon Sep 29, 2008 1:21 am

I want to mention that I am going on a week-long road trip to Oregon Tuesday, so I may not catch some of the posts unless I find a hotspot. However, I am sure Azzco and Evilynux can handle that until I am back. :)
Image
[DLC Quickplay|Lysdestic.com]

raph666 wrote:Lys might be rude sometimes, but he's often right.

Prof. Logic, Ph.D
User avatar
Lysdestic
Member
 
Posts: 2733
Joined: Fri Dec 14, 2007 2:41 am
Location: Kentucky -- Longing for Oregon.
Karma: 16

Postby evilynux » Mon Sep 29, 2008 11:19 am

Good job, thanks.
evilynux
Member
 
Posts: 382
Joined: Tue Jul 01, 2008 10:58 pm
Location: Montréal, Canada
Karma: 0

Postby 00061205 » Thu Oct 02, 2008 12:23 am

Next, we want to rename the Alarian folder to FretsOnFire.

mv 7z x MFH_Full_3.005.1.32bit.7z FretsOnFire/

I think this line should be
Code: Select all
mv MFH_Full_3.005.1.32bit FretsOnFire
00061205
Member
 
Posts: 1
Joined: Wed Oct 01, 2008 8:17 am
Karma: 0

Postby iSelfpwned » Sun Oct 05, 2008 4:13 pm

I get over 1000 errors while extracting
Code: Select all
7z x MFH_Full_3.005.1.32bit.7z


This is md5sum:
Code: Select all
de0e51b5146f8c71339ef58990b2b1ef  MFH_Full_3.005.1.32bit.7z


Can someone approve that?
Last edited by iSelfpwned on Sun Oct 05, 2008 4:59 pm, edited 1 time in total.
iSelfpwned
Member
 
Posts: 3
Joined: Sun Aug 17, 2008 6:18 am
Karma: 0

Postby evilynux » Sun Oct 05, 2008 5:02 pm

I'm using 4.58 beta to create the files:
7-Zip (A) 4.58 beta Copyright © 1999-2008 Igor Pavlov 2008-05-05
p7zip Version 4.58 (locale=fr_CA,Utf16=on,HugeFiles=on,1 CPU)

Which version are you using to extract the files?
evilynux
Member
 
Posts: 382
Joined: Tue Jul 01, 2008 10:58 pm
Location: Montréal, Canada
Karma: 0

Postby iSelfpwned » Mon Oct 06, 2008 5:53 am

I'm using the 4.57 from the p7zip-full package from the ubuntu repos.

7-Zip 4.57 Copyright © 1999-2007 Igor Pavlov 2007-12-06
p7zip Version 4.57 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

should I try the beta?
iSelfpwned
Member
 
Posts: 3
Joined: Sun Aug 17, 2008 6:18 am
Karma: 0

Postby Lysdestic » Mon Oct 06, 2008 12:10 pm

sorry, I was away in Oregon.

I've updated the error I had in there. Later today I'll do the patch.

In regards to the 7-zip issue, it may be a corrupt archive, but you can try the beta... =\
Image
[DLC Quickplay|Lysdestic.com]

raph666 wrote:Lys might be rude sometimes, but he's often right.

Prof. Logic, Ph.D
User avatar
Lysdestic
Member
 
Posts: 2733
Joined: Fri Dec 14, 2007 2:41 am
Location: Kentucky -- Longing for Oregon.
Karma: 16

Postby MarvinPA » Mon Oct 06, 2008 12:12 pm

Lysdestic wrote:In regards to the 7-zip issue, it may be a corrupt archive, but you can try the beta... =\

On Mac the Rar Archive makes songs go out of sync it seems that some Expanders have trouble with FoF files

(Welcome back Lys btw)
2 + 2 = 5
User avatar
MarvinPA
Member
 
Posts: 3271
Joined: Sun Dec 23, 2007 1:16 pm
Location: Not in Portland
Karma: 3

Postby evilynux » Mon Oct 06, 2008 6:26 pm

Argh... that means i should either downgrade my 7zip version (from Debian unstable) or not do full releases.

7zip was the only one able to make it under the 300MB barrier (USAupload limit).
evilynux
Member
 
Posts: 382
Joined: Tue Jul 01, 2008 10:58 pm
Location: Montréal, Canada
Karma: 0

Postby Lysdestic » Wed Oct 08, 2008 5:25 pm

Your full release works for me. =\
Image
[DLC Quickplay|Lysdestic.com]

raph666 wrote:Lys might be rude sometimes, but he's often right.

Prof. Logic, Ph.D
User avatar
Lysdestic
Member
 
Posts: 2733
Joined: Fri Dec 14, 2007 2:41 am
Location: Kentucky -- Longing for Oregon.
Karma: 16

Postby iSelfpwned » Thu Oct 09, 2008 3:27 pm

Lysdestic wrote:Your full release works for me. =\

Which version of 7z you have? Which distribution of linux do you use?
iSelfpwned
Member
 
Posts: 3
Joined: Sun Aug 17, 2008 6:18 am
Karma: 0

Postby evilynux » Fri Oct 10, 2008 3:42 pm

I'll avoid using 7z for patches as the beta version i'm using seem to cause issues with older 7z versions.
evilynux
Member
 
Posts: 382
Joined: Tue Jul 01, 2008 10:58 pm
Location: Montréal, Canada
Karma: 0

Postby Lysdestic » Sun Oct 12, 2008 2:52 pm

After the forum is back up I should have time to update the post. I've been slammed since I was back from Oregon.
Image
[DLC Quickplay|Lysdestic.com]

raph666 wrote:Lys might be rude sometimes, but he's often right.

Prof. Logic, Ph.D
User avatar
Lysdestic
Member
 
Posts: 2733
Joined: Fri Dec 14, 2007 2:41 am
Location: Kentucky -- Longing for Oregon.
Karma: 16

Re: How To Install MFH Mod 3.0xx under GNU/Linux

Postby mrhoeivo » Wed Dec 31, 2008 4:35 pm

Code: Select all
username@ubuntu:~/Desktop$ FoFiX
bash: /usr/local/bin/FoFiX: Permission denied
username@ubuntu:~/Desktop$ sudo FoFiX
sudo: FoFiX: command not found

:confused:
User avatar
mrhoeivo
Member
 
Posts: 412
Joined: Fri Nov 30, 2007 12:32 am
Karma: 0

Next

Return to FOF Mod Discussion and Support

Who is online

Users browsing this forum: No registered users and 2 guests