What's new

whatnot

Student
Joined
Oct 28, 2019
Messages
51
Reaction score
24
Location
USA
Introducing YetAnotherJVSEmu...


https://github.com/GXTX/YetAnotherJVSEmu


This is a FOSS JVS emulator based on off the shelf libraries present in Ubuntu's package manager and other Free and Open Source Software. The aim of the project was to avoid messy config files and just have a base platform you can easily modify and understand what does what via a friendly and easy to use command line UI. The idea is to be the Apple motto of "It just works".


Supports *any* controller that Linux can pickup thanks to using SDL2 as the controller back end.


Want to play gun games? Just have a WiiMote connected and you'll automatically be asked if you want to use it! Supports using the WiiMote as X/Y positional using analog values or even the recently added touch screen input (untested). You can attach up to 2 WiiMotes (artificial limit) so you could even 2 player gun games such a Virtua Cop or House Of The Dead.


By default the mapping is set to what is comfortable to play racing games on my Chihiro using an Xbox 360 controller, because of this if you want to change mappings you must use custom maps BUT! this is very trivial to change (once again thanks to SDL2); there are external maps that are already community made, or maybe you even want to create your own because you find the controls are lacking you can use the community source maps located here https://github.com/gabomdq/SDL_GameControllerDB/ and place the "gamecontrollerdb.txt" file in the directly with the executable. Buttons are currently mapped *all* to Player 1, but if you can easily change this in 'Includes/SdlIo.cpp' near the bottom. Players are currently limited to 2 (are there games which actually use more?), to see more hard limits checkout the defines in 'Includes/JvsIo.h'.


I'm not going to go into detail how to use it here but if you checkout the readme I believe you should be able to get a good idea as I tried to be as detailed as possible. Check that out here: https://github.com/GXTX/YetAnotherJVSEmu/blob/master/README.md


All of my testing has been on a Raspberry Pi 3B+ on Ubuntu 20.04 with a Type-3 Chihiro which has been to be confirmed working as expected on:

  • OutRun 2
  • OutRun 2 Special Tours
  • Virtua Cop 3
  • Ghost Squad
  • Wangan Midnight Maxium Tune
  • Wangan Midnight Maxium Tune 2
  • House Of The Dead 3 (converted to work on Type-3)
  • Crazy Tazi - High Roller (converted to work on Type-3)


I know that there's *some* games which check for certain things like IO name and I'd love to get a full list of games which do this and what they expect, I could potentially add a easy to use command line switch instead of requiring you to manually edit it in 'Includes/JvsIo.cpp'.


Check out the project here: https://github.com/GXTX/YetAnotherJVSEmu


Thank you @bobbydilley for the inspiration to work on this.
 

whatnot

Student
Joined
Oct 28, 2019
Messages
51
Reaction score
24
Location
USA
Made a couple of quick videos showing off the use modes of this project. Check those out here... And again, these require ZERO prior configuration, no need to mess around with config files or confusing device IDs.


And here is what a completed set-up could look like, note that the Red wire coming from the USB cable is going into a split where it connects 4 diodes to GND then going into GPIO Pin 12 of the Pi.

DrYY3Xj.png
 
Last edited:

whatnot

Student
Joined
Oct 28, 2019
Messages
51
Reaction score
24
Location
USA
I use 4 1N4148's. The voltage on the pin should be ~2.5V, you can verify this by keeping the GPIO pin unattached and checking the voltage between the red wire and GND.
 

goyaume

New User
Joined
Feb 25, 2020
Messages
3
Reaction score
0
Location
France
Thanks for answering, i'll give it a try next week :)
 
Top