Requirements
WINE (tested with 2.21)
Depending on your distro, install wine either from your repos or directly from WineHQ. I went for wineHQ to get wine 2.21. Oni is reported to run on Wine 0.9, so you should be fine with the one from your distro's repos. But I'd highly suggest that you add the WineHQ repos to your sources of software. See WineHQ wiki pages
WINETRICKS
I used winetricks script to configure many things. I really recommend you do so, because many steps involve bugs workaround that are well documented, but winetricks provides an easy way to perform them. You should get the most up to date, the one from your distro's repos is likely out of date. You can find a link at WineHQ wiki page
So first check out WineHQ appDB for informations.
If you're not familiar with using Wine and Wine prefixes, I'd suggest you to google some howto's. I like the "complete_guide_using_wine_command_line" at linuxquestions site.
To make it short, you should have a directory (usually refered as a wine prefix) where you want your 'machine'. It is recommended to have a different one for each main app you run with wine.
I create a new wine bottle at
~/.wineCellar/oniBottle
with a 32bit and using winetricks.
export WINEPREFIX=/home/myName/.wineCellar/oniBottle
export WINEARCH=win32
path/to/where/you/stored/winetricks --gui
winetricks put the required files and folder in your
~/.wineCellar/oniBottle
directory. I use the UI to :
'select the default wineprefix'
'install a font'->corefonts (it never hurts)
'install a dll or compoment'-> vcrun2015
-> dotnet20 for MS .NET2.0 (probably also works with more recent) wich is required by AEinstaller
Somewhere in the process, windows 2003 flag is set. I chose to correct this though I am not positive it is required.
I still used the winetricks script :
run winecfg.
As I used export to set the variable WINEPREFIX, you must use the same terminal without closing it for all the procedure otherwise wine revert to the default ~/.wine bottle.
Change in 'applications' tab Windows version to XP (or 98 probably works).
In the 'Drives' tab, check out that you have your CD or mounted .iso of Oni set somewhere. It should be at D: but I had no problem at other location. If not add it.
I then run windows explorer.exe to manage the files and run the installation.
As usual, it is better to run any app.exe from where it is located, so I move to
/home/myName/.wineCellar/oniBottle/drive_c/windows
cd /home/guido/.wineCellar/oniBottle/drive_c/windows
wine explorer.exe
It launches a windows file manager window within your WINEPREFIX (and you can acces at many other places). I go to the D: where is Oni and run ONISETUP. Dismiss the options of running GLSETUP.
Then navigate to where you stored the Anniversary-Edition-Setup-v1.3_1.exe and run it. It takes quite a time and sometimes seems to hang up. Be patient.
You're done, run Oni from the Oni.exe that is located within
~/.wineCellar/oniBottle/drive_c/Program Files/Oni/AE
.
]]>As far as graphics, I would still expect Oni to run on a machine with integrated graphics, but maybe that's also a Wine interaction issue.
]]>You can also check for a debugger.txt in the folder next to Oni.exe, which may have more useful information than startup.txt.
]]>system sleep disabled
keystroke traps installed
begin initializing oni
looking for the game data folder
initializing the template manager
DataFolder = GameDataFolder
Created a file iterator for the data folder.
Got Level Info for level0_Final.dat.
Valid Level level0_Final.dat
Got Level Info for level10_Final.dat.
Valid Level level10_Final.dat
Got Level Info for level11_Final.dat.
Valid Level level11_Final.dat
Got Level Info for level12_Final.dat.
Valid Level level12_Final.dat
Got Level Info for level13_Final.dat.
Valid Level level13_Final.dat
Got Level Info for level14_Final.dat.
Valid Level level14_Final.dat
Got Level Info for level18_Final.dat.
Valid Level level18_Final.dat
Got Level Info for level19_Final.dat.
Valid Level level19_Final.dat
Got Level Info for level1_Final.dat.
Valid Level level1_Final.dat
Got Level Info for level2_Final.dat.
Valid Level level2_Final.dat
Got Level Info for level3_Final.dat.
Valid Level level3_Final.dat
Got Level Info for level4_Final.dat.
Valid Level level4_Final.dat
Got Level Info for level6_Final.dat.
Valid Level level6_Final.dat
Got Level Info for level8_Final.dat.
Valid Level level8_Final.dat
Got Level Info for level9_Final.dat.
Valid Level level9_Final.dat
calling TMrRegisterTemplates
calling ONrRegisterTemplates
initializing oni platform specific code
initializing sound system 2, basic level
initializing basic sound system 2 layer...
DirectSoundCreate
direct sound dwFlags = f5f
direct sound dwFreeHw3DAllBuffers = 0
direct sound dwFreeHw3DStaticBuffers = 0
direct sound dwFreeHw3DStreamingBuffers = 0
direct sound dwFreeHwMemBytes = 0
direct sound dwFreeHwMixingAllBuffers = 16
direct sound dwFreeHwMixingStaticBuffers = 16
direct sound dwMaxContigFreeHwMemBytes = 0
direct sound dwMaxHw3DAllBuffers = 0
direct sound dwFreeHwMixingStaticBuffers = 16
direct sound dwFreeHwMixingStreamingBuffers = 16
direct sound dwMaxContigFreeHwMemBytes = 0
direct sound dwMaxHw3DAllBuffers = 0
direct sound dwMaxHw3DStaticBuffers = 0
direct sound dwMaxHw3DStreamingBuffers = 0
direct sound dwMaxHwMixingAllBuffers = 16
direct sound dwMaxHwMixingStaticBuffers = 16
direct sound dwMaxHwMixingStreamingBuffers = 16
direct sound dwMaxSecondarySampleRate = 200000
direct sound dwMinSecondarySampleRate = 100
direct sound dwPlayCpuOverheadSwBuffers = 0
direct sound dwPrimaryBuffers = 1
direct sound dwSize = 96
direct sound dwTotalHwMemBytes = 0
direct sound dwUnlockTransferRateHwBuffers = 0
setting the direct sound cooperative level
initializing oni persistance
initializing scripting
initializing binary data system
initializing imaging
initializing image system...
initializing motoko
initializing 3D display system..
initializing geometry engines...
initializing draw engines...
So I guess that draw engines is the most obvious suspect.
If you had such an issue on a windows XP, what would you suggest ?
]]>