What's new

whatnot

Student
Joined
Oct 28, 2019
Messages
60
Reaction score
29
Location
USA
@winteriscoming I just wanted to ping you to say thanks for these! The WMMT1/2 one works great and I can finally enjoy the game instead of resetting every time. :)

I've rehosted the projects on GitHub as it was difficult to find these by simple searches online and this particular board is behind a login wall.

https://github.com/GXTX/arcade_card_emus

I know you were working on some other stuff including creating fake cards with images and writing on them, I'd love to see those public (maybe even on github so you/we can track changes) so maybe other people could help bring it further along.
 
Last edited:

whatnot

Student
Joined
Oct 28, 2019
Messages
60
Reaction score
29
Location
USA
Got bored and decided to take a look into WMMT in an attempt to avoid just using reply attacks.

Code:
[SYNC][COMMAND LENGTH][COMMAND][30][30][30][unk (always 03)?][checksum8 xor without sync]

Sync: 0x02
Chihiro waiting/ACK: 0x05
Reader ACK: 0x06

The first 30 is I believe a marker for card status with 30 being no card, 31 being there's a card and 34 it's a clean card.
No clue about 2nd 30, maybe writer or hopper status?
The 3rd 30 is likely a reader status, 30 idle, 32 reading, 33 cleaning.

If winteriscoming could've notated when he inserted cards, and when the hopper is empty that would also help.
 

sakiranorium

Beginner
Joined
Jan 3, 2019
Messages
7
Reaction score
3
Location
japan
Good afternoon.
In the card emu for WMMT, it seemed to restart the script to replace the cards, so I changed it to replace the cards when the cards are ejected.
The way to use it is to input the file name when you receive the card ejection command.
If there is no name, as in the first case, a new file will be created
Also, I'm not sure if it's right, but I've included image printing and font registration.
I tested it with a serial emulator, but I don't know if it works on a real machine.

So it would be helpful if you could test this script.
View attachment WMMTEMU_card_change.zip

※2020/05/11
When ejecting a card, it looks like the card is being pulled out.
Fixed to make it look like there is no card in the card after ejecting it.
Corrected a checksum and a typo of 7B command.
View attachment WMMTEMU_card_change_fix3.zip
 
Last edited:

winteriscoming

Champion
Joined
Feb 16, 2016
Messages
1,413
Reaction score
1,115
Location
Indiana, US
Interesting that people are jumping in to work on these scripts at this point. Thanks for sharing.

I do have a version that supports printing with a RPI web-based frontend. It has a much improved workflow, and manages card ejection and changes. I'm just not ready to release it publicly. Maybe others can put together something better before I get there.
 

UYO

Beginner
Joined
Dec 3, 2017
Messages
6
Reaction score
6
Location
Japan
Good afternoon.
In the card emu for WMMT, it seemed to restart the script to replace the cards, so I changed it to replace the cards when the cards are ejected.
The way to use it is to input the file name when you receive the card ejection command.
If there is no name, as in the first case, a new file will be created
Also, I'm not sure if it's right, but I've included image printing and font registration.
I tested it with a serial emulator, but I don't know if it works on a real machine.

So it would be helpful if you could test this script.
View attachment WMMTEMU_card_change.zip

※2020/05/11
When ejecting a card, it looks like the card is being pulled out.
Fixed to make it look like there is no card in the card after ejecting it.
Corrected a checksum and a typo of 7B command.
View attachment WMMTEMU_card_change_fix3.zip
Good evening.
I used the WMMTEMU_card_change_fix3 script here to check the operation.
Cabinet name: Rewritable stage
System board: System 246/256
Game: The iDOLM @ STER

Since this game uses two cards, the card change function was necessary.
As a result, I was able to confirm the operation from the new game to issuing the first card, issuing the second card, and finally exchanging the cards and saving the data on both cards.
I can't print it for now, but it seems to be okay to play the game.
In the future, I would like to make improvements so that it will be easier to save data including printing and switch card data.

A big thanks to everyone who is developing.
For reference, the log for one game play is attached.
 

Attachments

  • log20200511.txt
    201.5 KB · Views: 69

sakiranorium

Beginner
Joined
Jan 3, 2019
Messages
7
Reaction score
3
Location
japan
I forgot to put it up here after I made it, so I'll upload it!
Here's one that specifies two cards to start with and automatically replaces them when the card is ejected
Modified for use in Idolmaster
changed the '-f' argument to '-fp' and '-fu'.
The -fp is assumed to be a P-card and the -fu is assumed to be a U-card.
The first sticking card will be the one you specified with "-fp".
 

Attachments

  • imas_card_change_auto.zip
    3.7 KB · Views: 74

hamster

Student
Joined
Jul 18, 2017
Messages
75
Reaction score
20
i just was looking at my Ghost Squad and noticed it supported a card reader option.. i do have some card readers, but i don't think i have ever seen any ghost squad cards, not sure my sega id3 cards would work.
 

Dache

Student
Joined
Jul 21, 2015
Messages
115
Reaction score
47
Location
Leeds, UK
i just was looking at my Ghost Squad and noticed it supported a card reader option.. i do have some card readers, but i don't think i have ever seen any ghost squad cards, not sure my sega id3 cards would work.
They won't, the Ghost Squad cards are the hard plastic type that aren't printed on directly, unlike the ID1-3 cards.
 

Mrhide

Champion
Joined
Aug 17, 2016
Messages
949
Reaction score
1,311
Location
Montréal, Canada
Big thanks to @winteriscoming:

I found a really tiny laptop in the family, running Windows XP that fits perfectly on the "ô so tiny cashbox":
IMG_5231.jpg


With the Tu-S9 trendnet cable, I also dug an old modem cable (!), unpinned the CN5 pin 8,4 and 5 and pinned 5-2-3 from my db9 cable to it, and voila
IMG_5232.jpg


IMG_5233.jpg



NOTES for XP:
Install the latest version of python that support XP:
https://www.python.org/ftp/python/3.4.3/python-3.4.3.msi

Then the latest version of Pyserial that supports XP:
https://files.pythonhosted.org/pack...d612f5a4d2bc796005b9/pyserial-3.0.1.win32.exe

install pyserial by running the following command line.
easy_install pySerial3.0.1.exe


and you're good to go.
 

chunksin

Professional
Joined
Jan 21, 2017
Messages
190
Reaction score
361
Location
Birmingham, UK
Huge thanks to everyone involved for the scripts and all of the useful info here, I'm working to get the virtual cards displaying in my WiPi Netbooter image, so far so good but I'm struggling with fonts. I'm decoding in python then composing the images using GD in PHP and have tried lots of UTF fonts but couldn't find one that was a good match. I'm updating the driver name text code using chr( ord(char)-65248 ) to bring it back into a latin printable range but would be great to know which font you ( @winteriscoming ) used as ideally I'd like to just be able to print the raw data onto a transparent png then overlay onto the card.

Progress so far:

1629901690598.png
 
Last edited:

winteriscoming

Champion
Joined
Feb 16, 2016
Messages
1,413
Reaction score
1,115
Location
Indiana, US
Huge thanks to everyone involved for the scripts and all of the useful info here, I'm working to get the virtual cards displaying in my WiPi Netbooter image, so far so good but I'm struggling with fonts. I'm decoding in python then composing the images using GD in PHP and have tried lots of UTF fonts but couldn't find one that was a good match. I'm updating the driver name text code using chr( ord(char)-65248 ) to bring it back into a latin printable range but would be great to know which font you ( @winteriscoming ) used as ideally I'd like to just be able to print the raw data onto a transparent png then overlay onto the card.

Progress so far:

1629901690598.png

I had pretty good luck with kochi-gothic-subst.ttf. There might have been a letter or two that I manually edited with a font editor to better match what I saw printed, but it was not much.
https://github.com/indico/indico-fonts/blob/master/indico_fonts/kochi-gothic-subst.ttf

In Python I was able to set the encoding to 'shift-jis'.
 

chunksin

Professional
Joined
Jan 21, 2017
Messages
190
Reaction score
361
Location
Birmingham, UK
I picked out the ID2 icons yesterday, still need to work out how the 10, 20 and 30 star logos are printed but the others were straightforward. I noticed on some pics of printed ID2 cards that a couple of the icons are longer than normal, looking at the code they are made up of 2 icons joined together for 2 of the longer track names. Guess with only 6 tracks on ID2 they had more room to print on the card compared with 9 in ID3. I had to play with the images a bit to make them more legible for the interface so they aren't 100% as per the game rom and might need further tweaks:

1630058379321.png
 
Last edited:

chunksin

Professional
Joined
Jan 21, 2017
Messages
190
Reaction score
361
Location
Birmingham, UK
Made lots of progress and have pretty much completed the script handling for ID2, one thing I still can't fathom is the racer level star printing. I played for a few hours last night and completed Myogi and Usui the first 2 tracks to get 2 racer level stars, the print messages I processed appeared to be the same for both which can't be correct as it would print one star over the other. Am I going mad?! can anyone confirm how this works please to save me the pain of trying to beat Sid in his Suzuki Cappuccino again?

First star: 02197C0000003030000D0D0D0D0D20202020202020201B67100307
Second star: 02197C0000003030000D0D0D0D0D20202020202020201B67100307

I checked the timestamps on the files created and they were over an hour apart

As a way of giving a bit back for all of the effort made by others on the card emulator scripts, I'm sharing scans of all of the cards for ID, ID2 and ID3 if anyone needs them, you can grab them here: https://drive.google.com/drive/folders/1sjIQ218QkCA5uDDZ_zYDTuSyvcDqpjPt?usp=sharing

Edit: I've worked around it for now, adding up the star symbols and printing one or two depending on the slot, ID2 and ID3 are now complete, hope to have IDAS fully working this week
 
Last edited:

Mrhide

Champion
Joined
Aug 17, 2016
Messages
949
Reaction score
1,311
Location
Montréal, Canada
The more you share, the more you own! Thank you !!
...and ordering a mini sd card NOW to try your wipi netbooter!
 

winteriscoming

Champion
Joined
Feb 16, 2016
Messages
1,413
Reaction score
1,115
Location
Indiana, US
First star: 02197C0000003030000D0D0D0D0D20202020202020201B67100307
Second star: 02197C0000003030000D0D0D0D0D20202020202020201B67100307
I would have thought all the end of line and spaces get the print head where it needs to go, but I agree it looks like the second would print over the first one. Are you running a physical reader to check the behavior? Is it possible it actually does overwrite the first star and it's not until later that the next one gets printed?
 

chunksin

Professional
Joined
Jan 21, 2017
Messages
190
Reaction score
361
Location
Birmingham, UK
Unfortunately I don't have an original cab, I'm using openjvs with an xbox controller to play through. I think I just need to bite the bullet, play again and capture the print packets as they appear, will report back with results
 
Top