From cb9faf6e376a092c056223a05f34e7f938da52fa Mon Sep 17 00:00:00 2001 From: theheroGAC Date: Wed, 27 Jun 2018 21:25:44 +0200 Subject: [PATCH] v2.01 --- git/shared.lua | 2 +- resources/autoplugin.lua | 12 +++++++++--- resources/extra.lua | 4 ++-- resources/tai.lua | 13 ++++++++++--- sce_sys/livearea/contents/template.xml | 2 +- sce_sys/param.sfo | Bin 912 -> 912 bytes 6 files changed, 23 insertions(+), 10 deletions(-) diff --git a/git/shared.lua b/git/shared.lua index 2f50d829..bbe89018 100644 --- a/git/shared.lua +++ b/git/shared.lua @@ -4,5 +4,5 @@ APP_REPO = "theheroGAC" APP_PROJECT = "Autoplugin" APP_VERSION_MAJOR = 0x02 -- major.minor -APP_VERSION_MINOR = 0x00 +APP_VERSION_MINOR = 0x01 APP_VERSION = ((APP_VERSION_MAJOR << 0x18) | (APP_VERSION_MINOR << 0x10)) -- Union Binary diff --git a/resources/autoplugin.lua b/resources/autoplugin.lua index 1ef82882..6300f31c 100644 --- a/resources/autoplugin.lua +++ b/resources/autoplugin.lua @@ -27,7 +27,7 @@ if tai[__UR0].exist then loc = 2 end plugins = { { name = "Gamesd by xyzz (Only in ur0:tai/config.txt)", path = "gamesd.skprx", section = "KERNEL" }, - { name = "NoNpDrm by TheFl0w", path = "nonpdrm.skprx", section = "KERNEL" }, + { name = "NoNpDrm by TheFloW", path = "nonpdrm.skprx", section = "KERNEL" }, { name = "NoPsmDrm by frangarcj", path = "nopsmdrm.skprx", section = "KERNEL" }, { name = "Vitabright by devnoname120(only for 3.60)", path = "vitabright.skprx", section = "KERNEL", configuration = "vitabright_lut.txt" }, @@ -36,9 +36,9 @@ plugins = { { name = "ds3vita by xerpi", path = "ds3vita.skprx", section = "KERNEL" }, { name = "ds4vita by xerpi", path = "ds4vita.skprx", section = "KERNEL" }, { name = "Kuio by Rinnegatamante", path = "kuio.skprx", section = "KERNEL" }, - { name = "Adrenaline by TheFl0w(fix double touch)", path = "ux0:app/PSPEMUCFW/sce_module/adrenaline_kernel.skprx", section = "KERNEL" }, + { name = "Adrenaline by TheFloW(fix double touch)", path = "ux0:app/PSPEMUCFW/sce_module/adrenaline_kernel.skprx", section = "KERNEL" }, - { name = "DownloadEnabler by TheFl0w", path = "download_enabler.suprx", section = "main" }, + { name = "DownloadEnabler by TheFloW", path = "download_enabler.suprx", section = "main" }, { name = "Shellbat by nowrep", path = "shellbat.suprx", section = "main" }, { name = "pngshot by xyzz", path = "pngshot.suprx", section = "main" }, { name = "Vflux by Applelo", path = "vFlux.suprx", section = "main" }, @@ -180,6 +180,12 @@ while true do if buttons.up or buttons.analogly < -60 then scroll:up() end if buttons.down or buttons.analogly > 60 then scroll:down() end + if buttons.released.l or buttons.released.r then + if tai[__UX0].exist and tai[__UR0].exist then + if loc == __UX0 then loc = __UR0 else loc = __UX0 end + end + end + --if buttons.triangle then update_adrenaline(change) end --Install selected plugins diff --git a/resources/extra.lua b/resources/extra.lua index 36df17eb..1f90bf72 100644 --- a/resources/extra.lua +++ b/resources/extra.lua @@ -21,14 +21,14 @@ function update_adrenaline(flag) files.extract("resources/plugins/adrenaline.zip","ux0:app/PSPEMUCFW/sce_module") os.message("Your PSVita will restart...\n\n Adrenaline has been update",0) os.delay(2500) - --power.restart() + power.restart() end if buttons.released.start then if flag then os.message("Your PSVita will restart") os.delay(2500) - --power.restart() + power.restart() end os.exit() end -- Exit diff --git a/resources/tai.lua b/resources/tai.lua index 31d9aed6..c74a2da0 100644 --- a/resources/tai.lua +++ b/resources/tai.lua @@ -199,14 +199,22 @@ function tai.put(index, id, path, pos) local idx = tai.find(index, id, path) if idx then -- Nothing to do... :O ? - --tai[index].gameid[id].prx[idx].path = + --tai[index].gameid[id].prx[idx].path = + elseif tai[index].gameid[id] then -- Exists the id then have any prx! + idx = #tai[index].gameid[id].prx + if pos then table.insert(tai[index].raw, tai[index].gameid[id].line[1]+pos, path) else - table.insert(tai[index].raw, tai[index].gameid[id].prx[idx].line+1, path) + if idx > 0 then + table.insert(tai[index].raw, tai[index].gameid[id].prx[idx].line+1, path) + else + table.insert(tai[index].raw, tai[index].gameid[id].line[1] + 1, path) + end end + tai.parse(index) -- Refresh all ids lines etc.. --tai.debug() return true @@ -217,7 +225,6 @@ function tai.put(index, id, path, pos) tai.parse(index) -- Refresh all ids lines etc.. --tai.debug() return true - end return false diff --git a/sce_sys/livearea/contents/template.xml b/sce_sys/livearea/contents/template.xml index d75392fa..7ce68558 100644 --- a/sce_sys/livearea/contents/template.xml +++ b/sce_sys/livearea/contents/template.xml @@ -29,7 +29,7 @@ - v2.00 + v2.01 diff --git a/sce_sys/param.sfo b/sce_sys/param.sfo index 62b1e5060b25d018b88cabf089e70d7aeb7c0406..ef9107767e8280bb18d26151d015bace6191caab 100644 GIT binary patch delta 14 VcmbQhK7oCM2@|8?W>cnUMgSgH1C0Ox delta 14 VcmbQhK7oCM2@|8iW>cnUMgSgB1B?Iw