OpenDiablo2 icon indicating copy to clipboard operation
OpenDiablo2 copied to clipboard

AbyssEngine does not run

Open ezykielue opened this issue 3 years ago • 12 comments

Hi, I'm probably missing something really obvious here, but I can't get the AbyssEngine to run.

I've extracted it into the root directory of the OD2 folder, and my MPQs are in the correct location, but when I attempt to run it I get this error:

abyssengine

What can I do to fix this?

OS is Arch Linux, thanks.

ezykielue avatar Feb 20 '22 17:02 ezykielue

Could you provide the output from the tree command from the folder where you're running the abyss engine

cookta2012 avatar Feb 20 '22 17:02 cookta2012

Hi, Here's the contents of the OD2 directory, and the bin directory I'm running the engine from

Screenshot_20220220-174934_JuiceSSH Screenshot_20220220-174910_JuiceSSH

ezykielue avatar Feb 20 '22 17:02 ezykielue

Your current directory needs to be the open Diablo 2 directory and then invoke the abyss engine from that directory

Ex current directory is root Opendiablo2 You'd execute it as './bin/abyssengine' With your current folder setup

cookta2012 avatar Feb 20 '22 17:02 cookta2012

Oh right, so I need to execute it from the root directory rather than within the bin folder itself? Will give that a whirl.

ezykielue avatar Feb 20 '22 17:02 ezykielue

No problem

cookta2012 avatar Feb 20 '22 17:02 cookta2012

Hi, have tried that, and now I get the attached error - oh dear!

abyssengine2

ezykielue avatar Feb 20 '22 18:02 ezykielue

I'm on Windows and I had this error when running AbyssEngin.exe:

---------------------------
AbyssEngine Crash
---------------------------
current_path(const path&): The filename, directory name, or volume label syntax is incorrect.: ""
---------------------------
OK   
---------------------------

I followed your advice to run the executable form the root directory by creating a shortcut and changing the working directory:

image

Now the game launches.

It'd be nice to have that explained in the README.md file, and not just "Run the Abyss Engine application."

Jerther avatar Mar 12 '22 01:03 Jerther

Hi, have tried that, and now I get the attached error - oh dear!

abyssengine2

Still experiencing the exact same issue on Arch Linux: image

I managed to get it to run on Arch Linux, I needed to compile the engine from source (as of 2022.09.02) and copy the binary's and the libraries over the ones provided by the release files. I was getting the same error message as seen above this message:
[2022-09-02 15:30:23.960] [critical] [abyssengine.cpp:85] Caught exception St13runtime_error: dsp: No such audio device
So compiling allowed me to start the game, BUT now there is another problem that halts any possible game play (as far as I can see)
#43

panmarco83 avatar Sep 02 '22 13:09 panmarco83

[2022-09-02 15:30:23.960] [critical] [abyssengine.cpp:85] Caught exception St13runtime_error: dsp: No such audio device

This looks like a different issue. Let's not mix different issues into the same issue on github

DarthGandalf avatar Sep 02 '22 17:09 DarthGandalf

@ezykielue https://github.com/AbyssEngine/AbyssEngine/commit/b765f2891bfa3caf8251457a68c3b2012a63f1db should fix with that empty error (at least, to show hopefully slightly more detailed error message)

DarthGandalf avatar Sep 02 '22 17:09 DarthGandalf

... BUT now there is another problem that halts any possible game play (as far as I can see) #43

My bad on this one, it wasn't implemented yet.
From the error message it looked like it was trying to talk to /dev/dsp, as in oss's devices, am I wrong ?
A "quick" compile (needs more details in the readme about needed libraries and compiling method)
and it launched like it should.

panmarco83 avatar Sep 02 '22 19:09 panmarco83