What's new

mathewbeall

Grand Master
Joined
Nov 6, 2017
Messages
1,186
Reaction score
735
Location
Mission Viejo, CA, USA
For F-Zero AX, the serial connector pins are 4,5 (rx,tx) and 8, gnd - on JP3 right?

Either way I have rx and tx I get a card error upon bootup.

(I have CTS and RTS connected to each other).

Matt
 

mathewbeall

Grand Master
Joined
Nov 6, 2017
Messages
1,186
Reaction score
735
Location
Mission Viejo, CA, USA
Even stranger - it all works fine with Mario Kart GP, just not Fzero.
 

chunksin

Professional
Joined
Jan 21, 2017
Messages
197
Reaction score
380
Location
Birmingham, UK
These are the ones I have in my notes:

F-Zero - J3 on Triforce

Pin 3 [or 8] (GND) - Pin 5 (GND)
Pin 4 (TXD) - Pin 2 (RXD)
Pin 5 (RXD) - Pin 3 (TXD)
Pin 6 (RTS) - Pin 8 (CTS)
Pin 7 (CTS) - Pin 7 (RTS)

Naomi - CN8

Pin 1: RXD to Pin 3: TXD
Pin 2: TXD to Pin 2: RXD
Pin 3: GND to Pin 5: GND
Pin 4: RTS to Pin 8: CTS (This may actually not be needed)
Pin 5: CTS to Pin 7: RTS

Namco - J3 on Triforce, CN5 on Chihiro

Pin 3 [or 8] (GND) - Pin 5 (GND)
Pin 4 (TXD) - Pin 2 (RXD)
Pin 5 (RXD) - Pin 3 (TXD)
 

mathewbeall

Grand Master
Joined
Nov 6, 2017
Messages
1,186
Reaction score
735
Location
Mission Viejo, CA, USA
These are the ones I have in my notes:

F-Zero - J3 on Triforce

Pin 3 [or 8] (GND) - Pin 5 (GND)
Pin 4 (TXD) - Pin 2 (RXD)
Pin 5 (RXD) - Pin 3 (TXD)
Pin 6 (RTS) - Pin 8 (CTS)
Pin 7 (CTS) - Pin 7 (RTS)

Naomi - CN8

Pin 1: RXD to Pin 3: TXD
Pin 2: TXD to Pin 2: RXD
Pin 3: GND to Pin 5: GND
Pin 4: RTS to Pin 8: CTS (This may actually not be needed)
Pin 5: CTS to Pin 7: RTS

Namco - J3 on Triforce, CN5 on Chihiro

Pin 3 [or 8] (GND) - Pin 5 (GND)
Pin 4 (TXD) - Pin 2 (RXD)
Pin 5 (RXD) - Pin 3 (TXD)

Ahhh ok - so Fzero needs CTS and RTS - I will get that hooked up and give it a shot. Thank you!

Matt
 

mathewbeall

Grand Master
Joined
Nov 6, 2017
Messages
1,186
Reaction score
735
Location
Mission Viejo, CA, USA
Got this all complete today. Whew. I ordered a batch of serial cables - little did I know that the wiring/coloring scheme for the wires appears to be totally random. So I had pinned out the first cable and then couldn't figure out what was wrong with my Fzero cable - well, with the new cables I had ordered - all the colors were different... :)

Matt
 

Gewal

Beginner
Joined
Apr 7, 2019
Messages
21
Reaction score
13
Location
Joliet
If there is any interest in adding support for Derby Owners Club World Edition I have an operational server/4 client setup. I can purchase the analyzer software & cable to log the communication between the reader and the rs232/rs422 board.
 

MetalliC

Grand Master
Joined
Nov 19, 2015
Messages
1,261
Reaction score
1,158
If there is any interest in adding support for Derby Owners Club World Edition I have an operational server/4 client setup. I can purchase the analyzer software & cable to log the communication between the reader and the rs232/rs422 board.
you may start from checking CRW model. if I'm not mistaken, DOC WE uses CRP-1231BR-10, the same reader as Initial D or F-Zero AX games.
 

Gewal

Beginner
Joined
Apr 7, 2019
Messages
21
Reaction score
13
Location
Joliet
Confirmed...1231BR-10 in all 4 units.
PXL_20211229_184139758.jpg
 

Gewal

Beginner
Joined
Apr 7, 2019
Messages
21
Reaction score
13
Location
Joliet
I received a "no response from card reader message" using the ID3 script. I was using the only USB->serial cable I have so it may not be supported. I have the recommended one on order and it should arrive Monday to try again. Since this is a NAOMI 1 I have the USB->serial cable plugged into the rs232/422 translator card.

PXL_20211230_232204536.jpg
 

Gewal

Beginner
Joined
Apr 7, 2019
Messages
21
Reaction score
13
Location
Joliet
I am now receiving data from the NAOMI/rs232 translator.
Upon startup of the game the game the following unknown command is received:

python CARDEMU.py -cp COM3 -f new.TEXT
COM port opened and named: NAOMI2
CTS: True
new.TEXT not found. Created new.TEXT. You will have to select to create a new card in the game.
2022-01-02 18:42:34.349200: NAOMI2
02 07 10 00 00 00 30 03 24
ERROR: Emulator does not know how to respond to: 02 07 10 00 00 00 30 03 24


The NAOMI keeps sending "02 07 10 00 00 00 30 03 24" message while the screen displays the "Card Reader does not Respond" message.
I am waiting for additional adapters to monitor the traffic between both devices.
 

whatnot

Student
Joined
Oct 28, 2019
Messages
66
Reaction score
31
Location
USA
That's what happens when the scripts do nasty reply attacks, it assumes the full command is the same.

Code:
if "02 07 10 00 00 00 31 03 25" in ReadInput:

0x10 should be init, for the fun of it just change the 31 to 30 and the 25 to 24.

I had begun work on doing a proper card reader for WMMT that didn't use reply attacks but got a little bored with it. IDA claims it supports the microprocessor in these but it wouldn't load it, and Ghidra is missing an engine for it (although someone had started work on one but stalled), which made trying to figure out what *exactly* the command extra bytes were attempting to control.
https://github.com/GXTX/YACardEmu

And for the good all, here's the struct for WMMT2's cards, already played around with it quite a bit doing custom cards. Could never find the byte which sets it as a "Present" card to unlock the hidden music.
https://gist.github.com/GXTX/932b9f74b2acb0dfa834f126611c7940
 
Last edited:

Gewal

Beginner
Joined
Apr 7, 2019
Messages
21
Reaction score
13
Location
Joliet
Yeah...I was just looking through the script and noticed the similarity. Will probably have to plug and chug once the 232 tap arrives to see what other commands changed... hopefully comm structure/flow is the same but tbd.
 

whatnot

Student
Joined
Oct 28, 2019
Messages
66
Reaction score
31
Location
USA
It's not so much the command changing, just what the game expects the flipper, reader, and dispenser state to be.
 

winteriscoming

Champion
Joined
Feb 16, 2016
Messages
1,425
Reaction score
1,141
Location
Indiana, US
That's what happens when the scripts do nasty reply attacks

You've mentioned this multiple times. I encourage you to put the work in to make something better and share it rather than criticize what others have put money and time into and shared for free.

My initial scripts? They suck! I didn't know what I was doing. I have done some that are better that never got publicly released, but I never got back to ID1-3. I much prefer WMMT3DX+ at this point.

It would be awesome if others made something way better. For my part, I barely get to play any games these days and have no motivation/capacity to do any additional work on the scripts I've already shared.
 

sTo0z

Beginner
Joined
Sep 19, 2016
Messages
24
Reaction score
12
Location
Massachusetts, USA
... I have done some that are better that never got publicly released ...
Sorry to ask as this sounds like a sore topic for you, but I see you bring this point up when you discuss this topic. Did you ever state why you never released your later work? You certainly don't owe anyone to release it and everyone definitely appreciates everything you've done, just curious really.

I think your work is awesome, definitely doesn't suck. :)
 

MetalliC

Grand Master
Joined
Nov 19, 2015
Messages
1,261
Reaction score
1,158
I think your work is awesome, definitely doesn't suck
you didn't get it. it's suck because it's quite stupid "hardcoded request - hardcoded reply" type script, which works for specific game (series) only. if it was proper emulation - it would work with any games which uses same reader model, with no changes required, or in worst case with minimal fixes/improvements
 

chunksin

Professional
Joined
Jan 21, 2017
Messages
197
Reaction score
380
Location
Birmingham, UK
I get it and I understand from a purists perspective it sucks, but it's out there and it works - as the saying goes 'in the land of the blind, the one eyed man is king'

So huge thanks again to @winteriscoming, @saturnnights and everyone else involved, my noddy modifications and card printing code in WiPi would never have been possible without your efforts. My work also sucks!

I look forward to the properly written emulator that some clever person is going to kindly release at some point (nudge nudge)
 
Top