What's new

NAOMI 2/Chihiro/Triforce Card Reader Emulator (Initial D3/WMMT/Mario Kart/F-ZERO AX)

Sorry to come out of left field and re-direct the train, @whatnot is there any interest to add CRP-1231 AR-10 support to YACardEMU at all? This was the reader that worked with the early versions of DOC. In the beginning pages of this thread, @MetalliC was trying to figure out the communication layers and I was finally able to tap into this communication...see below in decimal:

The Japanese version of DOC2000 version 2 gets hung up at machine start and the naomi spams the card reader with an error that is translated on screen to read "please pull out the card", it won't accept the fact that a BR card reader is connected to it.

Any ideas on a command I can send to it to try to get it past this screen? I think that is my first step to unlock the rest of the communication...
Hey there. It should already be supported with my program, did you make sure you set the parity to "even"?

RE: your pic, I'm not sure what's going on with those 0x3F FF's
 
Thanks for the response, I have tried your program, and it is possible that maybe I am not setting it up correctly? I did. This is what I got for the config file:

[config]
;basepath = /home/wutno/cards/
basepath = C:\Users\18082\Desktop\YACardEMU\
; Linux
;serialpath = /dev/ttyUSB0
; Windows
serialpath = COM11
;serialpath = \\.\pipe\YACardEmu
; Which device should we emulate?
; C1231LR / C1231BR / S31R
targetdevice = C1231BR
;
; Optional
;
serialbaud = 9600
; Acceptable even & none
serialparity = even
apiport = 8080
autoselectedcard = card.bin
 
Weird! Looks right, can you launch it with `-d` or `-t` so I can see if anything is happening.
 
Hi! :)

Has anyone worked on Namco Cobra the Arcade ic card compatibility ?
he uses the same Player Reader Sanwa CRP-1231BR-10
 
Okay, I think I had a solder joint that wasn't as solid as it should have been on my cable. I also reset the game to a US version that I know has been proven working with your software. Got it up and running, I appreciate the set of eyes! Now to convert this machine to JP version try over there! Will report back.
 
Same issue, I think it’s because of the different prefixes to the commands that were changed in the BR version of the Sanwa.

It looks to my rapidly aging eyes that the Naomi uses 3F 3F before the request and the Card Reader is responding with 3F 81 then say 02 06… etc.

I am going to try to see if I can stumble upon the commands. That being said, once that is figured out, is it possible to add an another selectable target device of C1231AR?
 

Attachments

  • IMG_3049.jpeg
    IMG_3049.jpeg
    321.6 KB · Views: 27
  • IMG_3050.jpeg
    IMG_3050.jpeg
    243.8 KB · Views: 30
It's pretty easy to add support for different models, but I need to see the log when you run with "-t" in the command line. But you've confirmed that it works with the US version, just not the JP?
 
Sounds good, it does indeed work with all DOCWE versions (Rev A; Rev B; Rev C; and Rev D); only one not working is DOC2000 Version 2. Which used the AR version Sanwa vs the BR used in the DOCWE versions. I would assume that DOC99 is the same as DOC2000.

Does anyone have a simplified list of commands that I could borrow for the BR version?

It looks like the some of the communication is the same (maybe because it is a BR reader connected to it?), the Naomi seems to be requesting an unlock code or something of the Reader? Did you see that on the other versions?

Upon start up; and cyclically at the top of each attract round the Naomi sends a check to the reader, it kind of cycles the reader but doesn't go past that at all. I looked at the DOC WE communication I sent way back in the 30's pages on here and tried to compare it to what I am seeing on the AR side...

I may even have the two mislabeled in my notes...?

BR Protocol (US DOC)

  1. Initial Communication:

    • CARD R/W: 02 07 10 00 00 00 30 03 24
    • NAOMI1: 06
    • CARD R/W: 05
    • NAOMI1: 02 06 10 A0 30 33 03 B6
  2. Repeated Commands and Responses:

    • CARD R/W: 02 06 20 00 00 00 03 25
    • NAOMI1: 06
    • CARD R/W: 05
    • NAOMI1: 02 06 20 A0 30 30 03 85
  3. Additional Commands:

    • CARD R/W: 02 09 33 00 00 00 32 31 30 03 0A
    • NAOMI1: 06
    • CARD R/W: 05
    • NAOMI1: 02 06 33 A0 30 33 03 95
  4. Error Handling:

    • CARD R/W: 02 06 33 A0 30 34 03 92
    • NAOMI1: 05
    • Repeated multiple times
AR Protocol Analysis (DOC2000 JP):
  1. Initial Communication:

    • Naomi1: 02 06 20 00 00 00 03 25
    • CardRW: 06 02 06 20 A0 30 30 03 85
  2. Repeated Commands and Responses:

    • Naomi1: 02 06 20 00 00 00 03 25
    • CardRW: 06
    • Naomi1: 05
    • CardRW: 02 06 20 A0 30 30 03 85
  3. Additional Commands:

    • Naomi1: 02 07 10 00 00 00 31 03 25
    • CardRW: 06
    • Naomi1: 05
    • CardRW: 02 06 10 A0 30 33 03 B6
  4. Error Handling:

    • Naomi1: 02 0B 78 00 00 00 37 31 30 30 30 03 46
    • CardRW: 06
    • Naomi1: 05
    • CardRW: 02 06 78 A0 30 30 03 DD
I asked Copilot to take a stab at it, and we ran out of options...lol Stuck on the "unlock request of the reader"

Comparison:
  1. Command Structure:

    • Both protocols use a similar command structure with initial bytes indicating the command type and subsequent bytes containing data.
    • The AR protocol has specific sequences like 02 06 20 00 00 00 03 25 and 02 06 20 A0 30 30 03 85 that are repeated multiple times.
  2. Response Patterns:

    • The BR protocol shows consistent acknowledgment (06) and data packets.
    • The AR protocol also shows acknowledgment (06) but has additional sequences like 02 06 20 A0 30 30 03 85.
  3. Error Handling:

    • Both protocols have error handling sequences where the Naomi1 sends specific commands and expects certain responses.
    • The AR protocol has sequences like 02 0B 78 00 00 00 37 31 30 30 30 03 46 and 02 06 78 A0 30 30 03 DD.
Commands Tried (with no luck):

1739235013985.png


Anything here generates an "aha moment" with anyone, because I don't think I have seen enough yet to make heads and tails to really see similarities between the two...
 
TLDR: AR protocol differs from BR with one status byte, in BR it's binary value while in AR it's ASCII digit

iirc someone already did 1231AR simulator for some other game, but I can't remember which one it was
 
Back
Top