Files
Alchemist/Mod Alchemist/package.ini
2024-07-09 06:40:47 -07:00

265 lines
6.2 KiB
INI

;title='Mod Alchemist'
;creator=ppkantorski
;version=0.4.5
;about='This package was designed for managing, converting, and installing mods.'
;credits='Fl4sh9174, KeatonTheBot, StevensND, theboy181'
;color=#8e43f7
[@Enhance]
[Active Mods]
[*exeFS Patches?1]
[*Toggle?1]
;mode=toggle
;grouping=split3
filter /atmosphere/exefs_patches/am/
filter /atmosphere/exefs_patches/es_patches/
filter /atmosphere/exefs_patches/nfim_ctest/
filter /atmosphere/exefs_patches/vi_patches/
filter /atmosphere/exefs_patches/NxThemesInstaller/
on:
filter /atmosphere/exefs_patches/.offload/
file_source /atmosphere/exefs_patches/*/
mkdir /atmosphere/exefs_patches/.offload/
move {file_source} /atmosphere/exefs_patches/.offload/{file_name}/
off:
file_source /atmosphere/exefs_patches/.offload/*/
move {file_source} /atmosphere/exefs_patches/{file_name}/
[*Delete?1]
;grouping=split3
filter /atmosphere/exefs_patches/am/
filter /atmosphere/exefs_patches/es_patches/
filter /atmosphere/exefs_patches/nfim_ctest/
filter /atmosphere/exefs_patches/vi_patches/
filter /atmosphere/exefs_patches/NxThemesInstaller/
file_source /atmosphere/exefs_patches/.offload/*/
file_source /atmosphere/exefs_patches/*/
delete {file_source}
[gap]
;mode=table
;background=false
;gap=20
[exefs info]
;mode=table
;background=false
;alignment=left
;offset=20
;spacing=10
''='Your installed IPS mods will show up here.'
[Active Mods]
[*Contents Mods?1]
[*Toggle?2]
;mode=toggle
;grouping=split3
on:
file_source './contents/.onload/*/'
mirror_delete {file_source} /atmosphere/contents/
move {file_source} './contents/{file_name}/'
off:
filter './contents/.onload/'
file_source './contents/*/'
mirror_copy {file_source} /atmosphere/contents/
move {file_source} './contents/.onload/{file_name}/'
[*Delete?2]
;grouping=split3
file_source './contents/.onload/*/'
file_source './contents/*/'
mirror_delete {file_source} /atmosphere/contents/
delete {file_source}
[gap]
;mode=table
;background=false
;gap=20
[contents info]
;mode=table
;background=false
;alignment=left
;offset=6
;spacing=10
'For managing content mods installed in'=''
''='"/switch/.packages/Mod Alchemist/contents/"'
[Active Mods]
[*Toggle Groups]
[*Search Pattern?active]
;mode=option
list_file_source './search_patterns.txt'
set-footer '{list_file_source(*)}'
[*Search Results?active]
;grouping=split2
file_source './repos/*/*{ini_file("*Search Pattern?repo",footer)}*/*.pchtxt'
;mode=toggle
;grouping=split3
ini_file './config.ini'
on:
filter /atmosphere/exefs_patches/.offload/
file_source '/atmosphere/exefs_patches/*{ini_file("*Search Pattern?repo",footer)}*/
file_source './contents/.onload/*/*{ini_file("*Search Pattern?repo",footer)}*/'
mirror_delete {file_source} /atmosphere/contents/
move {file_source} './contents/{file_name}/'
off:
filter './contents/.onload/'
file_source './contents/*/'
mirror_copy {file_source} /atmosphere/contents/
move {file_source} './contents/.onload/{file_name}/'
[Enable All]
ini_file './config.ini'
move '/atmosphere/exefs_patches/.offload/*{ini_file("*Search Pattern",footer)}*/' /atmosphere/exefs_patches/
mirror_copy './contents/*{ini_file("*Search Pattern",footer)}*/' /atmosphere/contents/
move './contents/*{ini_file("*Search Pattern",footer)}*/' ./contents/.onload/
[Disable All]
ini_file './config.ini'
move '/atmosphere/exefs_patches/*{ini_file("*Search Pattern",footer)}*/' /atmosphere/exefs_patches/.offload/
mirror_delete './contents/.onload/*{ini_file("*Search Pattern",footer)}*/' /atmosphere/contents/
move './contents/.onload/*{ini_file("*Search Pattern",footer)}*/' ./contents/
[gap]
;mode=table
;background=false
;gap=20
[group info]
;mode=table
;background=false
;alignment=left
;offset=7
;spacing=10
''='Patterns can be added to "search_patterns.txt"'
[Convert Mods]
[*pchtxt -> ips]
;grouping=split2
file_source './pchtxts/*/*.pchtxt'
mkdir "/atmosphere/exefs_patches/{folder_name}/"
pchtxt2ips "{file_source}" "/atmosphere/exefs_patches/{folder_name}/"
[*pchtxt -> cheat]
;grouping=split2
file_source './pchtxts/*/*.pchtxt'
pchtxt2cheat "{file_source}"
#[gap]
#;mode=table
#;background=false
#;gap=16
[*Delete pchtxt]
;grouping=split2
file_source './pchtxts/*/*.pchtxt'
delete "{file_source}"
#[gap]
#;mode=table
#;background=false
#;gap=20
#
#[pchtxt info]
#;mode=table
#;background=false
#;alignment=left
#;offset=9
#;spacing=10
#
#'"/{GAME} - {MOD}/{VERSION}.pchtxt" go in'=''
#''='"/switch/.packages/Mod Alchemist/pchtxts/"'
[@Integrate]
[Mod Repos]
[*Install pchtxt]
[*Fl4sh9174's Mods]
;grouping=split2
file_source './repos/Fl4sh9174/*/*.pchtxt'
cp "{file_source}" './pchtxts/{folder_name}/'
[*KeatonTheBot's Mods]
;grouping=split2
file_source './repos/KeatonTheBot/*/*.pchtxt'
cp "{file_source}" './pchtxts/{folder_name}/'
[*StevensND's Mods]
;grouping=split2
file_source './repos/StevensND/*/*.pchtxt'
cp "{file_source}" './pchtxts/{folder_name}/'
[*theboy181's Mods]
;grouping=split2
file_source './repos/theboy181/*/*.pchtxt'
cp "{file_source}" './pchtxts/{folder_name}/'
[gap]
;mode=table
;background=false
;gap=40
[*Search Pattern?repo]
;mode=option
list_file_source './search_patterns.txt'
set-footer '{list_file_source(*)}'
[*Search Results?repo]
;grouping=split2
ini_file './config.ini'
file_source './repos/*/*{ini_file("*Search Pattern?repo",footer)}*/*.pchtxt'
cp "{file_source}" './pchtxts/{folder_name}/'
[*Extract Repos]
[Fl4sh9174's Mods]
unzip './repos/Fl4sh9174.zip' './repos/Fl4sh9174/'
[KeatonTheBot's Mods]
unzip './repos/KeatonTheBot.zip' './repos/KeatonTheBot/'
[StevensND's Mods]
unzip './repos/StevensND.zip' './repos/StevensND/'
[theboy181's Mods]
unzip './repos/theboy181.zip' './repos/theboy181/'
[Software Update]
[Update Mod Alchemist]
try:
delete /config/ultrahand/downloads/mod_alchemist/
mkdir /config/ultrahand/downloads/mod_alchemist/
download https://github.com/ppkantorski/Mod-Alchemist/archive/refs/heads/main.zip /config/ultrahand/downloads/mod_alchemist/
unzip /config/ultrahand/downloads/mod_alchemist/main.zip /config/ultrahand/downloads/mod_alchemist/
mv './search_patterns.txt' '/config/ultrahand/downloads/mod_alchemist/Mod-Alchemist-main/Mod Alchemist/search_patterns.txt'
mv '/config/ultrahand/downloads/mod_alchemist/Mod-Alchemist-main/Mod Alchemist/' ./
[Package Info]