v15.6
* Added Gamecard Installer NX to Kosmos.
* Updated README to include Gamecard Installer NX.
* Removed Gamecard Installer NX
* Forgot to remove code.
* Lets try this again.
* Removed the nichole logo. Thank you team! 💖
* Added Kosmos Cleaner.
* Fixed emuiibo
* Fixed sys-clk
* Added some additional files to ignore.
* Make the shebang specifically python3.
* Fixed hekate module for SDSetup.
This commit is contained in:
parent
260c089056
commit
59deacbc77
|
@ -1,5 +1,7 @@
|
|||
config.py
|
||||
.vscode
|
||||
tmp/
|
||||
*.zip
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Kosmos Builder
|
||||
# Copyright (C) 2020 Nichole Mattera
|
||||
|
|
|
@ -102,6 +102,23 @@
|
|||
"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
|
||||
},
|
||||
"sdsetup": {
|
||||
"included": true,
|
||||
"name": "kosmos_cleaner"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Kosmos Toolbox",
|
||||
"download_function_name": "download_kosmos_toolbox",
|
||||
|
|
|
@ -128,7 +128,6 @@ def download_atmosphere(module, temp_directory, kosmos_version, kosmos_build):
|
|||
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'))
|
||||
common.copy_module_folder('atmosphere', 'exefs_patches', os.path.join(temp_directory, 'atmosphere', 'exefs_patches'))
|
||||
|
||||
if not kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'hbmenu.nro'))
|
||||
|
@ -158,8 +157,9 @@ def download_hekate(module, temp_directory, kosmos_version, kosmos_build):
|
|||
|
||||
if not kosmos_build:
|
||||
common.mkdir(os.path.join(temp_directory, '..', 'must_have'))
|
||||
shutil.move(os.path.join(temp_directory, 'bootloader'), os.path.join(temp_directory, '..', 'must_have'))
|
||||
shutil.move(os.path.join(temp_directory, 'atmosphere'), os.path.join(temp_directory, '..', 'must_have'))
|
||||
shutil.move(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 release.tag_name
|
||||
|
||||
|
@ -200,8 +200,10 @@ def download_emuiibo(module, temp_directory, kosmos_version, kosmos_build):
|
|||
|
||||
common.delete_path(bundle_path)
|
||||
common.mkdir(os.path.join(temp_directory, 'atmosphere', 'contents'))
|
||||
shutil.move(os.path.join(temp_directory, 'contents', '0100000000000352'), os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352'))
|
||||
common.delete_path(os.path.join(temp_directory, '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'))
|
||||
|
@ -219,6 +221,17 @@ def download_goldleaf(module, temp_directory, kosmos_version, kosmos_build):
|
|||
|
||||
return release.tag_name
|
||||
|
||||
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 release.tag_name
|
||||
|
||||
def download_kosmos_toolbox(module, temp_directory, kosmos_version, kosmos_build):
|
||||
release = get_latest_release(module)
|
||||
app_path = download_asset(module, release, 0)
|
||||
|
@ -341,9 +354,6 @@ def download_sys_clk(module, temp_directory, kosmos_version, kosmos_build):
|
|||
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, 'atmosphere', 'titles', '00FF0000636C6BFF'), os.path.join(temp_directory, 'atmosphere', 'contents', '00FF0000636C6BFF'))
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'titles'))
|
||||
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'))
|
||||
|
|
|
@ -36,6 +36,7 @@ Follow this guide: https://guide.teamatlasnx.com
|
|||
* [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)
|
||||
|
|
Reference in New Issue