Code:
if $CmdLine[0] = 1 Then
$path = StringSplit($CmdLine[1], "\")
$romname = $path[$path[0]]
$savename = StringReplace($romname, ".uae", ".uss")
Run ( 'winuae.exe -f "' & $romname & '" -statefile="Savestates\' & $savename & '"', "", @SW_MAXIMIZE)
EndIf
current LW (lLaunch Winuae(autoit code)
rules
1 winuae folder must be in root
2 as rompath must be selected Configurations dir and rom extension must be set as uae
3 savestate file must have same name (beside extension ofcourse) as romname (config file)
files now can have spaces in romnames. So for me its sounds like a perfect
unfortunatelly there's only one thing: Although set maximise flag in autoit (it working pretty well because config screen is much better vissible on big screens) a emulator is launched in background. so xbmc going back and only after tasking alt+tab i can back to emu. Ill try to make winuae always on top (in config) but this thing makes winuae to crash because xbmc wish to be on top.
i think a reason is in exiting autoit process after launch winuae. so xbmc when launched by ALA process is no more exist - just take lead.
hah i found solution
Code:
if $CmdLine[0] = 1 Then
$path = StringSplit($CmdLine[1], "\")
$romname = $path[$path[0]]
$savename = StringReplace($romname, ".uae", ".uss")
Run ( 'winuae.exe -f "' & $romname & '" -statefile="Savestates\' & $savename & '"', "", @SW_MAXIMIZE)
While ProcessExists("winuae.exe")
WEnd
EndIf
sorry for long post but i was seeking for solution and writing this post simultaneously
Angelscry: my previous problems with forced of pressing enter key was dissapear after i use a blank new version of ALA. may its a problem with overwriting newest versions over old launcher folder. at now everything looks fine.
Thank you for helping.
Finaly winuae works properly with your ALA