mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
style
This commit is contained in:
parent
1107c214c5
commit
97eb0238b1
17 changed files with 191 additions and 160 deletions
|
@ -8,15 +8,15 @@ Author: Cory Solovewicz
|
|||
|
||||
Description:
|
||||
This is a python script to automate what the updating of the amiibo_tools.lua
|
||||
file which holds a lua table of all known amiibos. Previously updating the
|
||||
file which holds a lua table of all known amiibos. Previously updating the
|
||||
amiibo_tools.lua was a very manual process.
|
||||
|
||||
This script automates the following original command:
|
||||
This script automates the following original command:
|
||||
curl https://raw.githubusercontent.com/N3evin/AmiiboAPI/master/database/amiibo.json | jq 'del(.amiibos[].release)' | jq 'del(.characters)' | pbcopy --> transform to table
|
||||
And outputs the formatted file as amiibo_tools.lua
|
||||
If everything goes well, this should be an updated copy of amiibo_tools.lua
|
||||
which can then be placed in the /lualibs/ directory.
|
||||
The temporary amiibo.json file is then deleted
|
||||
And outputs the formatted file as amiibo_tools.lua
|
||||
If everything goes well, this should be an updated copy of amiibo_tools.lua
|
||||
which can then be placed in the /lualibs/ directory.
|
||||
The temporary amiibo.json file is then deleted
|
||||
|
||||
Dependencies:
|
||||
python3 -m pip install jq
|
||||
|
@ -25,7 +25,7 @@ How to run:
|
|||
python update_amiibo_tools_lua.py
|
||||
The script will create the file amiibo_tools.lua
|
||||
|
||||
After running, manually backup the original /lualibs/amiibo_tools.lua and move the
|
||||
After running, manually backup the original /lualibs/amiibo_tools.lua and move the
|
||||
updated amiibo_tools.lua to the /lualibs/ directory.
|
||||
-----------------------------------------------------------------------------
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue