Adding readme and i actually forgot what i did
This commit is contained in:
parent
eb898d9cbb
commit
54445a89ff
13
README.md
Normal file
13
README.md
Normal 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.
|
@ -4,16 +4,19 @@ System.createDirectory("ux0:/data/TrackPlugArchive")
|
||||
|
||||
-- Scanning TrackPlug folder
|
||||
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
|
||||
local regcod = string.sub(file.name,1,4)
|
||||
local titleid = string.sub(file.name,1,-5)
|
||||
-- DOA 5 Plus breaks the tracker
|
||||
if titleid == "PCSE00235" then
|
||||
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
|
||||
System.deleteFile("ux0:/data/TrackPlug/"..file.name)
|
||||
end
|
||||
for k, toberemoved in pairs(blacklist) do
|
||||
if titleid == blacklist[k] then
|
||||
System.deleteFile("ux0:/data/TrackPlug/"..file.name)
|
||||
end
|
||||
end
|
||||
end
|
||||
-- Reset the table
|
||||
tbl = System.listDirectory("ux0:/data/TrackPlug")
|
||||
@ -122,7 +125,7 @@ function getRegion(titleid)
|
||||
region = "Asia (PS1)"
|
||||
elseif prefix == "PU" then
|
||||
region = "USA (PS1)"
|
||||
elseif string.sub(file.name,1,6) == "PSPEMU" then
|
||||
elseif string.sub(titleid,1,6) == "PSPEMU" then
|
||||
region = "PSP/PS1"
|
||||
end
|
||||
|
||||
@ -151,7 +154,7 @@ for i, file in pairs(tbl) do
|
||||
elseif System.doesFileExist("ux0:/app/" .. titleid .. "/sce_sys/param.sfo") then
|
||||
file.title = extractTitle("ux0:/app/" .. titleid .. "/sce_sys/param.sfo", titleid)
|
||||
else
|
||||
file.title = "Unknown Title"
|
||||
file.title = "Unknown - " .. titleid
|
||||
end
|
||||
file.id = titleid
|
||||
fd = System.openFile("ux0:/data/TrackPlug/" .. file.name, FREAD)
|
||||
@ -160,9 +163,6 @@ for i, file in pairs(tbl) do
|
||||
System.closeFile(fd)
|
||||
end
|
||||
end
|
||||
if cfg_idx ~= nil then
|
||||
table.remove(tbl, cfg_idx)
|
||||
end
|
||||
|
||||
-- Background wave effect
|
||||
local colors = {
|
||||
|
Reference in New Issue
Block a user