Coder Social home page Coder Social logo

acestark / yacardemu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gxtx/yacardemu

0.0 0.0 0.0 139 KB

Software emulator for the Sanwa CRP-1231LR-10NAB (Leuco card) card reader.

License: GNU General Public License v2.0

JavaScript 3.53% C++ 87.36% HTML 4.69% CMake 4.43%

yacardemu's Introduction

YACardEmu

YACardEmu (YetAnotherCardEmu) is a program to emulate the Sanwa CRP-1231LR-10NAB card reader that's found on Wangan Midnight Tune 1, 2, 3, 3DX, and 3DX+ arcade machines by Namco. A longer goal of this project is to be compatible with similar models that line of readers (such as 1231BR).

Checkout some gameplay videos here!

Building

Prerequisites

Ubuntu / Debian / Raspbian

sudo apt install build-essential cmake pkg-config libserialport-dev

Windows

Precompiled Windows binaries can be found here.

  1. Visual Studio 2022
    • C++ desktop development
    • Windows Universal CRT SDK
    • C++ CMake tools for Windows
    • Git for Windows
      • Optional if you already have Git installed

Build

Ubuntu / Debian / Raspbian

git clone --recursive https://github.com/GXTX/YACardEmu
cd YACardEmu
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

Windows

  1. If you don't have CMake installed, open ___ Native Tools Command Prompt for VS 20##.
  2. git clone --recursive https://github.com/GXTX/YACardEmu
  3. cd to the YACardEmu directory.
  4. Run these commands.
    1. mkdir build & cd build
    2. cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release
      • VS2022 17.0 or later is required.
  5. cmake --build . --config Release
  6. All the required files will be in build\Release

Running

You must have a USB to RS232 (or a physical serial port) connected to your machine. Configuration is made via both a config.ini file & via a web portal / API. To access the web portal point your browser to http://YOURIPHERE:8080/, this web page is where you'll choose your card and insert your card.

Editing config.ini to point to where you want your cards stored is required.

Ubuntu

cp ../config.ini.sample config.ini
./YACardEmu

Windows

cd Release
YACardEmu.exe

Info

If you're wishing to run this on hardware there are some settings you'll need to be aware of.

MT1: CRP-1231LR-10NAB     | 9600b none
MT2: CRP-1231LR-10NAB     | 9600b none
MT3/DX/DX+: CR-S31R-10HS3 | 38400b even
F-Zero: CRP-1231BR        | 9600b even

yacardemu's People

Contributors

gxtx avatar nezarn avatar emimidnight avatar

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.