wizzomafizzo / mrext

Collection of extensions and utilities for the MiSTer system.
GNU General Public License v3.0
177 stars 11 forks source link

nfc.sh seems to be in an incorrect encoding #34

Closed wolfshow closed 1 year ago

wolfshow commented 1 year ago

After opening up the file, I can only see messy code there. Does anyone have the same issue?

wizzomafizzo commented 1 year ago

Hi. That's normal. The file is not actually a shell script, it's a compiled binary. It's just called .sh so mister will show it in the scripts menu

You can take a look at the source here: https://github.com/wizzomafizzo/mrext/tree/main/cmd%2Fnfc

wolfshow commented 1 year ago

Thanks!

wolfshow commented 1 year ago

@wizzomafizzo, I followed the steps in readme and added a new text record and write text into a tag. But mister has no response using NFC (only beep several times). Any possible problems I need to check?

wolfshow commented 1 year ago

@wizzomafizzo, I followed the steps in readme and added a new text record and write text into a tag. But mister has no response using NFC (only beep several times). Any possible problems I need to check?

Just look at the code, should be fail.wav

wolfshow commented 1 year ago

image

wizzomafizzo commented 1 year ago

Hi mate. The card is written correctly but at the moment the script doesn't support mifar cards, only ntag213 to 216 cards

I do have some mifare 1k cards though and I think it should just be a configuration thing. Let me see if I can add support

wolfshow commented 1 year ago

Hi mate. The card is written correctly but at the moment the script doesn't support mifar cards, only ntag213 to 216 cards

I do have some mifare 1k cards though and I think it should just be a configuration thing. Let me see if I can add support

thanks for the great efforts!