Official Codex Discord Server

  1. Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.
    Dismiss Notice

Temple+ on Wine

Discussion in 'ToEE Modding' started by dechlog, Apr 9, 2016.

  1. dechlog Novice

    dechlog
    Joined:
    Apr 5, 2016
    Messages:
    19
    Location:
    the Land between the Rivers of Blood
    Has anyone gotten the current version to run on Wine?
     
    • Friendly Friendly x 1
    ^ Top  
  2. Banichi Novice

    Banichi
    Joined:
    Feb 2, 2016
    Messages:
    32
    Unfortunately not. It looks like this broke when TemplePlus switched to using .NET instead of being entirely native. I've tried fiddling around with both native .NET and mono installed within wine.

    TemplePlus-0.1.0-pre+731.zip worked well enough but I haven't tested anything between then and now as I was busy with the Keep on the Borderlands mod which TemplePlus doesn't support.
     
    • Friendly Friendly x 1
    ^ Top  
  3. Pugmeister Educated Patron

    Pugmeister
    Joined:
    May 1, 2015
    Messages:
    64
    Hi there,

    we currently only use .NET for the config utility/updater. You may be able to install .NET using this workaround: https://appdb.winehq.org/objectManager.php?sClass=version&iId=32828

    Best Regards,
    Gimp
     
    • Friendly Friendly x 1
    ^ Top  
  4. Banichi Novice

    Banichi
    Joined:
    Feb 2, 2016
    Messages:
    32
    Thanks. It's not so much that .NET can't be installed (although that's fiddly enough) but that wine doesn't recognize that it can use that instead of Mono (which currently fails with an assertion error when trying to start TemplePlusConfig.exe).

    It looks like I was confused by TemplePlus.exe starting the config utility if it can't find the config (I assume). If the config utility is "just" generating a config file then in the short term it's going to be easier to generate that by hand instead. Is this
    as simple as putting a .ini with sane contents somewhere?
     
    • Friendly Friendly x 1
    ^ Top  
  5. Pugmeister Educated Patron

    Pugmeister
    Joined:
    May 1, 2015
    Messages:
    64
    It should be. Do you know where your standard Windows "Saved Games" folder is in Wine? It should be in "%USERPROFILE%\Saved Games" or sth. Relative to that, it expects TemplePlus\TemplePlus.ini
     
    • Friendly Friendly x 1
    ^ Top  
  6. Banichi Novice

    Banichi
    Joined:
    Feb 2, 2016
    Messages:
    32
    Well, once again that was easier than I was expecting.. :)

    Created an empty file there and now running the game doesn't run the config utility and does fill the file with default(?) settings which I can happily edit.

    Interestingly I don't have to override the (wine builtin) d3dcompiler_47.dll with the native one included with TemplePlus anymore.

    Simple HOWTO for wine:
    1. install wine (I'm using 1.8.1)
    2. install ToEE (I ran the GoG installer under wine) - I installed to C:\games\ToEE due to force of habit of avoiding windows paths with spaces
    3. fetch the TemplePlus zip file and just unzip it directly in the directory where you installed ToEE
    4. touch ~/.wine/drive_c/users/$USER/Saved\ Games/TemplePlus/TemplePlus.ini
    5. cd ~/.wine/drive_c/games/games/ToEE
    6. wine TemplePlus.exe
    7. immediately exit
    8. edit the ini file to set resolution etc. as desired
    9. wine TemplePlus.exe
     
    • Friendly Friendly x 1
    ^ Top  
  7. Pugmeister Educated Patron

    Pugmeister
    Joined:
    May 1, 2015
    Messages:
    64
    Does it actually work after that? :D
     
    • Friendly Friendly x 1
    ^ Top  
  8. Sitra Achara Arcane Patron

    Sitra Achara
    Joined:
    Sep 1, 2003
    Messages:
    1,666
    Codex 2012 Codex 2013 Codex 2014 PC RPG Website of the Year, 2015
    Well he's been playing and reporting bugs on 1.0.8, so presumably yes :P
     
    • Friendly Friendly x 1
    ^ Top  
  9. dechlog Novice

    dechlog
    Joined:
    Apr 5, 2016
    Messages:
    19
    Location:
    the Land between the Rivers of Blood
    Hey thanks, this works for me.

    I am experiencing a graphical glitch but as an ignoramus I don't know if it's a problem with wine, HD3000 integrated graphics, both, or neither:
    [​IMG]
     
    • Friendly Friendly x 1
    ^ Top  
  10. Pugmeister Educated Patron

    Pugmeister
    Joined:
    May 1, 2015
    Messages:
    64
    That looks... uhm.... interesting I guess?

    Can you check your log-file for any obvious error messages please?
     
    • Friendly Friendly x 1
    ^ Top  
  11. Sitra Achara Arcane Patron

    Sitra Achara
    Joined:
    Sep 1, 2003
    Messages:
    1,666
    Codex 2012 Codex 2013 Codex 2014 PC RPG Website of the Year, 2015
    Looks like Temple of Elm Street Evil :P

    FWIW I had no issues when I forced it to use my HD3000...
     
    • Friendly Friendly x 1
    ^ Top  
  12. dechlog Novice

    dechlog
    Joined:
    Apr 5, 2016
    Messages:
    19
    Location:
    the Land between the Rivers of Blood
    • Friendly Friendly x 1
    ^ Top  
  13. dechlog Novice

    dechlog
    Joined:
    Apr 5, 2016
    Messages:
    19
    Location:
    the Land between the Rivers of Blood
    What's the last version that ran on wine without runtime errors?
     
    • Friendly Friendly x 1
    ^ Top  
  14. Epsilon Cipher

    Epsilon
    Joined:
    Jul 11, 2009
    Messages:
    428
    What version of vc++ libraries does this rely on? I'm having some issues getting it to install on WINE.
     
    • Friendly Friendly x 1
    ^ Top  
  15. Sitra Achara Arcane Patron

    Sitra Achara
    Joined:
    Sep 1, 2003
    Messages:
    1,666
    Codex 2012 Codex 2013 Codex 2014 PC RPG Website of the Year, 2015
    2015
     
    • Friendly Friendly x 1
    ^ Top  
  16. smileyninja Educated

    smileyninja
    Joined:
    Mar 3, 2011
    Messages:
    23
    I've been fighting this thing all weekend. Got ToEE in PlayonLinux Virtual Drive: /home/$USER/PlayOnLinux's virtual drives/TempleElementalEvil_gog/drive_c/GOG Games/Temple of Elemental Evil.

    Have Co8 Modpack installed and activated. Made the saved game folder and config file in: (TemplePlus.ini) in /home/$USER/PlayOnLinux's virtual drives/TempleElementalEvil_gog/drive_c/users/$USER/Saved Games/TemplePlus

    When running on TemplePlus.exe (wine TemplePlus.exe) it crashes

    Show Spoiler
    [​IMG]


    I've got dotnet40, dotnet45,dotnet452 and dotnet46 installed in winetricks. dotnet_verifier states all are installed. I've also installed vcrun2010-vcrun2015. d3dz9_43 is also installed. Earlier there was a post that Directx 11.1 was used, I'm using the latest wine 2.13 (staging) as well as wine 1.81 that Banichi used.

    Here's my directory structure for what it's worth:

    Show Spoiler
    [​IMG]


    and Google Drive link to the backtrace.

    If anyone has any clues on what I should try next I'd really appreciate it.
     
    • Friendly Friendly x 1
    ^ Top  
  17. sevdestruct Barely Literate

    sevdestruct
    Joined:
    Sep 18, 2017
    Messages:
    1


    Has anyone else had any success with this? I've gotten just as far and Temple+ crashes with Runtime errors, stating request to terminate in an unusual way…
     
    • Despair Despair x 1
    ^ Top  
  18. neckbird Barely Literate

    neckbird
    Joined:
    Aug 13, 2017
    Messages:
    4
    fyi to future nerds trying to get this working in wine, don't do this. In the current Temple+ version (56), an empty config causes the configuration to fail with an exception.

    That said, there are other directx issues making the game incompatible with wine 2.19 anyhow.
     
    ^ Top  
  19. LarkinVB Novice

    LarkinVB
    Joined:
    May 24, 2015
    Messages:
    5
    wine 3.11, TemplePlus.exe 1.0.64 crashes with

    wine message :
    and TemplePlus.log :
    Help is appreciated.
     
    ^ Top  
  20. Prehistorik Learned

    Prehistorik
    Joined:
    Sep 19, 2015
    Messages:
    109
    Location:
    Bololand
    Got it to work!

    I'm using wine-4.0-rc2, Temple+ 1.0.64 version.

    Created a new win64 prefix, installed dotnet46 with winetricks (maybe also need vcrun2015), set to Windows 10 and use virtual desktop, run TemplePlus installer and directly exit.
    After this run 'drive_c/users/pali/Local\ Settings/Application\ Data/TemplePlus/TemplePlusConfig.exe' to configure
    And then to play 'drive_c/users/pali/Local\ Settings/Application\ Data/TemplePlus/TemplePlus.exe'

    Did not try Co8.
    Played around a bit, Temple+ features are working and there seems to be no issues.

    Thanks Temple+ team!
     
    ^ Top  
  21. Prehistorik Learned

    Prehistorik
    Joined:
    Sep 19, 2015
    Messages:
    109
    Location:
    Bololand
    After installing Co8 8.1.0 game hangs on the loading screen before starting new game (Shop Map). Works fine without T+ though.
    Loading from save works, so not a big deal I guess.
     
    ^ Top  

(buying stuff via the above buttons helps us pay the hosting bills, thanks!)