Jump to content

Launching Demulshooter with hyperspin.


TITCHGAMER

Recommended Posts

Posted

Hoping someone can give me some assistance with this.

 

I would like to run demul shooter with the Sega M2 emulator from Nebula with hyperspin.

Obviously I would like to launch it in the background automatically which needs to be via a comand line (or so I am led to belive)

 

Has anyone done this and offer some advice to me how to do it?

 

Many thanks.

Posted

If you're using RocketLauncher you can do so by coding it in to the User Functions.ahk script to automatically launch when demul is started, a specific system is chosen, or a specific game is chosen. I helped a guy write one on the RocketLauncher forums a while back so if you search the RL forum for "demul shooter" you should be able to find it.

 

Thank you 47, I will have a look over there and see what I can work out.

Posted

Hoping you may be able to help  me out again 47! Or anyone else who can....

I found the thread you refered to above and have tried to modify the code to work but not had any joy.

This is what I have:

StartGlobalUserFeatures(){
Global systemName, romName, emuPath
Log("StartGlobalUserFeatures - Starting")
if ( (systemName="Sega_Model_2") and (romName="hotd") )
Run("c:\demulshooter\DemulShooter.exe -target=model2m -rom=" . romName . " -noresize", emuPath)
Log("StartGlobalUserFeatures - Ending")
}

I then start the game through hyperspin but my crosshairs are stuck in the corners as they would be if demulshooter did not start correctly.

I have also tried creating a BAT file for HOTD which has the same effect but I know my BAT is good as if I manually run it and the emulator it works fine.

Again any help appreciated.

Posted

Thanks 47, I have tried that with the same results.

I tried taking the underscores out of Sega_Model_2 but it errors out then when launching the game.

Posted

OK update it now works :P

 

Dont know why but ime not going to complain!! LOL

 

So just a quick q, To get it to work with other roms I would just stick a or statement in the roms part right? ie:

 

romName="hotd" or romName="vcop" or romName="vcop2" etc etc.

Posted

Ok all fixed and working :D

 

Thanks agent 47 as usual you are a legend!

 

So for anyone who needs a working code for this in future this is 100% working with all games for Nebulas M2 emu:

 

StartGlobalUserFeatures(){
    Global systemName, romName
    Log("StartGlobalUserFeatures - Starting")
    if ( (systemName="Sega Model 2") and (romName="hotd" or romName="vcop" or romName="vcopa" or romName="bel" or romName="gunblade" or romName="rchase2" or romName="vcop2" ) )
        Run("DemulShooter.exe -target=model2m -rom=" . romName . " -noresize", "C:\demulshooter")
    Log("StartGlobalUserFeatures - Ending")
}

Archived

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

×
×
  • Create New...