zach-morris / plugin.program.iagl

The Internet Archive Game Launcher (IAGL) will launch Games from the Internet using Kodi
GNU General Public License v3.0
348 stars 49 forks source link

DOSBox Pure does not work, maybe due to unpacking of games #262

Open fladi opened 2 years ago

fladi commented 2 years ago

I tried to run some games from the exodos list, namely Sid Meiers Civilization. When I start it it only shows the "No executable file found" message. I assume this is because DOSBox Pure expects the game to be in a single archive instead of getting unpacked as IAGL does. The debug log is attached.

screenshot00001 kodi.log

Setting the exodos launcher to vanilla DOSBox does not help as it does not recognize the configuration file.

Is there a way to pass the downloaded archive file directly to DOSBox Pure?

zach-morris commented 2 years ago

I haven't played with DOSBox Pure, but you could potentially change the post download command. Current default for eXoDOS is to unarchive and generate a conf file to launch.

You can change this line in the file:

//path_to_userdata/addon_data/plugin.program.iagl/dat_files/eXoDOS_ZachMorris.xml

From:

<emu_postdlaction>unzip_and_launch_exodos_file</emu_postdlaction>

To:

<emu_postdlaction>none</emu_postdlaction>

Then when you open up Kodi again, select Refresh Game list to erase any cached settings, and it should just try and launch the zip file directly. If that works let me know and I'll try and jig up a more automated method.

fladi commented 2 years ago

Yeah, changing this line worked for me. Now I can see the list of executeables. Still stuck on DOSBox Pure not accepting input from keyboard/mouse but this seems like an issue with DOSBox Pure itself. Thanks!