This repository has been archived by the owner on Mar 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
598c573
commit 7f5ac26
Showing
19 changed files
with
374 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
local sd2vita_callback = function () | ||
sd2vita() | ||
end | ||
|
||
local installp_callback = function () | ||
autoplugin() | ||
end | ||
|
||
local uinstallp_callback = function () | ||
pluginsmanager() | ||
end | ||
|
||
local npdrm_callback = function () | ||
npdrm_free() | ||
end | ||
|
||
local config_callback = function () | ||
if back then back:blit(0,0) end | ||
files.copy("resources/pkgj/config.txt", "ux0:pkgi") | ||
message_wait(MENU_INSTALLED_CONFIG) | ||
os.delay(2000) | ||
end | ||
|
||
local psp_ctrls_callback = function () | ||
psp_ctrls() | ||
end | ||
|
||
local exit_callback = function () | ||
if change then | ||
os.message(STRING_PSVITA_RESTART) | ||
os.delay(250) | ||
buttons.homepopup(1) | ||
power.restart() | ||
end | ||
os.exit() | ||
end | ||
|
||
local menu = { | ||
{ text = MENU_INSTALL_SD2VITA, funct = sd2vita_callback }, | ||
{ text = MENU_INSTALL_PLUGINS, funct = installp_callback }, | ||
{ text = MENU_UNINSTALL_PLUGINS, funct = uinstallp_callback }, | ||
{ text = MENU_INSTALL_CONFIG, funct = config_callback }, | ||
{ text = MENU_INSTALL_NPDRMFREE, funct = npdrm_callback }, | ||
{ text = MENU_INSTALL_REMASTERED_CTRLS, funct = psp_ctrls_callback }, | ||
{ text = MENU_EXIT, funct = exit_callback } | ||
} | ||
local scrollm,sel = newScroll(menu,#menu),1 | ||
|
||
change = false | ||
buttons.interval(10,10) | ||
while true do | ||
if change then buttons.homepopup(0) else buttons.homepopup(1) end | ||
buttons.read() | ||
if back then back:blit(0,0) end | ||
|
||
screen.print(480,25,"Autoplugin",1.3,color.green, 0x0, __ACENTER) | ||
|
||
local y = 145 | ||
for i=scrollm.ini, scrollm.lim do | ||
if i == scrollm.sel then draw.fillrect(0,y-7,960,29,color.green:a(90)) end | ||
screen.print(480,y,menu[i].text,1.2,color.white, 0x0, __ACENTER) | ||
y+=37 | ||
end | ||
|
||
screen.flip() | ||
|
||
--Controls | ||
if buttons.up or buttons.analogly < -60 then scrollm:up() end | ||
if buttons.down or buttons.analogly > 60 then scrollm:down() end | ||
|
||
if buttons.cross then menu[scrollm.sel].funct() end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ms0:/seplugins/gta_remastered.prx 1 | ||
ms0:/seplugins/resistance_remastered.prx 1 | ||
ms0:/seplugins/splintercell_remastered.prx 1 | ||
ms0:/seplugins/tombraider_remastered.prx 1 | ||
ms0:/seplugins/pop_remastered.prx 1 | ||
ms0:/seplugins/khbbs_remastered.prx 1 | ||
ms0:/seplugins/mgs_remastered.prx 1 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.