It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I recently got DosBox Turbo & Manager for my Android device, and so far every game I've tried running has worked flawlessly by copying my game files from the GOG installations and adjusting the autoexec paths, even with ISOs. However, LBA 2 won't start up. I was wondering if anyone else has tried running the game through Android DosBox, or if they know what might be wrong.


The game won't start and gives this error:

*** ERROR-> File not found: C:\LBA2.DOS
Error: Trying to use DefFileBufferUnit with a NULL pointer


Here's what the autoexec looks like on my Android DosBox:

@echo off
mount c: <path to LBA2 on my android device>
IMGMOUNT.COM d "C:\LBA2.DAT" -t iso
c:
cls
LBA2.EXE
avatar
gaspop: I recently got DosBox Turbo & Manager for my Android device, and so far every game I've tried running has worked flawlessly by copying my game files from the GOG installations and adjusting the autoexec paths, even with ISOs. However, LBA 2 won't start up. I was wondering if anyone else has tried running the game through Android DosBox, or if they know what might be wrong.


The game won't start and gives this error:

*** ERROR-> File not found: C:\LBA2.DOS
Error: Trying to use DefFileBufferUnit with a NULL pointer


Here's what the autoexec looks like on my Android DosBox:

@echo off
mount c: <path to LBA2 on my android device>
IMGMOUNT.COM d "C:\LBA2.DAT" -t iso
c:
cls
LBA2.EXE
Various tutorial videos from youtube not helped?
https://www.youtube.com/watch?v=37GrO8UyANw
https://www.youtube.com/watch?v=DGu99GLQ31k
avatar
gaspop: The game won't start and gives this error:

*** ERROR-> File not found: C:\LBA2.DOS
Error: Trying to use DefFileBufferUnit with a NULL pointer
Same here, trying to use my own Linux native dosbox, which I do with all gog dosbox games (even those packaged with Linux dosbox).. Never tried the WIndows version, but I found a solution to my problem at last: lba2 doesn't seem to like being in c:\. In Linux, I made a soft link to . named lba2, and added "cd lba2" before running lba2.exe, and it seems to be working OK. You may be able to just mount the parent directory of your installation and cd into the final path element (or its mangled name) to make it work.

As an aside, youtube videos are an awful way to deliver information. Even when visual clues are needed.
I really don't have anything useful to add, other than that I seem to remember running into something like this way back at the dawn of history when I last messed around with LBA2, and I found others with the same complaint even back then--all of which suggests that it's not just some isolated hardware quirk but a problem with the code itself.

Now, I ask you: how helpful is that? Good thing I was here, eh?

My guess is that the previous poster's answer is probably correct for you as well and that all versions probably need to be housed in a subdirectory of C:\ and not C:\ itself. Probably some non-standard way of recording a reference to something was used, such that it can't be found if you're not playing the game from its standard installation. It may or may not make a difference what the subdirectory you use is named, but to cover your bases the previous poster' s choice of "lba2" is certainly the best bet.

I'll take payment in American dollars, please, via wire transfer if necessary, at your expense. Thanks so much for the opportunity to help you. You are very lucky to have had me :0)
avatar
gaspop: The game won't start and gives this error:

*** ERROR-> File not found: C:\LBA2.DOS
Error: Trying to use DefFileBufferUnit with a NULL pointer
avatar
darktjm: Same here, trying to use my own Linux native dosbox, which I do with all gog dosbox games (even those packaged with Linux dosbox).. Never tried the WIndows version, but I found a solution to my problem at last: lba2 doesn't seem to like being in c:\. In Linux, I made a soft link to . named lba2, and added "cd lba2" before running lba2.exe, and it seems to be working OK. You may be able to just mount the parent directory of your installation and cd into the final path element (or its mangled name) to make it work.

As an aside, youtube videos are an awful way to deliver information. Even when visual clues are needed.
I have seen this on the Mac using Boxer too. Tried to run this on dosbox on the mac, it closes it possibly. Appears to manually work if you manually enter the commands with dosbox but fails with same error on the boxer.

People who are using dosbox may be able to manually type the commands and run it manually
Attachments:
This is now largely irrelevant since the original DOSBox release seems to no longer be available on GOG, but in case anyone else is trying to get this to work under an ArkOS/EmulationStation environment (like on an RG353V, in my case): if you launch from ES, it will mount whatever folder the binary is in as C:\.

So to make it work there, either create a batch file at least one folder up from the LBA2 executable, or just launch some broken (eg. non-DOS) executable in a parent folder to indirectly set that as the mount path, and manually navigate to the LBA2 folder from *within DOSBox*. Then the executable will start.
Post edited October 24, 2023 by joepie91
avatar
joepie91: This is now largely irrelevant since the original DOSBox release seems to no longer be available on GOG, but in case anyone else is trying to get this to work under an ArkOS/EmulationStation environment (like on an RG353V, in my case): if you launch from ES, it will mount whatever folder the binary is in as C:\.

So to make it work there, either create a batch file at least one folder up from the LBA2 executable, or just launch some broken (eg. non-DOS) executable in a parent folder to indirectly set that as the mount path, and manually navigate to the LBA2 folder from *within DOSBox*. Then the executable will start.
The DOSBox release is available, it's buried in the speedrunning folder
For anyone who wants to run LBA2 on device with RetroArch/DOSBox-Pure and it's unclear:
1. In Speedrun directory create LBA2.BAT with content:
imgmount d "Windows\LBA2.DAT" -t iso
cd \Windows
LBA2.EXE
2. Zip both Windows and LBA2.BAT together and it's ready to be copied on your device - use that BAT file to start the game