Knightshift v1.3 Installed fine not starting

Questions about Wine on Linux
Locked
debianine
Level 1
Level 1
Posts: 5
Joined: Thu Apr 26, 2018 1:37 pm

Knightshift v1.3 Installed fine not starting

Post by debianine »

I am running Debian 9 with Gnome DE. The version of WINE I have is 1.8.7-2. (from the stable repositories)

This is what I get when I try to run knightshift.exe from the terminal:

Code: Select all

$ err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
err:dsound:get_mmdevenum CoCreateInstance failed: 80040154
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
err:dsound:get_mmdevenum CoCreateInstance failed: 80040154
err:ole:CoGetClassObject class {25e609e0-b259-11cf-bfc7-444553540000} not registered
err:ole:CoGetClassObject no class object {25e609e0-b259-11cf-bfc7-444553540000} could be created for context 0x1
err:dinput:DirectInput8Create CoCreateInstance failed with hr = 0x80040154
wine: Unhandled page fault on read access to 0x00000000 at address 0x7dba1d (thread 0020), starting debugger...
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 31 172") (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
Thanks
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Knightshift v1.3 Installed fine not starting

Post by Bob Wya »

debianine wrote:I am running Debian 9 with Gnome DE. The version of WINE I have is 1.8.7-2. (from the stable repositories)
...
Currently supported versions of Wine are: 3.0 (Stable) and 3.6 (Development or Staging).
See: WineHQ Download: Debian.
Please upgrade or learn to live with the issues you've got... :lol:

Bob
debianine
Level 1
Level 1
Posts: 5
Joined: Thu Apr 26, 2018 1:37 pm

Re: Knightshift v1.3 Installed fine not starting

Post by debianine »

OK working on getting the version available from git. How do I enable multi-arch(32bit) support. That is not in the git installation howto.
debianine
Level 1
Level 1
Posts: 5
Joined: Thu Apr 26, 2018 1:37 pm

Re: Knightshift v1.3 Installed fine not starting

Post by debianine »

I get

Code: Select all

configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
apt-get install multiarch-support returns that I already have the package

Why isn't it recognizing the requirement is met when I run ./configure?
debianine
Level 1
Level 1
Posts: 5
Joined: Thu Apr 26, 2018 1:37 pm

Re: Knightshift v1.3 Installed fine not starting

Post by debianine »

this is the whole process from the first no on down

Code: Select all

checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for cpp... cpp
checking for ld... ld
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Knightshift v1.3 Installed fine not starting

Post by Bob Wya »

Bob Wya wrote:...
See: WineHQ Download: Debian.
That is a link to a Wiki page describing how to install the WineHQ Debian binary packages...
So why are you trying to compile Wine from Source? :?

Bob
debianine
Level 1
Level 1
Posts: 5
Joined: Thu Apr 26, 2018 1:37 pm

Re: Knightshift v1.3 Installed fine not starting

Post by debianine »

It wasn't clear in the instructions for the git method that the package would have to be compiled from source. I think y'all should update some of your installation guides.

I was able to install WINE stable from the Debian Stretch repository. What puzzled me at first was that they are called "binary" packages. That is what led me to try git as I was not sure I would know what to do with a "binary" package.

Removal of the uncompiled data I got from git was simple. It just required

Code: Select all

rm -r ~/wine && rm -r ~/.wine
. From there I was able to install WINE version 3 without too much trouble, and the game works!

I think the guide should also include how to edit your /etc/apt/sources.list file for those who are unsure how to use gedit, vi, nano, etc. Also in the guide for Debian it makes use of sudo, this should be changed as I am pretty sure most of us use a root prompt in terminal rather than sudo.

Another thing is that it doesn't mention that you should run winecfg prior to installing any programs. I ran winecfg as root by mistake to begin with. Hopefully this didn't damage anything. I guess I opted out of installing mono and gecko. What are they for anyway?

Well now that the game works, I reckon it's time to get cheat engine and make my character incredibly OP 8)
Locked