Qhimm.com Forums

Final Fantasy Forums => Troubleshooting => Topic started by: d33eniz on 2010-01-09 14:11:51

Title: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-09 14:11:51
And here's my next question :)

I want to install FF7 on my Linux laptop- I want to change my OS completely and Linux Ubuntu 9.10 is so ferning awesome, so I'm no longer working with Windows!
So, I'm working for 3 months now with Linux Ubuntu and I want to install and run FF7 on it, so I can kick Windows from my laptop :D

And here I come:
How should I install it? I have Wine v1.1.35 installed. And- how can I add Aali's Custom Driver registry-key to the Wine-registry? And does FiceMusic work with it?

Need some tips :D

Thank ya,

- Deniz
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: DragRopes on 2010-01-09 14:36:57
I don't know if it'll run now that we have aali's driver patch, but FF VII on it's own, doesn't run on WINE
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-09 15:28:01
I know that it'll work:

http://appdb.winehq.org/objectManager.php?sClass=version&iId=183&iTestingId=41250
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: NFITC1 on 2010-01-09 16:50:41
Yes, you'll need Aali's driver. But since that works on OpenGL and not DirectX, WINE is only needed for executing the game (WINE doesn't and never will support any DirectX features).

The biggest issue I see is the fmvs playing. It's likely that it wants to use DirectShow to play those. I don't use Aali's driver so I don't know if that's not an issue.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Aali on 2010-01-09 17:16:05
Err, I don't think a single thing was correct in that post.

Technically you don't even need my driver to make the game work in WINE, that just makes it easier for you.

WINE supports MANY DirectX features, among them Direct3D and DirectShow.

And that brings us to the last point, my driver completely replaces the movie player with one that only needs DirectSound to work, it never touches DirectShow. (And DirectSound is of course supported by WINE)

Now to answer some of the original questions; WINE has it's own regedit program, functionally equivalent to the windows version, simply run that on the .reg file to import it. FF7Music works fine as long as you enable the WINE-specific plugin in the config.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-09 17:23:11
Well, that's awesome, thank ya Ali :D

And I upgraded now to Wine v1.1.36 (compiled from source), let's see :D
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: NFITC1 on 2010-01-10 15:59:04
Err, I don't think a single thing was correct in that post.

Technically you don't even need my driver to make the game work in WINE, that just makes it easier for you.

WINE supports MANY DirectX features, among them Direct3D and DirectShow.

And that brings us to the last point, my driver completely replaces the movie player with one that only needs DirectSound to work, it never touches DirectShow. (And DirectSound is of course supported by WINE)

Wow, really? This was the reason that I stopped using WINE. When I last touched it everyone said it wasn't going to be able to do anything DX related. I think that was back in version 0.9 or so. That was probably two or three years ago too so it's likely my information is out-of-date and/or based on my poor understanding of computers back in the day.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Aali on 2010-01-10 16:47:41
DirectX support is far from perfect, but when it comes to graphics it's usually just a problem of glitching (which you can live with most of the time) and somewhat crappy performance.
And it has probably seen some great improvements over the last few years, especially for the more popular titles.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: NFITC1 on 2010-01-10 18:37:00
Maybe I'll go back to Linux then and create a more universal version of WallMarket and PrC. :D I need to learn to do GUI in Linux anyway.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-10 18:44:07
you can play ff7 in wine w/ no issues...

you will need aali's driver, and ff7 music if you want decent sound... i have been running ff7 for almost a year on kubuntu. you should be sure that first you have the proper video drivers installed and working. from there is just a matter of installing and patching it all up afterwards..
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: myst6re on 2010-01-10 19:55:00
With me, version 0.6.10b of the aali's driver works with ubuntu, but not version 0.7 :-(.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-11 02:53:02
Maybe I'll go back to Linux then and create a more universal version of WallMarket and PrC. :D I need to learn to do GUI in Linux anyway.
Qt is good for GUI programing in linux w/ the added bonus of it being cross platform... and GPL.
http://qt.nokia.com

and i would love to be able to use wallmarket i have had no luck w/ it in wine..
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Covarr on 2010-01-11 03:14:45
w/ the added bonus of it being cross platform... and GPL.
And buggy.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: NFITC1 on 2010-01-11 03:59:16
and i would love to be able to use wallmarket i have had no luck w/ it in wine..

Because it's dependent on .NET framework which, I'm pretty sure this time, WINE does not support....yet.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: KnifeTheSky77 on 2010-01-11 05:04:03
http://appdb.winehq.org/objectManager.php?sClass=application&iId=2586

Just on the pantyline of operability, no 3.5 framework for u
Actually, the last version tested for .net 3.5 was 6 subversions ago. Maybe you will get lucky
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-11 13:32:41
I'll try it :D
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: NFITC1 on 2010-01-11 17:45:01
http://appdb.winehq.org/objectManager.php?sClass=application&iId=2586

Just on the pantyline of operability, no 3.5 framework for u
Actually, the last version tested for .net 3.5 was 6 subversions ago. Maybe you will get lucky

The fact that it's able to install .NET 2.0 is impressive! WINE has gotten considerably better since last I tried it!
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-11 18:28:25
Okay, gonna' make a video tutorial again- "How To Play Final Fantasy VII on Linux Ubuntu 9.10!" :D

EDIT: Have a problem! Every time I want to run the FF7 Config it displays the following error message:
(http://www4.pic-upload.de/11.01.10/j4cznjjxpd.png)
Whenever I run it, it says
"Your soundcard is not DirectSound compatible. You need a DirectSound-compatible  soundcard"

I set the sound from hardware to Emulation with winecfg. Where's the problem? I applied already the 1.02 Patch. German version. Tried it with the english one too, but it doesn't matter, it shows the same again!

And I tried to run the ff7.exe- it loads and loads- and the programm closes. What can/should I do? Any information I have to give? I'm using Wine v1.1.36.

- Deniz
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-11 21:22:48
be sure that you have installed both directX (9 should be more then fine) and also that you have configured wine's shound to your sound device , i have always used "FULL" for sound emulation. i started to make a set up guide for the kubuntu forum but have removed most of the good stuff (since it needs to be corrected).
 
i would suggest that you go grab a copy of winetricks (google it you will find it fast) and use it to install the following items
        corefonts
   directx9
   ffdshow (use defaults and allow for all programs when asked for video and audio)
   vcrun2008 (need for some mods and tools, not the main game)
   mfc42 (unsure of this as a requirement try with out it first install if needed, please comment)

then check w/ dxdialog to be sure that you have working sound there..

please note: i also needed  certa's  32-bit color patch.(this may be no longer nesessery w/ aali's driver)

hope i have been of some help. if you get stuck just me know where your @ in the process and i will see what i can do to help, after all us penguins need to stick together.
   
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-12 14:39:43
Quote
and i will see what i can do to help, after all us penguins need to stick together.
Oh yeah, Linux is freakin' awesome- but there's no really support for all those bigger programs... it still kicks M$-ass... :D...

EDIT: Okay, installed everything you told me- but I get the same error over and over again- and whenever I want to run "wine dxdiag" in the terminal, nothing happens. Really, well almost nothing...
(http://www2.pic-upload.de/12.01.10/bi4wi4th3ipw.png)
Only that and nothing else... any other ideas?

EDIT2: Ok, it seems to be an issue with Wine v1.1.35+^^
Any idea's?
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-12 15:50:17
i am at work now , so i can't really confirm that your wine dxdialog path is correct. or that ff7 doesn't work w/  wine >= 1.1.35 (i also have 1.1.36 atm, but have not played since the "upgrade"). when i get back to the house i will see what i can dig up for you, in the mean time do you have another program that uses direct sound to test with (winamp works nice in wine.... and can be set to d.sound out.) try to see if the problem is only w/ ff7 or all direct sound apps , if its with all try to reinstall directX.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-14 20:00:08
Okay, I dunno why it's working now- I installed everything you told me- and I've written into the terminal:
Code: [Select]
sudo apt-get update && sudo apt-get dist-upgradeThen, I restarted my laptop and now I can run the FF7 Config- no errors. But there's still one problem: Whenever I try to run the ff7.exe it loads- and exits. No error message or something like that- any idea?
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-14 20:15:58
works just fine on my machine still (wine 1.1.36)

Okay, I dunno why it's working now- I installed everything you told me- and I've written into the terminal:
Code: [Select]
sudo apt-get update && sudo apt-get dist-upgradeThen, I restarted my laptop and now I can run the FF7 Config- no errors. But there's still one problem: Whenever I try to run the ff7.exe it loads- and exits. No error message or something like that- any idea?

after you load the ff7config. you have to re add the .reg key to your "regestry" ( i would run regedit first then add from with in the program).

do you get any errors when you run (in a terminal)
wine <ff7.exe's path> ?
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: d33eniz on 2010-01-14 21:23:18
I know, I imported the key again into the registry- let's see, I'll run it from the terminal...
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Kranmer on 2010-01-17 12:15:35
ok i just tried this on a virtual machine with ubuntu 10.04 (4gb DVD version) and Wine 1.1.36 and Aali's Driver 0.7.3b and offical update 1.02 and it seems to work (it runs slow but i believe this is more likely that fact its a virtual machine. To do it i installed wine 1.1.36 then installed FF7 then installed patch 1.02 then ran FF7config.EXE once then imported the registry from Aali's driver 0.7.3b with regedit in wine then ran ff7.exe and the first error i got was a error to do with Microsoft C++ libraries so i installed VC 2005+2008 redist and that fixed that problem then i had a problem with the game just staying black and to fix this i changed the audio setting in wines configuration program to the 3rd option (cant remember what it was off the top of my head just that it was the 3rd option down) then ran the game and it seems to run without any errors.
(http://img64.imageshack.us/img64/4594/screenshotweo.th.png) (http://img64.imageshack.us/i/screenshotweo.png/)

EDIT:
ok just installed Ubuntu 9.10 (700mb CD version) onto my laptop (so this time its not a virtual machine) then installed all updates (including nvidia driver 185 for my graphics card), rebooted, then installed wine 1.1.36 (i didnt compile myself since when i tried the compiled version kept giving me weird errors so i downloaded a already compiled version) after installing wine i went on to install ff7 then the offical 1.02 patch then ff7config then extracted Aali's driver 0.7.3b to the game folder. Then imported the keys from Aali's driver into wine with regedit and edited the cfg file for the settings i wanted and ran the game, the game ran but the audio was off so i then installed TiMidi++ MIDI sequencer from the Ubuntu software server and ran ff7config again and set it to TiMidi port0 then clicked ok and re added the registry files from Aali's driver ran the game and it ran with good sound (no music just sounds but i have yet to try ff7music)
(also above i used wine with all its default settings and ran the EXE's by right clicking them in the "file browser" on my laptop)
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-17 17:43:07
do either of you guys have FF7music working correctly w/ wine 1.1.36 (64bit) i seam to get errors when it need to change the songs... (first one works correctly, then it goes silent...

the following errors are what i get...
(http://www.imgshack.info/images/4m3ztr9fqpwt3tx9xj4_thumb.png) (http://www.imgshack.info/viewer.php?file=4m3ztr9fqpwt3tx9xj4.png)(http://www.imgshack.info/images/rao7ooefqt7isj5jkq0n_thumb.png) (http://www.imgshack.info/viewer.php?file=rao7ooefqt7isj5jkq0n.png)(http://www.imgshack.info/images/b7luup0jc047e82ayv4i_thumb.png) (http://www.imgshack.info/viewer.php?file=b7luup0jc047e82ayv4i.png)

this is w/ a fresh install (after purge) of wine 1.1.36 aali's driver 0.73b , ff7 music 1.5 (mad input and fast-wave out, was working fine)...
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Kranmer on 2010-01-17 18:32:27
i havent tried ff7music yet and i have only been using x86 (32bit) version so i will download the 64bit version in a moment and try it (might take a few hours since i already hit my DL limit since i have downloaded the 4GB DVD and the 700MB 32bit versions today already) , I will edit the post later to let you know how it went.

EDIT:-
Ok just installed "Ubuntu 9.10 AMD64 Desktop" And ff7music seems to be working alright (tried it out in the reactor at the first music change i kept running back and forth from 1 screen to the other and the music kept changing but no crash)

installed all latest updates and activated Geforce drivers 185 for my card and TiMidi++ then installed VC++ 2005+2008 Runtime both 32bit and 64bit versions.
Then wine 1.1.36 and configured it with ALSA audio (not the best but i was only using it for testing)
Then FF7, Then offical Patch 1.02 then Aali's driver 0.7.3b and edited the CFG (making sure to rename the music plugin in CFG adding _wine in to make it work correctly) and ran FF7config.exe and set up TiMidi++ as the MIDI player and default for speakers then clicked OK.
Then imported Aali's driver into the registry using regedit
Then setup ff7music to the settings i wanted then ran FF7 from FF7music.

Did you check your CFG had the wine plugin for FF7music and not just the normal FF7music plugin ?
did you install both 32 and 64 bit versions of VC++ since the error seems to be VC++ related ?
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-17 22:50:57
Ok just installed "Ubuntu 9.10 AMD64 Desktop"
thats close enuff to my os,i just use kde instead of gnome... and ati video...

Did you check your CFG had the wine plugin for FF7music and not just the normal FF7music plugin ?
yes this config has been working correctly for quite some time (but i have double checked "music_plugin=ff7music_wine.fgp")
and oddly enuff the sfx work perfectly the whole time.. (the "crash" won't crash ff7 but it will kill bkround music)
did you install both 32 and 64 bit versions of VC++ since the error seems to be VC++ related ?
now that i have not done i have used winetricks to install , vc2005/vc2008 runtime (and sp1 for 2008), but i don't know if it installed the 32-bit or 64-bit version of them...
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Kranmer on 2010-01-17 23:17:58
ok well you could try installing vc2005/2008 runtimes in both 32and64bit to see if that makes any difference. (i installed the 32bit ones first then the 64bit versions afterwards, the 64bit version of vc2008 crashed after the installation of the files but it seemed to have already finished installing)
Also i only used the originals i didnt use any SP versions so this may have also made a difference. (i will try installing SP1 for vc tomorrow to see if it makes any difference).
also in your previous post you said you are using ff7music 1.5, did you mean 1.51 or are you using a old version ?
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Aali on 2010-01-18 10:24:35
The wine version of the FF7Music plugin will only work with one specific version of FF7Music; file version 1.5.1.1, mtime October 16, 2005. Any other version will just crash.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-18 12:10:05
The wine version of the FF7Music plugin will only work with one specific version of FF7Music; file version 1.5.1.1, mtime October 16, 2005. Any other version will just crash.

i'm assuming that i do have version 1.5.1.1 since this set up was working 100% no issues, but that is another thing i will check... also i have install the 32 and 64 bit versions of vc++ 2008, but no further developments.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: Bosola on 2010-01-22 09:28:47
I know that this isn't really a solution so much as a workaround, but: if you have your own copy of FF7 PSX and have the equipment to dump your own PSOne BIOS, you can play the game using ePSXe legally. ePSXe-Linux isn't perfect, but I suspect it will be less problematic than trying to run ff7.exe on WINE.

There are plenty of tutorials for BIOS dumping out there. Contact me if you want further instructions.
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: sithlord48 on 2010-01-23 04:02:57
I know that this isn't really a solution so much as a workaround, but: if you have your own copy of FF7 PSX and have the equipment to dump your own PSOne BIOS, you can play the game using ePSXe legally. ePSXe-Linux isn't perfect, but I suspect it will be less problematic than trying to run ff7.exe on WINE.

There are plenty of tutorials for BIOS dumping out there. Contact me if you want further instructions.

first off thanks for the suggestion,i have a psx copy of ff7 and a working psx and ps2 so playing on a real one is not a problem,also my psx emulator works decently using pcsx(i use a real ps2 controller(s) with it.).i mainly want to play on my computer because of the vast improvements that have been made to the pc version by members of this forum and others.ff7 looks so good with aali's driver, T.A's 2d overhall,along with other model mods that it just leaves the psx version even in any emulator scaled w/ any filter to 1680*1050 looking a much poorer quality then the pc, and that not even counting the awesomeness that is the remastered ost that FinalFan Tim did.my problems are not really running ff7 in wine at all,infact it works really good...the only issue that i have is that ff7music keeps crashing after it does a song change. so it just runs the game w/o background music, i suspose i could try getting the normal midi to work or use the psf soundfont files...
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: inukaze on 2010-09-13 05:39:07
Well i use "Ubuntu Lucid 10.04" 32 Bits

I need

1 - CDEmu ( PPA )
2 - Wine1.2 ( Stable PPA )
3 - Timidity & Pmidi ( Dont need it if you wanna use FF7Music MP3 OST Remix )
4 - Aali OpenGL Driver
5 - tm20dec.ax
6 - FF7 1.2 Official Patch Version


Take it Easy , I Have a Spanish ┬┐Guide? on my blog you can visit : http://inukaze.wordpress.com/juegos-wine/final-fantasy-vii-7-pc/jwff7pc-01/ (http://inukaze.wordpress.com/juegos-wine/final-fantasy-vii-7-pc/jwff7pc-01/) with you can need to play ( i hope )

Works : CD1 , Videos , GamePlay ( GamePlay turns for me Slowly when Shera Appear ( Patner of Cid ? ) , Mods Of New : Textures , Movies , Avatars , Fonts , Menues . Chocobo Racing Works .

Well i hope this info can help you :=) ^^
Title: Re: Let's play Final Fantasy VII- with Linux?
Post by: litexUK on 2017-04-07 16:34:31
Jesus, I work on Kubuntu now, games are v. slow. Wine is only of little help, honestly. Will try out some tricks here - but I really would like to play some FFs after changing the OS. Will get back w/ questions, probably.