From c34954c4b625c6d732dbd55accc962a9a771e07e Mon Sep 17 00:00:00 2001 From: theheroGAC Date: Thu, 27 Sep 2018 15:53:41 +0200 Subject: [PATCH] Add files via upload --- git/shared.lua | 2 +- lang/JAPANESE.txt | 10 ++++++++++ sce_sys/livearea/contents/template.xml | 2 +- sce_sys/param.sfo | Bin 912 -> 912 bytes scripts/autoplugin.lua | 3 +-- scripts/onlinep.lua | 2 +- scripts/pmanager.lua | 18 +++++++++++++++++- 7 files changed, 31 insertions(+), 6 deletions(-) diff --git a/git/shared.lua b/git/shared.lua index 35c8b88d..891a6101 100644 --- a/git/shared.lua +++ b/git/shared.lua @@ -4,5 +4,5 @@ APP_REPO = "theheroGAC" APP_PROJECT = "Autoplugin" APP_VERSION_MAJOR = 0x03 -- major.minor -APP_VERSION_MINOR = 0x50 +APP_VERSION_MINOR = 0x51 APP_VERSION = ((APP_VERSION_MAJOR << 0x18) | (APP_VERSION_MINOR << 0x10)) -- Union Binary diff --git a/lang/JAPANESE.txt b/lang/JAPANESE.txt index f50f3c7b..0320dbb2 100644 --- a/lang/JAPANESE.txt +++ b/lang/JAPANESE.txt @@ -20,6 +20,7 @@ MENU_CONVERTBOOTSPLASH = "カスタムブートスプラッシュを設定" MENU_INSTALL_NPDRMFREE = "Adrenaline用npdrm_freeプラグインインストール(by qwikrazor87)" MENU_INSTALL_CONFIG = "PKGJ v0.34+のconfig.txtインストール" MENU_INSTALL_REMASTERED_CTRLS = "Adrenaline用RemasteredControlsプラグインインストール(by Theflow)" +MENU_CHECK_ONLINEP = "プラグインのアップデートを確認する" MENU_EXIT = "アプリを終了" MENU_INSTALLED_CONFIG = "pkgj用のconfig.txtはux0:pkgi/config.txtへインストールされます!" @@ -41,6 +42,7 @@ INSTALLP_SQUARE_MARK = "□ボタンでインストールするプラグイ INSTALLP_TRIANGLE_ALL = "△ボタンですべてのプラグインをインストール" INSTALLP_SELECT_CLEAN = "SELECTボタンで選択したプラグインを解除" INSTALLP_LR_SWAP = "L/Rトリガーでux0:/ur0:を切り替え" +INSTALLP_CUSTOM_PATH = "△ボタンでカスタムパスにインストール" INSTALLP_VITABRIGHT_360 = "Vitabrightは3.60のみ適用" INSTALLP_CWARNING_360_365 = "「ご注意」表示のカスタマイズは3.67/3.68では機能しません(Ensoのみ動作可)" @@ -79,6 +81,14 @@ PSPCTRLS_LR_SWAP = "L/Rトリガーでパーティションを切り替え PSPCTRLS_GAME_UPDATED = "game.txtの更新" PSPCTRLS_DESCP = "Adrenaline上のPSPゲームをPSVitaのデュアルアナログスティックで操作可能にする" +--plugins online +UPDATE_WIFI_LOW = "Wi-Fiの信号レベルが低いです" +UPDATE_WIFI_IS_ON = "Wi-Fiが必要です" +UPDATE_CHECK_DB = "データベースの確認" +UPDATE_PLUGIN = "プラグインの更新" +UPDATE_ERROR_DB = "db.luaのダウンロード中にエラーが発生しました" +UPDATE_NO_NEWS = "すべてのプラグインが最新です" + --descriptions plugins --KERNEL INSTALLP_DESC_NONPDRM = "どのようなPSVitaコンテンツでもDRM保護をバイパスできます" diff --git a/sce_sys/livearea/contents/template.xml b/sce_sys/livearea/contents/template.xml index e90d1c42..dc9ef724 100644 --- a/sce_sys/livearea/contents/template.xml +++ b/sce_sys/livearea/contents/template.xml @@ -29,7 +29,7 @@ - v3.50 + v3.51 diff --git a/sce_sys/param.sfo b/sce_sys/param.sfo index 6d9543ed72da9b704d70f353c76be4ccb178a8b5..070cf66f63387119d3cc2f1a44678c6914ef69d5 100644 GIT binary patch delta 14 VcmbQhK7oCM2@|8?W>cnUMgSgH1C0Ox delta 14 VcmbQhK7oCM2@|8iW>cnUMgSgB1B?Iw diff --git a/scripts/autoplugin.lua b/scripts/autoplugin.lua index e7b6f431..be8557c4 100644 --- a/scripts/autoplugin.lua +++ b/scripts/autoplugin.lua @@ -144,10 +144,9 @@ function plugins_installation(sel) end limit,xscr1,toinstall = 13,5,0 +scroll = newScroll(plugins,limit) function autoplugin() - scroll = newScroll(plugins,limit) - --Init load configs loc = 1 tai.load() diff --git a/scripts/onlinep.lua b/scripts/onlinep.lua index 15e136b2..1d312c88 100644 --- a/scripts/onlinep.lua +++ b/scripts/onlinep.lua @@ -54,4 +54,4 @@ function plugins_online() message_wait(UPDATE_NO_NEWS) end os.delay(1500) -end +end \ No newline at end of file diff --git a/scripts/pmanager.lua b/scripts/pmanager.lua index fa7b3c81..d9906d5a 100644 --- a/scripts/pmanager.lua +++ b/scripts/pmanager.lua @@ -102,26 +102,42 @@ function pluginsmanager() if tai[partition].gameid[ section[sel_section] ] then table.remove(tai[partition].raw, tai[partition].gameid[section[sel_section]].prx[scrollp.sel].line) - local name = files.nopath(tai[partition].gameid[ section[sel_section] ].prx[scrollp.sel].path:lower()) + if name != "adrenaline_kernel.skprx" then files.delete(tai[partition].gameid[ section[sel_section] ].prx[scrollp.sel].path) end + tai.sync(partition) tai.load() for i=#tb_cop,1,-1 do if name == tb_cop[i].path then if tb_cop[i].section2 and tai[partition].gameid[ tb_cop[i].section2 ] then + + --delete plugin physical + local idx = tai.find(partition, tb_cop[i].section2, tb_cop[i].path2) + if idx then + if name != "adrenaline_kernel.skprx" then files.delete(tai[partition].gameid[ tb_cop[i].section2 ].prx[idx].path) end + end + tai.del(partition, tb_cop[i].section2, tb_cop[i].path2) --break tai.sync(partition) tai.load() + end elseif name == tb_cop[i].path2 then if tb_cop[i].section and tai[partition].gameid[ tb_cop[i].section ] then + + local idx = tai.find(partition, tb_cop[i].section, tb_cop[i].path) + if idx then + if name != "adrenaline_kernel.skprx" then files.delete(tai[partition].gameid[ tb_cop[i].section ].prx[idx].path) end + end + tai.del(partition, tb_cop[i].section, tb_cop[i].path) --break tai.sync(partition) tai.load() + end end end