ToEE Front-End X for Linux/Mono BETA

Discussion in 'ToEE Front-End X' started by Agetian, Dec 12, 2010.

Remove all ads!
Thread Status:
Not open for further replies.
  1. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    @ SCO: I'll try to implement that on TFE-X level as well, thanks for your advice.

    - Agetian
     
  2. SCO

    SCO Member

    Joined:
    Jan 2, 2011
    Messages:
    58
    Likes Received:
    0
    What you could do instead of saving to a tmp dir and renaming is to:

    save the files on the directory whose name is not equal to the files that will replace them, but the lowercased name IS, in a list,

    and then simply delete those files.

    You wouldn't have to change the installer if that part is not on C#, just find and delete the duplicated files on C#

    However, doing it in the installer is better since the old game can be run right away if a person doesn't care for the co8 patch anymore (i'm guessing this.)
     
    Last edited: Jan 15, 2011
  3. DeathFerre

    DeathFerre Member

    Joined:
    Jan 31, 2011
    Messages:
    1
    Likes Received:
    0
    I copied game with my main computer(Windows 7) on my netbook(Fedora 14).
    I install mono package.

    I run game TFE-X-linux and see message error!
    Error: You must run ToEEFE X from the Temple of Elemental root folder!
    If you are running ToEEFE X from the root ToEE folder and are still getting this error, please make sure you have the official Patch 2 installed before trying again.

    Please talk me what i can do.
     
  4. SCO

    SCO Member

    Joined:
    Jan 2, 2011
    Messages:
    58
    Likes Received:
    0
    Does the new version fixes the duplicate files problem when using TFE-X-linux?

    I also wouldn't mind that that files ("TFE-X-linux") was executable from the install on, instead of like now. You may not be able to control this - it may be wine setting up the exe as executable when it installs them and skipping the non-exe file.
     
  5. thegom

    thegom Member

    Joined:
    Oct 27, 2006
    Messages:
    4
    Likes Received:
    0
    ToEE under wine - fullscreen?

    Hi Guys,

    Apologies if this has already been answered somewhere else on the forum, I haven't been able to find anything out about it.

    I've been running ToEE (GoG version, co8 6.1.0 NC) with wine on my Ubuntu 11.04 machine using the linux TFE-X frontend. Everything works perfectly under windowed mode, but I can't get fullscreen to work under any resolution - can anyone tell me what I need to do to get this working?

    I've been coming back to this game every 3-4 years since it came out, and I'd just to say the latest NC mod is *unbelievable*. The new content is worthy of a AAA title, amazing stuff guys.
     
  6. emo_ome

    emo_ome Butcher Of Hommlet

    Joined:
    Oct 18, 2008
    Messages:
    140
    Likes Received:
    0
    Re: ToEE under wine - fullscreen?

    thegom have you tried to unchecked the "Window Mode" in the "Option" menu of TFE-X or try reading this thread Link. (It's all about resolutions and widescreen monitors)
     
  7. thegom

    thegom Member

    Joined:
    Oct 27, 2006
    Messages:
    4
    Likes Received:
    0
    Re: ToEE under wine - fullscreen?

    I had a look at that link already, thank you - unfortunately the game will not start unless the "windowed mode" checkbox has been checked, I have tried setting different resolutions to no avail :(
     
  8. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,029
    Likes Received:
    42
    Re: ToEE under wine - fullscreen?

    Unfortunately I don't know enough about the wine/linux stuff to be able to tell you anything meaningful. Sorry.
     
  9. thegom

    thegom Member

    Joined:
    Oct 27, 2006
    Messages:
    4
    Likes Received:
    0
    Re: ToEE under wine - fullscreen?

    I figured it out eventually, its a little tricky. Here are the steps if anyone else has this problem in the future:

    1) Go to wine configuration -> graphics tab -> check "virtual desktop"
    2) Set the wine virtual desktop resolution, your monitors resolution and the resolution in TFE-X.cfg to the same widthXheight
    3) Full screen should now work (this might mess up settings for your other games, its probably a good idea to create a specific wine profile for ToEE)

    I have it working in lovely 1680x1050, looks great :)
     
  10. emo_ome

    emo_ome Butcher Of Hommlet

    Joined:
    Oct 18, 2008
    Messages:
    140
    Likes Received:
    0
    Re: ToEE under wine - fullscreen?

    That's great. Your step-by-step solution would definitively help the linux users. :)
     
  11. SCO

    SCO Member

    Joined:
    Jan 2, 2011
    Messages:
    58
    Likes Received:
    0
    Re: ToEE under wine - fullscreen?

    It's a common problem in wine.
    Infinity Engine suffers from that too.

    I think the root cause is that changing resolutions in apps in fullscreen is not well supported in X11.

    Here is what i use for torment, you can have the same (normal) prefix if you use this as a template (change the exe name) etc.

    The sound thing is a problem you might not have.
     
  12. thegom

    thegom Member

    Joined:
    Oct 27, 2006
    Messages:
    4
    Likes Received:
    0
    Re: ToEE under wine - fullscreen?

    Cheers SCO, I'll look into altering that to work on ToEE :)
     
  13. SCO

    SCO Member

    Joined:
    Jan 2, 2011
    Messages:
    58
    Likes Received:
    0
    Is the issue i reported above (the frontend "replacing" no files and instead making a copy with a different case fixed?

    This is essential if this version of the frontend is to be of any use.

    If i isn't could you tell me a exact list of the files the frontend replaces so i can rename them ahead of time before co8 install?
     
  14. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,029
    Likes Received:
    42
    If the only issue is the case of the executable, that will be standardized to 'toee.exe' (lowercase) in v7, and in fact I think that's already the case in 6.1.0. (Not at the modding PC atm so I can't verify.)

    If there's some other more complicated issue, that will have to be addressed by Agetian as I'm not particularly familiar with Linux/Mono and their associated problems. This whole thing (TFE-X for Linux/Mono) is Agetian's baby.

    To be clear on my end: all instances of toee.exe and temple.dll in the Co8 modpack from at least v7 onward (including any re-releases of older modpacks featuring modern installation utilities) will be lowercase.

    Side note - v7 will be released on December 20, so you may want to wait for that to get the latest everything.
     
  15. SCO

    SCO Member

    Joined:
    Jan 2, 2011
    Messages:
    58
    Likes Received:
    0
    It's more than the exe. If i remember correctly (which i may not), you also replace a dll and a config file.

    And the problem is not them being lower case or upper case, but rather not checking the case of the original exe in the dir.

    If the game version had a different case, then you may end up with two version. And which gets run is, if not random, not exactly deterministic (i don't know).

    This is only a problem on filesystems that are case sensitive by default (windows is too, but the windows api higher levels pretend it's not, because of backwards compatibility with this very problem).

    Resuming, i don't think standardizing to lower case is enough unless you want to require (or do it on the mono version) a renaming to lower case before you start copying over things - unless all versions of the game have the same case for all replaced files, then it suffices to use that.
     
Thread Status:
Not open for further replies.
Our Host!