chillinwater Posted August 30, 2009 Posted August 30, 2009 you tried the updated script.? It seems bullet proof on my system and akiles500 got his working, so Im thinking you have somthing just a hair off. Lets see what the ScummVM script in hyperlaunch looks like and the ScummvmLauncher script. Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Zinger19 Posted August 30, 2009 Posted August 30, 2009 Here's my scripts. They are the same as yours I believe ScummVMLauncher.exe WinWaitActive, Scummvm.exe ;Added experimental esc:: send, {ALTDOWN}{x}{ALTUP} goto, finish finish: Process, WaitClose, scummvm.exe Gui, Color, 000000 Gui -Caption +ToolWindow +AlwaysOnTop Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%, BlackGui Process, Close, ScummVMLauncher.exe Process, WaitClose, ScummVMLauncher.exe exit ExitApp CloseProcess: Process, Close, scummvm.exe Process, WaitClose, scummvm.exe Gui, Color, 000000 Gui -Caption +ToolWindow +AlwaysOnTop Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%, BlackGui Process, Close, ScummVMLauncher.exe Process, WaitClose, ScummVMLauncher.exe exit ExitApp onexit, CloseProcesss Hyperlaunch else if (systemName = "ScummVM" && executable = "ScummVMLauncher.exe") { hideDesktop() Hotkey, %exitEmulatorKey%, CloseProcess Run, %emupath%%executable% Runwait, %rompath%%romname%%romextension% Process, Close, %executable% WinActivate, HyperSpin } NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
chillinwater Posted August 30, 2009 Posted August 30, 2009 Yes they are the same. Hmm. Is the launcher in the same dir as Scummvm? Scummvm and Games launch fine, can they be played? Does it not work in All Scummvm games? When you launch Scummvm outside of hyperspin does alt-x work? When was the last time you rebooted? There may be somthing hanging it up there. Double check those things first. Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Dhanen Posted August 30, 2009 Posted August 30, 2009 I'm going to test it. Now I understand how do it. Thanks to all. I am glad of to have helped with the "bat files" idea of my friend Archer. I'm working now in ScummVM library (doxygen) for made a menu what appears with "esc" where you will find options as: quit, options, save, load... When it be ready I tell you something. See you soon!
Zinger19 Posted August 30, 2009 Posted August 30, 2009 Yes it's in the same dir and yes the games launch fine and can be played. Alt-x does work outside of hyperspin and the computer was turned on just before I tried it. I have no idea what's going on with it. All I know is that it should be working. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
chillinwater Posted August 30, 2009 Posted August 30, 2009 Try this, replace "winwaitactive scummvm.exe" with "winactivate scummvm.exe" Both of these work for me but the other might work for you. This is just a shot..... In an older version of scummvm .9, i think, when you hit alt-x (outside hyperspin) a dialog would come up where you had to answer y or n to exit. In the newer version .13.1, alt-x (outside hyperspin) closes immediatley (for me). and this is the one I have working in hyperspin. What Version do you have? Also for what its worth All of my games are setup as; (outside hyperspin) in the [Graphics] tab override global graphics=on graphics mode=default rendermode=default aspect ratio correction=on full screen mode=on Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Zinger19 Posted August 30, 2009 Posted August 30, 2009 Well I have the same version and same the settings and I tried the new bit of code as well, but it still didn't work. I even switched over to my XP 64bit drive that will be running my in my cab and that didn't work either. But I really appreciate all the help you provided. I'm at least able to launch the games which to me is the most important part. I can always rig a key to use the Z key and exit that way. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
chillinwater Posted August 30, 2009 Posted August 30, 2009 Its time to shine the "Bat Light" for SophT!!!! I grasp at the quarterback and get a facemask penalty! SophT sacks the quarterback and gets a fumble recovery for a touchdown! Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Zinger19 Posted August 31, 2009 Posted August 31, 2009 I fixed it!!!!! I knew it was something so simple it was stupid. In hyperlaunch I had Esc & 6 set as my close keys...so I just deleted 6 key and now it works perfectly. Thanks so much for your help. I really do appreciate it. Your code works wonderfully now! THANKS AGAIN!!! NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
chillinwater Posted August 31, 2009 Posted August 31, 2009 :dancing2:Touchdown Steelers, No Flags, No Reviews!!!!! That was the exitemulator or exitscript keys? That thought had crossed my mind, but I couldnt put 2+2 together. Lesson learned! Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Zinger19 Posted August 31, 2009 Posted August 31, 2009 Yeah I was messing around with double key exits so I didn't accidently close a game when playing, and had forgot that I did it. Hyperlauch was overiding the single key press for esc in the ScummVM script which explains why nothing would happen when I tried exiting with alt-x but now that I went back to just using Esc it works perfectly. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
Zinger19 Posted August 31, 2009 Posted August 31, 2009 And just for future reference incase someone should need it. So they don't go through the problems that I had. If you are using 2 keys to exit your emulators in hyperlaunch they have to match the keys in your ScummVMLauncher. For Ex. Hyperlaunch exitEmulatorKey = [color="Lime"]esc & 6[/color] ;This key/key combo will close any emulators ScummVMLauncher.exe winactivate scummvm.exe [color="Lime"]esc & 6[/color]:: send, {ALTDOWN}{x}{ALTUP} goto, finish finish: Both keys in green must be the same in order for it to work. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
Zinger19 Posted August 31, 2009 Posted August 31, 2009 The main wheel logo on page 4 is kinda pixeled so I'll upload mine if you don't mind. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
chillinwater Posted August 31, 2009 Posted August 31, 2009 That's cool. I posted it on the script page with credit. Now we just need somthing to replace the IBM logo and thats a pretty descent main theme for Scummvm. Until somone gets more creative! Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Zinger19 Posted August 31, 2009 Posted August 31, 2009 I can get a you a larger ScummVM logo to replace the IBM. Mayber later today I'll let my creativity flow and work some magic. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
Zinger19 Posted August 31, 2009 Posted August 31, 2009 Can you use any of these? NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
chillinwater Posted August 31, 2009 Posted August 31, 2009 Yeah post them! The magic is strong in You! Wow those look great! Did you make a theme.xml for them too or do you plug them into the DosGaming Main Wheel theme? You should announce them for a theme! Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Zinger19 Posted August 31, 2009 Posted August 31, 2009 Yeah perhaps I will when get back this evening. I made one today but I'll post later and see what people like and what they don't like NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
JORDILT Posted September 29, 2009 Posted September 29, 2009 First sorry for my english. Well, i did everything you say here and I have a little problem : The game launches ok, but before i get a message that says: "ScummVM is an invalid system name or ScummVMLauncher.exe isnt supported yet" after a few seconds the game launches perfect. Is this normal.? if not, can someone tell me what can be wrong?. Another question: it is posible to avoid exiting with "esc" key?. Because most of the games use this key to skip videos or scenes , and other games to acces the menu. I tried and I can exit the games with "alt"+"x" . Thank you.
Zinger19 Posted September 29, 2009 Posted September 29, 2009 Make sure you RECOMPILE your script. If it matches what I have below then that was your problem. You just forgot to recompile. You need to edit your Hyperlaunch Script. To have it use the ScummVMLauncher.exe instead of scummvm.exe else if (systemName = "ScummVM" && executable = "[color="Lime"]ScummVMLauncher.exe[/color]") And then to change what key you use to exit ScummVM you need to edit your ScummVMLaucher.exe script winactivate scummvm.exe [color="Red"]ESC[/color]:: send, {ALTDOWN}{x}{ALTUP} goto, finish finish Change ESC which is in red to whatever key you desire. For Ex: winactivate scummvm.exe [color="lime"]6[/color]:: send, {ALTDOWN}{x}{ALTUP} goto, finish finish Also if you change ESC in ScummVMLauncher.exe you will have to change your Hyperlaunch key that close all the emulators as well or else they will clash and it won't close or function properly. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
JORDILT Posted September 29, 2009 Posted September 29, 2009 Thanks for your answer Zinger19. Yes, I did recompile the script, the problem must be other..... any idea? In the hypelaunch script I also added this : *Scummvm................................ScummVMLauncher.exe in the emulators part ot the script. Is this ok? Well, but now I have a bigger problem!!: First I did the xml with only 1 bat file, just to try if it works. Now I have added more bat files and something weird happens with the wheel of the scummvm system. When I choose scummvm in the main wheel I can see the wheel with the names of the games, but when I try to choose a game the wheel only goes one game up or down an if I try to go further, the letters of the wheel start to change size !!!! Please I need your help. Thanks in advance....
Zinger19 Posted September 29, 2009 Posted September 29, 2009 In the hypelaunch script I also added this :*Scummvm................................ScummVMLau ncher.exe in the emulators part ot the script. Is this ok? Ok for a minute there you had me confused. You mean you just added that line under supported emulators...then yes that is fine, but it's not gonna do anything.I believe that just shows what emulators were supported at the time of creation. The only reason it would say it wasn't supported or was invalid is if it wasn't recompiled. As for the wheel stretching that tends to happen for some reason. I'm sure if you search around in the forums you can find the answer to it, but a good solution is to just use wheel images. I know there really aren't any, but if your not very good at cutting images out you can just do box cutouts until someone gets around to making some. I'd make some,but I don't have the time to do so at the moment. NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
chillinwater Posted September 30, 2009 Posted September 30, 2009 The wheel squeeze (resize) happens because there is no wheel art in the ScummVM wheel folder. You need to add a dummy "default.png" wheel image from any of the other systems wheel folders. Any wheel image with its original name or renamed to "default" will work if you cant find one that is actually named "default.png". Every systems wheel has to have at least 1 wheel image in it to avoid the "squeeze" Usually this is the default.png image. (The default graphic says "no image available") This wheel image or any wheel image will not show up on the wheel unless its name matches the name of the rom or bat file listed inside the scummvm.xml. (You dont want a match a rom with the default.png image. Once you get the actual wheel images for Scumm or whatever you could delete the default.png if needed. Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me!
Zinger19 Posted September 30, 2009 Posted September 30, 2009 Well that's good to know. I didn't even think about that. I guess that's the only time I experience it when I use a new theme without a default.png. I'll have to remember that. Thanks NES Arcade Build StarKade: A Raspberry Pi Arcade 80's Toy Collection
JORDILT Posted September 30, 2009 Posted September 30, 2009 Thanks for the information. Anyway I am doing simple wheel pngs for each game I have...... but is good to know!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.