WineHQ

Subterrain



This is the version as sold by GOG.

Application Details:

Version: GOG
License: Retail
URL: http://www.pixellore.com/
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 8.13

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

All works

What does not

Saving is silently broken if game is run in Wine! Fix is easy

The game saves fine from main menu if intro is chosen to be skipped. But it will fail to save in-game. 

Two things indicate it:

  • when leaving and returning to new map chunk, the keyed opened doors will be re-locked, the crates will be moved back
  • quiting to menu or re-starting the whole game will show no save file


Here is a piece from Subterrain/Logs/2023-08-09 Log UTF8.txt when save is clicked within in-game menu:


Log     5:27:57    Save manual ... GameHeader MPO_Prison_1
Log     5:27:57    Initialize Write using : SaveGame_Slot0.dat :
Log     5:27:57    Writing all buffered data ...
Log     5:27:57    File size check : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat [ 1063956 ]
Log     5:27:57    Saving scene file...MPO_Prison_1
Log     5:27:57    Writing a data to save file : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat
Warning 5:27:57    Exception while writing to zip file ! System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\tmp\tmp50db9fab.tmp".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions)
  at System.IO.Path.GetTempFileName () [0x00000] in :0         
Log     5:27:57    File size check : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat [ 1063956 ]
Log     5:27:57    Saving all nodes
Log     5:27:57    Current level index : 1
Log     5:27:57    Writing a data to save file : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat
Warning 5:27:57    Exception while writing to zip file ! System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\tmp\tmp567f5a3b.tmp".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions)
  at System.IO.Path.GetTempFileName () [0x00000] in :0         
Log     5:27:57    File size check : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat [ 1063956 ]
Log     5:27:57    Saving header file : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves
Log     5:27:57    Saving stats file : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves/GameStats.dat
Log     5:27:57    Writing a data to save file : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat
Warning 5:27:57    Exception while writing to zip file ! System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\tmp\tmp2f063614.tmp".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions)
  at System.IO.Path.GetTempFileName () [0x00000] in :0         
Log     5:27:57    File size check : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat [ 1063956 ]
Log     5:27:57    Saving fog : SaveGame_Slot0.dat[MPO_Prison_1]
Log     5:27:57    Capturing fog : 1024x1024
Log     5:27:57    Writing a data to save file : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat
Warning 5:27:57    Exception while writing to zip file ! System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\tmp\tmp65607d42.tmp".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions)
  at System.IO.Path.GetTempFileName () [0x00000] in :0         
Log     5:27:58    File size check : C:/users/user/AppData/LocalLow/Pixellore/Subterrain\Saves\SaveGame_Slot0.dat [ 1063956 ]
Log     5:27:58    Finalize Write Started
Log     5:27:58    Finalize Write Completed


Workarounds

The workaround for save bug is trivial. Make sure that the "drive_c" directory in your wine prefix contains "tmp" folder (on same level as "users" and "windows" folders). 

Game assumes it exists and writes there before writing the save, and silently fails if this directory is absent.

What was not tested

None

Hardware tested

Graphics:

  • GPU: AMD
  • Driver: open source

Additional Comments

Beside that, game works nicely.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentNixOS 21.11 (Porcupine)Aug 08 20238.13Yes Yes YesGoldHack-a-matic 
ShowAntergos x86_64Mar 03 20172.3Yes Yes YesGoldFilip Frackiewicz 
ShowAntergos x86_64Dec 05 20161.9.24Yes Yes NoGoldFilip Frackiewicz 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

Comments

Comments Disabled

Comments for this application have been disabled because there are no maintainers.
Back