AbyssEngine icon indicating copy to clipboard operation
AbyssEngine copied to clipboard

The main menu does not appear

Open nuxster opened this issue 1 year ago • 2 comments

After building game from source code and added MPQ files, game running without main menu. You won't start play the game without main menu. MPQ files from original license Diablo 2 and Diablo 2 LOD DVDs.

image

Messages in terminal after run AbyssEngine:

./AbyssEngine
[INFO ] AbyssEngine.c:22 - Abyss Engine
[DEBUG] AbyssEngine.c:24 - Initializing SDL...
[DEBUG] AbyssEngine.c:29 - Initializing crypto...
[DEBUG] Crypto.c:10 - Initializing cryptographic table.
[DEBUG] AbyssEngine.c:32 - Loading configuration...
[DEBUG] AbyssConfiguration.c:145 - Setting base path to '/home/nuxster/.config/abyss/'
[DEBUG] AbyssConfiguration.c:151 - Setting locale to 'latin'
[DEBUG] AbyssConfiguration.c:162 - Setting scale quality to 'best'
[DEBUG] AbyssConfiguration.c:168 - Setting initial scale to '1.000000'
[DEBUG] AbyssConfiguration.c:177 - Setting fullscreen to 'false'
[DEBUG] AbyssConfiguration.c:187 - Setting master volume to '0.500000'
[DEBUG] AbyssConfiguration.c:193 - Setting music volume to '1.000000'
[DEBUG] AbyssConfiguration.c:199 - Setting sfx volume to '1.000000'
[DEBUG] AbyssConfiguration.c:205 - Setting ui volume to '1.000000'
[DEBUG] AbyssEngine.c:44 - Initializing file manager...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2exp.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2data.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2char.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2music.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2sfx.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2video.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2speech.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2xtalk.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2xmusic.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/d2xvideo.mpq'...
[DEBUG] MPQ.c:22 - Loading '/home/nuxster/.config/abyss/playd2.mpq'...
[DEBUG] AbyssEngine.c:47 - Creating window...
[DEBUG] AbyssEngine.c:57 - Creating renderer...
[DEBUG] MpqStream.c:92 - Loading 'data\global\ui\cursor\ohand.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\global\palette\units\pal.dat'
[DEBUG] Label.c:56 - Initializing Label caches...
[INFO ] AudioManager.c:59 - Initializing audio...
[DEBUG] AudioManager.c:73 - Requested audio spec: 48000 Hz, 2 channels, 512 samples
[DEBUG] AudioManager.c:85 - Obtained audio spec: 48000 Hz, 2 channels, 512 samples
[DEBUG] MpqStream.c:92 - Loading 'data\local\video\new_bliz640x480.bik'
[DEBUG] MpqStream.c:92 - Loading 'data\local\video\bliznorth640x480.bik'
[DEBUG] MpqStream.c:92 - Loading 'data\global\music\introedit.wav'
[DEBUG] AudioStream.c:104 - Using PCM signed 16-bit little-endian to decode /data/global/music/introedit.wav
[DEBUG] MpqStream.c:92 - Loading 'data\global\ui\frontend\gameselectscreenexp.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\global\palette\sky\pal.dat'
[DEBUG] MpqStream.c:92 - Loading 'data\global\ui\frontend\d2logoblackleft.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\global\ui\frontend\d2logoblackright.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\global\ui\frontend\d2logofireleft.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\global\ui\frontend\d2logofireright.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\local\font\latin\fontformal10.tbl'
[DEBUG] MpqStream.c:92 - Loading 'data\local\font\latin\fontformal10.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\local\font\latin\font8.tbl'
[DEBUG] MpqStream.c:92 - Loading 'data\local\font\latin\font8.dc6'
[DEBUG] MpqStream.c:92 - Loading 'data\global\palette\static\pal.dat'
[INFO ] AudioManager.c:115 - Finalizing audio...
[DEBUG] Label.c:58 - Finalizing Label caches...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2exp.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2data.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2char.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2music.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2sfx.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2video.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2speech.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2xtalk.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2xmusic.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/d2xvideo.mpq'...
[DEBUG] MPQ.c:45 - Unloading '/home/nuxster/.config/abyss/playd2.mpq'...

abyss.ini file in ~/.config/abyss/:

[General]
BasePath = /home/nuxster/.config/abyss/
Locale = latin

[Graphics]
# The scaling quality when the window is stretched. Possible values: nearest, linear, best
ScaleQuality = best
InitialScale = 1.0
FullScreen = false

[Audio]
MasterVolume = 0.5
MusicVolume = 1.0
SfxVolume = 1.0
UIVolume = 1.0

[MPQs]
d2exp.mpq
d2data.mpq
d2char.mpq
d2music.mpq
d2sfx.mpq
d2video.mpq
d2speech.mpq
d2xtalk.mpq
d2xmusic.mpq
d2xvideo.mpq

Content of ~/.config/abyss/ directory:

 ls -la ~/.config/abyss/
drwxr-xr-x nuxster nuxster 4.0 KB Tue Sep 10 01:15:59 2024  .
drwxr-xr-x nuxster nuxster 4.0 KB Tue Sep 10 09:36:24 2024  ..
.rw-r--r-- nuxster nuxster 439 B  Tue Sep 10 01:15:59 2024  abyss.ini
.r-xr-xr-x nuxster nuxster 251 MB Tue Sep 10 01:07:58 2024  d2char.mpq
.r-xr-xr-x nuxster nuxster 244 MB Tue Sep 10 01:07:58 2024  d2data.mpq
.r-xr-xr-x nuxster nuxster 239 MB Tue Sep 10 01:07:58 2024  d2exp.mpq
.r-xr-xr-x nuxster nuxster 329 MB Tue Sep 10 01:07:59 2024  d2music.mpq
.r-xr-xr-x nuxster nuxster  47 MB Tue Sep 10 01:07:59 2024  d2sfx.mpq
.r-xr-xr-x nuxster nuxster 156 MB Tue Sep 10 01:07:59 2024  d2speech.mpq
.r-xr-xr-x nuxster nuxster 421 MB Tue Sep 10 01:08:00 2024  d2video.mpq
.r-xr-xr-x nuxster nuxster  52 MB Tue Sep 10 01:08:00 2024  d2xmusic.mpq
.r-xr-xr-x nuxster nuxster  58 MB Tue Sep 10 01:08:00 2024  d2xtalk.mpq
.r-xr-xr-x nuxster nuxster 106 MB Tue Sep 10 01:08:01 2024  d2xvideo.mpq

Software:

  • Debian 12 (Linux kernel 6.1.0-25)
  • cmake 3.25.1
  • libsdl2-dev 2.26.5
  • libarchive-dev 3.6.2
  • libavcodec-dev 7:5.1.6
  • libavformat-dev 7:5.1.6
  • libavfilter-dev 7:5.1.6
  • libavdevice-dev 7:5.1.6
  • clang-format 1:14.0
  • build-essential 12.9

nuxster avatar Sep 10 '24 06:09 nuxster

I just compiled AbyssEngine myself on an Linux Mint 22 machine and facing the exact same issue. Did you ever resolve it?

ChrisPHL avatar Apr 01 '25 06:04 ChrisPHL

I got this same problem today on Arch with a USA retail box edition

The loading screens are being done in Lua. My observation with this code would just be that it could use console output, so that if it fails to do the CreateButton step, something is mentioned of this to the user. There were generally some case-sensitivity issues with files needing to be renamed to fit the Abyss Engine's rubric, so I wonder if it's that.

LinuxforPunks avatar Nov 09 '25 22:11 LinuxforPunks