Heroine's Quest: The Herald of Ragnarok

Heroine's Quest: The Herald of Ragnarok

Radiant  [developer] Sep 23, 2016 @ 6:39am
Linux now available
The Linux version is now fully enabled, no need to use the beta build any more. The package should include all necessary libraries. Output and errors will be redirected to a log.txt file.

I've tested this on Ubuntu 16.04 and it works. This means it likely also works on older versions of Ubuntu and on Debian, but I'd like to hear of some people's experiences. It runs in a virtual machine at a slightly lowered framerate. The game does NOT use MIDI, so any messages you get regarding MIDI may be safely ignored.

Thank you for your time!

(please post bug reports in a new thread, not here. Thank you!)
Last edited by Radiant; Apr 10, 2019 @ 10:28am
< >
Showing 1-15 of 176 comments
NotRandomEnough Sep 23, 2016 @ 7:25am 
The program runs fine on Debian with this output:
$ ./ags Adventure Game Studio v3.4 Interpreter Copyright (c) 1999-2011 Chris Jones and 2011-2016 others ACI version 3.4.0.12 Initializing allegro Reading configuration Looking for game data file Game data file: /home/maki/Downloads/Programs/gametest/ErrandLinux/game.ags Game data version: 43 Requested engine version: 3.3.0.1162 Setting up window Initializing TTF renderer Initializing mouse: number of buttons reported is 3 Checking memory ci_find_file: cannot change to directory: Compiled Initializing audio vox Audio vox found and initialized. Initializing keyboard Install timer Initialize sound drivers Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) Unable to initialize your audio hardware. [Problem: /dev/sequencer: No such file or directory] Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'None' (0x0) Install exit handler Initialize path finder library Load game data Game data version: 43 Requested engine version: 3.3.0.1162 Game GUI version: 116 Errand Checking for disk space Initializing MOD/XM player Initializing resolution settings Game native resolution: 320 x 200 (32 bit) Device display resolution: 1920 x 1080 Game settings: windowed = no, screen def: max, screen size: 0 x 0, match device ratio: yes, game scale: max_round Using graphics factory: DX5 Created graphics driver: Allegro/DX5 Supported gfx modes (32-bit): 640x480;640x480;800x600;800x600;1024x768;1024x768;1280x720;1280x800; 1280x1024;1280x1024;1366x768;1440x900;1600x900;1680x1050;1920x1080; Supported gfx modes (24-bit): 640x480;640x480;800x600;800x600;1024x768;1024x768;1280x720;1280x800; 1280x1024;1280x1024;1366x768;1440x900;1600x900;1680x1050;1920x1080; Requested gfx filter: StdScale Using gfx filter: StdScale Switching to graphics mode Attempting to find nearest supported resolution for screen size 1920 x 1080 (32-bit) fullscreen Attempt to switch gfx mode to 1920 x 1080 (32-bit) fullscreen; game frame: 1600 x 1000 Succeeded. Using gfx mode 1920 x 1080 (32-bit) fullscreen filter dest (160, 40, 1759, 1039 : 1600 x 1000), render dest (160, 40, 1759, 1039 : 1600 x 1000) Preparing graphics mode screen Initializing colour conversion Mouse control: off, base: 1.000000, speed: 1.000000 Check for preload image Initialize sprites Set up screen Initialize game settings Cannot open translation: default.tra Prepare to start game Mouse confined: (160,40)-(1759,1039) (1600x1000) Audio is processed on the main thread Checking replay status Engine initialization complete Starting game ***** ENGINE HAS SHUTDOWN
Yaumeister Sep 23, 2016 @ 3:55pm 
I may be missing something obvious here, but all I get is:

bash: ./ags: Permission denied

Running Ubuntu 14.04.
Last edited by Yaumeister; Sep 23, 2016 @ 4:01pm
cicyractu Sep 23, 2016 @ 4:52pm 
Originally posted by Yaumeister:
bash: ./ags: Permission denied
You need to set the executable flag to run it:
chmod +x ags
That said, I had no issues running "The Errand" on my Ubuntu 14.04 installation.

Did not get in on it too deep, but even despite the
Initialize sound drivers Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) Unable to initialize your audio hardware. [Problem: /dev/sequencer: No such file or directory] Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'None' (0x0)
failure to detect the MIDI driver, sound output was there.

A quick search brought me to a workaround for this error[bugs.launchpad.net], and that bit of the output has been smoothed out:
Initialize sound drivers Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'AMID' (0x414d4944)
although, I am unable to hear any difference in the game's BGM.
Last edited by cicyractu; Sep 23, 2016 @ 4:53pm
Yaumeister Sep 23, 2016 @ 5:12pm 
OK I've missed something obvious, duh! Thanks for pointing that one out.

My output as follows, similar MIDI issues as highlighted before, but there is sound so not sure what may be missing.

Adventure Game Studio v3.4 Interpreter Copyright (c) 1999-2011 Chris Jones and 2011-2016 others ACI version 3.4.0.12 Initializing allegro Reading configuration Looking for game data file Game data file: /home/yaumeister/Desktop/Errand/game.ags Game data version: 43 Requested engine version: 3.3.0.1162 Setting up window Initializing TTF renderer Initializing mouse: number of buttons reported is 3 Checking memory ci_find_file: cannot change to directory: Compiled Initializing audio vox Audio vox found and initialized. Initializing keyboard Install timer Initialize sound drivers Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory Unable to initialize your audio hardware. [Problem: /dev/sequencer: No such file or directory] Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'None' (0x0) Install exit handler Initialize path finder library Load game data Game data version: 43 Requested engine version: 3.3.0.1162 Game GUI version: 116 Errand Checking for disk space Initializing MOD/XM player Initializing resolution settings Game native resolution: 320 x 200 (32 bit) Device display resolution: 2560 x 1440 Game settings: windowed = no, screen def: max, screen size: 0 x 0, match device ratio: yes, game scale: max_round Using graphics factory: DX5 Created graphics driver: Allegro/DX5 Supported gfx modes (32-bit): 640x480;640x480;640x480;720x480;720x480;720x576;720x576;800x600; 800x600;1024x768;1024x768;1280x720;1280x720;1280x720;1280x800;1280x1024; 1280x1024;1366x768;1440x900;1600x900;1600x1200;1680x1050;1920x1080;1920x1080; 1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1200;2560x1440; Supported gfx modes (24-bit): 640x480;640x480;640x480;720x480;720x480;720x576;720x576;800x600; 800x600;1024x768;1024x768;1280x720;1280x720;1280x720;1280x800;1280x1024; 1280x1024;1366x768;1440x900;1600x900;1600x1200;1680x1050;1920x1080;1920x1080; 1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1200;2560x1440; Requested gfx filter: StdScale Using gfx filter: StdScale Switching to graphics mode Attempting to find nearest supported resolution for screen size 2560 x 1440 (32-bit) fullscreen Attempt to switch gfx mode to 2560 x 1440 (32-bit) fullscreen; game frame: 2240 x 1400 Succeeded. Using gfx mode 2560 x 1440 (32-bit) fullscreen filter dest (160, 20, 2399, 1419 : 2240 x 1400), render dest (160, 20, 2399, 1419 : 2240 x 1400) Preparing graphics mode screen Initializing colour conversion Mouse control: off, base: 1.000000, speed: 1.000000 Check for preload image Initialize sprites Set up screen Initialize game settings Cannot open translation: default.tra Prepare to start game Mouse confined: (160,20)-(2399,1419) (2240x1400) Audio is processed on the main thread Checking replay status Engine initialization complete Starting game ***** ENGINE HAS SHUTDOWN
flesk Sep 23, 2016 @ 10:24pm 
It seems to work for me, but is there supposed to be sound?

EDIT: I'm on Linux Mint 17 KDE, 64 bit.
Last edited by flesk; Sep 23, 2016 @ 10:40pm
seemoss Sep 24, 2016 @ 6:45am 
Works fine on 64-bit Debian Linux 8.6 (jessie/stable) with music and sound (at least, I heard the dog bark when I fed him...). I have the following midi-related packages installed:

freepats
libfluidsynth1:amd64
libportmidi0
libportsmf0:amd64
libwildmidi-config
libwildmidi1:amd64

I've built and ran AGS for Linux before so I tried to change some of the settings in acsetup.cfg (like setting windowed=1) but they don't seem to make much difference. In any case, looking forward to playing the game on Linux - thanks!
Last edited by seemoss; Sep 24, 2016 @ 6:46am
TobiSGD Sep 24, 2016 @ 7:46am 
Not able to run this on Arch Linux, since no 32 bit compatibility version for the dumb package (which contains libaldmb.so) exists. Please consider linking this statically or distributing this library with your engine.
Rambo Sep 24, 2016 @ 8:08am 
Just in case it helps this game can't run on 32-bit systems because it is a 64-bit binary file
SandKing Sep 24, 2016 @ 8:23am 
Hello, thanks for making a Linux build of your game for us! I tested using Linux Mint 18 with the NVIDIA proprietary driver on a Lenovo Y510P.

I have an external monitor plugged in, but unfortunately AGS doesn't appear to have proper multi-monitor support as the game loaded in the middle of both screens (ie: half on one, half on the other). Disabling either monitor allowed the game to load properly on the remaining one.

I played through to the bad end (couldn't figure out that last point in my two playthroughs) and tested saving/loading a game and quitting. It seems the quit button in the dialog after the bad ending is hard wired to restart as well? At least the quit button at the main menu and in the inventory dialog work as expected. Saving/loading worked as expected, even when I loaded a save game from the inventory dialog.

About the only issue I had was the sound. The log (see below) showed the same failure opening the audio as previously mentioned in this thread, and the workaround mentioned in that post also cleared the error in the log for me. However I couldn't make out any difference before and after the workaround was implemented. In both cases, the music was very crackly for me and overrode the playing of sound effects. About the only effect I could hear was the one produced when feeding the dog: if there any other sound effects or voice overs (as hinted at on the plaque) then I never heard them.

I hope this helps! Let me know if there's any further testing I can do for you, and thanks again!

Jonathan


Log of AGS Output:

Adventure Game Studio v3.4 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-2016 others
ACI version 3.4.0.12

Initializing allegro
Reading configuration
Looking for game data file
Game data file: /home/john/Games/ErrandLinux/game.ags

Game data version: 43
Requested engine version: 3.3.0.1162
Setting up window
Initializing TTF renderer
Initializing mouse: number of buttons reported is 3
Checking memory
Initializing audio vox
Audio vox found and initialized.
Initializing keyboard
Install timer
Initialize sound drivers
Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff)

Unable to initialize your audio hardware.
[Problem: /dev/sequencer: No such file or directory]
Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'None' (0x0)
Install exit handler
Initialize path finder library
Load game data
Game data version: 43
Requested engine version: 3.3.0.1162
Game GUI version: 116
Errand
Checking for disk space
Initializing MOD/XM player
Initializing resolution settings
Game native resolution: 320 x 200 (32 bit)
Device display resolution: 1920 x 1080
Game settings: windowed = no, screen def: max, screen size: 0 x 0, match device ratio: yes, game scale: max_round
Using graphics factory: DX5
Created graphics driver: Allegro/DX5
Supported gfx modes (32-bit):
1920x1080;
Supported gfx modes (24-bit):
1920x1080;
Requested gfx filter: StdScale
Using gfx filter: StdScale
Switching to graphics mode
Attempting to find nearest supported resolution for screen size 1920 x 1080 (32-bit) fullscreen
Attempt to switch gfx mode to 1920 x 1080 (32-bit) fullscreen; game frame: 1600 x 1000
Succeeded. Using gfx mode 1920 x 1080 (32-bit) fullscreen
filter dest (160, 40, 1759, 1039 : 1600 x 1000), render dest (160, 40, 1759, 1039 : 1600 x 1000)
Preparing graphics mode screen
Initializing colour conversion
Mouse control: off, base: 1.000000, speed: 1.000000
Check for preload image
Initialize sprites
Set up screen
Initialize game settings
Cannot open translation: default.tra
Prepare to start game
Mouse confined: (160,40)-(1759,1039) (1600x1000)
Audio is processed on the main thread
Checking replay status
Engine initialization complete
Starting game
Game GUI version: 116
Game GUI version: 116
***** ENGINE HAS SHUTDOWN
stan Sep 24, 2016 @ 10:36am 
Tried it on Gentoo, and got:
$ ./ags
./ags: error while loading shared libraries: libaldmb.so.1: cannot open shared object file: No such file or directory
I know you said we need to install that lib, but it’s not available in the Gentoo repositories (as far as I can see), and it would be better if you provided it so that the game works out of the box.
stan Sep 24, 2016 @ 10:43am 
I would also like to comment on this:
Originally posted by Radiant:
I've tested this on Ubuntu 16.04 and it works. This means it likely also works on older versions of Ubuntu and on Debian
Actually it’s the other way round! If the game works on an OLDER version of Ubuntu then it’s likely to work on newer versions and other distros. If you build the game under Ubuntu 16.04 then it will use a recent version of glibc that isn’t yet available on some other distros (including the one I’m using, Gentoo!).
flesk Sep 24, 2016 @ 11:48am 
Yeah, I think it would be a much better solution to distribute the game with most of the dependencies it needs (given that they can be distributed freely). Looking at another AGS game I currently have installed (The Order of the Thorne), it does just that. It also have both 32 and 64 bit binaries, each with their own set of libraries.
daniel.mantione Sep 24, 2016 @ 12:37pm 
Test system: ASUS N76V laptop with Core i5-3210M, 8GB RAM and Nvidia Geforce 620M.
Operating system: OpenSuSE 12.2 64 bit

My experience:

After I unpacked the zip and tried to start the game, it complained about the libaldmb library. This library is not part of OpenSuSE base distribution, however, this community repository has it:

http://download.opensuse.org/repositories/games:/tools/SLE_12_SP1/

Installed it, and the game was still complaining because of library naming issues. I solved it with symlinks. After that the game started, and did seem to work fine.

No sound. I have Timidity installed, so should be able to get midi. I tried to follow the instructions here:

https://wiki.allegro.cc/index.php?title=Using_TiMidity%2B%2B_with_ALSA_raw_MIDI

However, the game complains with:
Initialize sound drivers Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) Failed to init one of the drivers; Error: Insufficient digital voices available Trying to start without MIDI Failed to init one of the drivers; Error: Insufficient digital voices available Trying to start without DIGI Failed to init sound drivers. Error: Insufficient digital voices available Resetting to default sound parameters and trying again. Unable to initialize your audio hardware. [Problem: DIGMID patch set not found] Installed digital driver ID: 'None' (0x0), MIDI driver ID: 'None' (0x0)

I believe the problem is that the Allegro library doesn't try to use its Alsa backends (both for PCM(digi) and midi). But I don't know how to enforce Alsa. This is a bit weird because for other people posting above, you can see Alsa is being tried on their system. Not on mine.

Please advise.
Last edited by daniel.mantione; Sep 25, 2016 @ 6:58am
monstoor Sep 24, 2016 @ 1:41pm 
Using OpenSUSE Leap 42.1 here. Had to install the libaldmb-0_9_3 library and create the following symlinks:

ln -s libaldmb-0.9.3.so libaldmb.so.1 ln -s libdumb-0.9.3.so libdumb.so.1

Then the game starts fine, with the following output:

Adventure Game Studio v3.4 Interpreter Copyright (c) 1999-2011 Chris Jones and 2011-2016 others ACI version 3.4.0.12 Initializing allegro Reading configuration Looking for game data file Game data file: /data/T/LinuxTest/game.ags Game data version: 43 Requested engine version: 3.3.0.1162 Setting up window Initializing TTF renderer Initializing mouse: number of buttons reported is 3 Checking memory ci_find_file: cannot change to directory: Compiled Initializing audio vox Audio vox found and initialized. Initializing keyboard Install timer Initialize sound drivers Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) Failed to init one of the drivers; Error: Insufficient digital voices available Trying to start without MIDI Failed to init one of the drivers; Error: Insufficient digital voices available Trying to start without DIGI Failed to init sound drivers. Error: Insufficient digital voices available Resetting to default sound parameters and trying again. Unable to initialize your audio hardware. [Problem: DIGMID patch set not found] Installed digital driver ID: 'None' (0x0), MIDI driver ID: 'None' (0x0) Install exit handler Initialize path finder library Load game data Game data version: 43 Requested engine version: 3.3.0.1162 Game GUI version: 116 Errand Checking for disk space Initializing resolution settings Game native resolution: 320 x 200 (32 bit) Device display resolution: 1920 x 1200 Game settings: windowed = no, screen def: max, screen size: 0 x 0, match device ratio: yes, game scale: max_round Using graphics factory: DX5 Created graphics driver: Allegro/DX5 Supported gfx modes (32-bit): 640x480;640x480;640x480;720x480;720x480;720x576;720x576;800x600; 800x600;1024x768;1024x768;1152x864;1280x720;1280x720;1280x720;1280x800; 1280x1024;1280x1024;1366x768;1440x900;1600x1200;1680x1050;1920x1080;1920x1080; 1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1200; 1920x1200; Supported gfx modes (24-bit): 640x480;640x480;640x480;720x480;720x480;720x576;720x576;800x600; 800x600;1024x768;1024x768;1152x864;1280x720;1280x720;1280x720;1280x800; 1280x1024;1280x1024;1366x768;1440x900;1600x1200;1680x1050;1920x1080;1920x1080; 1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1080;1920x1200; 1920x1200; Requested gfx filter: StdScale Using gfx filter: StdScale Switching to graphics mode Attempting to find nearest supported resolution for screen size 1920 x 1200 (32-bit) fullscreen Attempt to switch gfx mode to 1920 x 1200 (32-bit) fullscreen; game frame: 1920 x 1200 Succeeded. Using gfx mode 1920 x 1200 (32-bit) fullscreen filter dest (0, 0, 1919, 1199 : 1920 x 1200), render dest (0, 0, 1919, 1199 : 1920 x 1200) Preparing graphics mode screen Initializing colour conversion Mouse control: off, base: 1.000000, speed: 1.000000 Check for preload image Initialize sprites Set up screen Initialize game settings Cannot open translation: default.tra Prepare to start game Mouse confined: (0,0)-(1919,1199) (1920x1200) Audio is processed on the main thread Checking replay status Engine initialization complete Starting game

Cheers.
MintGamer Sep 24, 2016 @ 2:34pm 
Looking forward to the Linux version! The test game works fine on my PC (Linux Mint 18 Cinnamon 64bit, i7 6700k, 2x Nvidia GTX 970 (proprietary drivers v 370.28), 1920x1200 monitor). I have sound initialisation errors in my output log (on board sound), but the sound, and sound effects (the dog barking when fed) worked fine.

I'm happy to test any new builds.


Adventure Game Studio v3.4 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-2016 others
ACI version 3.4.0.12

Initializing allegro
Reading configuration
Looking for game data file
Game data file: /home/nick/ags/game.ags

Game data version: 43
Requested engine version: 3.3.0.1162
Setting up window
Initializing TTF renderer
Initializing mouse: number of buttons reported is 3
Checking memory
ci_find_file: cannot change to directory: Compiled
Initializing audio vox
Audio vox found and initialized.
Initializing keyboard
Install timer
Initialize sound drivers
Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff)
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory

Unable to initialize your audio hardware.
[Problem: /dev/sequencer: No such file or directory]
Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'None' (0x0)
Install exit handler
Initialize path finder library
Load game data
Game data version: 43
Requested engine version: 3.3.0.1162
Game GUI version: 116
Errand
Checking for disk space
Initializing MOD/XM player
Initializing resolution settings
Game native resolution: 320 x 200 (32 bit)
Device display resolution: 1920 x 1200
Game settings: windowed = no, screen def: max, screen size: 0 x 0, match device ratio: yes, game scale: max_round
Using graphics factory: DX5
Created graphics driver: Allegro/DX5
Supported gfx modes (32-bit):
640x480;640x480;800x600;800x600;1024x768;1024x768;1152x864;1280x720;
1280x800;1280x1024;1280x1024;1366x768;1440x900;1600x1200;1680x1050;1920x1080;
1920x1200;
Supported gfx modes (24-bit):
640x480;640x480;800x600;800x600;1024x768;1024x768;1152x864;1280x720;
1280x800;1280x1024;1280x1024;1366x768;1440x900;1600x1200;1680x1050;1920x1080;
1920x1200;
Requested gfx filter: StdScale
Using gfx filter: StdScale
Switching to graphics mode
Attempting to find nearest supported resolution for screen size 1920 x 1200 (32-bit) fullscreen
Attempt to switch gfx mode to 1920 x 1200 (32-bit) fullscreen; game frame: 1920 x 1200
Succeeded. Using gfx mode 1920 x 1200 (32-bit) fullscreen
filter dest (0, 0, 1919, 1199 : 1920 x 1200), render dest (0, 0, 1919, 1199 : 1920 x 1200)
Preparing graphics mode screen
Initializing colour conversion
Mouse control: off, base: 1.000000, speed: 1.000000
Check for preload image
Initialize sprites
Set up screen
Initialize game settings
Cannot open translation: default.tra
Prepare to start game
Mouse confined: (0,0)-(1919,1199) (1920x1200)
Audio is processed on the main thread
Checking replay status
Engine initialization complete
Starting game
***** ENGINE HAS SHUTDOWN
< >
Showing 1-15 of 176 comments
Per page: 1530 50