Compare commits
59 commits
Author | SHA1 | Date | |
---|---|---|---|
35560c76b1 | |||
01e12978bf | |||
|
3634bb8b17 | ||
|
1db317c18e | ||
|
7387d14ebd | ||
|
5fa8b11896 | ||
|
59deacbc77 | ||
|
260c089056 | ||
|
29db8b59cf | ||
|
92fff1ddc2 | ||
|
cee066702c | ||
|
55f81319a2 | ||
|
c91a08406d | ||
|
680968f109 | ||
|
a7d2d3f857 | ||
|
afd2588986 | ||
|
4660ec5c1d | ||
|
0d3d27c824 | ||
|
e83b0e3457 | ||
|
39bb2678d6 | ||
|
25cf8277dc | ||
|
06840bdcb2 | ||
|
9e126a5c29 | ||
|
6874726dc5 | ||
|
b12e347b5b | ||
|
f2c3102830 | ||
|
5e071c0d7a | ||
|
af580b9b5a | ||
|
ab1da6d9f7 | ||
|
1641691f68 | ||
|
75d1674123 | ||
|
a1fc487868 | ||
|
fe7ddb309b | ||
|
6ceca984bb | ||
|
51e9a59f2c | ||
|
74caa39ed9 | ||
|
7af1818d9c | ||
|
8456529053 | ||
|
51a2bbacf0 | ||
|
8171454193 | ||
|
c29874ead3 | ||
|
24cbd1d9e3 | ||
|
400d843193 | ||
|
101976161c | ||
|
915e7f2dcc | ||
|
7eec9cf966 | ||
|
28bbe19e5e | ||
|
5d59581885 | ||
|
70fd4edb51 | ||
|
046532b166 | ||
|
b2e990c89e | ||
|
397be93299 | ||
|
50a000202d | ||
|
a54daa701a | ||
|
f7ff0f7156 | ||
|
1c8cb0777f | ||
|
b9e4ebf288 | ||
|
99dff97b2d | ||
|
4ef3718e8a |
7
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# These are supported funding model platforms
|
||||
|
||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
patreon: atlasnx
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: atlasnx
|
||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
140
Builder/.gitignore
vendored
Normal file
|
@ -0,0 +1,140 @@
|
|||
config.py
|
||||
.vscode
|
||||
tmp/
|
||||
*.zip
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
pip-wheel-metadata/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
cover/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
# For a library or package, you might want to ignore these files since the code is
|
||||
# intended to run in multiple environments; otherwise, check them in:
|
||||
# .python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
#Pipfile.lock
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# pytype static type analyzer
|
||||
.pytype/
|
339
Builder/LICENSE.md
Normal file
|
@ -0,0 +1,339 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
60
Builder/Modules/atmosphere/system_settings.ini
Normal file
|
@ -0,0 +1,60 @@
|
|||
; Disable uploading error reports to Nintendo
|
||||
[eupld]
|
||||
upload_enabled = u8!0x0
|
||||
|
||||
; Control whether RO should ease its validation of NROs.
|
||||
; (note: this is normally not necessary, and ips patches can be used.)
|
||||
[ro]
|
||||
ease_nro_restriction = u8!0x0
|
||||
|
||||
; Atmosphere custom settings
|
||||
[atmosphere]
|
||||
; Reboot from fatal automatically after some number of milliseconds.
|
||||
; If field is not present or 0, fatal will wait indefinitely for user input.
|
||||
fatal_auto_reboot_interval = u64!0x0
|
||||
|
||||
; Make the power menu's "reboot" button reboot to payload.
|
||||
; Set to "normal" for normal reboot, "rcm" for rcm reboot.
|
||||
power_menu_reboot_function = str!payload
|
||||
|
||||
; Controls whether dmnt cheats should be toggled on or off by
|
||||
; default. 1 = toggled on by default, 0 = toggled off by default.
|
||||
dmnt_cheats_enabled_by_default = u8!0x0
|
||||
|
||||
; Controls whether dmnt should always save cheat toggle state
|
||||
; for restoration on new game launch. 1 = always save toggles,
|
||||
; 0 = only save toggles if toggle file exists.
|
||||
dmnt_always_save_cheat_toggles = u8!0x0
|
||||
|
||||
; Enable writing to BIS partitions for HBL.
|
||||
; This is probably undesirable for normal usage.
|
||||
enable_hbl_bis_write = u8!0x0
|
||||
|
||||
; Enable reading the CAL0 partition for HBL.
|
||||
; This is probably undesirable for normal usage.
|
||||
enable_hbl_cal_read = u8!0x0
|
||||
|
||||
; Controls whether fs.mitm should redirect save files
|
||||
; to directories on the sd card.
|
||||
; 0 = Do not redirect, 1 = Redirect.
|
||||
; NOTE: EXPERIMENTAL
|
||||
; If you do not know what you are doing, do not touch this yet.
|
||||
fsmitm_redirect_saves_to_sd = u8!0x0
|
||||
|
||||
; Controls whether to enable the deprecated hid mitm
|
||||
; to fix compatibility with old homebrew.
|
||||
; 0 = Do not enable, 1 = Enable.
|
||||
; Please note this setting may be removed in a
|
||||
; future release of Atmosphere.
|
||||
enable_deprecated_hid_mitm = u8!0x0
|
||||
|
||||
[hbloader]
|
||||
; Controls the size of the homebrew heap when running as applet.
|
||||
; If set to zero, all available applet memory is used as heap.
|
||||
; The default is zero.
|
||||
applet_heap_size = u64!0x0
|
||||
|
||||
; Controls the amount of memory to reserve when running as applet
|
||||
; for usage by other applets. This setting has no effect if
|
||||
; applet_heap_size is non-zero. The default is 0x8600000.
|
||||
applet_heap_reservation_size = u64!0x8600000
|
5
Builder/Modules/emuiibo/toolbox.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"name" : "emuiibo",
|
||||
"tid" : "0100000000000352",
|
||||
"requires_reboot": true
|
||||
}
|
BIN
Builder/Modules/hekate/bootlogo.bmp
Normal file
After Width: | Height: | Size: 3.5 MiB |
42
Builder/Modules/hekate/hekate_ipl.ini
Normal file
|
@ -0,0 +1,42 @@
|
|||
[config]
|
||||
autoboot=0
|
||||
autoboot_list=0
|
||||
bootwait=1
|
||||
verification=1
|
||||
backlight=100
|
||||
autohosoff=0
|
||||
autonogc=1
|
||||
updater2p=1
|
||||
|
||||
{AtlasNX/Kosmos KOSMOS_VERSION}
|
||||
{}
|
||||
{Discord: discord.teamatlasnx.com}
|
||||
{Github: git.teamatlasnx.com}
|
||||
{Patreon: patreon.teamatlasnx.com}
|
||||
{Pegascape DNS: pegascape.sdsetup.com}
|
||||
{}
|
||||
|
||||
{--- Custom Firmware ---}
|
||||
[CFW (SYSNAND)]
|
||||
emummc_force_disable=1
|
||||
fss0=atmosphere/fusee-secondary.bin
|
||||
atmosphere=1
|
||||
logopath=bootloader/bootlogo.bmp
|
||||
icon=bootloader/res/icon_payload.bmp
|
||||
{}
|
||||
|
||||
[CFW (EMUMMC)]
|
||||
emummcforce=1
|
||||
fss0=atmosphere/fusee-secondary.bin
|
||||
atmosphere=1
|
||||
logopath=bootloader/bootlogo.bmp
|
||||
icon=bootloader/res/icon_payload.bmp
|
||||
{}
|
||||
|
||||
{--- Stock ---}
|
||||
[Stock (SYSNAND)]
|
||||
emummc_force_disable=1
|
||||
fss0=atmosphere/fusee-secondary.bin
|
||||
stock=1
|
||||
icon=bootloader/res/icon_switch.bmp
|
||||
{}
|
29
Builder/Modules/kosmos-toolbox/config.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"sysmodules" : [
|
||||
{
|
||||
"name" : "bootsoundnx",
|
||||
"tid" : "00FF0000000002AA",
|
||||
"requires_reboot": true
|
||||
},
|
||||
{
|
||||
"name" : "hid-mitm",
|
||||
"tid" : "0100000000000FAF",
|
||||
"requires_reboot": true
|
||||
},
|
||||
{
|
||||
"name" : "nxsh",
|
||||
"tid" : "43000000000000FF",
|
||||
"requires_reboot": false
|
||||
},
|
||||
{
|
||||
"name" : "ojds-nx",
|
||||
"tid" : "0100000000000901",
|
||||
"requires_reboot": false
|
||||
},
|
||||
{
|
||||
"name" : "sys-netcheat",
|
||||
"tid" : "430000000000000A",
|
||||
"requires_reboot": false
|
||||
}
|
||||
]
|
||||
}
|
5
Builder/Modules/kosmos-updater/internal.db
Normal file
|
@ -0,0 +1,5 @@
|
|||
version = "KOSMOS_VERSION";
|
||||
installed_files = [ ];
|
||||
received_exfat_warning = false;
|
||||
received_ignore_config_warning = false;
|
||||
ignore_config_files = false;
|
5
Builder/Modules/ldn_mitm/toolbox.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"name" : "ldn_mitm",
|
||||
"tid" : "4200000000000010",
|
||||
"requires_reboot": true
|
||||
}
|
5
Builder/Modules/sys-clk/toolbox.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"name" : "sys-clk",
|
||||
"tid" : "00FF0000636C6BFF",
|
||||
"requires_reboot": false
|
||||
}
|
116
Builder/builder.py
Executable file
|
@ -0,0 +1,116 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# Kosmos Builder
|
||||
# Copyright (C) 2020 Nichole Mattera
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301, USA.
|
||||
#
|
||||
|
||||
import argparse
|
||||
import common
|
||||
import config
|
||||
import modules
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
def parse_args():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
'-v', '--version',
|
||||
default=None,
|
||||
type=str,
|
||||
help='Overrides the Kosmos Version from the config file.',
|
||||
metavar='KosmosVersion')
|
||||
subparsers = parser.add_subparsers()
|
||||
|
||||
# Kosmos subcommands
|
||||
parser_kosmos = subparsers.add_parser('kosmos', help='Create a release build of Kosmos.')
|
||||
parser_kosmos.add_argument('output', help='Zip file to create.')
|
||||
parser_kosmos.set_defaults(command=common.Command.Kosmos)
|
||||
|
||||
# SDSetup subcommands
|
||||
parser_sdsetup = subparsers.add_parser('sdsetup', help='Create a Kosmos modules for SDSetup.')
|
||||
parser_sdsetup.add_argument('output', help='Directory to output modules to.')
|
||||
parser_sdsetup.add_argument(
|
||||
'-a', '--auto',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Perform an auto build.')
|
||||
parser_sdsetup.set_defaults(command=common.Command.SDSetup)
|
||||
|
||||
# Kosmos Minimal subcommands
|
||||
parser_kosmos = subparsers.add_parser('kosmos-mini', help='Create a release build of Kosmos Minimal.')
|
||||
parser_kosmos.add_argument('output', help='Zip file to create.')
|
||||
parser_kosmos.set_defaults(command=common.Command.KosmosMinimal)
|
||||
|
||||
# Parse arguments
|
||||
args = parser.parse_args()
|
||||
|
||||
if not hasattr(args, 'command'):
|
||||
parser.print_help()
|
||||
sys.exit()
|
||||
|
||||
return args
|
||||
|
||||
def get_kosmos_version(args):
|
||||
if args.version is not None:
|
||||
return args.version
|
||||
return config.version
|
||||
|
||||
def init_version_messages(args, kosmos_version):
|
||||
if args.command == common.Command.Kosmos:
|
||||
return [ f'Kosmos {kosmos_version} built with:' ]
|
||||
elif args.command == common.Command.SDSetup and not args.auto:
|
||||
return [ 'SDSetup Modules built with:' ]
|
||||
elif args.command == common.Command.KosmosMinimal:
|
||||
return [ f'Kosmos Minimal {kosmos_version} built with:' ]
|
||||
return []
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = parse_args()
|
||||
|
||||
temp_directory = common.generate_temp_path()
|
||||
os.makedirs(temp_directory)
|
||||
kosmos_version = get_kosmos_version(args)
|
||||
|
||||
auto_build = False
|
||||
if hasattr(args, 'auto'):
|
||||
auto_build = args.auto
|
||||
|
||||
version_messages = init_version_messages(args, kosmos_version)
|
||||
|
||||
build_messages = modules.build(temp_directory, kosmos_version, args.command, auto_build)
|
||||
|
||||
common.delete_path(args.output)
|
||||
|
||||
if build_messages is not None:
|
||||
version_messages += build_messages
|
||||
|
||||
if args.command == common.Command.SDSetup:
|
||||
shutil.move(temp_directory, args.output)
|
||||
else:
|
||||
shutil.make_archive(
|
||||
os.path.splitext(args.output)[0],
|
||||
'zip',
|
||||
temp_directory)
|
||||
|
||||
common.delete_path(os.path.join(os.getcwd(), 'tmp'))
|
||||
|
||||
for message in version_messages:
|
||||
print(message)
|
||||
else:
|
||||
common.delete_path(os.path.join(os.getcwd(), 'tmp'))
|
77
Builder/common.py
Normal file
|
@ -0,0 +1,77 @@
|
|||
#
|
||||
# Kosmos Builder
|
||||
# Copyright (C) 2020 Nichole Mattera
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301, USA.
|
||||
#
|
||||
|
||||
import enum
|
||||
import glob
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import uuid
|
||||
|
||||
class Command(enum.Enum):
|
||||
Kosmos = 0
|
||||
SDSetup = 1
|
||||
KosmosMinimal = 2
|
||||
|
||||
class GitService(enum.Enum):
|
||||
GitHub = 0
|
||||
GitLab = 1
|
||||
SourceForge = 2
|
||||
|
||||
def generate_temp_path():
|
||||
return os.path.join(os.getcwd(), 'tmp', str(uuid.uuid4()))
|
||||
|
||||
def delete_path(path):
|
||||
if os.path.exists(path):
|
||||
if os.path.isfile(path):
|
||||
os.remove(path)
|
||||
else:
|
||||
shutil.rmtree(path)
|
||||
|
||||
def copy_module_file(module_name, file_name, destination):
|
||||
return shutil.copyfile(os.path.join(os.getcwd(), 'Modules', module_name, file_name), destination)
|
||||
|
||||
def copy_module_folder(module_name, folder_name, destination):
|
||||
return shutil.copytree(os.path.join(os.getcwd(), 'Modules', module_name, folder_name), destination)
|
||||
|
||||
def find_file(pattern):
|
||||
return glob.glob(pattern, recursive=False)
|
||||
|
||||
def sed(pattern, replace, file_path):
|
||||
lines = []
|
||||
with open(file_path, 'r') as text_file:
|
||||
lines += text_file.readlines()
|
||||
with open(file_path, 'w') as text_file:
|
||||
for line in lines:
|
||||
text_file.write(re.sub(pattern, replace, line))
|
||||
|
||||
def mkdir(path):
|
||||
if not os.path.exists(path):
|
||||
os.makedirs(path)
|
||||
|
||||
def move_contents_of_folder(source, dest):
|
||||
files = os.listdir(source)
|
||||
|
||||
for f in files:
|
||||
if os.path.isdir(os.path.join(source, f)):
|
||||
mkdir(os.path.join(dest, f))
|
||||
move_contents_of_folder(os.path.join(source, f), os.path.join(dest, f))
|
||||
else:
|
||||
shutil.move(os.path.join(source, f), dest)
|
9
Builder/config_template.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Current version of Kosmos
|
||||
version = 'v15.1'
|
||||
|
||||
# GitHub Login Information
|
||||
github_username = ''
|
||||
github_password = ''
|
||||
|
||||
# GitLab Login Information
|
||||
gitlab_private_access_token = ''
|
33
Builder/kosmos-minimal.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
[
|
||||
{
|
||||
"name": "Atmosphère",
|
||||
"download_function_name": "download_atmosphere",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "Atmosphere-NX",
|
||||
"repo_name": "Atmosphere",
|
||||
"asset_patterns": [
|
||||
".*atmosphere.*\\.zip",
|
||||
".*fusee.*\\.bin"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Hekate",
|
||||
"download_function_name": "download_hekate",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "CTCaer",
|
||||
"repo_name": "hekate",
|
||||
"asset_patterns": [
|
||||
".*hekate.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
}
|
||||
]
|
319
Builder/kosmos.json
Normal file
|
@ -0,0 +1,319 @@
|
|||
[
|
||||
{
|
||||
"name": "Atmosphère",
|
||||
"download_function_name": "download_atmosphere",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "Atmosphere-NX",
|
||||
"repo_name": "Atmosphere",
|
||||
"asset_patterns": [
|
||||
".*atmosphere.*\\.zip",
|
||||
".*fusee.*\\.bin"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Hekate",
|
||||
"download_function_name": "download_hekate",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "CTCaer",
|
||||
"repo_name": "hekate",
|
||||
"asset_patterns": [
|
||||
".*hekate.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Hekate Icons",
|
||||
"download_function_name": "download_hekate_icons",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "NicholeMattera",
|
||||
"repo_name": "Hekate-Icons",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Homebrew App Store",
|
||||
"download_function_name": "download_appstore",
|
||||
"git": {
|
||||
"service": 1,
|
||||
"org_name": "4TU",
|
||||
"repo_name": "hb-appstore",
|
||||
"asset_patterns": [
|
||||
"\\[.*\\.nro\\.zip\\]\\((.*\\.nro\\.zip)\\)"
|
||||
],
|
||||
"group": 0,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "EdiZon",
|
||||
"download_function_name": "download_edizon",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "WerWolv",
|
||||
"repo_name": "EdiZon",
|
||||
"asset_patterns": [
|
||||
".*\\.nro",
|
||||
".*\\.ovl"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Emuiibo",
|
||||
"download_function_name": "download_emuiibo",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "XorTroll",
|
||||
"repo_name": "emuiibo",
|
||||
"asset_patterns": [
|
||||
".*emuiibo.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Goldleaf",
|
||||
"download_function_name": "download_goldleaf",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "XorTroll",
|
||||
"repo_name": "Goldleaf",
|
||||
"asset_patterns": [
|
||||
".*\\.nro"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Kosmos Cleaner",
|
||||
"download_function_name": "download_kosmos_cleaner",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "AtlasNX",
|
||||
"repo_name": "Kosmos-Cleaner",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Kosmos Toolbox",
|
||||
"download_function_name": "download_kosmos_toolbox",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "AtlasNX",
|
||||
"repo_name": "Kosmos-Toolbox",
|
||||
"asset_patterns": [
|
||||
".*\\.nro"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Kosmos Updater",
|
||||
"download_function_name": "download_kosmos_updater",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "AtlasNX",
|
||||
"repo_name": "Kosmos-Updater",
|
||||
"asset_patterns": [
|
||||
".*\\.nro"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "ldn_mitm",
|
||||
"download_function_name": "download_ldn_mitm",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "spacemeowx2",
|
||||
"repo_name": "ldn_mitm",
|
||||
"asset_patterns": [
|
||||
".*ldn_mitm.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Lockpick",
|
||||
"download_function_name": "download_lockpick",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "shchmue",
|
||||
"repo_name": "Lockpick",
|
||||
"asset_patterns": [
|
||||
".*\\.nro"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Lockpick_RCM",
|
||||
"download_function_name": "download_lockpick_rcm",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "shchmue",
|
||||
"repo_name": "Lockpick_RCM",
|
||||
"asset_patterns": [
|
||||
".*\\.bin"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "nxdumptool",
|
||||
"download_function_name": "download_nxdumptool",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "DarkMatterCore",
|
||||
"repo_name": "nxdumptool",
|
||||
"asset_patterns": [
|
||||
".*nxdumptool.*\\.nro"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "nx-ovlloader",
|
||||
"download_function_name": "download_nx_ovlloader",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "WerWolv",
|
||||
"repo_name": "nx-ovlloader",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "ovlSysModules",
|
||||
"download_function_name": "download_ovl_sysmodules",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "WerWolv",
|
||||
"repo_name": "ovl-sysmodules",
|
||||
"asset_patterns": [
|
||||
".*\\.ovl"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Status Monitor Overlay",
|
||||
"download_function_name": "download_status_monitor_overlay",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "masagrator",
|
||||
"repo_name": "Status-Monitor-Overlay",
|
||||
"asset_patterns": [
|
||||
".*\\.ovl"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "sys-clk",
|
||||
"download_function_name": "download_sys_clk",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "retronx-team",
|
||||
"repo_name": "sys-clk",
|
||||
"asset_patterns": [
|
||||
".*sys-clk-.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "sys-con",
|
||||
"download_function_name": "download_sys_con",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "cathery",
|
||||
"repo_name": "sys-con",
|
||||
"asset_patterns": [
|
||||
".*sys-con-.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "sys-ftpd-light",
|
||||
"download_function_name": "download_sys_ftpd_light",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "cathery",
|
||||
"repo_name": "sys-ftpd-light",
|
||||
"asset_patterns": [
|
||||
".*sys-ftpd-light.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
},
|
||||
{
|
||||
"name": "Tesla-Menu",
|
||||
"download_function_name": "download_tesla_menu",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "WerWolv",
|
||||
"repo_name": "Tesla-Menu",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": null
|
||||
}
|
||||
]
|
536
Builder/modules.py
Normal file
|
@ -0,0 +1,536 @@
|
|||
#
|
||||
# Kosmos Builder
|
||||
# Copyright (C) 2020 Nichole Mattera
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301, USA.
|
||||
#
|
||||
|
||||
import common
|
||||
import config
|
||||
from github import Github
|
||||
from gitlab import Gitlab
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import urllib.request
|
||||
import uuid
|
||||
import xmltodict
|
||||
import zipfile
|
||||
|
||||
gh = Github(config.github_username, config.github_password)
|
||||
gl = Gitlab('https://gitlab.com', private_token=config.gitlab_private_access_token)
|
||||
gl.auth()
|
||||
|
||||
def get_latest_release(module, include_prereleases = True):
|
||||
if common.GitService(module['git']['service']) == common.GitService.GitHub:
|
||||
try:
|
||||
repo = gh.get_repo(f'{module["git"]["org_name"]}/{module["git"]["repo_name"]}')
|
||||
except:
|
||||
print(f'[Error] Unable to find repo: {module["git"]["org_name"]}/{module["git"]["repo_name"]}')
|
||||
return None
|
||||
|
||||
releases = repo.get_releases()
|
||||
if releases.totalCount == 0:
|
||||
print(f'[Error] Unable to find any releases for repo: {module["git"]["org_name"]}/{module["git"]["repo_name"]}')
|
||||
return None
|
||||
|
||||
if include_prereleases:
|
||||
return releases[0]
|
||||
|
||||
for release in releases:
|
||||
if not release.prerelease:
|
||||
return release
|
||||
|
||||
return None
|
||||
elif common.GitService(module['git']['service']) == common.GitService.GitLab:
|
||||
try:
|
||||
project = gl.projects.get(f'{module["git"]["org_name"]}/{module["git"]["repo_name"]}')
|
||||
except:
|
||||
print(f'[Error] Unable to find repo: {module["git"]["org_name"]}/{module["git"]["repo_name"]}')
|
||||
return None
|
||||
|
||||
tags = project.tags.list()
|
||||
for tag in tags:
|
||||
if tag.release is not None:
|
||||
return tag
|
||||
|
||||
print(f'[Error] Unable to find any releases for repo: {module["git"]["org_name"]}/{module["git"]["repo_name"]}')
|
||||
return None
|
||||
else:
|
||||
releases = None
|
||||
with urllib.request.urlopen(f'https://sourceforge.net/projects/{module["git"]["repo_name"]}/rss?path=/') as fd:
|
||||
releases = xmltodict.parse(fd.read().decode('utf-8'))
|
||||
|
||||
return releases
|
||||
|
||||
def download_asset(module, release, index):
|
||||
pattern = module['git']['asset_patterns'][index]
|
||||
|
||||
if common.GitService(module['git']['service']) == common.GitService.GitHub:
|
||||
if release is None:
|
||||
return None
|
||||
|
||||
matched_asset = None
|
||||
for asset in release.get_assets():
|
||||
if re.search(pattern, asset.name):
|
||||
matched_asset = asset
|
||||
break
|
||||
|
||||
if matched_asset is None:
|
||||
print(f'[Error] Unable to find asset that match pattern: "{pattern}"')
|
||||
return None
|
||||
|
||||
download_path = common.generate_temp_path()
|
||||
urllib.request.urlretrieve(matched_asset.browser_download_url, download_path)
|
||||
|
||||
return download_path
|
||||
elif common.GitService(module['git']['service']) == common.GitService.GitLab:
|
||||
group = module['git']['group']
|
||||
|
||||
match = re.search(pattern, release.release['description'])
|
||||
if match is None:
|
||||
return None
|
||||
|
||||
groups = match.groups()
|
||||
if len(groups) <= group:
|
||||
return None
|
||||
|
||||
download_path = common.generate_temp_path()
|
||||
urllib.request.urlretrieve(f'https://gitlab.com/{module["git"]["org_name"]}/{module["git"]["repo_name"]}{groups[group]}', download_path)
|
||||
|
||||
return download_path
|
||||
else:
|
||||
matched_item = None
|
||||
for item in release['rss']['channel']['item']:
|
||||
if re.search(pattern, item['title']):
|
||||
matched_item = item
|
||||
break
|
||||
|
||||
if matched_item is None:
|
||||
print(f'[Error] Unable to find asset that match pattern: "{pattern}"')
|
||||
return None
|
||||
|
||||
download_path = common.generate_temp_path()
|
||||
urllib.request.urlretrieve(matched_item['link'], download_path)
|
||||
|
||||
return download_path
|
||||
|
||||
def find_asset(release, pattern):
|
||||
for asset in release.get_assets():
|
||||
if re.search(pattern, asset.name):
|
||||
return asset
|
||||
|
||||
return None
|
||||
|
||||
def get_version(module, release, index):
|
||||
if common.GitService(module['git']['service']) == common.GitService.GitHub:
|
||||
return release.tag_name
|
||||
elif common.GitService(module['git']['service']) == common.GitService.GitLab:
|
||||
return release.name
|
||||
else:
|
||||
matched_item = None
|
||||
for item in release['rss']['channel']['item']:
|
||||
if re.search(module['git']['asset_patterns'][index], item['title']):
|
||||
matched_item = item
|
||||
break
|
||||
|
||||
if matched_item is None:
|
||||
return "Latest"
|
||||
|
||||
match = re.search(module['git']['version_pattern'], matched_item['title'])
|
||||
if match is None:
|
||||
return "Latest"
|
||||
|
||||
groups = match.groups()
|
||||
if len(groups) == 0:
|
||||
return "Latest"
|
||||
|
||||
return groups[0]
|
||||
|
||||
def download_atmosphere(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
common.delete_path(os.path.join(temp_directory, 'switch', 'reboot_to_payload.nro'))
|
||||
common.delete_path(os.path.join(temp_directory, 'switch'))
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'reboot_payload.bin'))
|
||||
|
||||
payload_path = download_asset(module, release, 1)
|
||||
if payload_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'bootloader', 'payloads'))
|
||||
shutil.move(payload_path, os.path.join(temp_directory, 'bootloader', 'payloads', 'fusee-primary.bin'))
|
||||
|
||||
common.copy_module_file('atmosphere', 'system_settings.ini', os.path.join(temp_directory, 'atmosphere', 'config', 'system_settings.ini'))
|
||||
|
||||
if not kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'hbmenu.nro'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_hekate(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
|
||||
common.copy_module_file('hekate', 'bootlogo.bmp', os.path.join(temp_directory, 'bootloader', 'bootlogo.bmp'))
|
||||
common.copy_module_file('hekate', 'hekate_ipl.ini', os.path.join(temp_directory, 'bootloader', 'hekate_ipl.ini'))
|
||||
common.sed('KOSMOS_VERSION', kosmos_version, os.path.join(temp_directory, 'bootloader', 'hekate_ipl.ini'))
|
||||
|
||||
payload = common.find_file(os.path.join(temp_directory, 'hekate_ctcaer_*.bin'))
|
||||
if len(payload) != 0:
|
||||
shutil.copyfile(payload[0], os.path.join(temp_directory, 'bootloader', 'update.bin'))
|
||||
common.mkdir(os.path.join(temp_directory, 'atmosphere'))
|
||||
shutil.copyfile(payload[0], os.path.join(temp_directory, 'atmosphere', 'reboot_payload.bin'))
|
||||
|
||||
common.delete_path(os.path.join(temp_directory, 'nyx_usb_max_rate (run once per windows pc).reg'))
|
||||
|
||||
if not kosmos_build:
|
||||
common.mkdir(os.path.join(temp_directory, '..', 'must_have'))
|
||||
common.move_contents_of_folder(os.path.join(temp_directory, 'bootloader'), os.path.join(temp_directory, '..', 'must_have', 'bootloader'))
|
||||
shutil.move(os.path.join(temp_directory, 'atmosphere', 'reboot_payload.bin'), os.path.join(temp_directory, '..', 'must_have', 'atmosphere', 'reboot_payload.bin'))
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_hekate_icons(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
shutil.move(os.path.join(temp_directory, 'bootloader', 'res', 'icon_payload.bmp'), os.path.join(temp_directory, 'bootloader', 'res', 'icon_payload_hue.bmp'))
|
||||
#shutil.move(os.path.join(temp_directory, 'bootloader', 'res', 'icon_payload_custom.bmp'), os.path.join(temp_directory, 'bootloader', 'res', 'icon_payload.bmp'))
|
||||
shutil.move(os.path.join(temp_directory, 'bootloader', 'res', 'icon_switch.bmp'), os.path.join(temp_directory, 'bootloader', 'res', 'icon_switch_hue.bmp'))
|
||||
#shutil.move(os.path.join(temp_directory, 'bootloader', 'res', 'icon_switch_custom.bmp'), os.path.join(temp_directory, 'bootloader', 'res', 'icon_switch.bmp'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_appstore(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', 'appstore'))
|
||||
shutil.move(os.path.join(temp_directory, 'appstore.nro'), os.path.join(temp_directory, 'switch', 'appstore', 'appstore.nro'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_edizon(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', 'EdiZon'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', 'EdiZon', 'EdiZon.nro'))
|
||||
|
||||
overlay_path = download_asset(module, release, 1)
|
||||
if overlay_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', '.overlays'))
|
||||
shutil.move(overlay_path, os.path.join(temp_directory, 'switch', '.overlays', 'ovlEdiZon.ovl'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_emuiibo(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
common.mkdir(os.path.join(temp_directory, 'atmosphere', 'contents'))
|
||||
shutil.move(os.path.join(temp_directory, 'SdOut', 'atmosphere', 'contents', '0100000000000352'), os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352'))
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', '.overlays'))
|
||||
shutil.move(os.path.join(temp_directory, 'SdOut', 'switch', '.overlays', 'emuiibo.ovl'), os.path.join(temp_directory, 'switch', '.overlays', 'emuiibo.ovl'))
|
||||
common.delete_path(os.path.join(temp_directory, 'SdOut'))
|
||||
if kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352', 'flags', 'boot2.flag'))
|
||||
common.copy_module_file('emuiibo', 'toolbox.json', os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352', 'toolbox.json'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_goldleaf(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', 'Goldleaf'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', 'Goldleaf', 'Goldleaf.nro'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_kosmos_cleaner(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_kosmos_toolbox(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', 'KosmosToolbox'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', 'KosmosToolbox', 'KosmosToolbox.nro'))
|
||||
common.copy_module_file('kosmos-toolbox', 'config.json', os.path.join(temp_directory, 'switch', 'KosmosToolbox', 'config.json'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_kosmos_updater(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', 'KosmosUpdater'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', 'KosmosUpdater', 'KosmosUpdater.nro'))
|
||||
common.copy_module_file('kosmos-updater', 'internal.db', os.path.join(temp_directory, 'switch', 'KosmosUpdater', 'internal.db'))
|
||||
common.sed('KOSMOS_VERSION', kosmos_version, os.path.join(temp_directory, 'switch', 'KosmosUpdater', 'internal.db'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_ldn_mitm(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
if kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'contents', '4200000000000010', 'flags', 'boot2.flag'))
|
||||
common.copy_module_file('ldn_mitm', 'toolbox.json', os.path.join(temp_directory, 'atmosphere', 'contents', '4200000000000010', 'toolbox.json'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_lockpick(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', 'Lockpick'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', 'Lockpick', 'Lockpick.nro'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_lockpick_rcm(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
payload_path = download_asset(module, release, 0)
|
||||
if payload_path is None:
|
||||
return None
|
||||
|
||||
if kosmos_build:
|
||||
common.mkdir(os.path.join(temp_directory, 'bootloader', 'payloads'))
|
||||
shutil.move(payload_path, os.path.join(temp_directory, 'bootloader', 'payloads', 'Lockpick_RCM.bin'))
|
||||
else:
|
||||
shutil.move(payload_path, os.path.join(temp_directory, 'Lockpick_RCM.bin'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_nxdumptool(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', 'NXDumpTool'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', 'NXDumpTool', 'NXDumpTool.nro'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_nx_ovlloader(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_ovl_sysmodules(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', '.overlays'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', '.overlays', 'ovlSysmodules.ovl'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_status_monitor_overlay(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
if app_path is None:
|
||||
return None
|
||||
|
||||
common.mkdir(os.path.join(temp_directory, 'switch', '.overlays'))
|
||||
shutil.move(app_path, os.path.join(temp_directory, 'switch', '.overlays', 'Status-Monitor-Overlay.ovl'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_sys_clk(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
if kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'contents', '00FF0000636C6BFF', 'flags', 'boot2.flag'))
|
||||
common.delete_path(os.path.join(temp_directory, 'README.md'))
|
||||
common.copy_module_file('sys-clk', 'toolbox.json', os.path.join(temp_directory, 'atmosphere', 'contents', '00FF0000636C6BFF', 'toolbox.json'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_sys_con(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
if kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'contents', '690000000000000D', 'flags', 'boot2.flag'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_sys_ftpd_light(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
if kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'contents', '420000000000000E', 'flags', 'boot2.flag'))
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def download_tesla_menu(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
bundle_path = download_asset(module, release, 0)
|
||||
if bundle_path is None:
|
||||
return None
|
||||
|
||||
with zipfile.ZipFile(bundle_path, 'r') as zip_ref:
|
||||
zip_ref.extractall(temp_directory)
|
||||
|
||||
common.delete_path(bundle_path)
|
||||
|
||||
return get_version(module, release, 0)
|
||||
|
||||
def build(temp_directory, kosmos_version, command, auto_build):
|
||||
results = []
|
||||
|
||||
modules_filename = 'kosmos.json'
|
||||
if command == common.Command.KosmosMinimal:
|
||||
modules_filename = 'kosmos-minimal.json'
|
||||
elif command == common.Command.SDSetup:
|
||||
modules_filename = 'sdsetup.json'
|
||||
|
||||
# Open up modules.json
|
||||
with open(modules_filename) as json_file:
|
||||
# Parse JSON
|
||||
data = json.load(json_file)
|
||||
|
||||
# Loop through modules
|
||||
for module in data:
|
||||
# Running a SDSetup Build
|
||||
if command == common.Command.SDSetup:
|
||||
# Only show prompts when it's not an auto build.
|
||||
if not auto_build:
|
||||
print(f'Downloading {module["name"]}...')
|
||||
|
||||
# Make sure module directory is created.
|
||||
module_directory = os.path.join(temp_directory, module['sdsetup_module_name'])
|
||||
common.mkdir(module_directory)
|
||||
|
||||
# Download the module.
|
||||
download = globals()[module['download_function_name']]
|
||||
version = download(module, module_directory, kosmos_version, False)
|
||||
if version is None:
|
||||
return None
|
||||
|
||||
# Auto builds have a different prompt at the end for parsing.
|
||||
if auto_build:
|
||||
results.append(f'{module["sdsetup_module_name"]}:{version}')
|
||||
else:
|
||||
results.append(f' {module["name"]} - {version}')
|
||||
|
||||
# Running a Kosmos Build
|
||||
else:
|
||||
# Download the module.
|
||||
print(f'Downloading {module["name"]}...')
|
||||
download = globals()[module['download_function_name']]
|
||||
version = download(module, temp_directory, kosmos_version, True)
|
||||
if version is None:
|
||||
return None
|
||||
results.append(f' {module["name"]} - {version}')
|
||||
|
||||
return results
|
3
Builder/requirements.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
PyGithub
|
||||
python-gitlab
|
||||
xmltodict
|
243
Builder/sdsetup.json
Normal file
|
@ -0,0 +1,243 @@
|
|||
[
|
||||
{
|
||||
"name": "Atmosphère",
|
||||
"download_function_name": "download_atmosphere",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "Atmosphere-NX",
|
||||
"repo_name": "Atmosphere",
|
||||
"asset_patterns": [
|
||||
".*atmosphere.*\\.zip",
|
||||
".*fusee.*\\.bin"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "must_have"
|
||||
},
|
||||
{
|
||||
"name": "Hekate",
|
||||
"download_function_name": "download_hekate",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "CTCaer",
|
||||
"repo_name": "hekate",
|
||||
"asset_patterns": [
|
||||
".*hekate.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "hekate"
|
||||
},
|
||||
{
|
||||
"name": "Hekate Icons",
|
||||
"download_function_name": "download_hekate_icons",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "NicholeMattera",
|
||||
"repo_name": "Hekate-Icons",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "hekate_icons"
|
||||
},
|
||||
{
|
||||
"name": "Emuiibo",
|
||||
"download_function_name": "download_emuiibo",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "XorTroll",
|
||||
"repo_name": "emuiibo",
|
||||
"asset_patterns": [
|
||||
".*emuiibo.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "emuiibo"
|
||||
},
|
||||
{
|
||||
"name": "Kosmos Cleaner",
|
||||
"download_function_name": "download_kosmos_cleaner",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "AtlasNX",
|
||||
"repo_name": "Kosmos-Cleaner",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "kosmos_cleaner"
|
||||
},
|
||||
{
|
||||
"name": "Kosmos Toolbox",
|
||||
"download_function_name": "download_kosmos_toolbox",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "AtlasNX",
|
||||
"repo_name": "Kosmos-Toolbox",
|
||||
"asset_patterns": [
|
||||
".*\\.nro"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "kosmos_toolbox"
|
||||
},
|
||||
{
|
||||
"name": "Kosmos Updater",
|
||||
"download_function_name": "download_kosmos_updater",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "AtlasNX",
|
||||
"repo_name": "Kosmos-Updater",
|
||||
"asset_patterns": [
|
||||
".*\\.nro"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "kosmos_updater"
|
||||
},
|
||||
{
|
||||
"name": "ldn_mitm",
|
||||
"download_function_name": "download_ldn_mitm",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "spacemeowx2",
|
||||
"repo_name": "ldn_mitm",
|
||||
"asset_patterns": [
|
||||
".*ldn_mitm.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "ldn_mitm"
|
||||
},
|
||||
{
|
||||
"name": "Lockpick_RCM",
|
||||
"download_function_name": "download_lockpick_rcm",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "shchmue",
|
||||
"repo_name": "Lockpick_RCM",
|
||||
"asset_patterns": [
|
||||
".*\\.bin"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "lockpick_rcm"
|
||||
},
|
||||
{
|
||||
"name": "nx-ovlloader",
|
||||
"download_function_name": "download_nx_ovlloader",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "WerWolv",
|
||||
"repo_name": "nx-ovlloader",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "nx_ovlloader"
|
||||
},
|
||||
{
|
||||
"name": "ovlSysModules",
|
||||
"download_function_name": "download_ovl_sysmodules",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "WerWolv",
|
||||
"repo_name": "ovl-sysmodules",
|
||||
"asset_patterns": [
|
||||
".*\\.ovl"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "ovl_sysmodules"
|
||||
},
|
||||
{
|
||||
"name": "Status Monitor Overlay",
|
||||
"download_function_name": "download_status_monitor_overlay",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "masagrator",
|
||||
"repo_name": "Status-Monitor-Overlay",
|
||||
"asset_patterns": [
|
||||
".*\\.ovl"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "status_monitor_overlay"
|
||||
},
|
||||
{
|
||||
"name": "sys-clk",
|
||||
"download_function_name": "download_sys_clk",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "retronx-team",
|
||||
"repo_name": "sys-clk",
|
||||
"asset_patterns": [
|
||||
".*sys-clk-.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "sys_clk"
|
||||
},
|
||||
{
|
||||
"name": "sys-con",
|
||||
"download_function_name": "download_sys_con",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "cathery",
|
||||
"repo_name": "sys-con",
|
||||
"asset_patterns": [
|
||||
".*sys-con-.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "sys_con"
|
||||
},
|
||||
{
|
||||
"name": "sys-ftpd-light",
|
||||
"download_function_name": "download_sys_ftpd_light",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "cathery",
|
||||
"repo_name": "sys-ftpd-light",
|
||||
"asset_patterns": [
|
||||
".*sys-ftpd-light.*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "sys_ftpd"
|
||||
},
|
||||
{
|
||||
"name": "Tesla-Menu",
|
||||
"download_function_name": "download_tesla_menu",
|
||||
"git": {
|
||||
"service": 0,
|
||||
"org_name": "WerWolv",
|
||||
"repo_name": "Tesla-Menu",
|
||||
"asset_patterns": [
|
||||
".*\\.zip"
|
||||
],
|
||||
"group": null,
|
||||
"version_pattern": null
|
||||
},
|
||||
"sdsetup_module_name": "tesla_menu"
|
||||
}
|
||||
]
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "File\\d+\\.bin",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Coin Count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "001C", "0050" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 9999
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,623 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "user\\d\\.dat",
|
||||
"filetype": "json",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Geo count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "geo" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dream orb count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "dreamOrbs" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Simple keys count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "simpleKeys" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Pale ore count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "ore" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 1000
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Nail Damage",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "nailDamage" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Max Health",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "maxHealthBase" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Charm slot count",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "charmSlots" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 1,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Gathering Swarm enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_1" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Wayward Compass enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_2" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Grubsong enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_3" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Stalwart Shell enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_4" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Baldur Shell enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_5" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Furry of the Fallen enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_6" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Quick Focus enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_7" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Lifeblood Heart enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_8" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Lifeblood Core enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_9" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Defender's Crest enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_10" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Flukenest enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_11" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Thorns of Agony enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_12" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mark of Pride enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_13" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Steady body enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_14" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Heavy Bow enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_15" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Sharp Shadow enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_16" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Spore Shroom enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_17" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Longnail enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_18" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Shaman Stone enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_19" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Soul Catcher enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_20" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Soul Eater enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_21" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Glowing Womb enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_22" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Fragile Heart enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_23" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Fragile Greed enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_24" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Fragile Strength enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_25" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Nailmaster's Glory enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_26" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Joni's Blessing enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_27" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Shape of Unn enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_28" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Hiveblood enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_29" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dream Wielder enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_30" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dashmaster enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_31" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Quick Slash enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_32" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Spell Twister enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_33" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Deep Focus enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_34" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Grubberfly's Elegy enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_35" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Void Soul enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_36" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Sprintmaster enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_37" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dreamshield enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_38" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Weaversong enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_39" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Grimmchild / Carefree Melody enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_40" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mothwing Cloak enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDash" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Shadow Mothwing Cloak enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasShadowDash" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mantis Claw enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasWalljump" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Crystal Dash enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasSuperDash" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Monarch Wings enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDoubleJump" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dreamnail enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDreamNail" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dream Gate enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDreamGate" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dreamnail Upgrade enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "dreamNailUpgraded" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Ismas enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasAcidArmour" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,177 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "File\\d+\\data00",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Halos",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF64",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 9999
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Compound Green",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF7C",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Compound Yellow",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF78",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Compound Red",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF80",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Green Herb",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF84",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Green Herb",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF88",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Purple_Magic",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF8C",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Purple Magic",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF90",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Bloody Rose",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF94",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Bloody Rose",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF98",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Yellow Moon",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF9C",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Yellow Moon",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFA0",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Broken Heart",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFA4",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Broken Pearl",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFA8",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Arcade Bullet",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFAC",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Red Hot Shot",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFB0",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Magic Flute",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFB4",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,238 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "save\\d\\d\\d\\d\\.sav",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Halos",
|
||||
"category" : "Halos",
|
||||
"intArgs" : [ 2, 4 ],
|
||||
"strArgs" : [ "0000", "A3B0" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mandragora Root",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3E4" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Baked Gecko",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3DC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Unicorn Horn",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3D4" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Yellow Moon Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3EC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mega Bloody Rose Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3F4" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Bloody Rose Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3FC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mega Purple Magic Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A404" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Purple Magic Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A40C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mega Green Herb Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A414" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Green Herb Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A41C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 11",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A424" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 12",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A42C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Witchs Recipes",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A434" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 14",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A43C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 15",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A444" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 16",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A44C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 17",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A454" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 18",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A45C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 19",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A464" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 20",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A46C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,85 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "3" ],
|
||||
"files" : "game_data\\.sav",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Rupee",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "EAF8" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mons",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "D7FA8" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Gerudoo Relic uses remaining",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "89968" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Goron Relic uses remaining",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "E7BA0" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Rito Relic uses remaining.",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "F9CC8" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Hearts",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "10970" ],
|
||||
"widget" : {
|
||||
"type" : "list",
|
||||
"listItemNames" : [ "1 Heart", "2 Hearts", "3 Hearts", "4 Hearts", "5 Hearts", "6 Hearts", "7 Hearts", "8 Hearts", "9 Hearts", "10 Hearts", "11 Hearts", "12 Hearts", "13 Hearts", "14 Hearts", "15 Hearts", "16 Hearts", "17 Hearts", "18 Hearts", "19 Hearts", "20 Hearts", "21 Hearts", "22 Hearts", "23 Hearts", "24 Hearts", "25 Hearts", "26 Hearts", "27 Hearts", "28 Hearts", "29 Hearts", "30 Hearts" ],
|
||||
"listItemValues" : [ 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120 ]
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Stamina",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "0503C8" ],
|
||||
"widget" : {
|
||||
"type" : "list",
|
||||
"listItemNames" : [ "1 Wheel of Stamina", "1 & 1/5 Wheels of Stamina", "1 & 2/5 Wheels of Stamina", "1 & 3/5 Wheels of Stamina", "1 & 4/5 Wheels of Stamina", "2 Wheels of Stamina", "2 & 1/5 Wheels of Stamina", "2 & 2/5 Wheels of Stamina", "2 & 3/5 Wheels of Stamina", "2 & 4/5 Wheels of Stamina", "3 Wheels of Stamina" ],
|
||||
"listItemValues" : [ 1148846080, 1150681088, 1152319488, 1153957888, 1155596288, 1157234688, 1158250496, 1159069696, 1159888896, 1160708096, 1161527296 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "setsuna\\d\\d\\.dat",
|
||||
"filetype": "setsuna",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Gold",
|
||||
"category" : "Inventory",
|
||||
"intArgs" : [ 2, 4 ],
|
||||
"strArgs" : [ "0000", "00CC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 999999999
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "save.dat",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Character Level",
|
||||
"category" : "Adventure Mode",
|
||||
"intArgs" : [ 2, 4 ],
|
||||
"strArgs" : [ "0000", "40B0" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 1,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
-- bin --
|
||||
|
||||
saveFileBuffer = edizon.getSaveFileBuffer()
|
||||
|
||||
function getValueFromSaveFile()
|
||||
strArgs = edizon.getStrArgs()
|
||||
intArgs = edizon.getIntArgs()
|
||||
indirectAddress = tonumber(strArgs[1], 16)
|
||||
address = tonumber(strArgs[2], 16)
|
||||
addressSize = intArgs[1]
|
||||
valueSize = intArgs[2]
|
||||
|
||||
offset = 0
|
||||
value = 0
|
||||
|
||||
if indirectAddress ~= 0 then
|
||||
for i = 0, addressSize - 1 do
|
||||
offset = offset | (saveFileBuffer[indirectAddress + i + 1] << i * 8)
|
||||
end
|
||||
end
|
||||
|
||||
for i = 0, valueSize - 1 do
|
||||
value = value | (saveFileBuffer[offset + address + i + 1] << i * 8)
|
||||
end
|
||||
|
||||
return value
|
||||
end
|
||||
|
||||
function setValueInSaveFile(value)
|
||||
strArgs = edizon.getStrArgs()
|
||||
intArgs = edizon.getIntArgs()
|
||||
indirectAddress = tonumber(strArgs[1], 16)
|
||||
address = tonumber(strArgs[2], 16)
|
||||
addressSize = intArgs[1]
|
||||
valueSize = intArgs[2]
|
||||
|
||||
offset = 0
|
||||
|
||||
if indirectAddress ~= 0 then
|
||||
for i = 0, addressSize - 1 do
|
||||
offset = offset | (saveFileBuffer[indirectAddress + i + 1] << (i * 8))
|
||||
end
|
||||
end
|
||||
|
||||
for i = 0, valueSize - 1 do
|
||||
saveFileBuffer[offset + address + i + 1] = (value & (0xFF << i * 8)) >> (i * 8)
|
||||
end
|
||||
end
|
||||
|
||||
function getModifiedSaveFile()
|
||||
return saveFileBuffer
|
||||
end
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
-- json --
|
||||
|
||||
json = require("lib.json")
|
||||
|
||||
function convertToTable(s)
|
||||
t = {}
|
||||
|
||||
for i = 1, #s do
|
||||
t[i] = string.byte(s:sub(i, i))
|
||||
end
|
||||
|
||||
return t
|
||||
end
|
||||
|
||||
saveFileBuffer = json.decode(edizon.getSaveFileString())
|
||||
|
||||
function getValueFromSaveFile()
|
||||
strArgs = edizon.getStrArgs()
|
||||
intArgs = edizon.getIntArgs()
|
||||
|
||||
item = saveFileBuffer
|
||||
|
||||
for i, tag in pairs(strArgs) do
|
||||
if type(item) ~= "table" then break end
|
||||
|
||||
if string.sub(tag, 1, 1) == "\\" then
|
||||
tag = tonumber(tag:sub(2)) + 1
|
||||
|
||||
if tag == nil then return 0 end
|
||||
end
|
||||
|
||||
item = item[tag]
|
||||
end
|
||||
|
||||
if intArgs[1] == 0 then
|
||||
return item
|
||||
else
|
||||
return item and 1 or 0
|
||||
end
|
||||
end
|
||||
|
||||
function setValueInSaveFile(value)
|
||||
local items = saveFileBuffer
|
||||
strArgs = edizon.getStrArgs()
|
||||
intArgs = edizon.getIntArgs()
|
||||
|
||||
local ref = items
|
||||
|
||||
for i, tag in ipairs(strArgs) do
|
||||
|
||||
if string.sub(tag, 1, 1) == "\\" then
|
||||
tag = tonumber(tag:sub(2)) + 1
|
||||
end
|
||||
if i == #strArgs then
|
||||
if intArgs[1] == 0 then
|
||||
ref[tag] = value
|
||||
else
|
||||
ref[tag] = (value == 1)
|
||||
end
|
||||
else
|
||||
ref = ref[tag]
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
function getModifiedSaveFile()
|
||||
encoded = json.encode(saveFileBuffer)
|
||||
convertedTable = {}
|
||||
convertedTable = convertToTable(encoded)
|
||||
|
||||
return convertedTable
|
||||
end
|
|
@ -1,400 +0,0 @@
|
|||
--
|
||||
-- json.lua
|
||||
--
|
||||
-- Copyright (c) 2018 rxi
|
||||
--
|
||||
-- Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
-- this software and associated documentation files (the "Software"), to deal in
|
||||
-- the Software without restriction, including without limitation the rights to
|
||||
-- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
-- of the Software, and to permit persons to whom the Software is furnished to do
|
||||
-- so, subject to the following conditions:
|
||||
--
|
||||
-- The above copyright notice and this permission notice shall be included in all
|
||||
-- copies or substantial portions of the Software.
|
||||
--
|
||||
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
-- SOFTWARE.
|
||||
--
|
||||
|
||||
local json = { _version = "0.1.1" }
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
-- Encode
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
local encode
|
||||
|
||||
local escape_char_map = {
|
||||
[ "\\" ] = "\\\\",
|
||||
[ "\"" ] = "\\\"",
|
||||
[ "\b" ] = "\\b",
|
||||
[ "\f" ] = "\\f",
|
||||
[ "\n" ] = "\\n",
|
||||
[ "\r" ] = "\\r",
|
||||
[ "\t" ] = "\\t",
|
||||
}
|
||||
|
||||
local escape_char_map_inv = { [ "\\/" ] = "/" }
|
||||
for k, v in pairs(escape_char_map) do
|
||||
escape_char_map_inv[v] = k
|
||||
end
|
||||
|
||||
|
||||
local function escape_char(c)
|
||||
return escape_char_map[c] or string.format("\\u%04x", c:byte())
|
||||
end
|
||||
|
||||
|
||||
local function encode_nil(val)
|
||||
return "null"
|
||||
end
|
||||
|
||||
|
||||
local function encode_table(val, stack)
|
||||
local res = {}
|
||||
stack = stack or {}
|
||||
|
||||
-- Circular reference?
|
||||
if stack[val] then error("circular reference") end
|
||||
|
||||
stack[val] = true
|
||||
|
||||
if val[1] ~= nil or next(val) == nil then
|
||||
-- Treat as array -- check keys are valid and it is not sparse
|
||||
local n = 0
|
||||
for k in pairs(val) do
|
||||
if type(k) ~= "number" then
|
||||
error("invalid table: mixed or invalid key types")
|
||||
end
|
||||
n = n + 1
|
||||
end
|
||||
if n ~= #val then
|
||||
error("invalid table: sparse array")
|
||||
end
|
||||
-- Encode
|
||||
for i, v in ipairs(val) do
|
||||
table.insert(res, encode(v, stack))
|
||||
end
|
||||
stack[val] = nil
|
||||
return "[" .. table.concat(res, ",") .. "]"
|
||||
|
||||
else
|
||||
-- Treat as an object
|
||||
for k, v in pairs(val) do
|
||||
if type(k) ~= "string" then
|
||||
error("invalid table: mixed or invalid key types")
|
||||
end
|
||||
table.insert(res, encode(k, stack) .. ":" .. encode(v, stack))
|
||||
end
|
||||
stack[val] = nil
|
||||
return "{" .. table.concat(res, ",") .. "}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
local function encode_string(val)
|
||||
return '"' .. val:gsub('[%z\1-\31\\"]', escape_char) .. '"'
|
||||
end
|
||||
|
||||
|
||||
local function encode_number(val)
|
||||
-- Check for NaN, -inf and inf
|
||||
if val ~= val or val <= -math.huge or val >= math.huge then
|
||||
error("unexpected number value '" .. tostring(val) .. "'")
|
||||
end
|
||||
return string.format("%.14g", val)
|
||||
end
|
||||
|
||||
|
||||
local type_func_map = {
|
||||
[ "nil" ] = encode_nil,
|
||||
[ "table" ] = encode_table,
|
||||
[ "string" ] = encode_string,
|
||||
[ "number" ] = encode_number,
|
||||
[ "boolean" ] = tostring,
|
||||
}
|
||||
|
||||
|
||||
encode = function(val, stack)
|
||||
local t = type(val)
|
||||
local f = type_func_map[t]
|
||||
if f then
|
||||
return f(val, stack)
|
||||
end
|
||||
error("unexpected type '" .. t .. "'")
|
||||
end
|
||||
|
||||
|
||||
function json.encode(val)
|
||||
return ( encode(val) )
|
||||
end
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
-- Decode
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
local parse
|
||||
|
||||
local function create_set(...)
|
||||
local res = {}
|
||||
for i = 1, select("#", ...) do
|
||||
res[ select(i, ...) ] = true
|
||||
end
|
||||
return res
|
||||
end
|
||||
|
||||
local space_chars = create_set(" ", "\t", "\r", "\n")
|
||||
local delim_chars = create_set(" ", "\t", "\r", "\n", "]", "}", ",")
|
||||
local escape_chars = create_set("\\", "/", '"', "b", "f", "n", "r", "t", "u")
|
||||
local literals = create_set("true", "false", "null")
|
||||
|
||||
local literal_map = {
|
||||
[ "true" ] = true,
|
||||
[ "false" ] = false,
|
||||
[ "null" ] = nil,
|
||||
}
|
||||
|
||||
|
||||
local function next_char(str, idx, set, negate)
|
||||
for i = idx, #str do
|
||||
if set[str:sub(i, i)] ~= negate then
|
||||
return i
|
||||
end
|
||||
end
|
||||
return #str + 1
|
||||
end
|
||||
|
||||
|
||||
local function decode_error(str, idx, msg)
|
||||
local line_count = 1
|
||||
local col_count = 1
|
||||
for i = 1, idx - 1 do
|
||||
col_count = col_count + 1
|
||||
if str:sub(i, i) == "\n" then
|
||||
line_count = line_count + 1
|
||||
col_count = 1
|
||||
end
|
||||
end
|
||||
error( string.format("%s at line %d col %d", msg, line_count, col_count) )
|
||||
end
|
||||
|
||||
|
||||
local function codepoint_to_utf8(n)
|
||||
-- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=iws-appendixa
|
||||
local f = math.floor
|
||||
if n <= 0x7f then
|
||||
return string.char(n)
|
||||
elseif n <= 0x7ff then
|
||||
return string.char(f(n / 64) + 192, n % 64 + 128)
|
||||
elseif n <= 0xffff then
|
||||
return string.char(f(n / 4096) + 224, f(n % 4096 / 64) + 128, n % 64 + 128)
|
||||
elseif n <= 0x10ffff then
|
||||
return string.char(f(n / 262144) + 240, f(n % 262144 / 4096) + 128,
|
||||
f(n % 4096 / 64) + 128, n % 64 + 128)
|
||||
end
|
||||
error( string.format("invalid unicode codepoint '%x'", n) )
|
||||
end
|
||||
|
||||
|
||||
local function parse_unicode_escape(s)
|
||||
local n1 = tonumber( s:sub(3, 6), 16 )
|
||||
local n2 = tonumber( s:sub(9, 12), 16 )
|
||||
-- Surrogate pair?
|
||||
if n2 then
|
||||
return codepoint_to_utf8((n1 - 0xd800) * 0x400 + (n2 - 0xdc00) + 0x10000)
|
||||
else
|
||||
return codepoint_to_utf8(n1)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
local function parse_string(str, i)
|
||||
local has_unicode_escape = false
|
||||
local has_surrogate_escape = false
|
||||
local has_escape = false
|
||||
local last
|
||||
for j = i + 1, #str do
|
||||
local x = str:byte(j)
|
||||
|
||||
if x < 32 then
|
||||
decode_error(str, j, "control character in string")
|
||||
end
|
||||
|
||||
if last == 92 then -- "\\" (escape char)
|
||||
if x == 117 then -- "u" (unicode escape sequence)
|
||||
local hex = str:sub(j + 1, j + 5)
|
||||
if not hex:find("%x%x%x%x") then
|
||||
decode_error(str, j, "invalid unicode escape in string")
|
||||
end
|
||||
if hex:find("^[dD][89aAbB]") then
|
||||
has_surrogate_escape = true
|
||||
else
|
||||
has_unicode_escape = true
|
||||
end
|
||||
else
|
||||
local c = string.char(x)
|
||||
if not escape_chars[c] then
|
||||
decode_error(str, j, "invalid escape char '" .. c .. "' in string")
|
||||
end
|
||||
has_escape = true
|
||||
end
|
||||
last = nil
|
||||
|
||||
elseif x == 34 then -- '"' (end of string)
|
||||
local s = str:sub(i + 1, j - 1)
|
||||
if has_surrogate_escape then
|
||||
s = s:gsub("\\u[dD][89aAbB]..\\u....", parse_unicode_escape)
|
||||
end
|
||||
if has_unicode_escape then
|
||||
s = s:gsub("\\u....", parse_unicode_escape)
|
||||
end
|
||||
if has_escape then
|
||||
s = s:gsub("\\.", escape_char_map_inv)
|
||||
end
|
||||
return s, j + 1
|
||||
|
||||
else
|
||||
last = x
|
||||
end
|
||||
end
|
||||
decode_error(str, i, "expected closing quote for string")
|
||||
end
|
||||
|
||||
|
||||
local function parse_number(str, i)
|
||||
local x = next_char(str, i, delim_chars)
|
||||
local s = str:sub(i, x - 1)
|
||||
local n = tonumber(s)
|
||||
if not n then
|
||||
decode_error(str, i, "invalid number '" .. s .. "'")
|
||||
end
|
||||
return n, x
|
||||
end
|
||||
|
||||
|
||||
local function parse_literal(str, i)
|
||||
local x = next_char(str, i, delim_chars)
|
||||
local word = str:sub(i, x - 1)
|
||||
if not literals[word] then
|
||||
decode_error(str, i, "invalid literal '" .. word .. "'")
|
||||
end
|
||||
return literal_map[word], x
|
||||
end
|
||||
|
||||
|
||||
local function parse_array(str, i)
|
||||
local res = {}
|
||||
local n = 1
|
||||
i = i + 1
|
||||
while 1 do
|
||||
local x
|
||||
i = next_char(str, i, space_chars, true)
|
||||
-- Empty / end of array?
|
||||
if str:sub(i, i) == "]" then
|
||||
i = i + 1
|
||||
break
|
||||
end
|
||||
-- Read token
|
||||
x, i = parse(str, i)
|
||||
res[n] = x
|
||||
n = n + 1
|
||||
-- Next token
|
||||
i = next_char(str, i, space_chars, true)
|
||||
local chr = str:sub(i, i)
|
||||
i = i + 1
|
||||
if chr == "]" then break end
|
||||
if chr ~= "," then decode_error(str, i, "expected ']' or ','") end
|
||||
end
|
||||
return res, i
|
||||
end
|
||||
|
||||
|
||||
local function parse_object(str, i)
|
||||
local res = {}
|
||||
i = i + 1
|
||||
while 1 do
|
||||
local key, val
|
||||
i = next_char(str, i, space_chars, true)
|
||||
-- Empty / end of object?
|
||||
if str:sub(i, i) == "}" then
|
||||
i = i + 1
|
||||
break
|
||||
end
|
||||
-- Read key
|
||||
if str:sub(i, i) ~= '"' then
|
||||
decode_error(str, i, "expected string for key")
|
||||
end
|
||||
key, i = parse(str, i)
|
||||
-- Read ':' delimiter
|
||||
i = next_char(str, i, space_chars, true)
|
||||
if str:sub(i, i) ~= ":" then
|
||||
decode_error(str, i, "expected ':' after key")
|
||||
end
|
||||
i = next_char(str, i + 1, space_chars, true)
|
||||
-- Read value
|
||||
val, i = parse(str, i)
|
||||
-- Set
|
||||
res[key] = val
|
||||
-- Next token
|
||||
i = next_char(str, i, space_chars, true)
|
||||
local chr = str:sub(i, i)
|
||||
i = i + 1
|
||||
if chr == "}" then break end
|
||||
if chr ~= "," then decode_error(str, i, "expected '}' or ','") end
|
||||
end
|
||||
return res, i
|
||||
end
|
||||
|
||||
|
||||
local char_func_map = {
|
||||
[ '"' ] = parse_string,
|
||||
[ "0" ] = parse_number,
|
||||
[ "1" ] = parse_number,
|
||||
[ "2" ] = parse_number,
|
||||
[ "3" ] = parse_number,
|
||||
[ "4" ] = parse_number,
|
||||
[ "5" ] = parse_number,
|
||||
[ "6" ] = parse_number,
|
||||
[ "7" ] = parse_number,
|
||||
[ "8" ] = parse_number,
|
||||
[ "9" ] = parse_number,
|
||||
[ "-" ] = parse_number,
|
||||
[ "t" ] = parse_literal,
|
||||
[ "f" ] = parse_literal,
|
||||
[ "n" ] = parse_literal,
|
||||
[ "[" ] = parse_array,
|
||||
[ "{" ] = parse_object,
|
||||
}
|
||||
|
||||
|
||||
parse = function(str, idx)
|
||||
local chr = str:sub(idx, idx)
|
||||
local f = char_func_map[chr]
|
||||
if f then
|
||||
return f(str, idx)
|
||||
end
|
||||
decode_error(str, idx, "unexpected character '" .. chr .. "'")
|
||||
end
|
||||
|
||||
|
||||
function json.decode(str)
|
||||
if type(str) ~= "string" then
|
||||
error("expected argument of type string, got " .. type(str))
|
||||
end
|
||||
local res, idx = parse(str, next_char(str, 1, space_chars, true))
|
||||
idx = next_char(str, idx, space_chars, true)
|
||||
if idx <= #str then
|
||||
decode_error(str, idx, "trailing garbage")
|
||||
end
|
||||
return res
|
||||
end
|
||||
|
||||
|
||||
return json
|
|
@ -1,168 +0,0 @@
|
|||
-- Copyright (c) 2017 Phil Leblanc -- see LICENSE file
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- md5 hash - see RFC 1321 - https://www.ietf.org/rfc/rfc1321.txt
|
||||
|
||||
local spack, sunpack = string.pack, string.unpack
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
local function FF(a, b, c, d, x, s, ac)
|
||||
a = (a + ((b & c) | ((~b) & d)) + x + ac) & 0xffffffff
|
||||
a = ((a << s) | (a >> (32-s))) & 0xffffffff
|
||||
a = (a + b) & 0xffffffff
|
||||
return a
|
||||
end
|
||||
|
||||
local function GG(a, b, c, d, x, s, ac)
|
||||
a = (a + ((b & d) | c & (~d) ) + x + ac) & 0xffffffff
|
||||
a = ((a << s) | (a >> (32-s))) & 0xffffffff
|
||||
a = (a + b) & 0xffffffff
|
||||
return a
|
||||
end
|
||||
|
||||
local function HH(a, b, c, d, x, s, ac)
|
||||
a = (a + ((b ~ c ~ d)) + x + ac) & 0xffffffff
|
||||
a = ((a << s) | (a >> (32-s))) & 0xffffffff
|
||||
a = (a + b) & 0xffffffff
|
||||
return a
|
||||
end
|
||||
|
||||
local function II(a, b, c, d, x, s, ac)
|
||||
a = (a + (c ~ (b | ~d)) + x + ac) & 0xffffffff
|
||||
a = ((a << s) | (a >> (32-s))) & 0xffffffff
|
||||
a = (a + b) & 0xffffffff
|
||||
return a
|
||||
end
|
||||
|
||||
local function transform(state, input, i, t)
|
||||
-- process the 64-byte input block in string 'input' at offset 'i'
|
||||
-- t is a uint32[16] array. It is passed as a parameter
|
||||
-- for performance reasons
|
||||
--
|
||||
local a, b, c, d = state[1], state[2], state[3], state[4]
|
||||
|
||||
-- load array
|
||||
for j = 1, 16 do
|
||||
t[j] = sunpack("<I4", input, i)
|
||||
i = i + 4
|
||||
end
|
||||
|
||||
-- Round 1
|
||||
a = FF (a, b, c, d, t[ 1], 7, 0xd76aa478)
|
||||
d = FF (d, a, b, c, t[ 2], 12, 0xe8c7b756)
|
||||
c = FF (c, d, a, b, t[ 3], 17, 0x242070db)
|
||||
b = FF (b, c, d, a, t[ 4], 22, 0xc1bdceee)
|
||||
a = FF (a, b, c, d, t[ 5], 7, 0xf57c0faf)
|
||||
d = FF (d, a, b, c, t[ 6], 12, 0x4787c62a)
|
||||
c = FF (c, d, a, b, t[ 7], 17, 0xa8304613)
|
||||
b = FF (b, c, d, a, t[ 8], 22, 0xfd469501)
|
||||
a = FF (a, b, c, d, t[ 9], 7, 0x698098d8)
|
||||
d = FF (d, a, b, c, t[10], 12, 0x8b44f7af)
|
||||
c = FF (c, d, a, b, t[11], 17, 0xffff5bb1)
|
||||
b = FF (b, c, d, a, t[12], 22, 0x895cd7be)
|
||||
a = FF (a, b, c, d, t[13], 7, 0x6b901122)
|
||||
d = FF (d, a, b, c, t[14], 12, 0xfd987193)
|
||||
c = FF (c, d, a, b, t[15], 17, 0xa679438e)
|
||||
b = FF (b, c, d, a, t[16], 22, 0x49b40821)
|
||||
|
||||
-- Round 2
|
||||
a = GG (a, b, c, d, t[ 2], 5, 0xf61e2562)
|
||||
d = GG (d, a, b, c, t[ 7], 9, 0xc040b340)
|
||||
c = GG (c, d, a, b, t[12], 14, 0x265e5a51)
|
||||
b = GG (b, c, d, a, t[ 1], 20, 0xe9b6c7aa)
|
||||
a = GG (a, b, c, d, t[ 6], 5, 0xd62f105d)
|
||||
d = GG (d, a, b, c, t[11], 9, 0x2441453)
|
||||
c = GG (c, d, a, b, t[16], 14, 0xd8a1e681)
|
||||
b = GG (b, c, d, a, t[ 5], 20, 0xe7d3fbc8)
|
||||
a = GG (a, b, c, d, t[10], 5, 0x21e1cde6)
|
||||
d = GG (d, a, b, c, t[15], 9, 0xc33707d6)
|
||||
c = GG (c, d, a, b, t[ 4], 14, 0xf4d50d87)
|
||||
b = GG (b, c, d, a, t[ 9], 20, 0x455a14ed)
|
||||
a = GG (a, b, c, d, t[14], 5, 0xa9e3e905)
|
||||
d = GG (d, a, b, c, t[ 3], 9, 0xfcefa3f8)
|
||||
c = GG (c, d, a, b, t[ 8], 14, 0x676f02d9)
|
||||
b = GG (b, c, d, a, t[13], 20, 0x8d2a4c8a)
|
||||
|
||||
-- Round 3
|
||||
a = HH (a, b, c, d, t[ 6], 4, 0xfffa3942)
|
||||
d = HH (d, a, b, c, t[ 9], 11, 0x8771f681)
|
||||
c = HH (c, d, a, b, t[12], 16, 0x6d9d6122)
|
||||
b = HH (b, c, d, a, t[15], 23, 0xfde5380c)
|
||||
a = HH (a, b, c, d, t[ 2], 4, 0xa4beea44)
|
||||
d = HH (d, a, b, c, t[ 5], 11, 0x4bdecfa9)
|
||||
c = HH (c, d, a, b, t[ 8], 16, 0xf6bb4b60)
|
||||
b = HH (b, c, d, a, t[11], 23, 0xbebfbc70)
|
||||
a = HH (a, b, c, d, t[14], 4, 0x289b7ec6)
|
||||
d = HH (d, a, b, c, t[ 1], 11, 0xeaa127fa)
|
||||
c = HH (c, d, a, b, t[ 4], 16, 0xd4ef3085)
|
||||
b = HH (b, c, d, a, t[ 7], 23, 0x4881d05)
|
||||
a = HH (a, b, c, d, t[10], 4, 0xd9d4d039)
|
||||
d = HH (d, a, b, c, t[13], 11, 0xe6db99e5)
|
||||
c = HH (c, d, a, b, t[16], 16, 0x1fa27cf8)
|
||||
b = HH (b, c, d, a, t[ 3], 23, 0xc4ac5665)
|
||||
|
||||
-- Round 4
|
||||
a = II (a, b, c, d, t[ 1], 6, 0xf4292244)
|
||||
d = II (d, a, b, c, t[ 8], 10, 0x432aff97)
|
||||
c = II (c, d, a, b, t[15], 15, 0xab9423a7)
|
||||
b = II (b, c, d, a, t[ 6], 21, 0xfc93a039)
|
||||
a = II (a, b, c, d, t[13], 6, 0x655b59c3)
|
||||
d = II (d, a, b, c, t[ 4], 10, 0x8f0ccc92)
|
||||
c = II (c, d, a, b, t[11], 15, 0xffeff47d)
|
||||
b = II (b, c, d, a, t[ 2], 21, 0x85845dd1)
|
||||
a = II (a, b, c, d, t[ 9], 6, 0x6fa87e4f)
|
||||
d = II (d, a, b, c, t[16], 10, 0xfe2ce6e0)
|
||||
c = II (c, d, a, b, t[ 7], 15, 0xa3014314)
|
||||
b = II (b, c, d, a, t[14], 21, 0x4e0811a1)
|
||||
a = II (a, b, c, d, t[ 5], 6, 0xf7537e82)
|
||||
d = II (d, a, b, c, t[12], 10, 0xbd3af235)
|
||||
c = II (c, d, a, b, t[ 3], 15, 0x2ad7d2bb)
|
||||
b = II (b, c, d, a, t[10], 21, 0xeb86d391)
|
||||
|
||||
state[1] = (state[1] + a) & 0xffffffff
|
||||
state[2] = (state[2] + b) & 0xffffffff
|
||||
state[3] = (state[3] + c) & 0xffffffff
|
||||
state[4] = (state[4] + d) & 0xffffffff
|
||||
end --transform()
|
||||
|
||||
local function md5(input)
|
||||
-- initialize state
|
||||
local state = { 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476 }
|
||||
local inputlen = #input
|
||||
local inputbits = inputlen * 8 -- input length in bits
|
||||
local r = inputlen -- number of unprocessed bytes
|
||||
local i = 1 -- index in input string
|
||||
local ibt = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} -- input block uint32[16]
|
||||
-- process as many 64-byte blocks as possible
|
||||
while r >= 64 do
|
||||
-- process block
|
||||
transform(state, input, i, ibt)
|
||||
i = i + 64 -- update input index
|
||||
r = r - 64 -- update number of unprocessed bytes
|
||||
end
|
||||
-- finalize. must append to input a mandatory 0x80 byte, some
|
||||
-- padding, and the input bit-length ('inputbits')
|
||||
local lastblock -- the rest of input .. some padding .. inputbits
|
||||
local padlen -- padding length in bytes
|
||||
if r < 56 then padlen = 55 - r else padlen = 119 - r end
|
||||
lastblock = input:sub(i) -- remaining input
|
||||
.. '\x80' .. ('\0'):rep(padlen) --padding
|
||||
.. spack("<I8", inputbits) -- length in bits
|
||||
assert(#lastblock == 64 or #lastblock == 128)
|
||||
transform(state, lastblock, 1, ibt)
|
||||
if #lastblock == 128 then
|
||||
transform(state, lastblock, 65, ibt)
|
||||
end
|
||||
-- return the digest
|
||||
local digest = spack("<I4I4I4I4", state[1], state[2], state[3], state[4])
|
||||
return digest
|
||||
end --md5()
|
||||
|
||||
--~ bin = require "plc.bin"
|
||||
--~ print(bin.stohex(md5'abc'))
|
||||
--~ print(bin.stohex(md5""))
|
||||
|
||||
return { -- md5 module
|
||||
hash = md5,
|
||||
}
|
|
@ -1,107 +0,0 @@
|
|||
-- octp --
|
||||
|
||||
saveFileBuffer = edizon.getSaveFileBuffer()
|
||||
cachedOffset = {}
|
||||
|
||||
function getOffsetKey()
|
||||
local strArgs = edizon.getStrArgs()
|
||||
local intArgs = edizon.getIntArgs()
|
||||
local offsetKey = strArgs[1]
|
||||
if strArgs[3] then
|
||||
offsetKey = strArgs[3].."$|$|"..(strArgs[1] or 0).."$|$|"..(intArgs[3] or 1)
|
||||
end
|
||||
return offsetKey
|
||||
end
|
||||
|
||||
function getOffset()
|
||||
local strArgs = edizon.getStrArgs()
|
||||
local intArgs = edizon.getIntArgs()
|
||||
local offsetKey = getOffsetKey()
|
||||
|
||||
local indirectAddress = tonumber(strArgs[1], 16)
|
||||
local searchString = strArgs[3]
|
||||
|
||||
if cachedOffset[offsetKey] ~= nil then
|
||||
return cachedOffset[offsetKey]
|
||||
end
|
||||
|
||||
local addressSize = intArgs[1]
|
||||
|
||||
local offset = 0
|
||||
|
||||
if searchString ~= nil and searchString ~= '' then
|
||||
local resultNum = intArgs[3] or 1
|
||||
local start = 1
|
||||
|
||||
if cachedOffset[searchString.."$|$|"..(resultNum-1)] ~= nil then
|
||||
start = cachedOffset[searchString.."$|$|"..(resultNum-1)]+2
|
||||
resultNum = 1
|
||||
else
|
||||
start = indirectAddress+1
|
||||
end
|
||||
|
||||
searchTable = { searchString:byte(1, -1) }
|
||||
searchSize = searchString:len()
|
||||
|
||||
local found = 0
|
||||
for i = start, #saveFileBuffer do
|
||||
if i - 1 + searchSize > #saveFileBuffer then
|
||||
break
|
||||
end
|
||||
for j = 1, searchSize do
|
||||
c = saveFileBuffer[i + j -1]
|
||||
if c ~= searchTable[j] then
|
||||
break
|
||||
end
|
||||
if j == searchSize then
|
||||
found = found + 1
|
||||
end
|
||||
end
|
||||
if found == resultNum then
|
||||
offset = i - 1
|
||||
break
|
||||
end
|
||||
end
|
||||
elseif indirectAddress ~= 0 then
|
||||
for i = 0, addressSize - 1 do
|
||||
offset = offset | (saveFileBuffer[indirectAddress + i + 1] << i * 8)
|
||||
end
|
||||
end
|
||||
|
||||
cachedOffset[offsetKey] = offset
|
||||
return offset
|
||||
end
|
||||
|
||||
function getValueFromSaveFile()
|
||||
local strArgs = edizon.getStrArgs()
|
||||
local intArgs = edizon.getIntArgs()
|
||||
|
||||
local address = tonumber(strArgs[2], 16)
|
||||
local valueSize = intArgs[2]
|
||||
|
||||
local offset = getOffset()
|
||||
local value = 0
|
||||
|
||||
for i = 0, valueSize - 1 do
|
||||
value = value | (saveFileBuffer[offset + address + i + 1] << i * 8)
|
||||
end
|
||||
|
||||
return value
|
||||
end
|
||||
|
||||
function setValueInSaveFile(value)
|
||||
local strArgs = edizon.getStrArgs()
|
||||
local intArgs = edizon.getIntArgs()
|
||||
local address = tonumber(strArgs[2], 16)
|
||||
local valueSize = intArgs[2]
|
||||
|
||||
local offset = getOffset()
|
||||
|
||||
for i = 0, valueSize - 1 do
|
||||
saveFileBuffer[offset + address + i + 1] = (value & (0xFF << i * 8)) >> (i * 8)
|
||||
end
|
||||
end
|
||||
|
||||
function getModifiedSaveFile()
|
||||
return saveFileBuffer
|
||||
end
|
|
@ -1,84 +0,0 @@
|
|||
-- setsuna (modified bin.lua) --
|
||||
|
||||
md5 = require("lib.md5")
|
||||
|
||||
saveFileBuffer = edizon.getSaveFileBuffer()
|
||||
|
||||
function getValueFromSaveFile()
|
||||
strArgs = edizon.getStrArgs()
|
||||
intArgs = edizon.getIntArgs()
|
||||
indirectAddress = tonumber(strArgs[1], 16)
|
||||
address = tonumber(strArgs[2], 16)
|
||||
addressSize = intArgs[1]
|
||||
valueSize = intArgs[2]
|
||||
|
||||
offset = 0
|
||||
value = 0
|
||||
|
||||
if indirectAddress ~= 0 then
|
||||
for i = 0, addressSize - 1 do
|
||||
offset = offset | (saveFileBuffer[indirectAddress + i + 1] << i * 8)
|
||||
end
|
||||
end
|
||||
|
||||
for i = 0, valueSize - 1 do
|
||||
value = value | (saveFileBuffer[offset + address + i + 1] << i * 8)
|
||||
end
|
||||
|
||||
return value
|
||||
end
|
||||
|
||||
function setValueInSaveFile(value)
|
||||
strArgs = edizon.getStrArgs()
|
||||
intArgs = edizon.getIntArgs()
|
||||
indirectAddress = tonumber(strArgs[1], 16)
|
||||
address = tonumber(strArgs[2], 16)
|
||||
addressSize = intArgs[1]
|
||||
valueSize = intArgs[2]
|
||||
|
||||
offset = 0
|
||||
|
||||
if indirectAddress ~= 0 then
|
||||
for i = 0, addressSize - 1 do
|
||||
offset = offset | (saveFileBuffer[indirectAddress + i + 1] << (i * 8))
|
||||
end
|
||||
end
|
||||
|
||||
for i = 0, valueSize - 1 do
|
||||
saveFileBuffer[offset + address + i + 1] = (value & (0xFF << i * 8)) >> (i * 8)
|
||||
end
|
||||
end
|
||||
|
||||
function setChecksumZero()
|
||||
for i = #saveFileBuffer - 15, #saveFileBuffer do
|
||||
saveFileBuffer[i] = 0x00
|
||||
end
|
||||
end
|
||||
|
||||
function calcChecksum()
|
||||
saveDataOffset = 193
|
||||
checksumFileBuffer = {}
|
||||
for i = saveDataOffset, #saveFileBuffer do
|
||||
checksumFileBuffer[i - saveDataOffset + 1] = saveFileBuffer[i]
|
||||
end
|
||||
return md5.hash(string.char(table.unpack(checksumFileBuffer)))
|
||||
end
|
||||
|
||||
function setNewChecksum(md5hash)
|
||||
checksumOffset = #saveFileBuffer - 16
|
||||
checksum = table.pack(md5hash:byte(1, 16))
|
||||
for i = 1, 16 do
|
||||
saveFileBuffer[checksumOffset + i] = checksum[i]
|
||||
end
|
||||
end
|
||||
|
||||
function replaceChecksum()
|
||||
setChecksumZero()
|
||||
md5hash = calcChecksum()
|
||||
setNewChecksum(md5hash)
|
||||
end
|
||||
|
||||
function getModifiedSaveFile()
|
||||
replaceChecksum()
|
||||
return saveFileBuffer
|
||||
end
|
Before Width: | Height: | Size: 3.5 MiB |
|
@ -1,79 +0,0 @@
|
|||
[config]
|
||||
autoboot=0
|
||||
bootwait=5
|
||||
customlogo=1
|
||||
verification=2
|
||||
{-- Custom Firmwares --}
|
||||
{The full experience with Loader, SM,}
|
||||
{PM, LayeredFS and Signature Patches}
|
||||
[CFW]
|
||||
kip1=modules/newfirm/loader.kip
|
||||
kip1=modules/newfirm/sm.kip
|
||||
kip1=modules/oldlayered/fs_mitm.kip
|
||||
kip1=modules/newfirm/pm.kip
|
||||
atmosphere=1
|
||||
kip1patch=nosigchk
|
||||
{ }
|
||||
# I wanted to call this tomNX for fun but that would have destroyed guide compatibility :P
|
||||
|
||||
{----- FTP-Server -----}
|
||||
{Port: 5000}
|
||||
{Dont run SDFilesUpdater with this!}
|
||||
[FTP + CFW]
|
||||
kip1=modules/newfirm/loader.kip
|
||||
kip1=modules/newfirm/sm.kip
|
||||
kip1=modules/oldlayered/fs_mitm.kip
|
||||
kip1=modules/newfirm/pm.kip
|
||||
kip1=modules/sys-ftpd.kip
|
||||
atmosphere=1
|
||||
kip1patch=nosigchk
|
||||
{ }
|
||||
|
||||
{---- Miscellaneous ---}
|
||||
[Loader + SM]
|
||||
kip1=modules/newfirm/loader.kip
|
||||
kip1=modules/newfirm/sm.kip
|
||||
[Newest LayeredFS]
|
||||
kip1=modules/newfirm/loader.kip
|
||||
kip1=modules/newfirm/sm.kip
|
||||
kip1=modules/newfirm/fs_mitm.kip
|
||||
kip1=modules/newfirm/pm.kip
|
||||
atmosphere=1
|
||||
kip1patch=nosigchk
|
||||
[Stock]
|
||||
{ }
|
||||
|
||||
{---- Experimental ----}
|
||||
[Atmosphere]
|
||||
secmon=modules/atmosphere/exosphere.bin
|
||||
kip1=modules/atmosphere/loader.kip
|
||||
kip1=modules/atmosphere/sm.kip
|
||||
kip1=modules/atmosphere/fs_mitm.kip
|
||||
kip1=modules/atmosphere/pm.kip
|
||||
logopath=modules/atmosphere/atmosphere.bmp
|
||||
atmosphere=1
|
||||
{ }
|
||||
|
||||
{----------------------}
|
||||
{ }
|
||||
{Running v7.2 of tumGER/SDFilesSwitch}
|
||||
{By: tomGER(@tumGER)}
|
||||
{StevenMattera, WerWolv}
|
||||
{ }
|
||||
{------ Thanks to -----}
|
||||
{ }
|
||||
{Reswitched Team, CTCaer}
|
||||
{Thog, vgmoose, Brawl345}
|
||||
{GGLinnk, jpe230, Adubbz}
|
||||
{thomasnet, TheDgtl, Rei}
|
||||
{jakibaki, rajkosto,}
|
||||
{mariogamer2 and many more}
|
||||
{ }
|
||||
{----------------------}
|
||||
{ }
|
||||
{Press R + Album to launch Album instead}
|
||||
{Use sigpatch_payload.bin for Signature Patches}
|
||||
{ }
|
||||
{Discord: https://discord.gg/qbRAuy7}
|
||||
|
||||
# This code isn't political -- It isn't even code
|
Before Width: | Height: | Size: 3.5 MiB |
|
@ -1,4 +0,0 @@
|
|||
host = "http://sdfu.stevenmattera.com";
|
||||
channel = "stable";
|
||||
version = "v7";
|
||||
launcher = "Hekate";
|
Before Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 233 B |
274
HowToCompile.md
|
@ -1,274 +0,0 @@
|
|||
How To Compile SDFiles for Hekate
|
||||
=================================================================================
|
||||
The unoffical offical guide by @tumGER
|
||||
|
||||
Subject | Topic
|
||||
--------|--------
|
||||
**Preparations** | [Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#dependencies)
|
||||
. | [Updating Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies)
|
||||
. | [Installing/Updating LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx)
|
||||
**Atmosphere** | [Atmosphere with Patches](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-atmospheres-loader-sm-and-layeredfs-with-patches)
|
||||
. | [Atmopshere without Patches ("Complete Atmosphere")](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-atmosphere-complete)
|
||||
**Homebrew and Module** | [General](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-homebrew-and-modules)
|
||||
. | [Homebrew Loader](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#homebrew-loader)
|
||||
. | [Creport](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#creport)
|
||||
**Extra** | [Bootlogos](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#hekate-bootlogo)
|
||||
|
||||
# Dependencies
|
||||
|
||||
- Install [DevkitPro](https://github.com/devkitPro/installer) with Switch support
|
||||
- Install needed packages:
|
||||
- **Linux:** ```sudo dkp-pacman -S devkitA64 switch-tools switch-curl switch-bzip2 switch-freetype switch-libjpeg-turbo switch-sdl2 switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-zlib switch-libpng```
|
||||
- **Windows** ```pacman -S devkitA64 switch-tools switch-curl switch-bzip2 switch-freetype switch-libjpeg-turbo switch-sdl2 switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-zlib switch-libpng```
|
||||
- You may have to run this command through Msys2 if it doesn't work
|
||||
- A clean clone of the compiler repo - **This repo holds all submodules mentioned in this guide!**
|
||||
- For that simply ```git clone https://github.com/tumGER/SDFilesCompiler.git``` to your desired location
|
||||
- There are some weird issues on Windows if you have spaces somewhere in the path to your location so make sure to clone it somewhere where the Path doesn't include spaces
|
||||
- [LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx)
|
||||
- The Hekate/ and "Resources" folder from https://github.com/tumGER/SDFilesSwitch
|
||||
- Simply ```git clone https://github.com/tumGER/SDFilesSwitch.git``` to your desired location
|
||||
- We have to use the Hekate/ folder as some homebrew uses data that is otherwise not found when compiling it yourself
|
||||
|
||||
# Updating Dependencies
|
||||
|
||||
1. Open your console in the root of the repo you just cloned
|
||||
2. Type ```git submodule update --remote --force``` to update the submodules
|
||||
3. Success, the submodules should now be updated to the latest commit of their origin
|
||||
|
||||
# LibNX
|
||||
|
||||
**Make sure to [Update Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies) before updating LibNX**
|
||||
|
||||
1. Go into the LibNX submodule folder
|
||||
2. Type ```make```
|
||||
3. Wait till it finished compiling
|
||||
4. Type ```make install```
|
||||
|
||||
# Atmosphere
|
||||
|
||||
## Updating Atmosphere's Loader, SM and LayeredFS with Patches
|
||||
|
||||
**Atmosphere sometimes even uses features that aren't even in LibNX yet, in that case follow the previous steps but use the [Atmosphere LibNX fork](https://github.com/Atmosphere-NX/libnx/tree/for-atmosphere) by typing ```git clone https://github.com/Atmosphere-NX/libnx.git -b for-atmosphere``` into your desired location**
|
||||
|
||||
**Make sure to [Update Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies) before compiling Atmosphere**
|
||||
|
||||
**Make sure to [Update LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx) before compiling Atmosphere**
|
||||
|
||||
Atmosphere needs some custom changes to it to work with current hekate and also to compile. While we don't need to compile Atmosphere completely, we will in this tutorial because it's easier and breaks much less (in my experience)
|
||||
|
||||
1. Go into "Atmosphere\stratosphere\loader\source" and find "ldr_main.cpp"
|
||||
2. Remove
|
||||
```cpp
|
||||
/* Check for exosphere API compatibility. */
|
||||
u64 exosphere_cfg;
|
||||
if (R_FAILED(splGetConfig((SplConfigItem)65000, &exosphere_cfg))) {
|
||||
//fatalSimple(0xCAFE << 4 | 0xFF);
|
||||
/* TODO: Does Loader need to know about target firmware/master key revision? If so, extract from exosphere_cfg. */
|
||||
}
|
||||
```
|
||||
located ~ at line 72
|
||||
- This removes the Exosphere API Check from the Loader
|
||||
|
||||
4. In the same directory, find "ldr_npdm.cpp"
|
||||
5. Find this function:
|
||||
```
|
||||
FILE *NpdmUtils::OpenNpdm(u64 title_id) {
|
||||
FILE *f_out = OpenNpdmFromSdCard(title_id);
|
||||
if (f_out != NULL) {
|
||||
return f_out;
|
||||
}
|
||||
return OpenNpdmFromExeFS();
|
||||
|
||||
}
|
||||
```
|
||||
and replace it by this one:
|
||||
```
|
||||
FILE *NpdmUtils::OpenNpdm(u64 title_id) {
|
||||
if (title_id == 0x010000000000100D) {
|
||||
Result rc;
|
||||
rc = hidInitialize();
|
||||
if (R_FAILED(rc)){
|
||||
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_HID));
|
||||
}
|
||||
hidScanInput();
|
||||
u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
|
||||
if((kDown & KEY_R) == 0) {
|
||||
hidExit();
|
||||
FILE *f_out = OpenNpdmFromSdCard(title_id);
|
||||
if (f_out != NULL) {
|
||||
return f_out;
|
||||
}
|
||||
return OpenNpdmFromExeFS();
|
||||
}
|
||||
else {
|
||||
hidExit();
|
||||
return OpenNpdmFromExeFS();
|
||||
}
|
||||
}
|
||||
else {
|
||||
FILE *f_out = OpenNpdmFromSdCard(title_id);
|
||||
if (f_out != NULL) {
|
||||
return f_out;
|
||||
}
|
||||
return OpenNpdmFromExeFS();
|
||||
}
|
||||
}
|
||||
```
|
||||
6. In the same directory, find "ldr_nso.cpp"
|
||||
7. Find this function:
|
||||
```
|
||||
FILE *NsoUtils::OpenNso(unsigned int index, u64 title_id) {
|
||||
FILE *f_out = OpenNsoFromSdCard(index, title_id);
|
||||
if (f_out != NULL) {
|
||||
return f_out;
|
||||
} else if (CheckNsoStubbed(index, title_id)) {
|
||||
return NULL;
|
||||
} else {
|
||||
return OpenNsoFromExeFS(index);
|
||||
}
|
||||
}
|
||||
```
|
||||
and replace it by this one:
|
||||
```
|
||||
FILE *NsoUtils::OpenNso(unsigned int index, u64 title_id) {
|
||||
if (title_id == 0x010000000000100D) {
|
||||
Result rc;
|
||||
rc = hidInitialize();
|
||||
if (R_FAILED(rc)){
|
||||
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_HID));
|
||||
}
|
||||
hidScanInput();
|
||||
u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
|
||||
if((kDown & KEY_R) == 0) {
|
||||
hidExit();
|
||||
FILE *f_out = OpenNsoFromSdCard(index, title_id);
|
||||
if (f_out != NULL) {
|
||||
return f_out;
|
||||
} else if (CheckNsoStubbed(index, title_id)) {
|
||||
return NULL;
|
||||
} else {
|
||||
return OpenNsoFromExeFS(index);
|
||||
}
|
||||
}
|
||||
else {
|
||||
hidExit();
|
||||
return OpenNsoFromExeFS(index); }
|
||||
}
|
||||
else {
|
||||
FILE *f_out = OpenNsoFromSdCard(index, title_id);
|
||||
if (f_out != NULL) {
|
||||
return f_out;
|
||||
} else if (CheckNsoStubbed(index, title_id)) {
|
||||
return NULL;
|
||||
} else {
|
||||
return OpenNsoFromExeFS(index);
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
8. Go into "Atmosphere\stratosphere\fs_mitm" and find "fsmitm_main.cpp"
|
||||
9. Remove
|
||||
```cpp
|
||||
/* Check for exosphere API compatibility. */
|
||||
u64 exosphere_cfg;
|
||||
if (R_SUCCEEDED(splGetConfig((SplConfigItem)65000, &exosphere_cfg))) {
|
||||
/* MitM requires Atmosphere API 0.1. */
|
||||
u16 api_version = (exosphere_cfg >> 16) & 0xFFFF;
|
||||
if (api_version < 0x0001) {
|
||||
fatalSimple(0xCAFE << 4 | 0xFE);
|
||||
}
|
||||
} else {
|
||||
fatalSimple(0xCAFE << 4 | 0xFF);
|
||||
}
|
||||
```
|
||||
located ~ at line 67
|
||||
|
||||
9. Go back into the root of the Atmosphere submodule
|
||||
10. Type "make"
|
||||
11. Wait a bit, this will take some time
|
||||
12. Go back into "Atmosphere\stratosphere\fs_mitm"
|
||||
13. Type "make"
|
||||
14. Wait a bit, this will take some time
|
||||
15. Copy "loader.kip" from "Atmosphere\stratosphere\loader" into:
|
||||
- "SDFilesSwitch/Hekate/modules/newfirm/"
|
||||
16. Copy "fs_mitm.kip" from "Atmosphere\stratosphere\fs_mitm" into:
|
||||
- "SDFilesSwitch/Hekate/modules/newfirm/"
|
||||
17. Copy "sm.kip" from "Atmosphere\stratosphere\sm" into:
|
||||
- "SDFilesSwitch/Hekate/modules/newfirm/"
|
||||
18. Copy "pm.kip" from "Atmosphere\stratosphere\pm" into:
|
||||
- "SDFilesSwitch/Hekate/modules/newfirm/"
|
||||
19. Copy the updated files to your SD and test them on your Switch
|
||||
- If everything worked, congrats! You compiled Atmosphere's patched Loader, SM and LayeredFS :)
|
||||
- If it didn't, you either messed something up or Atmosphere had some change to its code in the time I wrote this till now - In that case I'd guess contacting me over Twitter (@_tomGER [Or @tumGER since I check that more often]) is your best bet if I'm gone - If you're here because you just wanted to compile it yourself than contact me over tomGER
|
||||
\#7462 on Discord.
|
||||
|
||||
## Updating Atmosphere ("Complete")
|
||||
|
||||
**Make sure to [Update Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies) before compiling Atmosphere**
|
||||
|
||||
**Make sure to [Update LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx) before compiling Atmosphere**
|
||||
|
||||
**Atmosphere sometimes even uses features that aren't even in LibNX yet, in that case follow [the previous steps](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx) but use the [Atmosphere LibNX fork](https://github.com/Atmosphere-NX/libnx/tree/for-atmosphere) by typing ```git clone https://github.com/Atmosphere-NX/libnx.git -b for-atmosphere``` into your desired location**
|
||||
|
||||
1. Apply steps 4-7 from [Updating Atmosphere](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-atmospheres-loader-sm-and-layeredfs-with-patches)
|
||||
2. Type make on the root of the Atmosphere submodule
|
||||
3. Copy "sm.kip" from "Atmosphere\stratosphere\sm", "fs_mitm.kip" from "Atmosphere\stratosphere\fs_mitm", "pm.kip" from "Atmosphere\stratosphere\pm", "loader.kip" from "Atmosphere\stratosphere\loader" and "exosphere.bin" from "Atmosphere/exosphere" into "Hekate/modules/atmosphere"
|
||||
|
||||
# Updating Homebrew and Modules
|
||||
|
||||
**Make sure to [Update Dependencies](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#updating-dependencies) before compiling submodules**
|
||||
|
||||
**Make sure to [Update LibNX](https://github.com/tumGER/SDFilesSwitch/blob/master/HowToCompile.md#libnx) before compiling submodules**
|
||||
|
||||
Here comes the easy part :) Updating all other submodules is really really easy and all follow nearly the same steps:
|
||||
|
||||
1. Go into each submodule folder
|
||||
2. Type "make"
|
||||
- You need to type "make nx" for **hbmenu**
|
||||
3. It should now have compiled it - The location is often pretty easy to find:
|
||||
- You'll get a .nro for EdiZon, AppstoreNX, SDFilesUpdater and hbmenu
|
||||
- You'll get a .kip from sys-ftpd
|
||||
4. Replace the old one in the Hekate folder
|
||||
|
||||
**Some files are called slightly different in the compiled folder - Please rename your newly compiled files in that case!**
|
||||
|
||||
Submodule | Folder it has to go to
|
||||
----------|-----------------------
|
||||
EdiZon | Replace the .nacp and .nro in Hekate/switch/edizon
|
||||
AppstoreNX | Replace the .nro in Hekate/switch/appstore
|
||||
SDFilesUpdater | Replace the .nro in Hekate/switch/SDFilesUpdater
|
||||
hbmenu | Replace the .nro on root
|
||||
sys-ftpd | Replace the .kip in Hekate/modules
|
||||
|
||||
|
||||
## **Homebrew Loader**
|
||||
|
||||
1. Go into the Homebrew Loader folder (hbl) and type ```make```
|
||||
2. Copy hbl.nsp to "Hekate/atmosphere/titles/010000000000100D/exefs/" and rename it to main (No extension, just main)
|
||||
3. Copy hbl.npdm to "Hekate/atmosphere/titles/010000000000100D/exefs/" and rename it to main.npdm
|
||||
|
||||
## **Creport**
|
||||
|
||||
1. Go into atmosphere/stratosphere/creport
|
||||
2. Type ```make```
|
||||
3. Copy creport.nso to "Hekate\atmosphere\titles\0100000000000036\exefs" and rename it to main (No extension, just main)
|
||||
4. Copy creport.npdm to "Hekate\atmosphere\titles\0100000000000036\exefs" and rename it to main.npdm
|
||||
|
||||
# Hekate Bootlogo
|
||||
|
||||
- Start your photo editor of choice (I use GIMP because I'm poor and actually kinda like GIMP)
|
||||
A. Open one of the three .xcf files and change the version number to the number of the release you want to make
|
||||
B. Create your own one
|
||||
|
||||
1. Create a new 720 x 1280 canvas
|
||||
- Make sure you picture is roated 90° counterclockwise
|
||||
2. Use your graphic design passion
|
||||
- If you want to update the repo, make sure to include Credits, a link to the Repo, version number and all the other stuff you also see on my splash screens
|
||||
3. Export it as a .png
|
||||
4. Use some online converter to convert the .png to a .bmp
|
||||
- We need to use a online converter because GIMP currently has some issues with it
|
||||
5. Call it bootlogo.bmp if you want to use it as the standard one
|
||||
- You can also choose a specific bootlogo for each launch option by writting ```logopath=/Link/To/Bootimage.bmp``` into your hekate-ipl.ini ([Example](https://github.com/tumGER/SDFilesSwitch/blob/8653108d41096f60c43f5dab56b41024fa785c5d/Compiled/hekate_ipl.ini#L60))
|
||||
5. Put it on the root of your SD / root of "SDFilesSwitch/Hekate"
|
||||
|
||||
|
14
LICENSE.md
|
@ -1,14 +0,0 @@
|
|||
Licenses
|
||||
========
|
||||
|
||||
* Atmosphère is licensed under [GPLv2](https://github.com/Atmosphere-NX/Atmosphere/blob/master/LICENSE)
|
||||
* Switch Homebrew Menu is licensed under [ISC](https://github.com/switchbrew/nx-hbmenu/blob/master/LICENSE.md)
|
||||
* Switch Homebrew Loader license is unknown
|
||||
* nx-dreport is licensed under [GPLv2](https://github.com/Thog/nx-dreport/blob/master/LICENSE)
|
||||
* AppstoreNX is licensed under [GPLv3](https://github.com/vgmoose/appstorenx/blob/master/LICENSE)
|
||||
* EdiZon is licensed under [MIT](https://github.com/thomasnet-mc/EdiZon/blob/master/LICENSE)
|
||||
* SDFilesUpdater is licensed under [GPLv2](https://github.com/StevenMattera/SDFilesUpdater/blob/master/LICENSE)
|
||||
* Sys-FTPD is licensed under [GPLv3](https://github.com/jakibaki/sys-ftpd/blob/master/LICENSE)
|
||||
* ReiNX is licensed under [GPLv2](https://github.com/Reisyukaku/ReiNX/blob/master/LICENSE.txt)
|
||||
* Rei's forked Atmosphere sysmodules are licensed under [GPLv2](https://github.com/Reisyukaku/NX_Sysmodules/blob/master/LICENSE.txt)
|
||||
* Tinfoil is licensed under [GPLv2](https://github.com/Adubbz/Tinfoil/blob/master/LICENSE)
|
82
README.md
|
@ -1,44 +1,52 @@
|
|||
All-in-One Package ("SDFiles.zip")
|
||||
===========================
|
||||
|
||||
This handy All-in-One package includes everything you need to run Hekate / Atmosphere / ReiNX with some extra patches to enhance your experience.
|
||||
<p align="center">
|
||||
<a href="https://github.com/AtlasNX/Kosmos/releases">
|
||||
<img src="https://user-images.githubusercontent.com/25822956/52866161-64c6e300-313e-11e9-9e3a-87636ed67467.png" alt="AtlasNX Kosmos" />
|
||||
</a>
|
||||
<br />
|
||||
The handy All-in-One package, which includes everything you need to run Atmosphère and Hekate with some extras to enhance your experience.<br /><br />
|
||||
<a href="https://discord.gg/qbRAuy7">
|
||||
<img src="https://discordapp.com/api/guilds/477891535174631424/embed.png?style=banner2" width="320" height="76" alt="Discord Server" />
|
||||
</a>
|
||||
<a href="https://www.patreon.com/atlasnx">
|
||||
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="320" height="75" alt="Patreon" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## Features
|
||||
* Up-to-date package
|
||||
* Firmware launching and sleep mode for every firmware
|
||||
* Starting games after launching the Homebrew Menu works
|
||||
* Splash Screens and instant launch
|
||||
* Game Mods
|
||||
* A background FTP-Server
|
||||
* Atmosphere
|
||||
* ReiNX
|
||||
* Signature Patches
|
||||
* NSP Installation
|
||||
* Automatic Updating through your console
|
||||
* Launching the album by pressing R
|
||||
* Vanilla Atmosphère
|
||||
* Up-to-date packages
|
||||
* Splash screens and instant launch
|
||||
* Background FTP Server
|
||||
* Updating directly from your console
|
||||
* Customize button bindings
|
||||
* Easy drag and drop install
|
||||
* Ability to enable autoboot without touching config files
|
||||
* Starting and reloading system modules without restarting
|
||||
* A very handsome bootlogo by bernv3
|
||||
* The latest and greatest homebrew from the scene
|
||||
* **and much more!**
|
||||
|
||||
## How to use
|
||||
1. Download [Hekate](https://github.com/CTCaer/hekate/releases) or use the payload that comes with the package
|
||||
2. Download the [latest release](https://github.com/tumGER/SDFilesSwitch/releases) of your designated CFW and extract it to the root of your Switch SD card
|
||||
3. Start hekate or ReiNX through e.g. [Fusée Gelée](https://github.com/reswitched/fusee-launcher), [TegraRcmSmash](https://switchtools.sshnuke.net/) or [WebCFWLoader](https://elijahzawesome.github.io/web-cfw-loader/)
|
||||
4. ???
|
||||
5. Profit!
|
||||
Follow this guide: https://guide.teamatlasnx.com
|
||||
|
||||
## Featuring
|
||||
* [Atmosphère](https://github.com/Atmosphere-NX/Atmosphere)
|
||||
* [Switch Homebrew Menu](https://github.com/switchbrew/nx-hbmenu)
|
||||
* [Switch Homebrew Loader](https://github.com/switchbrew/nx-hbloader)
|
||||
* [nx-dreport](https://github.com/Thog/nx-dreport)
|
||||
* [AppstoreNX](https://github.com/vgmoose/appstorenx)
|
||||
* [EdiZon](https://github.com/thomasnet-mc/EdiZon)
|
||||
* [SDFilesUpdater](https://github.com/StevenMattera/SDFilesUpdater)
|
||||
* [Sys-FTPD](https://github.com/jakibaki/sys-ftpd)
|
||||
* [Tinfoil](https://github.com/Adubbz/Tinfoil)
|
||||
* [ReiNX](https://github.com/Reisyukaku/ReiNX)
|
||||
|
||||
## Useful Links
|
||||
* [The GBATemp Thread](https://gbatemp.net/threads/newest-hekate-sdfiles-zip.506280/)
|
||||
* [Twitter](https://twitter.com/_tomGER)
|
||||
* [ReSwitched Discord](https://discordapp.com/invite/ZdqEhed)
|
||||
* [ReiSwitched Discord](https://discord.gg/jgNEsZe)
|
||||
* [EdiZon Discord](https://discord.gg/qyA38T8)
|
||||
* [Hekate](https://github.com/CTCaer/hekate)
|
||||
* [Homebrew App Store](https://gitlab.com/4TU/hb-appstore)
|
||||
* [EdiZon](https://github.com/WerWolv/EdiZon)
|
||||
* [emuiibo](https://github.com/XorTroll/emuiibo)
|
||||
* [Goldleaf](https://github.com/XorTroll/Goldleaf)
|
||||
* [Kosmos Cleaner](https://github.com/AtlasNX/Kosmos-Cleaner)
|
||||
* [Kosmos Toolbox](https://github.com/AtlasNX/Kosmos-Toolbox)
|
||||
* [Kosmos Updater](https://github.com/AtlasNX/Kosmos-Updater)
|
||||
* [ldn_mitm](https://github.com/spacemeowx2/ldn_mitm)
|
||||
* [Lockpick](https://github.com/shchmue/Lockpick)
|
||||
* [Lockpick_RCM](https://github.com/shchmue/Lockpick_RCM)
|
||||
* [nxdumptool](https://github.com/DarkMatterCore/nxdumptool)
|
||||
* [nx-ovlloader](https://github.com/WerWolv/nx-ovlloader)
|
||||
* [ovlSysmodules](https://github.com/WerWolv/ovl-sysmodules)
|
||||
* [Status Monitor Overlay](https://github.com/masagrator/Status-Monitor-Overlay)
|
||||
* [sys-clk](https://github.com/retronx-team/sys-clk)
|
||||
* [sys-con](https://github.com/cathery/sys-con)
|
||||
* [sys-ftpd-light](https://github.com/cathery/sys-ftpd-light)
|
||||
* [Tesla-Menu](https://github.com/WerWolv/Tesla-Menu)
|
||||
|
|
BIN
ReiNX/ReiNX.bin
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "File\\d+\\.bin",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Coin Count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "001C", "0050" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 9999
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,623 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "user\\d\\.dat",
|
||||
"filetype": "json",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Geo count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "geo" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dream orb count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "dreamOrbs" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Simple keys count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "simpleKeys" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Pale ore count",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "ore" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 1000
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Nail Damage",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "nailDamage" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Max Health",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "maxHealthBase" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Charm slot count",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 0 ],
|
||||
"strArgs" : [ "playerData", "charmSlots" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 1,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Gathering Swarm enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_1" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Wayward Compass enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_2" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Grubsong enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_3" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Stalwart Shell enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_4" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Baldur Shell enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_5" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Furry of the Fallen enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_6" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Quick Focus enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_7" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Lifeblood Heart enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_8" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Lifeblood Core enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_9" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Defender's Crest enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_10" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Flukenest enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_11" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Thorns of Agony enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_12" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mark of Pride enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_13" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Steady body enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_14" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Heavy Bow enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_15" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Sharp Shadow enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_16" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Spore Shroom enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_17" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Longnail enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_18" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Shaman Stone enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_19" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Soul Catcher enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_20" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Soul Eater enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_21" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Glowing Womb enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_22" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Fragile Heart enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_23" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Fragile Greed enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_24" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Fragile Strength enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_25" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Nailmaster's Glory enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_26" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Joni's Blessing enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_27" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Shape of Unn enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_28" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Hiveblood enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_29" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dream Wielder enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_30" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dashmaster enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_31" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Quick Slash enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_32" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Spell Twister enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_33" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Deep Focus enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_34" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Grubberfly's Elegy enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_35" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Void Soul enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_36" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Sprintmaster enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_37" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dreamshield enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_38" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Weaversong enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_39" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Grimmchild / Carefree Melody enabled",
|
||||
"category" : "Charms",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "gotCharm_40" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mothwing Cloak enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDash" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Shadow Mothwing Cloak enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasShadowDash" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mantis Claw enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasWalljump" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Crystal Dash enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasSuperDash" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Monarch Wings enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDoubleJump" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dreamnail enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDreamNail" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dream Gate enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasDreamGate" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Dreamnail Upgrade enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "dreamNailUpgraded" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Ismas enabled",
|
||||
"category" : "Abilities",
|
||||
"intArgs" : [ 1 ],
|
||||
"strArgs" : [ "playerData", "hasAcidArmour" ],
|
||||
"widget" : {
|
||||
"type" : "bool",
|
||||
"onValue" : 1,
|
||||
"offValue" : 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,177 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "File\\d+\\data00",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Halos",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF64",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 9999
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Compound Green",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF7C",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Compound Yellow",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF78",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Compound Red",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF80",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Green Herb",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF84",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Green Herb",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF88",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Purple_Magic",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF8C",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Purple Magic",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF90",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Bloody Rose",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF94",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Bloody Rose",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF98",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Yellow Moon",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EF9C",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Mega Yellow Moon",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFA0",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Broken Heart",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFA4",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Broken Pearl",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFA8",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Arcade Bullet",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFAC",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Red Hot Shot",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFB0",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
{
|
||||
"name" : "Magic Flute",
|
||||
"offsetAddress" : "0",
|
||||
"address" : "EFB4",
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,238 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "save\\d\\d\\d\\d\\.sav",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Halos",
|
||||
"category" : "Halos",
|
||||
"intArgs" : [ 2, 4 ],
|
||||
"strArgs" : [ "0000", "A3B0" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mandragora Root",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3E4" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Baked Gecko",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3DC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Unicorn Horn",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3D4" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Yellow Moon Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3EC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mega Bloody Rose Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3F4" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Bloody Rose Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A3FC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mega Purple Magic Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A404" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Purple Magic Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A40C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mega Green Herb Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A414" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Green Herb Lollipop",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A41C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 11",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A424" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 12",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A42C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Witchs Recipes",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A434" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 14",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A43C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 15",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A444" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 16",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A44C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 17",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A454" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 18",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A45C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 19",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A464" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "item 20",
|
||||
"category" : "Items",
|
||||
"intArgs" : [ 2, 2 ],
|
||||
"strArgs" : [ "0000", "A46C" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,85 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "3" ],
|
||||
"files" : "game_data\\.sav",
|
||||
"filetype": "bin",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Rupee",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "EAF8" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Mons",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "D7FA8" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Gerudoo Relic uses remaining",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "89968" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Goron Relic uses remaining",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "E7BA0" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Rito Relic uses remaining.",
|
||||
"category" : "Collectibles",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "F9CC8" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 99
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Hearts",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "10970" ],
|
||||
"widget" : {
|
||||
"type" : "list",
|
||||
"listItemNames" : [ "1 Heart", "2 Hearts", "3 Hearts", "4 Hearts", "5 Hearts", "6 Hearts", "7 Hearts", "8 Hearts", "9 Hearts", "10 Hearts", "11 Hearts", "12 Hearts", "13 Hearts", "14 Hearts", "15 Hearts", "16 Hearts", "17 Hearts", "18 Hearts", "19 Hearts", "20 Hearts", "21 Hearts", "22 Hearts", "23 Hearts", "24 Hearts", "25 Hearts", "26 Hearts", "27 Hearts", "28 Hearts", "29 Hearts", "30 Hearts" ],
|
||||
"listItemValues" : [ 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120 ]
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "Stamina",
|
||||
"category" : "Stats",
|
||||
"intArgs" : [ 4, 4 ],
|
||||
"strArgs" : [ "0000", "0503C8" ],
|
||||
"widget" : {
|
||||
"type" : "list",
|
||||
"listItemNames" : [ "1 Wheel of Stamina", "1 & 1/5 Wheels of Stamina", "1 & 2/5 Wheels of Stamina", "1 & 3/5 Wheels of Stamina", "1 & 4/5 Wheels of Stamina", "2 Wheels of Stamina", "2 & 1/5 Wheels of Stamina", "2 & 2/5 Wheels of Stamina", "2 & 3/5 Wheels of Stamina", "2 & 4/5 Wheels of Stamina", "3 Wheels of Stamina" ],
|
||||
"listItemValues" : [ 1148846080, 1150681088, 1152319488, 1153957888, 1155596288, 1157234688, 1158250496, 1159069696, 1159888896, 1160708096, 1161527296 ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"saveFilePaths" : [ "" ],
|
||||
"files" : "setsuna\\d\\d\\.dat",
|
||||
"filetype": "setsuna",
|
||||
"items": [
|
||||
{
|
||||
"name" : "Gold",
|
||||
"category" : "Inventory",
|
||||
"intArgs" : [ 2, 4 ],
|
||||
"strArgs" : [ "0000", "00CC" ],
|
||||
"widget" : {
|
||||
"type" : "int",
|
||||
"minValue" : 0,
|
||||
"maxValue" : 999999999
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|