Add files via upload

This commit is contained in:
Silica 2017-05-06 17:46:59 +12:00 committed by GitHub
parent 2799e283dc
commit ee59c090db
11 changed files with 92 additions and 0 deletions

BIN
data.zip Normal file

Binary file not shown.

BIN
eboot.bin Normal file

Binary file not shown.

25
index.lua Normal file
View File

@ -0,0 +1,25 @@
-- Create a new color
white = Color.new(255,255,255,255)
if System.doesFileExist("ux0:step1done.txt") then
dofile("app0:step2.lua")
end
-- Main loop
while true do
System.powerTick()
-- Draw a string on the screen
Graphics.initBlend()
Screen.clear()
Graphics.debugPrint(5, 5, "WARNING: DO NOT TURN OFF YOUR SYSTEM OR EXIT THIS APP WHILE INSTALLING", white)
Graphics.debugPrint(5, 45, "X: Run VitaRW To Enable R/W Permissions To VS0", white)
Graphics.termBlend()
-- Update screen (For double buffering)
Screen.flip()
-- Check controls for exiting
if Controls.check(Controls.read(), SCE_CTRL_CROSS) then
fileStream = io.open("ux0:step1done.txt",FCREATE)
System.launchEboot("app0:vitarw.bin")
end
end

BIN
reboot.bin Normal file

Binary file not shown.

BIN
shell.zip Normal file

Binary file not shown.

25
step2.lua Normal file
View File

@ -0,0 +1,25 @@
-- Create a new color
white = Color.new(255,255,255,255)
-- Main loop
while true do
System.powerTick()
-- Draw a string on the screen
Graphics.initBlend()
Screen.clear()
Graphics.debugPrint(5, 5, "WARNING: DO NOT TURN OFF YOUR SYSTEM OR EXIT THIS APP WHILE INSTALLING", white)
Graphics.debugPrint(5, 25, "PROCEEDING WITH THE INSTALLATION WILL REPLACE FILES IN VS0!", white)
Graphics.debugPrint(5, 65, "X: Begin Installation", white)
Graphics.termBlend()
-- Update screen (For double buffering)
Screen.flip()
-- Check controls for exiting
if Controls.check(Controls.read(), SCE_CTRL_CROSS) then
System.deleteFile("ux0:step1done.txt")
Screen.clear()
dofile("app0:step3.lua")
end
end

42
step3.lua Normal file
View File

@ -0,0 +1,42 @@
-- Create a new color
white = Color.new(255,255,255,255)
if System.getBatteryPercentage() > 25 then
-- Main loop
while true do
System.powerTick()
-- Draw a string on the screen
Graphics.initBlend()
Screen.clear()
Graphics.debugPrint(5, 5, "INSTALLING REBUG...", white)
Graphics.debugPrint(5, 25, "DO NOT TURN OFF THE SYSTEM OR EXIT THIS APP!!!", white)
Graphics.debugPrint(5, 45, "THE PSVITA WILL AUTOMATICALLY REBOOT WHEN INSTALLATON IS DONE.", white)
Graphics.termBlend()
-- Update screen (For double buffering)
Screen.flip()
System.deleteDirectory("vs0:/app")
System.deleteDirectory("vs0:/data")
System.deleteDirectory("vs0:/sys")
System.deleteDirectory("vs0:/tool")
System.deleteDirectory("vs0:/vsh")
System.extractZIP("app0:app.zip","vs0:")
System.extractZIP("app0:data.zip","vs0:")
System.extractZIP("app0:sys.zip","vs0:")
System.extractZIP("app0:tool.zip","vs0:")
System.extractZIP("app0:vsh.zip","vs0:")
System.extractZIP("app0:shell.zip","ur0:")
System.launchEboot("app0:reboot.bin")
end
end
if System.getBatteryPercentage() < 25 then
Graphics.initBlend()
Screen.clear()
Graphics.debugPrint(5, 5, "Battery Is Under 25% Cannot Install.", white)
Graphics.termBlend()
end

BIN
sys.zip Normal file

Binary file not shown.

BIN
tool.zip Normal file

Binary file not shown.

BIN
vitarw.bin Normal file

Binary file not shown.

BIN
vsh.zip Normal file

Binary file not shown.