1. Wiimpathy

    OP Wiimpathy GBAtemp Advanced Fan
    Member

    Joined:
    Mar 3, 2010
    Messages:
    781
    Country:
    France
    This is my attempt to have a proper lightgun or at least something at a playable state. In the archive below, you'll find the following beta cores : fba2012, fceumm, genesis-plus, mame2003+ and snes9x.

    Retroarch lightgun cores

    If you don't know what this adds, let me explain briefly this feature available in other emulators as well. With this, the wiimote will act as a pointer in order to play some lightgun compatible games like Duck Hunt. It can also be used as a mouse, possibly for computer ports etc.
    Some credits goes to netux79 because he started implementing this a long time ago.

    I've already made some tests so you'll see what's working and the known bugs too. Sorry in advance if all those notes are a bit boring but some details can be useful.


    FBA 2012
    ========


    1 Player

    - Deerhunt : OK.
    Settings->Input->User 1 Binds->User 1 Device Type: lightgun or Mouse (full)

    - Operation Wolf : NO. Issues with the crosshair not visible. Use Mame2003 CoreB instead!

    2 Players

    Two lightguns should be working as long as lightgun or Mouse is selected in input menu.


    MAME2003+
    ==========


    This is quite buggy and a bit hacky in general. This is due to how input is handled in Mame2003(it's very complex!)
    It also seems that some games have incomplete lightgun support.
    I've tried my best to have some games playable(or not...)

    You must change the following option :

    Settings->Input->Mouse Scale : 2 or 3

    - Operation Wolf : OK

    - Lethal Enforcers (CoreE): OK.
    Reloading is working when wiimote is off-screen. However, you need to point preferably at the top of the screen because the cursor will always reappears there.

    - Terminator 2 : NO.
    No full lightgun/crosshair support it seems.


    NES
    ====


    1 Player

    - Duckhunt : OK
    Input->Zapper
    Options->Zapper Mode: mouse or lightgun


    2 Players

    - Chiller : OK.
    Only real 2 simultaneous Zapper game?
    In retroarch input menu, select Zapper for both wiimotes.
    Options->Zapper Mode : mouse.

    - Duckhunt VS : Issues?
    First, Credit is not assigned to any button? Go to Options->Coinage : Freeplay
    Is it possible to play with 2 Zappers in those VS games with any Nes emulator?


    SUPERNES
    =========


    1 Player

    Like in a real SuperNes, the SuperScope must be in port 2.
    Open Retroarch's menu :
    Settings->Input->User 2 Binds->User 2 Device Type: SuperScope
    Settings->Input->User 2 Binds->User 2 Device Index: Wiimote Controller

    Also check this :
    Options->Light Gun Mode: Light Gun

    - Yoshy's Safari : OK

    - SNES Test Program : OK.
    All accessories are working.

    2 Players

    - Terminator2 : No.
    2 SuperScope isn't possible. Perhaps 1 mouse and 1 Superscope.
    Emulator's limitation, my bad lightgun implementation? Is it at least playable this way a on real Snes?

    - Troddlers : OK.
    This game can be played with 2 mice at the same time.
    Settings->Input->User 1 Binds->User 1 Device Type: SNES Mouse
    Settings->Input->User 1 Binds->User 1 Device Index: Wiimote Controller (#1)
    Do the same for player 2.


    GENPLUS
    ========


    It seems everything's working quite well here.

    1 Player

    - Body Count (Megadrive) : OK
    Settings->Input->User 1 Binds->User 1 Device Type: Joypad auto
    Settings->Input->User 1 Binds->User 1 Device Index: Wiimote Controller

    Settings->Input->User 2 Binds->User 2 Device Type: MD Menacer
    Settings->Input->User 2 Binds->User 2 Device Index: Wiimote Controller

    Reset game and select 1 player mode and the Menacer option.

    2 Players

    - Ganster Town (Master System) : OK.
    Settings->Input->User 1 Binds->User 1 Device Type: MS Light Phaser

    Options->Lightgun input : lightgun
    Options->Show Lightgun crosshair : ON

    - Body Count (Megadrive) : OK
    Start the game with both wiimotes Joypad auto. Then open retroarch menu and select mouse for player # 1 and MD Menacer for playter #2.


    Source code
    fba2012
    mame2003+
     
  2. cvskid

    cvskid GBAtemp Addict
    Member

    Joined:
    Apr 13, 2014
    Messages:
    2,483
    Country:
    United States
    What about using mame2000 instead of mame2003+? Curious about using this for jurrasic park arcade.
     
    Last edited: Sep 15, 2019
  3. Tetsuo Shima

    Tetsuo Shima GBAtemp Advanced Fan
    Member

    Joined:
    Oct 29, 2008
    Messages:
    760
    Country:
    Italy
    This is great! thanks
    Do you thing playing Point Blank is possible?:ninja:
     
  4. MythicalData

    MythicalData GBAtemp Maniac
    Member

    Joined:
    May 11, 2017
    Messages:
    1,405
    Country:
    United States
    Cool! I remember playing a game (I believe it was on ps2) that had a gun (game was basically shooting aliens iirc) this is a nice addon!
     
    rogerioronin likes this.
  5. Wiimpathy

    OP Wiimpathy GBAtemp Advanced Fan
    Member

    Joined:
    Mar 3, 2010
    Messages:
    781
    Country:
    France
    Mame2000 doesn't seem to have lightgun support at all. Since you asked, you surely know that jurassic park and a few other games don't have sound in Mame2003+.
    Well it's starting in mame2003+ but no audio unfortunately. It's a shame but it's really difficult to debug specially with those split cores. To be honest, I have enough looking at that mame code right now.:)

    Here's a mame2003 roms list with lightgun games only:

    a51mxr3k=Lightgun
    alien3=Lightgun
    area51=Lightgun
    area51mx=Lightgun
    bang=Lightgun
    bangj=Lightgun
    bbusters=Lightgun
    carnevil=Lightgun
    catch22=Lightgun
    cheyenne=Lightgun
    chiller=Lightgun
    claypign=Lightgun
    combat=Lightgun
    cracksht=Lightgun
    crossbow=Lightgun
    cryptklr=Lightgun
    desertgu=Lightgun
    duckhunt=Lightgun
    eggventr=Lightgun
    eggvntdx=Lightgun
    gdfs=Lightgun
    gollygho=Lightgun
    greatgun=Lightgun
    gunbulet=Lightgun
    gunbustr=Lightgun
    hitnmis2=Lightgun
    hitnmiss=Lightgun
    hogalley=Lightgun
    le2=Lightgun
    le2u=Lightgun
    lethalen=Lightgun
    lethalj=Lightgun
    maxforce=Lightgun
    maxf_102=Lightgun
    mechatt=Lightgun
    nycaptor=Lightgun
    oneshot=Lightgun
    opwolf3=Lightgun
    opwolf3u=Lightgun
    opwolf=Lightgun
    opwolfb=Lightgun
    othunder=Lightgun
    othundu=Lightgun
    pc_duckh=Lightgun
    pc_hgaly=Lightgun
    pc_wgnmn=Lightgun
    plctr13b=Lightgun
    policeto=Lightgun
    policetr=Lightgun
    ptblank=Lightgun
    revx=Lightgun
    sgunner2=Lightgun
    sgunner=Lightgun
    sgunnr2j=Lightgun
    spacegun=Lightgun
    sshooter=Lightgun
    targeth=Lightgun
    term2=Lightgun
    term2la1=Lightgun
    term2la2=Lightgun
    tickee=Lightgun
    tshoot=Lightgun
    undrfire=Lightgun
    undrfirj=Lightgun
    undrfiru=Lightgun
    vsfdf=Lightgun
    whodunit=Lightgun
    zeropnt2=Lightgun
    zeropnt=Lightgun
    zeropnta=Lightgun
    zombraid=Lightgun
     
    Last edited: Sep 15, 2019
    Tetsuo Shima likes this.
  6. Tetsuo Shima

    Tetsuo Shima GBAtemp Advanced Fan
    Member

    Joined:
    Oct 29, 2008
    Messages:
    760
    Country:
    Italy
    Thanks! Even without sound, it's great to have it.
    I will try to use it as a plugin in wiiflow
    Do you have a similar list for FBA2012? I'm trying to search but I can't seem to find it

    Edit: These cores are replacing the previous (non lightgun) version? Or should they be used alongside the old ones?
     
    Last edited: Sep 15, 2019
  7. Wiimpathy

    OP Wiimpathy GBAtemp Advanced Fan
    Member

    Joined:
    Mar 3, 2010
    Messages:
    781
    Country:
    France
  8. Tetsuo Shima

    Tetsuo Shima GBAtemp Advanced Fan
    Member

    Joined:
    Oct 29, 2008
    Messages:
    760
    Country:
    Italy
    Just tried Point Blank, but the pointer seems locked at the very bottom of the screen. It moves left and right, but it cannot go upwards. I tried setting the mouse scale to all 4 values
     
  9. Wiimpathy

    OP Wiimpathy GBAtemp Advanced Fan
    Member

    Joined:
    Mar 3, 2010
    Messages:
    781
    Country:
    France
    I've just re-checked and no problem here.
    ptblank.zip launched with Mame2003 coreA. With 1 or 2 wiimotes without touching the default input. Weird...
    Check this too : Options->Mouse Device : mouse
    Maybe re-check User 1 binds if your wiimote is enabled. See if not used on another port in user 2 for example.

    Edit:
    Point blank driver says:
    GAMEX( 1994, ptblank, 0, namconb1, gunbulet, gunbulet, ROT0, "Namco", "Point Blank", GAME_NO_SOUND )
     
    Last edited: Sep 15, 2019
  10. MrSplinter85

    MrSplinter85 Newbie
    Newcomer

    Joined:
    Monday
    Messages:
    1
    Country:
    Netherlands
    I've been looking for a while to run Point Blank on the Wii, and finally found this thread. Thank you for your work so far!

    The game runs indeed, without sound, and uses the wiimote as a mouse. So it's playable, but everytime you point outside the screen and go back in the pointer isn't really pointing, more relative to the latest position. I guess it won't be better then this, am I right?
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Retroarch, Lightgun, support