Jump to content
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

How to set up ScummVM in HS ?


ChazMan

Recommended Posts

Posted

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.

  • Replies 136
  • Created
  • Last Reply
Posted

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
}

Posted

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.

Posted

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!

Posted

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.

Posted

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

Posted

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.

Posted

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!!!

Posted

:dancing2:Touchdown Steelers, No Flags, No Reviews!!!!!:dancing2:

That was the exitemulator or exitscript keys? That thought had crossed my mind,

but I couldnt put 2+2 together.

Lesson learned!

Posted

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.

Posted

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.

Posted

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!

Posted

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!

  • 4 weeks later...
Posted

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.

Posted

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.

Posted

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....

Posted
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.

Posted

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.

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...