diff --git a/Alchemist/package.ini b/Alchemist/package.ini index 2cbb4e0..9343eb6 100644 --- a/Alchemist/package.ini +++ b/Alchemist/package.ini @@ -1,97 +1,148 @@ -;title='Alchemist ' +;title='Alchemist' +;display_title='Alchemist ' ;creator=ppkantorski ;version=1.0.0 ;about='This package was designed for managing, converting, and installing mods.' -;color=#8e43f7 +;credits='Special thanks to Fl4sh9174, KeatonTheBot, StevensND, cucholix and theboy181.' +;color=#a264fa ;show_widget=true -[Software Update] +[@Enhance] -[Update Alchemist] -try: -delete /config/ultrahand/downloads/Alchemist.zip -download http://github.com/ppkantorski/Alchemist/releases/latest/download/Alchemist.zip /config/ultrahand/downloads/ -unzip /config/ultrahand/downloads/Alchemist.zip / -delete /config/ultrahand/downloads/Alchemist.zip +[gap] +;mode=table +;background=false +;gap=10 -[*Update Repos] +[Title ID] +;mode=table +;polling=true +'Title ID'='{title_id}' -[Update All] -try: -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/Fl4sh9174_pchtxts.zip ./../repos/ -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/KeatonTheBot_pchtxts.zip ./../repos/ -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/StevensND_pchtxts.zip ./../repos/ -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/cucholix_pchtxts.zip ./../repos/ -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/theboy181_pchtxts.zip ./../repos/ -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/cucholix_contents.zip ./../repos/ +[Manage Mods] -delete './../repos/pchtxts/*/' -delete './../repos/contents/*/' +[*exeFS Patches] +;mode=forwarder +package_source ./include/exefs_patches.ini + + +[*Contents Mods?1] +;mode=forwarder +package_source ./include/contents_mods.ini + + +[Convert pchtxt] + +[*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}" -unzip './../repos/Fl4sh9174_pchtxts.zip' './../repos/pchtxts/Fl4sh9174/' -unzip './../repos/KeatonTheBot_pchtxts.zip' './../repos/pchtxts/KeatonTheBot/' -unzip './../repos/StevensND_pchtxts.zip' './../repos/pchtxts/StevensND/' -unzip './../repos/cucholix_pchtxts.zip' './../repos/pchtxts/cucholix/' -unzip './../repos/theboy181_pchtxts.zip' './../repos/pchtxts/theboy181/' -unzip './../repos/cucholix_contents.zip' './../repos/contents/cucholix/' -download https://raw.githubusercontent.com/ppkantorski/Alchemist-Repos/refs/heads/main/RELEASE.ini ./../repos/CURRENT.ini [gap] ;mode=table ;background=false ;gap=20 -[Fl4sh9174's Mods] -try: -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/Fl4sh9174_pchtxts.zip ./../repos/ -delete './../repos/pchtxts/Fl4sh9174/' -unzip './../repos/Fl4sh9174_pchtxts.zip' './../repos/pchtxts/Fl4sh9174/' +[*Delete pchtxt] +;grouping=split2 +file_source './pchtxts/*/*.pchtxt' +delete "{file_source}" -[KeatonTheBot's Mods] -try: -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/KeatonTheBot_pchtxts.zip ./../repos/ -delete './../repos/pchtxts/KeatonTheBot/' -unzip './../repos/KeatonTheBot_pchtxts.zip' './../repos/pchtxts/KeatonTheBot/' -[StevensND's Mods] -try: -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/StevensND_pchtxts.zip ./../repos/ -delete './../repos/pchtxts/StevensND/' -unzip './../repos/StevensND_pchtxts.zip' './../repos/pchtxts/StevensND/' -[cucholix's Mods] -try: -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/cucholix_pchtxts.zip ./../repos/ -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/cucholix_contents.zip ./../repos/ +[@Integrate] -delete './../repos/pchtxts/cucholix/' -delete './../repos/contents/cucholix/' - -unzip './../repos/cucholix_pchtxts.zip' './../repos/pchtxts/cucholix/' -unzip './../repos/cucholix_contents.zip' './../repos/contents/cucholix/' - -[theboy181's Mods] -try: -download https://github.com/ppkantorski/Alchemist-Repos/releases/latest/download/theboy181_pchtxts.zip ./../repos/ -delete './../repos/pchtxts/theboy181/' -unzip './../repos/theboy181_pchtxts.zip' './../repos/pchtxts/theboy181/' - -[Software Update] - -[Package Info] - -[Repos Info] - -[Repos Info Table] +[gap] ;mode=table -;alignment=left -;offset=120 -;spacing=3 +;background=false +;gap=10 -ini_file ./../repos/CURRENT.ini -'Release'='{ini_file("Release Info",latest_version)}' -'Credits'='Special thanks to Fl4sh9174,' -''='KeatonTheBot, StevensND,' -''='cucholix and theboy181 for' -''='their awesome mods. ♥' +[Title ID] +;mode=table +;polling=true +'Title ID'='{title_id}' + +[Mod Repos] + +[*Install pchtxt] +;mode=forwarder +package_source ./include/pchtxt_install.ini + + +[*Install Contents] +;mode=forwarder +package_source ./include/contents_install.ini + + + +[Miscellaneous] +[*Tools] +[Dot Clean] +dot-clean '/atmosphere/' +dot-clean '/switch/' +dot-clean '/config/' + +[gap] +;mode=table +;background=false +;gap=10 + +[Dot Clean Info] +;mode=table +;background=false +;alignment=left +;offset=38 +;spacing=10 +''='Remove all files that begin with `._` within' +''='`/atmosphere/`, `/switch/`, and `/config/`.' + +[gap] +;mode=table +;background=false +;gap=14 + +[Dot Clean All] +dot-clean '/' + +[gap] +;mode=table +;background=false +;gap=10 + +[Dot Clean All Info] +;mode=table +;background=false +;alignment=left +;offset=38 +;spacing=10 +''='Remove all files that begin with `._`.' + +[Miscellaneous] +[*Software Update] +;mode=forwarder + +package_source ./include/software_update.ini + +try: +delete ./RELEASE.ini +set-ini-val ./include/config.ini 'Update Alchemist' footer '' +delete ./repos/RELEASE.ini +set-ini-val ./include/config.ini '*Update Repos' footer '' +set-ini-val ./include/config.ini 'Update All' footer '' + +download https://raw.githubusercontent.com/ppkantorski/Mod-Alchemist/refs/heads/main/RELEASE.ini ./RELEASE.ini +ini_file ./RELEASE.ini +set-ini-val ./include/config.ini 'Update Alchemist' footer '{ini_file(Release Info,latest_version)}' + +download https://raw.githubusercontent.com/ppkantorski/Mod-Alchemist-Repos/refs/heads/main/RELEASE.ini ./repos/RELEASE.ini +ini_file ./repos/RELEASE.ini +set-ini-val ./include/config.ini '*Update Repos' footer '{ini_file(Release Info,latest_version)}' +set-ini-val ./include/config.ini 'Update All' footer '{ini_file(Release Info,latest_version)}'