libretro / dosbox-svn

GNU General Public License v2.0
6 stars 17 forks source link

On Win10 with GOG version of Lands of Lore 2: Guardians of Destiny stack overflow #42

Closed ThatLordGuy closed 4 years ago

ThatLordGuy commented 4 years ago

dosboxLOL2-200226-015657

Been chasing this for days but I'm not a programmer. Also tried archive.org copy of game that comes with bin/cue of the discs. Tried included conf files from both versions and using options instead. Found forum posts from last year that show dynarec was being worked on for problems with win64 don't know if this is related. Both copies of game work outside of retroarch in standalone dosbox. https://www.vogons.org/viewtopic.php?f=32&t=47286&start=20

3XistencE commented 4 years ago

In this case i think it will be good to know how you did setup of Land of Lore 2 and the setup/options of dosbox on RetroArch. The link you posted is about a problem with dosbox compilation under mingw libraries on 64bit system is not about the game with a compiled (and runnable) version of dosbox. DOS/4GW is a memory extension library in order to let software access extended memory (this is why i am pointing to a memory/setup problem).

I think there's something not right in the options/configuration or messed up with the setup/install of the game.

I can try to investigate as i have also the gog version of Land of Lore 1+2 but never tried on RetroArch.

ThatLordGuy commented 4 years ago

Tried with default options. Next tried forcing recommended options for protected mode games ie dynamic/auto cpu/max frames. Then cycled all cpus. Did all those steps again changing ram from 32 to 64. Then again cycling through external/internal variable/internal fixed. Finally tried disabling options and using the included conf file for the game. Video options in game are set to high from when I ran the game in standalone dosbox. Lastly tried all of the above again with the copy of game located at archive.org to see if it was the noCD option causing the problem. Mounted bin/cue from archive.org to a virtual drive within dosbox.

realnc commented 4 years ago

What's your OS? I just installed the game from CD on Linux retroarch and it works fine.

ThatLordGuy commented 4 years ago

Windows 10 Pro

3XistencE commented 4 years ago

Let's try to do some step backward: start by setting 4mb of ram instead and if nothing change go on 8mb (more is useless for the emulated machine and software). Dos machines at times worked with 1mb-4mb of ram, at the end of 486cpu processor era they started to get 8-16mb of ram but that was for few and usually the companies used to keep an accessible system specs.

Check also if the game have a setup.exe or install.exe into his directory, try to use those before: maybe there is some option you can try to change (usually audio/music or installation path) and it can do the trick (maybe the game on gog is set to use some specific parameters)

If your Land of lore 2 directory is too wide as letters try to change it in a short form "LOL2" as Dos never recognized names longer than 7 characters if i remember well.

Another problem can be the same of the issues/improvements i suggested: emulated free space. Actually we don't have an option to create an HD with custom free space in RA core options. Maybe you can try to create a .bat (batch) file to load where you mount your game with freesize paramenters. something like mount c c:/yourdirectoryofLandoflore2 -freesize 1024 c: lol2.exe (or the name of the executable file)

ThatLordGuy commented 4 years ago

Solved. It was a cycles issue. Tried installing the game from within dosbox to get correct settings. Installer ran slow and crashed as well. Google Fu slow dosbox got me to manually adjusting cycles. Had previously used max setting or fixed without changing values. Setting to fixed and turning up cycles corrected the issue. Chalk it up to lack of experience with dosbox.