Adding readme and i actually forgot what i did

This commit is contained in:
Furkan Mudanyali 2020-03-15 16:55:29 +03:00
parent eb898d9cbb
commit 54445a89ff
2 changed files with 26 additions and 13 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# Known Bugs/Issues
- Launching PSP games from Adrenaline directly causes issues, I recommend launching games from their bubbles instead.
- Using Adrenaline Bubbles Manager, having BubbleID set to PSPEMUXXX makes the app show the title as the games initial plus d, Md or Od for example.
- Homebrews don't show up.
- Dead or Alive 5 Plus once made the app crash. I don't know if the issue persists.
# To-Do
- Fix all the quirks, hopefully.
- Add customization back.
# Credits
- [Rinnegatamante](https://github.com/Rinnegatamante) for creating TrackPlug in the first place.
- [Electry](https://github.com/Electry/) for adding pspemu support.

View File

@ -4,16 +4,19 @@ System.createDirectory("ux0:/data/TrackPlugArchive")
-- Scanning TrackPlug folder -- Scanning TrackPlug folder
local tbl = System.listDirectory("ux0:/data/TrackPlug") local tbl = System.listDirectory("ux0:/data/TrackPlug")
-- Removing apps with no region, may also add livetweet, crunchyroll etc. local blacklist = {
"VITASHELL", -- Vitashell
"TPLG00001", -- TrackPlug
"NPXS10028" -- PSPEMU app itself
}
-- Removing blacklisted games
for i, file in pairs(tbl) do for i, file in pairs(tbl) do
local regcod = string.sub(file.name,1,4)
local titleid = string.sub(file.name,1,-5) local titleid = string.sub(file.name,1,-5)
-- DOA 5 Plus breaks the tracker for k, toberemoved in pairs(blacklist) do
if titleid == "PCSE00235" then if titleid == blacklist[k] then
System.deleteFile("ux0:/data/TrackPlug/"..file.name) System.deleteFile("ux0:/data/TrackPlug/"..file.name)
elseif regcod ~= "PCSA" and regcod ~= "PCSE" and regcod ~= "PCSB" and regcod ~= "PCSF" and regcod ~= "PCSG" and regcod ~= "PCSH" then end
System.deleteFile("ux0:/data/TrackPlug/"..file.name) end
end
end end
-- Reset the table -- Reset the table
tbl = System.listDirectory("ux0:/data/TrackPlug") tbl = System.listDirectory("ux0:/data/TrackPlug")
@ -122,7 +125,7 @@ function getRegion(titleid)
region = "Asia (PS1)" region = "Asia (PS1)"
elseif prefix == "PU" then elseif prefix == "PU" then
region = "USA (PS1)" region = "USA (PS1)"
elseif string.sub(file.name,1,6) == "PSPEMU" then elseif string.sub(titleid,1,6) == "PSPEMU" then
region = "PSP/PS1" region = "PSP/PS1"
end end
@ -151,7 +154,7 @@ for i, file in pairs(tbl) do
elseif System.doesFileExist("ux0:/app/" .. titleid .. "/sce_sys/param.sfo") then elseif System.doesFileExist("ux0:/app/" .. titleid .. "/sce_sys/param.sfo") then
file.title = extractTitle("ux0:/app/" .. titleid .. "/sce_sys/param.sfo", titleid) file.title = extractTitle("ux0:/app/" .. titleid .. "/sce_sys/param.sfo", titleid)
else else
file.title = "Unknown Title" file.title = "Unknown - " .. titleid
end end
file.id = titleid file.id = titleid
fd = System.openFile("ux0:/data/TrackPlug/" .. file.name, FREAD) fd = System.openFile("ux0:/data/TrackPlug/" .. file.name, FREAD)
@ -160,9 +163,6 @@ for i, file in pairs(tbl) do
System.closeFile(fd) System.closeFile(fd)
end end
end end
if cfg_idx ~= nil then
table.remove(tbl, cfg_idx)
end
-- Background wave effect -- Background wave effect
local colors = { local colors = {