Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Commit

Permalink
v3.52
Browse files Browse the repository at this point in the history
  • Loading branch information
theheroGAC authored Sep 28, 2018
1 parent 29200a7 commit 65da072
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 8 deletions.
2 changes: 1 addition & 1 deletion git/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ APP_REPO = "theheroGAC"
APP_PROJECT = "Autoplugin"

APP_VERSION_MAJOR = 0x03 -- major.minor
APP_VERSION_MINOR = 0x51
APP_VERSION_MINOR = 0x52
APP_VERSION = ((APP_VERSION_MAJOR << 0x18) | (APP_VERSION_MINOR << 0x10)) -- Union Binary
13 changes: 13 additions & 0 deletions lang/SPANISH.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ MENU_CONVERTBOOTSPLASH = "Activar imagen para el Custom Boot Splash"
MENU_INSTALL_NPDRMFREE = "Instalar plugin npdrm free de Qwik (Adrenaline)"
MENU_INSTALL_CONFIG = "Instalar config.txt para PKGJ v0.37+"
MENU_INSTALL_REMASTERED_CTRLS = "Instalar Remastered Controls plugins de Theflow (Adrenaline)"
MENU_CHECK_ONLINEP = "Buscar Actualizaciones de Plugins"
MENU_EXIT = "Salir"
MENU_INSTALLED_CONFIG = "¡¡¡ ux0:pkgi/config.txt para pkgj ha sido instalado !!!"

Expand All @@ -41,6 +42,7 @@ INSTALLP_SQUARE_MARK = "[] : Para seleccionar plugins individuales"
INSTALLP_TRIANGLE_ALL = "△ : Para instalar TODOS los Plugins"
INSTALLP_SELECT_CLEAN = "SELECT : Para limpiar los plugins seleccionados"
INSTALLP_LR_SWAP = "L/R : Para cambiar entre ux0/ur0"
INSTALLP_CUSTOM_PATH = "△ : Instalación de plugins"

INSTALLP_VITABRIGHT_360 = "Vitabright SOLO funciona en 3.60/H-Encore 3.68"
INSTALLP_CWARNING_360_365 = "Custom Warning no funciona en 3.67/3.68"
Expand Down Expand Up @@ -79,6 +81,17 @@ PSPCTRLS_LR_SWAP = "L/R : Cambiar de Partición"
PSPCTRLS_GAME_UPDATED = "game.txt actualizado"
PSPCTRLS_DESCP = "Colección de parches analógicos duales para juegos de PSP en Adrenaline"

--plugins online
UPDATE_WIFI_LOW = "Wifi SEñal Baja"
UPDATE_WIFI_IS_ON = "Wifi es requerido"
UPDATE_CHECK_DB = "Revisando Base de Datos"
UPDATE_PLUGIN = "Plugin Actualizado"
UPDATE_ERROR_DB = "Error al descargar db.lua"
UPDATE_NO_NEWS = "Todos los plugins están actualizados"
UPDATE_VITACHEAT_DB = "Actualizar Base de Cheats para Vitacheat ?"
UPDATE_VITACHEAT_DB_WRITE = "Los archivos serán sobre-escritos !!!"
UPDATE_CHECK_VITACHEAT_DB = "Revisando Base de Datos Vitacheat"

--descriptions plugins
--KERNEL
INSTALLP_DESC_NONPDRM = "Permite evitar la protección DRM en cualquier contenido de PS Vita"
Expand Down
3 changes: 3 additions & 0 deletions lang/english_us.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ UPDATE_CHECK_DB = "Checking Database"
UPDATE_PLUGIN = "Updated Plugin"
UPDATE_ERROR_DB = "Error downloading db.lua"
UPDATE_NO_NEWS = "All the plugins are up to date"
UPDATE_VITACHEAT_DB = "Update Cheats db for Vitacheat ?"
UPDATE_VITACHEAT_DB_WRITE = "The files will be overwritten !!!"
UPDATE_CHECK_VITACHEAT_DB = "Checking Vitacheat Database"

--descriptions plugins
--KERNEL
Expand Down
2 changes: 1 addition & 1 deletion sce_sys/livearea/contents/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<frame id="frame4">
<liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
<str size="18" color="#ffffff" shadow="on">v3.51</str>
<str size="18" color="#ffffff" shadow="on">v3.52</str>
</text>
</liveitem>
</frame>
Expand Down
Binary file modified sce_sys/param.sfo
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/commons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function message_wait(message)
local mge = (message or STRING_PLEASE_WAIT)
local titlew = string.format(mge)
local w,h = screen.textwidth(titlew,1) + 30,70
local x,y = 480 - (w/2), 272 - (h/2)
local x,y = 480 - (w/2), 242 - (h/2)

draw.fillrect(x,y,w,h, color.shine)
draw.rect(x,y,w,h,color.white)
Expand Down
43 changes: 43 additions & 0 deletions scripts/onlinep.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,49 @@ function plugins_online()
else
if back then back:blit(0,0) end
message_wait(UPDATE_NO_NEWS)
os.delay(1500)
end

--Check db for vitacheat
tai.load()
local find_vitacheat = false
if tai[__UX0].exist then
local idx = tai.find(__UX0, "KERNEL", "vitacheat.skprx")
if idx then find_vitacheat = true end
elseif tai[__UR0].exist then
local idx = tai.find(__UR0, "KERNEL", "vitacheat.skprx")
if idx then find_vitacheat = true end
end

if find_vitacheat then
if os.message(UPDATE_VITACHEAT_DB.."\n\n "..UPDATE_VITACHEAT_DB_WRITE, 1) == 1 then
if back then back:blit(0,0) end
message_wait(UPDATE_CHECK_VITACHEAT_DB)
os.delay(1500)

if http.getfile("https://raw.githubusercontent.com/r0ah/vitacheat/master/LIST.md", "ux0:data/AUTOPLUGIN/tmp/LIST.md") then

--Parse list.md
for line in io.lines("ux0:data/AUTOPLUGIN/tmp/LIST.md") do

local url = line:match("(http.+psv)")
if url then
url = string.gsub(url, "github.com", "raw.githubusercontent.com"):gsub("blob/", "")
end

local gameid = line:match("%[(%w+)%]")
if gameid then
if http.getfile(url, "ux0:vitacheat/db/"..gameid..".psv") then
local title = line:match("> (.+)")
if back then back:blit(0,0) end
message_wait(tostring(gameid).."\n\n"..tostring(title))
end
end

end
end
end
end

os.delay(1500)
end
11 changes: 6 additions & 5 deletions scripts/sd2vita.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ function sd2vita()
buttons.read()
if back then back:blit(0,0) end

screen.print(10,10,"1) "..SD2VITA_1_WARNING,1,color.white)
screen.print(10,40,"2) "..SD2VITA_2_WARNING,1,color.white)
screen.print(480,30,SD2VITA_1_WARNING,1.1,color.green, color.black, __ACENTER)

screen.print(10,80,"3) "..SD2VITA_3_WARNING,1,color.white)
screen.print(10,100,"4) "..SD2VITA_4_WARNING,1,color.white)
screen.print(10,120,"5) "..SD2VITA_5_WARNING,1,color.white)
screen.print(480,60,SD2VITA_2_WARNING,1,color.white, color.black, __ACENTER)

screen.print(480,100,SD2VITA_3_WARNING,1,color.red, color.black, __ACENTER)
screen.print(480,125,SD2VITA_4_WARNING,1,color.red, color.black, __ACENTER)
screen.print(480,150,SD2VITA_5_WARNING,1,color.white, color.black, __ACENTER)

if files.exists("gro0:") then
local device_info = os.devinfo("gro0:")
Expand Down

0 comments on commit 65da072

Please sign in to comment.