VOGONS


First post, by KainXVIII

User metadata
Rank Member
Rank
Member

Trying to inject new dosbox version (ECE edition) into this game, but game fails to load after that, i wonder why? I edited conf file to match steam version, but still not working 😵
Maybe some dosbox commands changed in new versions?
This is what was in original conf

@echo off
mount C .
imgmount d "LBA2.DAT" -t iso
c:
cls
lba2.EXE
exit

And this is launch options of steam version https://steamdb.info/app/398000/config/

Reply 4 of 23, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

What are you doing when you "inject" the new version?

The line "mount C ." is probably the problem here. If all else fails, you can replace "." with the folder that contains LBA2.DOS.

Reply 5 of 23, by KainXVIII

User metadata
Rank Member
Rank
Member
Jorpho wrote:

What are you doing when you "inject" the new version?

The line "mount C ." is probably the problem here. If all else fails, you can replace "." with the folder that contains LBA2.DOS.

Just replaced old dosbox version with new one and edit conf file corresponding to original.
Yeah, i already tried to replaced c . with directory of the game, which looks like something like this

@echo off
mount C d:\Program Files (x86)\Steam\SteamApps\common\Little Big Adventure 2
imgmount d "LBA2.DAT" -t iso
c:
cls
lba2.EXE
exit

but after that game don't even show black screen anymore and exits immediately.

Reply 7 of 23, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It opens the file without problem, however a bit lower it tries to open a file with a filename pointer pointing into uninited/empty memory. (filled with 0 in pmode.)

Water flows down the stream
How to ask questions the smart way!

Reply 8 of 23, by KainXVIII

User metadata
Rank Member
Rank
Member
Qbix wrote:

It opens the file without problem, however a bit lower it tries to open a file with a filename pointer pointing into uninited memory. (filled with 0xCC in pmode and 0 in realmode)

Which means? 😕

Reply 9 of 23, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
KainXVIII wrote:
Yeah, i already tried to replaced c . with directory of the game, which looks like something like this […]
Show full quote

Yeah, i already tried to replaced c . with directory of the game, which looks like something like this

@echo off
mount C d:\Program Files (x86)\Steam\SteamApps\common\Little Big Adventure 2
imgmount d "LBA2.DAT" -t iso
c:
cls
lba2.EXE
exit

but after that game don't even show black screen anymore and exits immediately.

You'll probably need quotes around the path name, since it has spaces in it.

Reply 10 of 23, by KainXVIII

User metadata
Rank Member
Rank
Member
Jorpho wrote:
KainXVIII wrote:
Yeah, i already tried to replaced c . with directory of the game, which looks like something like this […]
Show full quote

Yeah, i already tried to replaced c . with directory of the game, which looks like something like this

@echo off
mount C d:\Program Files (x86)\Steam\SteamApps\common\Little Big Adventure 2
imgmount d "LBA2.DAT" -t iso
c:
cls
lba2.EXE
exit

but after that game don't even show black screen anymore and exits immediately.

You'll probably need quotes around the path name, since it has spaces in it.

You are right, but this is still not helps much.

Reply 11 of 23, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

there is nothing you can do, aside from trying an older build to see when it was broken.

Water flows down the stream
How to ask questions the smart way!

Reply 12 of 23, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

game works if you put the lba2 stuff in a subdirectory.
Maybe the game doesn't like what it gets back from getcurrectdirectory or something similar. Will need a more investigation.

Water flows down the stream
How to ask questions the smart way!

Reply 13 of 23, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

This was apparently caused by GOG (maybe Steam as well) using behavior of 0.74 that was not strictly compatible with DOS, and now that it's been made compatible in SVN... yeah.

svn 3616 breaks LBA2

Reply 14 of 23, by KainXVIII

User metadata
Rank Member
Rank
Member
ripsaw8080 wrote:

This was apparently caused by GOG (maybe Steam as well) using behavior of 0.74 that was not strictly compatible with DOS, and now that it's been made compatible in SVN... yeah.

svn 3616 breaks LBA2

Thanks for answer!
As Qbix said, i just create LBA2 subfolder and copy files here and then edit conf to something like this - and game runs ok =)

@echo off
mount C "d:\Program Files (x86)\Steam\SteamApps\common\Little Big Adventure 2"
imgmount d "LBA2.DAT" -t iso
c:
cd lba2
cls
lba2.exe
exit

Reply 16 of 23, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Good question. According to the DOSBox readme, the only valid types for "-t" are "floppy", "cdrom", and "hdd", so whoever made that .conf file definitely messed up more than once.

Reply 17 of 23, by collector

User metadata
Rank l33t
Rank
l33t

Just checked. There are 6 CDA tracks. Someone with the GOG release should check if the image can contain audio tracks.

That aside I remember that this game can be fussy about some image formats. I think BIN/CUE usually works without issue, however some types of images can mount, but the game insists that it is not the right CD. Don't remember if it was looking for the CDA tracks to ID the disc or not.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 18 of 23, by collector

User metadata
Rank l33t
Rank
l33t
Jorpho wrote:

According to the DOSBox readme, the only valid types for "-t" are "floppy", "cdrom", and "hdd", so whoever made that .conf file definitely messed up more than once.

However, you can specify the file system with:

-fs iso

http://www.dosbox.com/DOSBoxManual.html#IMGMOUNT

Then again GOG is not known for being very adroit at conf files.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 19 of 23, by KainXVIII

User metadata
Rank Member
Rank
Member
collector wrote:

Doesn't LBA2 have digital audio tracks? What kind of image is LBA2.DAT?

There are two versions of LBA2, with 1 audio track and with several.
Steam version has one track, other music in wav format.
FILE "LBA2.DOT" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
FILE "LBA2.OGG" MP3
TRACK 02 AUDIO
INDEX 01 00:00:00