GithubHelp home page GithubHelp logo

Comments (17)

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024 1

Inputs fully working now. 32fa606 😁

from mame2003-plus-libretro.

arcadez2003 avatar arcadez2003 commented on July 17, 2024

We need this fix from later builds..

0.102u3: RansAckeR fixed cocktail mode and input in Tempest.

I'll look into it sometime

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

I noticed in the description that the cocktail mode may have been planned but not implemented. Looking at mame2010, it looks like they just replaced the p1 hooks with special ports to essentially inject both players over this port. I imagine with custom read functions and a little bit of logic to check against the cocktail DSW this should work out.

from mame2003-plus-libretro.

arcadez2003 avatar arcadez2003 commented on July 17, 2024

Yeah i just noticed this...
0.112: Stephane Humbert updated Tempest to support 2nd Player controls.

The first fix above is for the screen flipping and this one will add the 2nd input by looks

EDIT oh oh lots of port by tagging calls which wont work here without modifications

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

I patched in the cocktail controls, to what I believe it should be for this core. 99644cc

@rdagger are you basically using a single mouse as two spinners? P1x and P2y? If so you'll need to turn on dial share I believe under input options.

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

@arcadez2003 the flip screen is still a little buggy not sure what that fix was exactly but likely need it too

from mame2003-plus-libretro.

arcadez2003 avatar arcadez2003 commented on July 17, 2024

@mahoneyt944 This is the fix circa MAME102.u3
c3e15eb

Notice our flipping calls were different to what the fix above was added into...

void avg_set_flip_x(int flip)
{
if (flip)
flip_x = 1;
}

void avg_set_flip_y(int flip)
{
if (flip)
flip_y = 1;
}

I had a quick look about the video and driver i seen no diffs as per when the above changes to the flip calls
were done but we might need to dig deeper should my commit not iron out the niggles

from mame2003-plus-libretro.

rdagger avatar rdagger commented on July 17, 2024

@mahoneyt944 I'm using a single mouse as two spinners. Thanks!

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

That's probably all it needed!, thanks @arcadez2003 for getting that solved. @rdagger is everything good on your end? can we close this?

from mame2003-plus-libretro.

rdagger avatar rdagger commented on July 17, 2024

@mahoneyt944 won't be able to test for a few days, but it sounds great, thanks guys!

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

@arcadez2003 update, unfortunately still bugging out a little. Noticed bumping the dial can cause it to correct. So might just be interference reading the port when it switches.

from mame2003-plus-libretro.

arcadez2003 avatar arcadez2003 commented on July 17, 2024

@arcadez2003 update, unfortunately still bugging out a little. Noticed bumping the dial can cause it to correct. So might just be interference reading the port when it switches.

Aye it might just be

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

Yeah it's something like that, if you don't move the cocktail dial it bugs out on the player 2 level select, moving the dial corrects the issue. Probably need to log this port and see what's happening.

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

For some reason when this port is low it flickers the flip bit as the dials rotates. When switched to high, it works normally but I had to flip the cabinets bits to play nice with it. Seems to work ok now. b61da75

I haven't followed the logic of port_custom in newer mame to see how exactly it binds these functions to the port, so perhaps it does a similar inversion behind the scenes?

from mame2003-plus-libretro.

mahoneyt944 avatar mahoneyt944 commented on July 17, 2024

I also found that the difficulty dip switch is reversed now. Might need a better way of linking the ports than adding them together as I think that's causing the oddity.

from mame2003-plus-libretro.

rdagger avatar rdagger commented on July 17, 2024

Did a quick test and everything looks great, thanks!

from mame2003-plus-libretro.

arcadez2003 avatar arcadez2003 commented on July 17, 2024

Alright then another happy ending so we can close this down.

from mame2003-plus-libretro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.