Compare commits

...

6 commits

Author SHA1 Message Date
Nick Ortakales
49e0ba55b4 Validate that file directories are at least: Language/Category/* 2025-10-09 10:46:26 -07:00
Nick Ortakales
4be0aef957 Update validation to catch non-nfc files 2025-10-09 10:46:26 -07:00
nortakales
bbe3595839 Auto update directory markdown files 2025-10-09 17:20:44 +00:00
Nick Ortakales
63c004cb5c
Merge pull request #139 from Domo5785/patch-2
Added Weihnachtsmann und Co.KG
2025-10-09 10:20:34 -07:00
Domo5785
39e1a82ea9
Rename Die magische Perle, Rudolph ist verschwunden to Die magische Perle, Rudolph ist verschwunden.nfc 2025-10-08 07:52:29 +02:00
Domo5785
4d625dbfcb
Added Weihnachtsmann und Co.KG
Die magische Perle, Rudolph ist verschwunden
2025-10-06 17:52:56 +02:00
3 changed files with 45 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# German Tonies (476 files)
# German Tonies (477 files)
*Note: this file is automatically generated, do not edit manually*
@ -463,6 +463,7 @@
| WAS IST WAS | [Wale und Delfine - Geheimnis Tiefsee.nfc](WAS%20IST%20WAS/Wale%20und%20Delfine%20-%20Geheimnis%20Tiefsee.nfc) |
| WAS IST WAS | [Wunderbare Pferde - Reitervolk Mongolen.nfc](WAS%20IST%20WAS/Wunderbare%20Pferde%20-%20Reitervolk%20Mongolen.nfc) |
| Weihnachtshoerspiel | [Wuensch dir was kleines Rentier.nfc](Weihnachtshoerspiel/Wuensch%20dir%20was%20kleines%20Rentier.nfc) |
| Weihnachtsmann und Co.KG | [Die magische Perle, Rudolph ist verschwunden.nfc](Weihnachtsmann%20und%20Co.KG/Die%20magische%20Perle,%20Rudolph%20ist%20verschwunden.nfc) |
| Weisst du eigentlich, wie lieb ich dich hab | [Weisst du eigentlich, wie lieb ich dich hab.nfc](Weisst%20du%20eigentlich,%20wie%20lieb%20ich%20dich%20hab/Weisst%20du%20eigentlich,%20wie%20lieb%20ich%20dich%20hab.nfc) |
| Wieso Weshalb Warum Junior | [Der Wald.nfc](Wieso%20Weshalb%20Warum%20Junior/Der%20Wald.nfc) |
| Wieso Weshalb Warum Junior | [Die Feuerwehr - Die Rettungsfahrzeuge.nfc](Wieso%20Weshalb%20Warum%20Junior/Die%20Feuerwehr%20-%20Die%20Rettungsfahrzeuge.nfc) |

View file

@ -0,0 +1,33 @@
Filetype: Flipper NFC device
Version: 4
# Device type can be ISO14443-3A, ISO14443-3B, ISO14443-4A, ISO14443-4B, ISO15693-3, FeliCa, NTAG/Ultralight, Mifare Classic, Mifare Plus, Mifare DESFire, SLIX, ST25TB
Device type: SLIX
# UID is common for all formats
UID: E0 04 03 50 24 48 34 EF
# ISO15693-3 specific data
# Data Storage Format Identifier
DSFID: 00
# Application Family Identifier
AFI: 00
# IC Reference - Vendor specific meaning
IC Reference: 03
# Lock Bits
Lock DSFID: false
Lock AFI: false
# Number of memory blocks, valid range = 1..256
Block Count: 8
# Size of a single memory block, valid range = 01...20 (hex)
Block Size: 04
Data Content: 80 DB 68 43 8A A9 D7 4F F1 D4 8D 01 7C BF 3D 51 14 99 D4 3D 42 FC 71 1E 81 3D 2F D9 B6 55 F3 06
# Block Security Status: 01 = locked, 00 = not locked
Security Status: 00 00 00 00 00 00 00 00
# SLIX specific data
# SLIX capabilities field affects emulation modes. Possible options: Default, AcceptAllPasswords
Capabilities: Default
# Passwords are optional. If a password is omitted, a default value will be used
Password Privacy: 7F FD 6E 5B
Password Destroy: 0F 0F 0F 0F
Password EAS: 00 00 00 00
Privacy Mode: false
# SLIX Lock Bits
Lock EAS: false

View file

@ -30,7 +30,8 @@ FORBIDDEN_PATTERNS=(
)
FILE_AND_DIR_ALLOWED_CHARACTERS="A-Za-z0-9().,!%&+ -";
FILE_AND_DIR_REGEX="^\.[$FILE_AND_DIR_ALLOWED_CHARACTERS/]+\/[$FILE_AND_DIR_ALLOWED_CHARACTERS]+\.nfc$"
# Not the most elegant regex, but ensure files are at least 2 directories deep
FILE_AND_DIR_REGEX="^\.\/(English|German|French)\/[$FILE_AND_DIR_ALLOWED_CHARACTERS/]+\/[$FILE_AND_DIR_ALLOWED_CHARACTERS]+\.nfc$"
# Use process substitution so that ERROR_FOUND is updated in the main shell.
while read -r filename; do
@ -38,7 +39,7 @@ while read -r filename; do
if ! echo "$filename" | awk "/$FILE_AND_DIR_REGEX/ { found=1 } END { exit !found }"; then
echo "$filename"
echo " Filename has invalid characters or missing .nfc extension. Allowed characters are $FILE_AND_DIR_ALLOWED_CHARACTERS"
echo " Filename has invalid characters, missing .nfc extension, or is not at least 2 directories deep (e.g. English/Paw Patrol/). Allowed characters are $FILE_AND_DIR_ALLOWED_CHARACTERS"
ERROR_FOUND=1
fi
@ -74,7 +75,12 @@ while read -r filename; do
ERROR_FOUND=1
fi
done < <(find . -type f -name "*.nfc")
done < <(find . -type f \
-not -path './scripts/*' \
-not -path './.github/*' \
-not -path './.git/*' \
-not -path './.gitignore' \
-not -path './README.md' \
-not -path './*/README.md')
exit $ERROR_FOUND