Main > Lightguns
Terminator 2, MAME 106, Lightgun
<< < (2/5) > >>
u_rebelscum:

--- Quote from: Howard_Casto on May 15, 2006, 03:09:23 pm ---#2, Now positional gun games are mapped to adstck (as they should be)  so doing something as simple as using the -lightgun flag will no longer work.  You'll have to make a ctrlr file for the game, mapping each adstick axis to the appropraite mouse axis.
--- End quote ---

--- Quote from: MKChamp on May 15, 2006, 07:08:58 pm ---Term2 worked flawlessly with 105, 105u1 and then something happen around u2 or u3(dont remember exactly which). I've remapped the guns and even copied the cntrl file from revolution x but with no success. I'll mess with it more tonight since I know it is something with ME and not MAME.

--- End quote ---

I think a little confusion on same named terms is happening here.  "Mame input port type" vs. "physical input device", from now on called "port type" & "physical device" respectively.  Mame changed term2's port type from lightgun to (the more correct AFA physical electronics) AD_stick port type in 0.105u3.  RevX, however, still uses lightgun port type (AFAIK).

So you can't use the pre-0.105u3 ctrlr file or the revX cfg files since the port types are different. 

You need to map you physical device lightgun to term2's AD_stick port type.  (Or hand edit the ctrlr file, but if you do, I think you'll have to decrease the lightgun number by one as the lightgun numbering was fixed so lightgun number = mouse number.) 


--- Quote ---I guess I'm the only one who actually reads the "what's new" for mame.   

--- End quote ---

--- Quote from: MKChamp on May 15, 2006, 07:08:58 pm ---I actually read the what's new and I've really been following the mouse code progress closely.
--- End quote ---

The change from port type lightgun to AD_stick was not mentioned in the whatsnew AFAICT.  And it looks like it was not complete, as revX is still lightgun port type. [shrug] 
MKChamp:
Ahhh...that explains it.  So, I'm not crazy. I also noticed that when sorting the games in MAMEWAH via input(lightgun), Terminator 2 no longer showed up in the list and had to be manually inserted.

I hate not knowing why things change unexpectantly. Thank you!
Howard_Casto:

--- Quote from: MKChamp link=topic=53780.msg527708#msg527708 I hate not knowing why things change unexpectantly. Thank you!
[/quote ---

I hate to pick on you, but it says right in the mame what's new  "fixed the positional gun games to use adstick input ports" or something to that degree.  It's only unexpected if you don't bother to read the whatsnew.txt, which you should always do. 


The question comes up though.... why wasn't revX fixed?  Doesn't it use essentially the same gun as term2 but with a new shell?


Ugh..... mame devs if you are going to fix something, do it completely. 
--- End quote ---
MKChamp:
And that was my delimma. I didn't understand why term2 no longer worked while revx, which is basically same hardware, did.
 Wasn't sure what the what's new text file was referring to.

I saw that revx worked ok without any changes, yet term2 didn't.
MKChamp:
Just in case anyone needs a cfg file for term2 (and probably revolution x soon), here is mine. I have 2 LCD guns connected...

<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="term2">
        <input>
            <port type="P2_BUTTON1" mask="4096" index="6" defvalue="4096">
                <newseq type="standard">
                    MOUSECODE_2_BUTTON1
                </newseq>
            </port>
            <port type="P2_BUTTON2" mask="8192" index="7" defvalue="8192">
                <newseq type="standard">
                    MOUSECODE_2_BUTTON3
                </newseq>
            </port>
            <port type="P1_AD_STICK_X" mask="255" index="24" defvalue="128">
                <newseq type="standard">
                    GUNCODE_1_ANALOG_X
                </newseq>
                <newseq type="decrement">
                    GUNCODE_1_ANALOG_X
                </newseq>
                <newseq type="increment">
                    GUNCODE_1_ANALOG_X
                </newseq>
            </port>
            <port type="DIPSWITCH_NAME" mask="7" index="27" defvalue="3" value="7" />
            <port type="P1_AD_STICK_Y" mask="255" index="76" defvalue="128">
                <newseq type="standard">
                    GUNCODE_1_ANALOG_Y
                </newseq>
                <newseq type="decrement">
                    GUNCODE_1_ANALOG_Y
                </newseq>
                <newseq type="increment">
                    GUNCODE_1_ANALOG_Y
                </newseq>
            </port>
            <port type="P2_AD_STICK_X" mask="255" index="79" defvalue="128">
                <newseq type="standard">
                    GUNCODE_2_ANALOG_X
                </newseq>
                <newseq type="decrement">
                    GUNCODE_2_ANALOG_X
                </newseq>
                <newseq type="increment">
                    GUNCODE_2_ANALOG_X
                </newseq>
            </port>
            <port type="P2_AD_STICK_Y" mask="255" index="82" defvalue="128">
                <newseq type="standard">
                    GUNCODE_2_ANALOG_Y
                </newseq>
                <newseq type="decrement">
                    GUNCODE_2_ANALOG_Y
                </newseq>
                <newseq type="increment">
                    GUNCODE_2_ANALOG_Y
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>
Navigation
Message Index
Next page
Previous page

Go to full version