From 3d45dfdd8a9ffc48ef78dab386ef29c5ebced723 Mon Sep 17 00:00:00 2001 From: ppkantorski <6467366+ppkantorski@users.noreply.github.com> Date: Sat, 23 Aug 2025 21:44:23 -0700 Subject: [PATCH] Add files via upload --- Mod Alchemist/include/contents_install.ini | 16 ++- Mod Alchemist/include/pchtxt_install.ini | 17 ++- Mod Alchemist/include/software_update.ini | 81 +++++++++++++++ Mod Alchemist/package.ini | 114 ++++++++++----------- 4 files changed, 161 insertions(+), 67 deletions(-) create mode 100644 Mod Alchemist/include/software_update.ini diff --git a/Mod Alchemist/include/contents_install.ini b/Mod Alchemist/include/contents_install.ini index e8c5a38..284b13b 100644 --- a/Mod Alchemist/include/contents_install.ini +++ b/Mod Alchemist/include/contents_install.ini @@ -13,6 +13,16 @@ [Install Contents] +[*Active?contents_repo] +;grouping=split2 +file_source './../repos/contents/*/*/{title_id}/' +cp "{file_source}" './../contents/{folder_name}/' + +[gap] +;mode=table +;background=false +;gap=20 + [*Repos?2] ;mode=forwarder package_source ./contents_repos.ini @@ -25,11 +35,11 @@ package_source ./contents_repos.ini [*Search Results?contents_repo] ;grouping=split2 ini_file './config.ini' -file_source './repos/contents/*/*{ini_file("*Search Pattern?contents_repo",footer)}*/*/' -cp "{file_source}" './contents/{folder_name}/' +file_source './../repos/contents/*/*{ini_file("*Search Pattern?contents_repo",footer)}*/*/' +cp "{file_source}" './../contents/{folder_name}/' [*Search Pattern?contents_repo] ;mode=option -list_file_source './search_patterns.txt' +list_file_source './../search_patterns.txt' set-footer '{list_file_source(*)}' \ No newline at end of file diff --git a/Mod Alchemist/include/pchtxt_install.ini b/Mod Alchemist/include/pchtxt_install.ini index 312821f..c322d10 100644 --- a/Mod Alchemist/include/pchtxt_install.ini +++ b/Mod Alchemist/include/pchtxt_install.ini @@ -13,6 +13,17 @@ [Install pchtxt] +[*Active?pchtxt_repo] +;grouping=split2 +logging +file_source './../repos/pchtxts/*/*/*.pchtxt-*{title_id}*' +cp "{slice({file_source},0,{math({length({file_source})}-17)})}" './../pchtxts/{folder_name}/' + +[gap] +;mode=table +;background=false +;gap=20 + [*Repos?1] ;mode=forwarder package_source ./pchtxt_repos.ini @@ -25,11 +36,11 @@ package_source ./pchtxt_repos.ini [*Search Results?pchtxt_repo] ;grouping=split2 ini_file './config.ini' -file_source './repos/pchtxts/*/*{ini_file("*Search Pattern?pchtxt_repo",footer)}*/*.pchtxt' -cp "{file_source}" './pchtxts/{folder_name}/' +file_source './../repos/pchtxts/*/*{ini_file("*Search Pattern?pchtxt_repo",footer)}*/*.pchtxt' +cp "{file_source}" './../pchtxts/{folder_name}/' [*Search Pattern?pchtxt_repo] ;mode=option -list_file_source './search_patterns.txt' +list_file_source './../search_patterns.txt' set-footer '{list_file_source(*)}' diff --git a/Mod Alchemist/include/software_update.ini b/Mod Alchemist/include/software_update.ini new file mode 100644 index 0000000..483d037 --- /dev/null +++ b/Mod Alchemist/include/software_update.ini @@ -0,0 +1,81 @@ +;title='Mod Alchemist' +;creator=ppkantorski +;version=0.6.0 +;about='This package was designed for managing, converting, and installing mods.' +;credits='Special thanks to Fl4sh9174, KeatonTheBot, StevensND, cucholix and theboy181.' +;color=#8e43f7 + +[Software Update] + +[Update Mod Alchemist] +try: +delete /config/ultrahand/downloads/Mod.Alchemist.zip +download http://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/Mod.Alchemist.zip /config/ultrahand/downloads/ +unzip /config/ultrahand/downloads/Mod.Alchemist.zip / +delete /config/ultrahand/downloads/Mod.Alchemist.zip + +[*Update Repos] + +[Update All] +try: +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/Fl4sh9174.zip ./../repos/ +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/KeatonTheBot.zip ./../repos/ +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/StevensND.zip ./../repos/ +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/cucholix.zip ./../repos/ +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/theboy181.zip ./../repos/ +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/cucholix_contents.zip ./../repos/ + +delete './../repos/pchtxts/*/' +delete './../repos/contents/*/' + +unzip './../repos/Fl4sh9174.zip' './../repos/pchtxts/Fl4sh9174/' +unzip './../repos/KeatonTheBot.zip' './../repos/pchtxts/KeatonTheBot/' +unzip './../repos/StevensND.zip' './../repos/pchtxts/StevensND/' +unzip './../repos/cucholix.zip' './../repos/pchtxts/cucholix/' +unzip './../repos/theboy181.zip' './../repos/pchtxts/theboy181/' + +unzip './../repos/cucholix_contents.zip' './../repos/contents/cucholix/' + +[gap] +;mode=table +;background=false +;gap=20 + +[Fl4sh9174's Mods] +try: +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/Fl4sh9174.zip ./../repos/ +delete './../repos/pchtxts/Fl4sh9174/' +unzip './../repos/Fl4sh9174.zip' './../repos/pchtxts/Fl4sh9174/' + +[KeatonTheBot's Mods] +try: +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/KeatonTheBot.zip ./../repos/ +delete './../repos/pchtxts/KeatonTheBot/' +unzip './../repos/KeatonTheBot.zip' './../repos/pchtxts/KeatonTheBot/' + +[StevensND's Mods] +try: +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/StevensND.zip ./../repos/ +delete './../repos/pchtxts/StevensND/' +unzip './../repos/StevensND.zip' './../repos/pchtxts/StevensND/' + +[cucholix's Mods] +try: +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/cucholix.zip ./../repos/ +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/cucholix_contents.zip ./../repos/ + +delete './../repos/pchtxts/cucholix/' +delete './../repos/contents/cucholix/' + +unzip './../repos/cucholix.zip' './../repos/pchtxts/cucholix/' +unzip './../repos/cucholix_contents.zip' './../repos/contents/cucholix/' + +[theboy181's Mods] +try: +download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/theboy181.zip ./../repos/ +delete './../repos/pchtxts/theboy181/' +unzip './../repos/theboy181.zip' './../repos/pchtxts/theboy181/' + +[Software Update] + +[Package Info] \ No newline at end of file diff --git a/Mod Alchemist/package.ini b/Mod Alchemist/package.ini index 3bef0a6..f93ff90 100644 --- a/Mod Alchemist/package.ini +++ b/Mod Alchemist/package.ini @@ -1,6 +1,6 @@ ;title='Mod Alchemist' ;creator=ppkantorski -;version=0.5.5 +;version=0.6.0 ;about='This package was designed for managing, converting, and installing mods.' ;credits='Special thanks to Fl4sh9174, KeatonTheBot, StevensND, cucholix and theboy181.' ;color=#8e43f7 @@ -29,7 +29,7 @@ package_source ./include/exefs_patches.ini package_source ./include/contents_mods.ini -[Convert Mods] +[Convert pchtxts] [*pchtxt  ips] ;grouping=split2 @@ -44,12 +44,10 @@ pchtxt2cheat "{file_source}" - -#[gap] -#;mode=table -#;background=false -#;gap=16 - +[gap] +;mode=table +;background=false +;gap=20 [*Delete pchtxt] ;grouping=split2 @@ -99,72 +97,66 @@ package_source ./include/contents_install.ini -[*Extract Repos] - -[Extract All] -unzip './repos/pchtxts/Fl4sh9174.zip' './repos/pchtxts/Fl4sh9174/' -unzip './repos/pchtxts/KeatonTheBot.zip' './repos/pchtxts/KeatonTheBot/' -unzip './repos/pchtxts/StevensND.zip' './repos/pchtxts/StevensND/' -unzip './repos/pchtxts/cucholix.zip' './repos/pchtxts/cucholix/' -unzip './repos/pchtxts/theboy181.zip' './repos/pchtxts/theboy181/' - -unzip './repos/contents/cucholix.zip' './repos/contents/cucholix/' +[Miscellaneous] +[*Tools] +[Dot Clean] +dot-clean '/atmosphere/' +dot-clean '/switch/' +dot-clean '/config/' [gap] ;mode=table ;background=false -;gap=20 +;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/`.' -[Fl4sh9174's Mods] -unzip './repos/pchtxts/Fl4sh9174.zip' './repos/pchtxts/Fl4sh9174/' +[gap] +;mode=table +;background=false +;gap=14 -[KeatonTheBot's Mods] -unzip './repos/pchtxts/KeatonTheBot.zip' './repos/pchtxts/KeatonTheBot/' +[Dot Clean All] +dot-clean '/' -[StevensND's Mods] -unzip './repos/pchtxts/StevensND.zip' './repos/pchtxts/StevensND/' +[gap] +;mode=table +;background=false +;gap=10 -[cucholix's Mods] -unzip './repos/pchtxts/cucholix.zip' './repos/pchtxts/cucholix/' -unzip './repos/contents/cucholix.zip' './repos/contents/cucholix/' +[Dot Clean All Info] +;mode=table +;background=false +;alignment=left +;offset=38 +;spacing=10 +''='Remove all files that begin with `._`.' -[theboy181's Mods] -unzip './repos/pchtxts/theboy181.zip' './repos/pchtxts/theboy181/' - - - -[Tools] +[Miscellaneous] [*Software Update] +;mode=forwarder -[Update Mod Alchemist] -try: -delete /config/ultrahand/downloads/Mod.Alchemist.zip -download http://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/Mod.Alchemist.zip /config/ultrahand/downloads/ -unzip /config/ultrahand/downloads/Mod.Alchemist.zip / -delete /config/ultrahand/downloads/Mod.Alchemist.zip - -[Update Repos + Extract] +package_source ./include/software_update.ini try: -download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/Fl4sh9174.zip ./repos/ -download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/KeatonTheBot.zip ./repos/ -download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/StevensND.zip ./repos/ -download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/cucholix.zip ./repos/ -download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/theboy181.zip ./repos/ -download https://github.com/ppkantorski/Mod-Alchemist/releases/latest/download/cucholix_contents.zip ./repos/ +delete ./RELEASE.ini +set-ini-val ./include/config.ini 'Update Mod Alchemist' footer '' +delete ./repos/RELEASE.ini +set-ini-val ./include/config.ini '*Update Repos' footer '' +set-ini-val ./include/config.ini 'Update All' footer '' -delete './repos/pchtxts/*.zip' -delete './repos/contents/*.zip' -delete './repos/pchtxts/*/' -delete './repos/contents/*/' +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 Mod Alchemist' footer '{ini_file(Release Info,latest_version)}' -unzip './repos/Fl4sh9174.zip' './repos/pchtxts/Fl4sh9174/' -unzip './repos/KeatonTheBot.zip' './repos/pchtxts/KeatonTheBot/' -unzip './repos/StevensND.zip' './repos/pchtxts/StevensND/' -unzip './repos/cucholix.zip' './repos/pchtxts/cucholix/' -unzip './repos/theboy181.zip' './repos/pchtxts/theboy181/' - -unzip './repos/cucholix_contents.zip' './repos/contents/cucholix/' - -[Package Info] +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)}' \ No newline at end of file