PSX-FPKG

PS4 PSX-FPKG (by Jabu) - A Tool to convert PS1 (PSX) games for use on PS4 v0.3

This is an example you created yourself:

in PS2onPS4-Widescreen-main -----(ws_patches_CRC)------ file:000B73EE

apiRequest(1.0)
local eeObj = getEEObject()
local emuObj = getEmuObject()
local widescreen = function()
--gametitle=Simple 2000 Series Vol. 65 - The Kyonshi Panic (J)(SLPM-62543)
--comment=Widescreen Hack by Arapapa
--Widescreen hack 16:9
--X-Fov
--003f013c 00a88144 50b0a0ac
eeObj.WriteMem32(0x001731b8,0x3c013f2a)
end
emuObj.AddVsyncHook(widescreen)

Ps1Hdemu Lua commands
-------------------------------------------



-------------------------------
Unknown class
-------------------------------
CRC32


-------------------------------
No class required
-------------------------------
apiRequest
getR3KObject
getEmuObject
getTrophyObject
getuservalue
gethook
getinfo
getlocal
getregistry
getmetatable
getupvalue
upvaluejoin
upvalueid
setuservalue
sethook
setlocal
setmetatable
setupvalue
traceback
axInsnReplace
r3kInsnReplace
r3kFuncReplace



-------------------------------
local emu = getEmuObject() -- emulator
-------------------------------
emu.PadRead
emu.PadReadLeftStick
emu.PadReadRightStick
emu.PadSetButtonsMode 2 -- switch Select/Start -> Touchpad/Options mode
emu.AddVsyncHook
emu.RemoveVsyncHook
emu.ThrottleMax
emu.ThrottleNormal
emu.Log
emu.GetNativeLanguage
emu.LoadConfig
emu.SaveConfig
emu.LoadState
emu.SaveState
emu.PostEffect
emu.PostEffectParams
emu.NeoMode
emu.AddFBMapping
emu.RemoveFBMapping
emu.Launch


-------------------------------
local cpu = getR3KObject() -- cpu
-------------------------------
cpu.GetPC
cpu.SetPC
cpu.GetHi
cpu.SetHi
cpu.GetLo
cpu.SetLo
cpu.GetGpr
cpu.SetGpr
cpu.ReadMem8
cpu.ReadMem16
cpu.ReadMem32
cpu.ReadMemFloat
cpu.ReadMemStr
cpu.WriteMem8
cpu.WriteMem16
cpu.WriteMem32
cpu.WriteMemFloat
cpu.WriteMemStr
cpu.WriteMemStrZ
cpu.AddHook
cpu.RemoveHook
cpu.InsnReplace
cpu.FuncReplace
cpu.BurnCycles
cpu.FlushCache




-------------------------------
gpr register
-------------------------------
zero
at
v0
v1
a0
a1
a2
a3
t0
t1
t2
t3
t4
t5
t6
t7
s0
s1
s2
s3
s4
s5
s6
s7
t8
t9
k0
k1
gp
sp
fp
ra





-------------------------------
Others...?
-------------------------------
R3K_GetPC
R3K_SetPC
R3K_GetHi
R3K_SetHi
R3K_GetLo
R3K_SetLo
R3K_GetReg
R3K_SetReg
R3K_ReadMem8
R3K_ReadMem16
R3K_ReadMem32
R3K_ReadMemFloat
R3K_ReadMemString
R3K_WriteMem8
R3K_WriteMem16
R3K_WriteMem32
R3K_WriteMemFloat
R3K_WriteMemString
R3K_WriteMemStringZ
R3K_AddHook
R3K_RemoveHook
R3K_FuncReplace
R3K_InsnReplace
R3K_BurnCycles
R3K_FlushCache
EM_PadRead
EM_PadReadLeftStick
EM_PadReadRightStick
EM_PadSetButtonsMode
EM_AddVsyncHook
EM_RemoveVsyncHook
EM_ThrottleMax
EM_ThrottleNormal
EM_Log
EM_GetNativeLanguage
EM_LoadConfig
EM_SaveConfig
EM_LoadState
EM_SaveState
EM_NeoMode
EM_AddFBMapping
EM_RemoveFBMapping
EM_Launch
EM_PostEffectParams
EM_PostEffect
TR_Unlock
MR_LoadOverlay

Ps1Hdemu Basic Commands in (config-emu-ps4)
-------------------------------------------------------

--scale= auto;1;2;4 ---------- x1=1280x720, x2=1920x1080, x4=3840x2160
--antialias= SSAA4x, MSAA4x
--softgpu
--texdump
--texreplace
--texrecent= true;false
--state-restore
--wait
--mcd0
--mcd1
--bios
--libcrypt----------- Libcrypt value is invalid (%04x). Must have eight 1 bits
--image
--region= SCEA;SCEE;SCEI ---------- (US: SCEA, Europe: SCEE, Japan: SCEI)
--configpath

What do you suggest?


Commands in PS1_Emulation&PS2_Emulation

https://www.psdevwiki.com/ps4/PS1_Emulation#getR3KObject.28.29
https://www.psdevwiki.com/ps4/PS2_Emulation#CPU
 
apiRequest(0.1) local cpu = getR3KObject() local emu = getEmuObject() local widescreen = function() cpu.WriteMem16(0x800E4858,0x0C00) end emu.AddVsyncHook(widescreen)

I used lua file in scripts folder for emu PSX-FPKG.
emu will not force full screen then.
nothing changed.


How use Playstation 1 cheat codes in emu PSX-FPKG?

Maybe it can be done that way.
 
Oh sorry.
changed,
BUT :
with value
0x1C00 and 0x0A00
and apiRequest(1.0) not apiRequest(0.1)
Code:
--Pepsiman Widescreen
apiRequest(1.0)
  local cpu = getR3KObject()
  local emu = getEmuObject()
local Widescreen = function()
  cpu.WriteMem16(0x800E4858,0x1C00)
end
emu.AddVsyncHook(Widescreen)
Code:
--Pepsiman Widescreen
apiRequest(1.0)
  local cpu = getR3KObject()
  local emu = getEmuObject()
local Widescreen = function()
  cpu.WriteMem16(0x800E4858,0x0A00)
end
emu.AddVsyncHook(Widescreen)

There is still a black bars in the Output.
Everything is clear in the pictures below:
https://drive.google.com/file/d/1nMOsXJboHmwBjdaR7h6YnZEN01xkiYoU/view?usp=sharing
https://drive.google.com/file/d/1IgH9emfTNQwkxeizOYtvfqvafiEsfOha/view?usp=sharing
 
below code is for PS2-FPKG:
Code:
emuObj.SetDisplayAspectWide()

Is there a similar code for PSX-FPKG?
or Is it possible to build the script?
 
Links you posted, are not public. Anyway this emu don't support widescreen so i assume that image is now just squeezed, and still in 4:3.
Nothing you can do about it.
Is there a similar code for PSX-FPKG?
You posted list of functions, i don't see that there. So, there is no.
 
with 0x0A00

0A00.jpg
 
So hey, I am having issues with psxfpkg. I get into the program and have the game and such ready. When I hit create fPKG it wont turn as well as it gives me the following messege

[Debug] 2021-12-08 21:20:55 Create image Process started.
[Error] Format of the param file is not valid. (sce_sys/param.sfo, unexpected Content ID)
[Error] Format of the param file is not valid. (sce_sys/param.sfo, unexpected Title ID)
[Warn] The required file is missing (sce_sys/pronunciation.xml). The created package will not be imported into GEMS.
[Error] 2021-12-08 21:20:55 Create image Process finished with error(s).

The following link is what I have for my stuff and the error messege ... can anyone help?
http://prntscr.com/22ejda5

Game I am trying to use is Champions of Norath - Return to Arms. but I have tried everything and nothing works. Even Snoopy Vs the Red Baron.
 
Pardon my ignorance but does this support multi-disc games? If so, how? or is there a newer version available to download? Thanks!
 
Something I ran into is newer titles having issues the anti mod chip detection screen (SLPS00266 Puzz Loop). Without a patch are these titles temporarily NFG? Can an emulator be too good?
 
Hey all,

Can't get Gran Turismo 2 (GT Mode disc) to boot even. It does the old startup sound, shows the starting credits and then the screen goes blank just before the language select. Not sure if there are specific GT settings that might help. Any help would be appreciated.
 
Please help, can i save the game, cause i tried play harvest moon btn, but when i save the game, memory card always not found

Thank you
And sorry for my bad English
 
试过 PSX-FPKG 但不工作:sang banghead:

我在越狱的 PS4pro 9.00

no...

translation:
Tried PSX-FPKG but doesn't work
i'm jailbroken on
 
Last edited by a moderator:
Back
Top