Improved WHDLoad Booter (bug fixes and improvements) (#284)
* WHDBooter Itegration * Further WHDBoot development * Clean-ups and beginning of kick-rom checking * Loads matching .whd (database) config file from game-data folder, and .uae from /confs/ - start of host options * Fixes problem with saving of equally-named config. Some Host options being set from hard-code variables. (WIP) * Solution for host controller settings implemented * Example Template files (not final versions) * Game information (future database info) is imported from .whd file, .controls (customs) also loaded * Tidies up auto-loading of existing .uae config * Separates WHDLoad Booter into it's own module. `amiberry_whdbooter.cpp` * Many options now implemented from .whd (cpu speed and memory to-do) * Y offset, Memory , Clock Speed options added - all needed options now being implemented * Compatibility settings now correctly read from XML file (or fall-back to individual game file) and are applied * Custom controls now imported from XML. * Hostconfig options and general near-completion of WHDBooter * Final change and example XML file provided * Missed changes from merge * Bug fix for Auto WHDLoad ... sound on/off from host settings incorrectly read * Improved WHDBooter with splash screen
This commit is contained in:
parent
ed053deabe
commit
e3b7cf3776
8 changed files with 13 additions and 6 deletions
|
@ -707,8 +707,7 @@ void whdload_auto_prefs(struct uae_prefs* p, char* filepath)
|
||||||
}
|
}
|
||||||
// SOUND OPTIONS
|
// SOUND OPTIONS
|
||||||
|
|
||||||
if (!strcmpi(host_detail.sound_on,"false") == 0 || !strcmpi(host_detail.sound_on,"off") == 0 || !strcmpi(host_detail.
|
if (strcmpi(host_detail.sound_on,"false") == 0 || strcmpi(host_detail.sound_on,"off") == 0 || strcmpi(host_detail.sound_on,"none") == 0)
|
||||||
sound_on,"none") == 0)
|
|
||||||
{
|
{
|
||||||
_stprintf(txt2, "sound_output=none");
|
_stprintf(txt2, "sound_output=none");
|
||||||
cfgfile_parse_line(p, txt2, 0);
|
cfgfile_parse_line(p, txt2, 0);
|
||||||
|
|
|
@ -2,6 +2,10 @@ C:Assign ENV: RAM: >nil:
|
||||||
C:Assign T: RAM: >nil:
|
C:Assign T: RAM: >nil:
|
||||||
C:Assign PROGDIR: C: >nil:
|
C:Assign PROGDIR: C: >nil:
|
||||||
|
|
||||||
|
cd :WHDbooter/
|
||||||
|
c:run SplashScreen
|
||||||
|
c:wait 2
|
||||||
|
|
||||||
Resident C:WHDLoad PURE
|
Resident C:WHDLoad PURE
|
||||||
Echo ""
|
Echo ""
|
||||||
|
|
||||||
|
@ -35,18 +39,21 @@ endif
|
||||||
IF $MouseInput EQ 1
|
IF $MouseInput EQ 1
|
||||||
Echo "Left Mouse Button held. Force creation of new Auto-Startup file"
|
Echo "Left Mouse Button held. Force creation of new Auto-Startup file"
|
||||||
Echo ""
|
Echo ""
|
||||||
|
c:wait 4
|
||||||
|
|
||||||
ELSE
|
ELSE
|
||||||
|
|
||||||
SET Reply `C:joytest 1 0`
|
SET Reply `C:joytest 1 0`
|
||||||
IF $Reply EQ "(Fire-1)"
|
IF $Reply EQ "(Fire-1)"
|
||||||
Echo "Joystick Fire held. Force creation of new Auto-Startup file"
|
Echo "Joystick Fire held. Force creation of new Auto-Startup file"
|
||||||
Echo ""
|
Echo ""
|
||||||
|
c:wait 4
|
||||||
|
|
||||||
ELSE
|
ELSE
|
||||||
Echo "Scan for auto-startup and debugging messages..."
|
Echo "Scan for auto-startup and debugging messages..."
|
||||||
|
|
||||||
cd :WHDbooter/
|
cd :WHDbooter/
|
||||||
Find_AutoStartup.exe
|
Find_AutoStartup
|
||||||
|
|
||||||
Echo "Scan done"
|
Echo "Scan done"
|
||||||
Echo ""
|
Echo ""
|
||||||
|
@ -60,14 +67,15 @@ IF EXISTS T:auto-startup
|
||||||
Echo ""
|
Echo ""
|
||||||
ELSE
|
ELSE
|
||||||
cd :WHDbooter/
|
cd :WHDbooter/
|
||||||
GameBootLoader.exe scanpath=WHDLoadGame: only usefolderpath
|
c:wait 2
|
||||||
|
GameBootLoader scanpath=WHDLoadGame: only usefolderpath
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|
||||||
|
|
||||||
; ======================
|
; ======================
|
||||||
;IF EXISTS :WHDbooter/SplashScreen.exe
|
;IF EXISTS :WHDbooter/SplashScreen
|
||||||
; cd :WHDbooter
|
; cd :WHDbooter
|
||||||
; :WHDbooter/SplashScreen.exe >NIL:
|
; :WHDbooter/SplashScreen >NIL:
|
||||||
;ELSE
|
;ELSE
|
||||||
; c:TUDE hardreset >nil:
|
; c:TUDE hardreset >nil:
|
||||||
;ENDIF
|
;ENDIF
|
||||||
|
|
BIN
whdboot/boot-data/WHDBooter/Find_AutoStartup
Executable file
BIN
whdboot/boot-data/WHDBooter/Find_AutoStartup
Executable file
Binary file not shown.
BIN
whdboot/boot-data/WHDBooter/GameBootLoader
Executable file
BIN
whdboot/boot-data/WHDBooter/GameBootLoader
Executable file
Binary file not shown.
Binary file not shown.
BIN
whdboot/boot-data/WHDBooter/Splash/intro_000A.iff
Executable file
BIN
whdboot/boot-data/WHDBooter/Splash/intro_000A.iff
Executable file
Binary file not shown.
Binary file not shown.
BIN
whdboot/boot-data/WHDBooter/SplashScreen
Executable file
BIN
whdboot/boot-data/WHDBooter/SplashScreen
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue