What's new
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
 
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.
 
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.
 
Confirmed...1231BR-10 in all 4 units.
PXL_20211229_184139758.jpg
 
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
 
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.
 
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:
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.
 
It's not so much the command changing, just what the game expects the flipper, reader, and dispenser state to be.
 
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.
 
... 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. :)
 
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
 
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)
 
Completely agree @chunksin - is it ideal? no. Does it work - absolutely! I use it and am very happy with it so far - looking forward to using the mag cards with WMMT2!!! That will make it even better.
 
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?
Lack of time and motivation, mostly. It's probably been over a year since I booted up any of my cabs to actually play anything, and I'm not that interested in working on a project for something I'm not getting to play. I also wrestle with whether or not I'm comfortable sharing scans of cards publicly, which my latest project uses, and making it at all distributable without them involves time I would rather spend doing something else.

When I say I've got some stuff together that hasn't been publicly released, I'm not saying it to brag that I have something and no one else can have it. I'm just saying that I'm aware of the issues in the public scripts and am better able to manage them at this point. However, my latest work is not just an isolated set of scripts that I can simply post like I did with the others, they're part-and-parcel to a web-based front-end running on a raspberry pi (i.e. a large SD card image). I have also generally gone forward with scripting for new games/card readers and have not gone back to the others.

@chunksin looks to be making good progress on a similar frontend, so that will probably be the project to watch.

you didn't get it. it's suck because it's quite stupid "hardcoded request - hardcoded reply" type script,
Now criticism from @MetalliC is always respected (even if it makes me cry ;() since none of the sucky scripts would ever have come together without his help.
 
Well, after following this thread in the background for so long, I have got to give it to you winteriscoming as well as MetalliC (and the others), for creating something that works as intended. Huge props!

I think what made me finally take the plunge and sign up for an account, is the motivation to do something for Derby Owners Club. The older this game gets, the harder it is to get parts for these things. While certainly a niche game, there is a huge following still to this day, and with the card reader repair guy we all use in the community running out of salvageable parts, I think the time to get something as an alternative is now.

While I don't per say have as much experience as many here, I have been keeping what had been shared with me years ago alive for just a moment as this. Hopefully, I am able to share it through here. Again, this can hopefully speed up the process of understanding exactly the the data that is kept on the cards. Perhaps maybe someone on here can figure out a way to update this spreadsheet so that it can be used with a current version of Office. I have been worried that at some point my computer from 2005 would give me the finger, and everything would be lost to the DOC community forever.

I have attached (hopefully it worked) the zipped file which includes the .xls that allows us to create our own card data. There are multiple tabs, multiple buttons, that create the strings of data to be saved as a text file. What we then do is write those text files with a modified MSR206u adjusted to read/write the magnetic strip on the DOC (or other) cards. I included some pics of the modified reader (don't laugh, it is pretty crude). The Excel sheet writes the data, saves the file as a .raw and the .raw is written with the MSR206's software program directly onto the cards. This program also allows us to delete the data on the cards, allowing for their reuse which is great since they have been harder to come by over the years.

Maybe if we could figure out a solid way to write this data directly from a laptop, we could cut down the foot print of the Derby Machine even more. Not sure if I mentioned or not, but I have an operational two-seater machine, enough parts to created a second two-seater (Main board plus 4 naomi), as well as a full-scale 8 seater, the very large beast sitting around my home. I am pretty invested in ensuring that the DOC community continues and that we don't get frozen out because parts become impossible to acquire. Or at least the parts that create us the largest headaches.

I hope the info is helpful in the minds of those who like to problem solve issues in our hobby.
 

Attachments

  • Super Juicer 14.zip
    857.4 KB · Views: 103
  • modified msr03.jpg
    modified msr03.jpg
    144.6 KB · Views: 94
  • modified msr02.jpg
    modified msr02.jpg
    102.3 KB · Views: 91
  • modified msr01.jpg
    modified msr01.jpg
    132.9 KB · Views: 98
can you remove the swipe section and take a good pcb foto?
whats the socketed chip?
just wondering if we can disassemble the firmware from these printers and readers.
 
Sure. Give me a few minutes and I will get them up on here. I am also trying to upload the software for the MSR206 as that is difficult to get sometimes.
 
Back
Top