Page 1 of 1

Trouble with Superscope command line

Posted: Thu Dec 27, 2007 7:43 pm
by YMI
Hello,

I'm trying to run snes9x with command line (I found the list on this message board)

I just try to get the superscope working when the emulator start without having to go to any configuration menu to change settings.

here is the command line I type

Snes9x -port2 superscope Gamename.smc

the game run itself, but the superscope is not working. I tryed other command, and they work. Only the -port# command dont seem to work.

Anyone know how to make this command line working or know another way to make the superscope active at the start of snes9x?

Thanks

Posted: Fri Dec 28, 2007 12:39 am
by Deathlike2
If you are using the latest version of Snes9x (1.51), what you can do is add an NSRT header to the ROM, so Snes9x automatically uses the mouse for your Superscope game. You will have to obtain NSRT though...

Posted: Fri Dec 28, 2007 8:20 pm
by YMI
I tryed NSRT, but it's not a good solution.

The game I try to run is Tin Star. NSRT detect it as a Gamepad/mouse game. so, both are activated, and gamepad is on default, not mouse.

Then, there are those Multipad games I would also like to activate with the -Port# command line, and NSRT doesnt detect this game divice.

I tryed older version of Snes9x, but -port# doesnt seem to work either (am I typing it wrong?).

I also tryed different Snes9x folders for different configuration, but all the special game device are always deactivated at a new start of snes9x.

Posted: Fri Dec 28, 2007 8:50 pm
by Deathlike2
You're supposed to add the NSRT header, not the regular header.

Snes9x AFAIK doesn't save the device used for the game.. which is intentional for obvious reasons. Some regular games that don't use such devices won't start properly when detected.

If you are ultimately concerned, write a script/batch file to run your special device games.

It doesn't help that you haven't mentioned what version of Snes9x you are using in all of this.

Posted: Mon Dec 31, 2007 12:01 pm
by YMI
I'm using the last version I suppose (1.51) and I tryed older version also.

I have added a NSRT header. But like I said, the game TIN STAR is detected as an GAMEPAD/MOUSE game, so, the game pad is ON by default, and I would like the MOUSE or SUPERSCOPE as default. I would also like to have some game with the multitap activeted at the start of the emulator, And the NSRT header does not detect this device.

If by batch you mean the use of command line in a .bat file, the problem is still the same, since I am still unable to make the -port# command line work. the same problem occur when trying to use a front end, since it's command line based.

I'm able to make all the other command lines work, it's only the -port# command line that dont seem to work. wathever parameter I used, there is no mouse/superscope/multipad activated.

Posted: Mon Aug 16, 2010 2:36 pm
by nooch
deleted

Posted: Mon Aug 16, 2010 2:37 pm
by nooch
I hate to bump up an old topic, but I am still having the same problem as the original poster. I noticed it seems people are doing updates on the software and if another update is done, please fix this error. I made an arcade cab and would like to have my actlabs guns automatically work when the gun game is loaded... using the command line.

However, when I try what the original poster did, I get the same problem. Game loads, just not defaulted to port2 being superscope.

Thanks for any help!
-Nooch

Posted: Thu Aug 19, 2010 2:42 pm
by Deathlike2
Well, the problem with the original poster's problem is that "Tin Star" is not a Super Scope game. In fact, it is a SNES mouse game. The whole NSRT header thing works ONLY if the game supports/requires the correct special device for that system.

My suggestion is that you post what game that happens to be and use NSRT to add its special header. The reality is that you cannot add Superscope or whatever special device to a game that does not natively use it... like the SNES Mouse to a game like Ogre Battle.

Re: Trouble with Superscope command line

Posted: Wed Jun 12, 2013 8:47 pm
by Runzelblunze
Hi!

Also having the same problem as the original poster:
Games I'm trying to run are battle clash and bazooka blitzkrieg
The SW Version is 1.53
I run it like this
"I:\HyperSpin\Emulators\nintendo - super nintendo entertainment system\snes9x\snes9x" -port2 superscope "i:\HyperSpin\Roms\Nintendo - Super Nintendo\Bazooka Blitzkrieg (USA).sfc"
and get the message
"Cannot select SNES Superscope: SuperScopeMaster disabled"
As soon as the Emulator is running, I can select Super Scope though.
Also I found some options for the snes9x.conf like this one:
SuperscopeMaster = TRUE
doesn't work with FALSE either...
If I write the conf option in camel case like in the error message with a capital S, it doesn't change anything...

Re: Trouble with Superscope command line

Posted: Wed Jun 12, 2013 9:11 pm
by Runzelblunze
Since you suggested something with nsrt headers I tried that as well... no idea if I did it right though. The nsrt frontend says port2 is super scope but it's like launching the game without specifying the device in port 2. Do I have to save that header somewhere? Do I have to tell snes9x to use the header information?
I don't really like messing with headers I know nothing about. I think the cli parameters would be super easy to use and the .conf file is even better!
I also want to use it in an emulator frontend and I think using multiple snes directories, each with it's own config would be easiest.
A multitap config, a mouse/trackball config, a superscope config and so on

Re: Trouble with Superscope command line

Posted: Wed Jun 12, 2013 10:00 pm
by Runzelblunze
mou, why can't I edit my posts...

I found another thing:

case CTL_SUPERSCOPE:
if (!Settings.SuperScopeMaster)
{
S9xMessage(S9X_CONFIG_INFO, S9X_ERROR, "Cannot select SNES Superscope: SuperScopeMaster disabled");
break;
}


here it's also camel case, but if I use camel case in the .conf file, that line will be removed on snes9x startup.

Also: tin star is a gamepad/mouse/super scope game
If you start it with super scope active, you even get a fancy calibration... thingy

Re: Trouble with Superscope command line

Posted: Thu Jun 13, 2013 9:46 am
by OV2
It's currently not possible in the win version. I'll try to create a new testversion this weekend that supports setting controllers from the command line.

Re: Trouble with Superscope command line

Posted: Sun Jun 16, 2013 11:04 am
by OV2
Here's an updated version where the command line controller options should work: snes9x_testbuild_16062013.zip

Re: Trouble with Superscope command line

Posted: Sun Jun 16, 2013 11:35 am
by Runzelblunze
Thank you so much! Both commandline and preferences file work perfectly! This is just what I needed!