BladeZX
08-20-2011, 08:34 AM
I am trying to get the HL 2.0 module working for FreeDO from djvj and chillin.
I am using FreeDO 2.1.1 Alpha but the script only seems to launch Freedo and then it does nothing.
Anyone else seeing this?
baddeolv
08-20-2011, 08:41 AM
you need to extend the sleep commands
BladeZX
08-22-2011, 07:08 AM
Increasing the sleeps did not do anything.
Freedo is started but it just sits there and does nothing
baddeolv
08-22-2011, 07:14 AM
how much did you increase by? for testing you should change all the sleep commands to 3000, test. if it all works correctly start backing the number off little by little until you find a good median
BladeZX
08-22-2011, 07:30 AM
I notice that the script is looking for a window title of "FreeDO v.2.1"
My window title is "FreeDO v.2.1.1 Alpha!!" but when I try that it still does not work
I will try the sleep increases
Window title does not have to be an exact match. I removed the .1 Alpha because then it would only work with that exact version. The script now will work with any Title that contains FreeDO v.2.1
BladeZX
08-22-2011, 07:56 AM
Hmmm... I increased the sleeps to 3000 and then to 5000. It does not seem to make a difference. Freedo opens but just sits there.
chillinwater
08-22-2011, 11:29 AM
When freedo just sits there, press these keys in order:
alt-up-enter
to see if it gets you to the load iso\rom screen.
(then manually navigate to a rom, select it then run it...testing to see if freedo will actually launch a game)
If that sequence doesnt get you to the load screen we may have to change it for you in the script.
So you dont have to adjust every sleep command, these are explained as to what they do.
Mess with the ones that arent behaving properly.
(500=1\2sec, 1000=1sec 2000=2sec, ...etc)
Also be sure you have done this if you havent already.
;------------------------------------------------------------------------
; Panasonic 3DO
; FreeDO v2.1.1 alpha
; by chillinwater & djvj
; 1.2
;
; Notes:
; The emu does not support CLI or a way of launching fullscreen by default. This is all done manually in the script.
; Supported images are iso, cdi, nrg, bin, img. Cues are not supported. Set your extensions appropriately.
; If your bios file is called fz10_rom.bin, rename it to fz10.rom, it should be placed in the same dir as the emu exe.
; On first launch, FreeDO will ask you to point it to the fz10.rom. After you do that, exit the emu and select a game in HS and it should work.
; If the Menu bar at top is present on launch, Hit F9 and exit to save.
; The optional blinds were left in in case you want to test if they help hide the emu launch process. They did nothing for me on win7, so results may vary.
;
; Create a restore.xml or follow the next line. For info on how to do this, go here http://www.hyperspin-fe.com/forum/showpost.php?p=58411&postcount=12
; In the emu dir, rename config.xml to restore.xml then open it in notepad. Remove the entire section including <cdrom> and </cdrom> (this fixes not being able to play the game twice in a row)
; If you change inputs or make any other changes, make sure to copy the changes from the config.xml into your restore.xml
;------------------------------------------------------------------------
;\\\optional blinds\\\\
;Gui +AlwaysOnTop -Caption +ToolWindow
;Gui, color, 0
;Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,
;\\\\\\\\\\\\\\\\\\\\\\
; restoring a proper config.xml
FileDelete, %emuPath%config.xml
FileCopy, %emuPath%restore.xml, %emuPath%config.xml
Run, %executable%, %emuPath%
DetectHiddenWindows, on
Sleep, 500 ; gives freedo time to fully load before sending keystrokes
WinWait, FreeDO v.2.1
IfWinNotActive, FreeDO v.2.1, , WinActivate, FreeDO v.2.1
WinWaitActive, FreeDO v.2.1
Send, {ALTDOWN}{ALTUP}{UP}{ENTER} ; open ISO
WinWait, Open
IfWinNotActive, Open, , WinActivate, Open
WinWaitActive, Open
Sleep, 500 ; gives freedo time to open the iso dialog window
clipboard=
clipboard=%romPath%%romName%%romExtension%
ClipWait
Sleep, 500 ; increase this if your clipboard is not pasting in
Send, ^v
Sleep, 100 ; increase this if your clipboard is not pasting in completly before the script launches the Game
Send, {ENTER}
Sleep, 100 ; increase this if you need more time to go fullscreen
Send, {F11} ; fullscreen
Sleep, 500 ; increase this if you need more time to disable the toolbar
Send, {F9} ; disable toolbar
Sleep, 2000 ; increase this if you need more time to kill the Blackscreen
Gui Destroy
Process, WaitClose, %executable%
WinActivate, HyperSpin
ExitApp
CloseProcess:
WinClose, FreeDO
return
charlie1212
08-22-2011, 01:37 PM
I also have the problem but going a little further.
FreeDO opens up and the rom loading screen open as well but nothing happens.
I've increased the first 3 timers to 10000. If I manually send the paste command it paste this: ;------------------------------------------------------------------------