Page 1 of 1
Stargate Needs the Inviso Button
Posted: Sun Jun 21, 2020 5:03 pm
by Zeosstud
Hello,
I was hoping we could get the Inviso button added to Stargate, it has been mentioned in the old Atari forums but thought I would bring it up here. If we wanted to take it one step farther, would be nice to also be able to actually map reverse to a button and disable left and right on the joystick. I can do it now on a per session basis but a more elegant solution would be amazing.
I have an IPAC2 that I use for my controls..
-Zeosstud
Re: Stargate Needs the Inviso Button
Posted: Sun Jun 21, 2020 6:43 pm
by Sorgelig
1) open core button mapping
2) assign RIGHT button to reverse button on your controller
3) skip LEFT button
4) assign all other buttons
Re: Stargate Needs the Inviso Button
Posted: Mon Jun 22, 2020 2:29 am
by Zeosstud
that does work great for Defender.. thanks.. the issue with Stargate is, it just does not ask you to map Inviso..
Here is part of the .mra directly from the Mister Github site, you can see there is no Inviso under button names
<misterromdescription>
<name>Stargate</name>
<mameversion>0218</mameversion>
<setname>stargate</setname>
<mratimestamp>20200220003057</mratimestamp>
<year>1981</year>
<manufacturer>Williams / Vid Kidz</manufacturer>
<category>Space / Defender</category>
<rbf>robotron</rbf>
<switches default="00">
<dip bits="0" name="Auto Up" ids="Off,On"/>
<dip bits="1" name="Advance" ids="Off,On"/>
</switches>
<buttons names="Fire,Thrust,Smart Bomb,Hyperspace,Start 1P,Start 2P,Coin" default="A,B,X,Y,Start,Select,R"/>
<rom index="1">
<part>4</part>
</rom>
Thanks for the reply,
I like the new forum, for what its worth..
Re: Stargate Needs the Inviso Button
Posted: Mon Jun 22, 2020 7:59 am
by Vic20-Ian
Have you tried adding the text? Might just be missing in the MRA from a copy paste from Defender?
Re: Stargate Needs the Inviso Button
Posted: Wed Jun 24, 2020 3:30 am
by Zeosstud
Get this, I tried your suggestion, and just added the word Inviso into the button names.. It freaking worked, the inviso button does inviso stuff.. BUT, the mappings for Start 1P, Start 2P, Coin get goofed up and basically all you can do at that point is add a bunch of coins and then start a 2 player game.. So, some kind of improvement!! I mentioned this to AlanSWX, and he is going to look into it.. So help might be on the way!!
Re: Stargate Needs the Inviso Button
Posted: Wed Jun 24, 2020 7:47 am
by Vic20-Ian
If you added Inviso after Hyperspace the try adding in L to the string sequence A,B,X,Y,L,Start,Select,R
I suspect what you did was add the term but took over the assignment to Start
Re: Stargate Needs the Inviso Button
Posted: Thu Jun 25, 2020 12:59 am
by Zeosstud
I tried it like that..
did not work like you would hope.. I leave it in the hands of the pros now..
Re: Stargate Needs the Inviso Button
Posted: Thu Jun 25, 2020 2:43 am
by Zeosstud
Found a work around.. No idea why it works.. Dont care, it works, for me..
I completely removed the default area of the .mra
I added Inviso to the button names area..
For me now, with my IPAC2, My Player 2 button adds coins, and my inviso button starts a 1 player game.. My Player 1 starts a 2 player game..
sure it is a little wonky, and I have to go and map right and left on my joystick to something else.. but hey, the whole thing take 15 seconds and I am playing Stargate like it is supposed to be played..
fun fact, turns out I really really suck at the game.. oh well!!
<misterromdescription>
<name>Stargate</name>
<mameversion>0218</mameversion>
<setname>stargate</setname>
<mratimestamp>20200220003057</mratimestamp>
<year>1981</year>
<manufacturer>Williams / Vid Kidz</manufacturer>
<category>Space / Defender</category>
<rbf>robotron</rbf>
<switches default="00">
<dip bits="0" name="Auto Up" ids="Off,On"/>
<dip bits="1" name="Advance" ids="Off,On"/>
</switches>
<buttons names="Reverse,Fire,Thrust,Smart Bomb,Hyperspace,Inviso,Start 1P,Start 2P,Coin"/>
<rom index="1">
<part>4</part>
Re: Stargate Needs the Inviso Button
Posted: Thu Jun 25, 2020 12:08 pm
by Vic20-Ian
<buttons names="Fire,Thrust,Smart Bomb,Inviso,Hyperspace,Start 1P,Start 2P,Coin" default="A,B,X,Y,Start,Select,R"/>
I used this and then started the core and F12, Cursor right and did a key reassign on my XBox One Controller
Despite doing this 2 and whether I add Reverse or not above The following happens:
1. Reverse is replaced by Joystick Left and Right
2. I can get Thrust, Fire, Smart Bomb and Inviso on A,B,X,Y and Hyperspace on Right Trigger with Menu for Coin and Menu 2 for Start 2. Start 1 is seemingly confounded with Inviso on whatever button I assign.
I think this is configured elsewhere and needs developer support.
To play 1 player I use Menu for Coin then Inviso(Y) to Start1P and Invisio is on this Y button.
This was the most useful configuration I could find with a controller.
With IPAC I think you will have the same issue of confounding of Start 1P with Inviso for now.
Use the Key mapper and start the 1P game with Inviso button and you should be good to go until the code is looked at again.
Re: Stargate Needs the Inviso Button
Posted: Wed Jul 01, 2020 7:33 pm
by Vic20-Ian
Sorgelig wrote: ↑Sun Jun 21, 2020 6:43 pm
1) open core button mapping
2) assign RIGHT button to reverse button on your controller
3) skip LEFT button
4) assign all other buttons
@Sorgelig
I tried this as you can see above and StartP1 and Inviso are confounded.
Please can you take a look and see if there is something missing in Stargate core, it is not the same as Defender
Thanks.
Re: Stargate Needs the Inviso Button
Posted: Wed Jul 01, 2020 7:56 pm
by Sorgelig
you cannot modify MRA that way. If button is not implemented, it can't be added through MRA.
Core needs update.
Re: Stargate Needs the Inviso Button
Posted: Wed Jul 01, 2020 9:52 pm
by Zeosstud
Well it must be "implemented" in the core and just not mentioned in the official .mra, which is silly.. I think if you map your buttons to the correct keys that the game is looking for, it will just work no matter what the .mra says in that particular section, it certainly works that way for me and my Ipac2. I am not using any of the jamma / Ipac hacks in the mister.ini either.
lctrl = fire
lalt = thrust
lshift = smart bomb
y = inviso
x = hyperspace
z = reverse
After I load the game I do go into button / key remap for the game and I remap joystick right and left to different keys, in my case its * and /
and the game plays perfectly!! And I am still terrible at it!!
Re: Stargate Needs the Inviso Button
Posted: Thu Jul 02, 2020 11:10 am
by Vic20-Ian
Sorgelig wrote: ↑Wed Jul 01, 2020 7:56 pm
you cannot modify MRA that way. If button is not implemented, it can't be added through MRA.
Core needs update.
We have Inviso working with changes to the MRA but realise this is not the correct way to deal with it.
Invisio is confounded with Start P1 doing it this way....but it makes the game playable.
Please could you take a look at the core for a more correct implementation when you have time. Thank you.
Re: Stargate Needs the Inviso Button
Posted: Thu Jul 02, 2020 5:47 pm
by Sorgelig
Vic20-Ian wrote: ↑Thu Jul 02, 2020 11:10 am
when you have time.
this is the key point.