Voljega / ExoDOSConverter

a custom game converter from the ExoDOS collection to emulation station based distribution format
153 stars 12 forks source link

MiSTer: Stub zip file should include batch script noting game data files missing #78

Closed flynnsbit closed 3 years ago

flynnsbit commented 3 years ago

When ExoDOSConverter generates the TDL_VHD directories for games and pre-extraction is selected, the actual game is extracted to E:\GAMES\GAMENAME\ and then a stub zip with the same name is created in E:\FILES\GAMENAME.ZIP. Total Dos launcher looks at the zip to make sure there is a corresponding extracted folder and then launches that instead of extracting the zip. With the new way we are generating packs we can increase the usability for the users.

When creating zip stub files, include a single batch file called missing.bat In this file, include this:

@Echo off ECHO You have used a pre-extracted games pack but are missing the game data files in your games directory. Please regenerate your game data using the ExoDOSConverter and drop the game folder into E:\GAMES\GAMENAME and re-launch the game.

User flow: If a pack or index has been created and the correct game files are in E:\games\ then the user will never see this error as TDL will skip extracting the zip.

If a TITLES/FILES Index has been used that does not include the game data, this error will be shown automatically. This will also prevent a generic error from being displayed if TDL tries to extract the stub zips with nothing in them.