Lewis Posted February 17, 2011 Posted February 17, 2011 Hey loppydog, Thanks for getting back to me. I managed to get it to work last night with a little code tweaking. I had that in my script but for some reason it wasn't behaving. Does anyone know how to hide windows from popping up as scummVM loads? Its a minor thing but its ruins the illusion that my cab isn't a windows computer. Basically when I choose a game a dos like shell pops up for a second before scumm appears. I have tried using some code I found to create a black screen which works but when I quit the game it doesn't close!
djvj Posted February 17, 2011 Posted February 17, 2011 If you are creating the black screen via gui commands, you need to issue "gui destroy" right after the game opens and before it closes. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
Lewis Posted February 17, 2011 Posted February 17, 2011 Hmm... I tried that but perhaps I didn't put the gui destroy part in the right place lol. Ok will give it another try! Thanks!
loppydog Posted February 17, 2011 Posted February 17, 2011 it kinda sounds to me like he NEEDS the black screen to come up to hide the window...but either way, its all about the script. You can do very creative things with AHK.
Shinobo Posted March 8, 2011 Posted March 8, 2011 I am going absolutely insane here. I've been trying to get Scumm working for about a month and I just can't seem to get it right. I keep getting the "ScummVM is not a supported system" error whenever I try to launch. I've tried everything, from changing it to a normal launch type in HyperHQ. I feel like I've given every permutation of the options a shot. I'm at my wits end. Here's the relevant part of my Hyperlaunch script. ;***********************************ScummVM************************************ else if (systemName = "ScummVM" && executable = "scummvm.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Hotkey, $1, ScummvmSave Hotkey, $2, ScummvmLoad Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy lalt::1 x::2 1 & 2:: send, {esc} Process, waitClose, %executable% Process, Close, HyperLaunch.exe return WinActivate, HyperSpin }
chillinwater Posted March 8, 2011 Posted March 8, 2011 Download and install "Autohotkey" Compile Hyperlaunch with Autohotkey. (right click on Hyperlaunch.ahk and select compile if AutoHotkey is installed correctly) [edit] added help thread http://www.hyperspin-fe.com/index.php?option=com_content&view=article&id=97&Itemid=108 Always Compile after adding new systems or making any changes to Hyperlaunch. Also if you find you have problems remapping some keys (lalt and x or 1 and 2) in other systems, remove these lines for now: lalt::1 x::2 1 & 2:: send, {esc} Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Shinobo Posted March 9, 2011 Posted March 9, 2011 Download and install "Autohotkey"Compile Hyperlaunch with Autohotkey. (right click on Hyperlaunch.ahk and select compile if AutoHotkey is installed correctly) [edit] added help thread Always Compile after adding new systems or making any changes to Hyperlaunch. Also if you find you have problems remapping some keys (lalt and x or 1 and 2) in other systems, remove these lines for now: lalt::1 x::2 1 & 2:: send, {esc} Lord in heaven is that all I was doing wrong? I was editing the damn AHK file with Notepad and then not compiling. I feel so stupid. Thanks for making my month long headache go away.
Shinobo Posted March 9, 2011 Posted March 9, 2011 Well, I've manged to get ScummVM to be recognized in HyperLaunch and I'm pretty sure it even is trying to launch the roms! However, I encountered a new problem.... I'm now getting an error that says "Make sure you have a backslash on the end of your paths" This HAS to be an error generated by ScummVM. Any ideas about how to fix it? Here's my updated AHK file for reference. ;***********************************ScummVM*********************************** else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname%\ WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy lalt & x:: send, {esc} Process, waitClose, %executable% Process, Close, HyperLaunch.exe return WinActivate, HyperSpin }
chillinwater Posted March 9, 2011 Posted March 9, 2011 hehe solving one prob seems to always lead to another which makes it so gratifying when it finally all works. glad your a little closer!! search "backslash error" in main forum i think [edit] "Make sure your paths contain a backslash on the end" Help from reading thru other posts: it may be the wrong version of autohotkey not scummvm. If your running on windows 7 install autohotkey (basic) not the other version. uninstall original first then when basic is installed re-compile again. I just had this same problem on a "loaner" pc im using which is win7. my dead computer was vista and the other non basic version of autohotkey worked fine until it died. Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Shinobo Posted March 10, 2011 Posted March 10, 2011 It works! Oh happy day! Thanks so much for helping me get rid of that headache! Now the only problem is figuring out how to get it to respond to arrow key inputs. It doesn't seem to want to.
ChazMan Posted August 10, 2011 Author Posted August 10, 2011 Hmm... So I created this Thread on 7-13-09 And Today, I am installing ScummVM into my Cab... Talk about being Lazy... Wow! :sleep: Okay. I got it working good. EXCEPT.. When I exit, I get the Black screen, and I notice that HyperLaunch.exe is still running.. It does not close on its own.. Here is the .ahk I am using... ;***********************************ScummVM***************** else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy lalt & x:: send, {esc} Process, waitClose, %executable% Process, Close, HyperLaunch.exe return WinActivate, HyperSpin } Just so you know, I am Using a Button that = ESC Maybe that's the problem..
chillinwater Posted August 10, 2011 Posted August 10, 2011 LOL , it has been along time. So long in fact I dont remember if I did some of those things to the script or not. Parts of it look wrong. So I made a couple of changes (I cant test atm) Also for future reference, If you have any problems with other emus when you hit "lalt & x" (Which sends escape), That is the culprit right there. I have to look up the "exact" code to wrap those lines with somthing like: ifwinactive, ahk_class scummvm lalt & x:: send, {esc} ifwinactive In theory these commands are then only used in Scummvm and no other emu. Currently it most likely at some point will cause problems. ;***********************************ScummVM******* ********** else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy lalt & x:: send, {esc} return Process, waitClose, %executable% WinActivate, HyperSpin exitapp } Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
ChazMan Posted August 11, 2011 Author Posted August 11, 2011 I have a Button that send the ESC command. So I tried this, but it did not close hyperlaunch.exe. ;***********************************ScummVM******* ********** else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy esc:: send, {esc} return Process, waitClose, %executable% WinActivate, HyperSpin exitapp } So when it exit's ScummVM, I see a black screen.. Anyone have any idea how to fix this? Thanks!
chillinwater Posted August 11, 2011 Posted August 11, 2011 I have a Button that send the ESC command. So I tried this, but it did not close hyperlaunch.exe.;***********************************ScummVM******* ********** else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy esc:: send, {esc} return Process, waitClose, %executable% WinActivate, HyperSpin exitapp } So when it exit's ScummVM, I see a black screen.. Anyone have any idea how to fix this? Thanks! I have it working flawlessly in both HL 1.0 and 2.0 without these lines above.I dont use "exitemulatorkey=esc" either. I use a 2 button combo. (esc conflicts with some games like "Full Throttle" for me) Try it from there then we'll see if we need to add anything for your system or "exitemulatorkey" configuration. Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
ChazMan Posted August 11, 2011 Author Posted August 11, 2011 Okay, I tried this: else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy Process, waitClose, %executable% WinActivate, HyperSpin exitapp } Game loads fine, But when I exit the game, I get the Black Screen... And it still won't closer HyperLaunch.exe Every other Emulator I have on my Cab, all 33 of them, Work fine.. But not this one.. Doh! Next idea?
chillinwater Posted August 12, 2011 Posted August 12, 2011 Okay, I tried this:else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Runwait, "%emupath%%executable%" %romname% WinWaitActive, Scummvm.exe sleep, 2000 Gui Destroy Process, waitClose, %executable% WinActivate, HyperSpin exitapp } Game loads fine, But when I exit the game, I get the Black Screen... And it still won't closer HyperLaunch.exe Every other Emulator I have on my Cab, all 33 of them, Work fine.. But not this one.. Doh! Next idea? Have to say, Im a little stumped!! You probably dont need all three of these, just one. (I added "Runwait" just for another option) Test with any one of them one at a time. I could test removing the lines on my end but it works no problems for me so my results wouldnt help you. So, Im reaching waaay out here, but with most emus when they work on one system (no blackscreen) but not another its generally a windows config problem or a screen res compatibility problem between HS and the emu (scummvm) Why Hyperlaunch is not closing? I dont know. try disabling, ;exitapp ??? and replace it with, process, close, hyperlaunch.exe ????? I have a fistful of straws but no answers. Is this with every scummvm game you tested? Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
ChazMan Posted August 12, 2011 Author Posted August 12, 2011 IT WORKS NOW!! YEAH!!! Here is what I am using now. else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% sleep, 2000 Gui Destroy Process, waitClose, %executable% process, close, hyperlaunch.exe WinActivate, HyperSpin exitapp } I may not need one of the above commands, but it works, I tried a few games. So who cares.. THANKS Chillinwater!!!!!!!
chillinwater Posted August 12, 2011 Posted August 12, 2011 IT WORKS NOW!! YEAH!!!Here is what I am using now. else if (systemName = "ScummVM" && executable = "ScummVM.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Gui +AlwaysOnTop -Caption +ToolWindow Gui, color, 0 Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE Run, "%emupath%%executable%" %romname% sleep, 2000 Gui Destroy Process, waitClose, %executable% process, close, hyperlaunch.exe WinActivate, HyperSpin exitapp } I may not need one of the above commands, but it works, I tried a few games. So who cares.. THANKS Chillinwater!!!!!!! Hooray it works!!! The only thing I see now is with this line. If the line is working then these lines do not because Hyperlaunch is already closed. (they would'nt be needed cuz they arent executed) But Hooray it works!!! If it aint broke.... Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
holgatti Posted October 1, 2011 Posted October 1, 2011 Does anyone have a module to use with 2.0? or newer instructions?
djvj Posted October 1, 2011 Posted October 1, 2011 I haven't converted my scummvm script to 2.0 yet, but you can use my pc games script and apply it the same. If you become a gold member, you can use my txt files from /Upload Here/djvj/ScummVM/txts/ on the ftp to save yourself from making them. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
holgatti Posted October 2, 2011 Posted October 2, 2011 Well, I downloaded the PC launcher module that you made and used it in a seperate ScummVM section but its not working. It saysin the download area that I need a seperate settings.ini file. Do I have to be a gold member to get that or how do I get there? After I get that do I have to modify the script at all or just make the empty text files for ROM directory??? Thanks!
djvj Posted October 2, 2011 Posted October 2, 2011 Try the PC Launcher module that you can find here and let me know how that works for you. I added a link to the Settings.ini. You don't have to be a gold member if you want to create the txt files yourself. You do if you want them made already. Each txt file should be the name of each game name in your database xml. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
Marcoqwerty Posted December 14, 2011 Posted December 14, 2011 Hello... sorry for the intrusion...i have configured all, following instruction of chillinwater (the game work under scummVM, creating a .txt with a rom name the same of .xml, change the .ahk from the last one) but... when i start a game under hyperspin the game won't start and return in the hyperspin game menu...after little black flash this it's the log 04:30:00 PM | Running HyperLaunch.exe 04:30:00 PM | Command Line is: HyperLaunch.exe "SCUMM" "indy3-fm" 04:30:05 PM | Loading Main Menu.xml 04:30:05 PM | Main Menu.xml successfully loaded 04:30:06 PM | Main Menu wheel loaded successfully 04:30:08 PM | Exit program unavailable 04:30:08 PM | Quiting Hyperspin 04:30:08 PM | Bye! need more info? https://supercoin.blogspot.com/
djvj Posted December 14, 2011 Posted December 14, 2011 Make sure it launches from command line outside HS first. Just create a batch file and put in: pathtoscumm\scummvm.exe indy3-fm If it works, then you should have no issue running it from HS. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
demonolith Posted December 21, 2011 Posted December 21, 2011 I've been trying to set up scummvm using the module for 1.5.0 and it has been a nightmare. Does this module not work for 1.4.0? According to the ScummVM site, 1.4.0 is the most current version. Can someone help? It's telling me I have no ScummVM.ini, when I do have one in my settings folder. Then I added these text files (unclear as to why we have to), but they don't match the names of the game folders, but they do match the names of the official XML for ScummVM. I am so lost. Everything is working great outside of Hyperspin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.