Temple+ Runtime Error

Discussion in 'The Temple of Elemental Evil' started by SwingBlade, Aug 22, 2016.

Remove all ads!
  1. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    Hey folks!

    I fired up Temple+ ToEE fine sometime last week I think, then closed it out. Now, when I try to run the Temple+ launcher, I get a runtime error and it closes out. I can launch ToEE with the Co8 launcher fine, and presumably from the base executable. My inclination is to want to reinstall Temple+ but I don't know whether or not that'll affect my saves, etc. I'm on my last node and second playthrough (after setting up Co8), so I'd rather not start a third!
     
  2. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,613
    Likes Received:
    537
    Hi,

    do you have an integrated GPU? If so you'll need to disable anti aliasing:

    go to
    C:\Users\<YOUR WINDOWS USERNAME HERE>\Saved Games\TemplePlus
    and open TemplePlus.ini, set antialiasing=false
     
    SwingBlade likes this.
  3. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    Ahhh, thanks! It looks like Temple+ updated without my noticing, and I had to add a rule for the new version's executable to always run on the GPU (probably my least-favorite 'feature' of the Optimus tech).

    Appreciate it!
     
  4. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    Okay so I spoke too soon in posting that. I both updated the GPU settings, and set AA to false in the .ini, still no dice.
     
  5. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,613
    Likes Received:
    537
    Can you post the logfile? Should be in the same folder.
     
  6. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    [2016-08-22 23:11:14.100] [core] [info] Starting Temple Plus
    [2016-08-22 23:11:14.101] [core] [info] Version: 1.0.15
    [2016-08-22 23:11:14.101] [core] [info] Commit: 03705b24944f33943cafad23ee7f285728cecf69
    [2016-08-22 23:11:14.103] [core] [info] The temple.dll base address delta is: 0
    [2016-08-22 23:11:14.103] [core] [info] Detected Co8 save/load hook in loaded DLL
    [2016-08-22 23:11:14.120] [core] [info] Applying 118 DLL fixes
    [2016-08-22 23:11:14.123] [core] [info] Replacing AI functions...
    [2016-08-22 23:11:14.125] [core] [info] Replacing Critter System functions
    [2016-08-22 23:11:14.277] [core] [debug] Replacing Turn Based System functions
    [2016-08-22 23:11:14.279] [core] [info] Replacing Condition-related Functions
    [2016-08-22 23:11:14.282] [core] [info] Replacing basic Dispatcher functions
    [2016-08-22 23:11:14.284] [core] [info] Replacing Map Object Functions
    [2016-08-22 23:11:14.286] [core] [info] Applying XP Table Extension upto Level 20
    [2016-08-22 23:11:14.303] [core] [info] Finished applying DLL fixes
    [2016-08-22 23:11:14.318] [core] [info] Initializing TIG
    [2016-08-22 23:11:14.318] [core] [info] Registering archive RT_ToEE4.dat
    [2016-08-22 23:11:14.319] [core] [info] Registering archive tig.dat
    [2016-08-22 23:11:14.319] [core] [info] Registering archive ToEE1.dat
    [2016-08-22 23:11:14.321] [core] [info] Registering archive ToEE2.dat
    [2016-08-22 23:11:14.322] [core] [info] Registering archive ToEE3.dat
    [2016-08-22 23:11:14.323] [core] [info] Registering archive ToEE4.dat
    [2016-08-22 23:11:14.323] [core] [info] Registering archive unins000.dat
    [2016-08-22 23:11:14.324] [core] [info] Registering archive unins001.dat
    [2016-08-22 23:11:14.324] [core] [info] Registering tpdata\tpgamefiles.dat
    [2016-08-22 23:11:14.324] [core] [info] Registering new pathfinding data tpdata\clearances.dat
    [2016-08-22 23:11:14.324] [core] [info] Registering Co8 file fixes tpdata\co8fixes.dat
    [2016-08-22 23:11:14.325] [core] [info] Creating window with dimensions 1920x1080
    [2016-08-22 23:11:14.335] [core] [info] Enumerating DXGI display devices...
    [2016-08-22 23:11:14.335] [core] [info] Adapter #0 'NVIDIA GeForce GTX 970M '
    [2016-08-22 23:11:14.338] [core] [info] Output #0 Device '\\.\DISPLAY6' Monitor 'Generic PnP Monitor'
    [2016-08-22 23:11:14.340] [core] [info] Output #1 Device '\\.\DISPLAY5' Monitor 'Generic PnP Monitor'
    [2016-08-22 23:11:14.342] [core] [info] Output #2 Device '\\.\DISPLAY7' Monitor 'Generic PnP Monitor'
    [2016-08-22 23:11:14.342] [core] [info] Adapter #1 'NVIDIA GeForce GTX 970M '
    [2016-08-22 23:11:14.344] [core] [info] Output #0 Device '\\.\DISPLAY2' Monitor 'Generic PnP Monitor'
    [2016-08-22 23:11:14.344] [core] [warning] Direct3D Error 0x-7ff8ffa9 @ status: The parameter is incorrect.
     
  7. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,613
    Likes Received:
    537
    Hi,

    do you actually have 4 displays connected? Might be related to that. Do you also get this error when running in Windowed mode?

    Also, could you post the log after enabling d3dDebug in the TemplePlus.ini config file?
    It is located in the same folder as the log file.
    Please change
    d3dDebug=false → d3dDebug=true
    And post the log.
     
  8. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    [2016-08-24 14:44:01.021] [core] [info] Starting Temple Plus
    [2016-08-24 14:44:01.021] [core] [info] Version: 1.0.15
    [2016-08-24 14:44:01.021] [core] [info] Commit: 03705b24944f33943cafad23ee7f285728cecf69
    [2016-08-24 14:44:01.024] [core] [info] The temple.dll base address delta is: 0
    [2016-08-24 14:44:01.024] [core] [info] Detected Co8 save/load hook in loaded DLL
    [2016-08-24 14:44:01.043] [core] [info] Applying 118 DLL fixes
    [2016-08-24 14:44:01.046] [core] [info] Replacing AI functions...
    [2016-08-24 14:44:01.047] [core] [info] Replacing Critter System functions
    [2016-08-24 14:44:01.200] [core] [debug] Replacing Turn Based System functions
    [2016-08-24 14:44:01.201] [core] [info] Replacing Condition-related Functions
    [2016-08-24 14:44:01.204] [core] [info] Replacing basic Dispatcher functions
    [2016-08-24 14:44:01.207] [core] [info] Replacing Map Object Functions
    [2016-08-24 14:44:01.209] [core] [info] Applying XP Table Extension upto Level 20
    [2016-08-24 14:44:01.230] [core] [info] Finished applying DLL fixes
    [2016-08-24 14:44:01.250] [core] [info] Initializing TIG
    [2016-08-24 14:44:01.250] [core] [info] Registering archive RT_ToEE4.dat
    [2016-08-24 14:44:01.251] [core] [info] Registering archive tig.dat
    [2016-08-24 14:44:01.251] [core] [info] Registering archive ToEE1.dat
    [2016-08-24 14:44:01.253] [core] [info] Registering archive ToEE2.dat
    [2016-08-24 14:44:01.253] [core] [info] Registering archive ToEE3.dat
    [2016-08-24 14:44:01.254] [core] [info] Registering archive ToEE4.dat
    [2016-08-24 14:44:01.255] [core] [info] Registering archive unins000.dat
    [2016-08-24 14:44:01.255] [core] [info] Registering archive unins001.dat
    [2016-08-24 14:44:01.255] [core] [info] Registering tpdata\tpgamefiles.dat
    [2016-08-24 14:44:01.255] [core] [info] Registering new pathfinding data tpdata\clearances.dat
    [2016-08-24 14:44:01.256] [core] [info] Registering Co8 file fixes tpdata\co8fixes.dat
    [2016-08-24 14:44:01.257] [core] [info] Creating window with dimensions 1608x1077
    [2016-08-24 14:44:01.285] [core] [info] Enumerating DXGI display devices...
    [2016-08-24 14:44:01.285] [core] [info] Adapter #0 'NVIDIA GeForce GTX 970M'
    [2016-08-24 14:44:01.288] [core] [info] Output #0 Device '\\.\DISPLAY6' Monitor 'Generic PnP Monitor'
    [2016-08-24 14:44:01.291] [core] [info] Output #1 Device '\\.\DISPLAY5' Monitor 'Generic PnP Monitor'
    [2016-08-24 14:44:01.294] [core] [info] Output #2 Device '\\.\DISPLAY7' Monitor 'Generic PnP Monitor'
    [2016-08-24 14:44:01.294] [core] [info] Adapter #1 'NVIDIA GeForce GTX 970M'
    [2016-08-24 14:44:01.297] [core] [info] Output #0 Device '\\.\DISPLAY2' Monitor 'Generic PnP Monitor'
    [2016-08-24 14:44:01.297] [core] [warning] Direct3D Error 0x-7ff8ffa9 @ status: The parameter is incorrect.
     
  9. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    I do in fact use four displays, my laptop display, and three side monitors. I've been using four displays since I started playing ToEE again though. The only difference is that I changed out one of the displays (which was not used for the game).
     
  10. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    I'm getting this error randomly from other things as well, I'm just not sure how to approach it. At least it indicates it's not isolated to Temple+.
     
  11. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    [2016-08-25 01:08:39.271] [core] [info] Starting Temple Plus
    [2016-08-25 01:08:39.271] [core] [info] Version: 1.0.15
    [2016-08-25 01:08:39.271] [core] [info] Commit: 03705b24944f33943cafad23ee7f285728cecf69
    [2016-08-25 01:08:39.303] [core] [info] The temple.dll base address delta is: 0
    [2016-08-25 01:08:39.303] [core] [info] Detected Co8 save/load hook in loaded DLL
    [2016-08-25 01:08:39.318] [core] [info] Applying 118 DLL fixes
    [2016-08-25 01:08:39.318] [core] [info] Replacing AI functions...
    [2016-08-25 01:08:39.318] [core] [info] Replacing Critter System functions
    [2016-08-25 01:08:39.474] [core] [debug] Replacing Turn Based System functions
    [2016-08-25 01:08:39.474] [core] [info] Replacing Condition-related Functions
    [2016-08-25 01:08:39.490] [core] [info] Replacing basic Dispatcher functions
    [2016-08-25 01:08:39.490] [core] [info] Replacing Map Object Functions
    [2016-08-25 01:08:39.490] [core] [info] Applying XP Table Extension upto Level 20
    [2016-08-25 01:08:39.505] [core] [info] Finished applying DLL fixes
    [2016-08-25 01:08:39.505] [core] [info] Initializing TIG
    [2016-08-25 01:08:39.505] [core] [info] Registering archive RT_ToEE4.dat
    [2016-08-25 01:08:39.505] [core] [info] Registering archive tig.dat
    [2016-08-25 01:08:39.505] [core] [info] Registering archive ToEE1.dat
    [2016-08-25 01:08:39.521] [core] [info] Registering archive ToEE2.dat
    [2016-08-25 01:08:39.521] [core] [info] Registering archive ToEE3.dat
    [2016-08-25 01:08:39.521] [core] [info] Registering archive ToEE4.dat
    [2016-08-25 01:08:39.521] [core] [info] Registering archive unins000.dat
    [2016-08-25 01:08:39.521] [core] [info] Registering archive unins001.dat
    [2016-08-25 01:08:39.537] [core] [info] Registering tpdata\tpgamefiles.dat
    [2016-08-25 01:08:39.537] [core] [info] Registering new pathfinding data tpdata\clearances.dat
    [2016-08-25 01:08:39.537] [core] [info] Registering Co8 file fixes tpdata\co8fixes.dat
    [2016-08-25 01:08:39.537] [core] [info] Creating window with dimensions 1608x1077
    [2016-08-25 01:08:39.552] [core] [info] Enumerating DXGI display devices...
    [2016-08-25 01:08:39.552] [core] [info] Adapter #0 'NVIDIA GeForce GTX 970M'
    [2016-08-25 01:08:39.552] [core] [info] Output #0 Device '\\.\DISPLAY2' Monitor 'Generic PnP Monitor'
    [2016-08-25 01:08:39.552] [core] [info] Adapter #1 'NVIDIA GeForce GTX 970M'
    [2016-08-25 01:08:39.552] [core] [info] Skipping device because it has no outputs.
    [2016-08-25 01:08:39.552] [core] [warning] Direct3D Error 0x-7ff8ffa9 @ status: The parameter is incorrect.
     
  12. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    This is the log with all of the extra monitors removed and a reboot.
     
  13. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    I don't understand what or why, but the game is working. I have two folders for Temple+, 1.0.13 and 1.0.15. The latter always crashes, but the former works fine.
     
  14. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,613
    Likes Received:
    537
    1.0.13 is the older version before the dx11 upgrade. It might work but it won't have Prestige Classes or any other feature added after that version...

    A few more things you can try:
    - Make sure your drivers are up to date
    - Force it to the integrated GPU instead (and set AA to off)
    - In the ini file, set displayAdapter=1 instead of =0
     
    SwingBlade likes this.
  15. SwingBlade

    SwingBlade Member

    Joined:
    Jun 26, 2016
    Messages:
    58
    Likes Received:
    3
    That must be the problem; I probably haven't updated DirectX 11; it's done through Windows Update and I keep those on approval-only to avoid nonsense like the Win10 forced upgrade. I'll try to get DX11 going (didn't know that was part of it, though I totally fussed with getting DX9 updated) and see where that leaves me.
     
Our Host!