PSX-FPKG

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

we can add only config-title.txt?
What about config-region.txt?

Update!

Ok, fugure out! Interesting structure lol

Yeah, config-region.txt is not needed, you can just put all the commands into config-title.txt and they will work.

Thank you Jabu. I have some requests for v0.4:

Allow drag-n-drop of files
Allow for adding config-region.txt
Allow for adding custom bios (i.e scph1001.bin)
Allow for saving outputted file to root drive
Choose default splash
Choose filename structure (i.e Game Title [SLUS00001].pkg)

App would be perfect with these adjustments IMO.

I could add drag n drop in a future update.
Won't add config-region.txt ws it's not really needed.
Why would you want a custom bios? I bet the emulator works the same with every bios, but I'll think about it.
Custom splashscreen like the info about controlls? Or the splash when starting the app(pic1.png)?
Saving to root and custom pkg names will be added after I rework the gp4 and pkg creation process.

@Jabu
I need your help, how your program read the game id from iso/bin game please ?
It searches for the system.cnf file on the disc and gets the id from there. It may not work with some games with a weird system.cnf structure, but it should work with most games.
 
Yeah, config-region.txt is not needed, you can just put all the commands into config-title.txt and they will work.
So you can mix up the commands or do they have to be in a certain order?

Why would you want a custom bios?
User stayhye always uses scph1001.bin - if I remember correctly this BIOS always used to have the most compatibility for PC emulators

the splash when starting the app(pic1.png)
 
So you can mix up the commands or do they have to be in a certain order?


User stayhye always uses scph1001.bin - if I remember correctly this BIOS always used to have the most compatibility for PC emulators

the splash when starting the app(pic1.png)
Yeah, the commands can be in any order and it should work.

I don't really think that changing the bios would make any difference, if I'm not mistaken all ps1 classics on the psstore use the 500X bios.
Changing the bios would be only useful if you want to skip the Sony logo(white background) and leave the Playstation(black background) intact by using the psx bios from the psp build in emulator.

If adding a custom splash doesn't work it means that I forgot (again) to add it.
 
Last edited:
PSX-FPKG v0.3
Now with the new PS-Plus PS1 Emulator!
Well it took some time but it's finally here!
The whole app has been rewritten from scratch, with new features added.
Now using the new PS-Plus PS1 emulator, which has better game compatibility and more features like save-states and a gameplay rewind feature.
The emulator should work on fw 5.05 and up(I personally tested it on 9.00 only).


How to use:

1. Select a ps1 disc image cue sheet(a .cue file)
2. Customize the Title/Icon/Splash/Config/Etc
3. Press "Create fPKG"
4. Install the pkg on your ps4 and play!


Things to Note:
  • Press the Options button in-game to display a menu, from there you can use savestates, change the display options or rewind your gameplay
  • Games that use multiple .bin files are supported
  • Games using CDDA music should work too
  • Libcrypt support has been added too, tested on the PAL version of Soul Raver
  • "Emulate Analog Stick" will map the dpad to the analog stick for games that support only the Digital Controller, don't check this option if the game supports Dualshock controllers.
  • Force 60hz will force games(mainly from the PAL region) to run in 60hz instead of 50hz
  • When testing various pkgs of the same game with different txt configs make sure to delete the Application Data from the games Save File, if you don't do this the new config settings won't work because they're stored on first boot in the Application Data.
    eg: You install a fpkg of EarthWorm Jim 2(or any other game) without any addional settings enabled, and then install the same game with "Skip Bootlogo" option enabled, the config changes won't take effect until you delete the Aplication Data from the Save File, because the old txt config is still in the games save data.
  • If you want to edit the emu/game files before creating a pkg, check the "Pause before creating pkg" checkbox, a popup with the projects directory will pop-up, do your changes, and then click the OK button in the popup to resume the pkg creation process.


Download v0.3


CHANGELOG:
v0.3

-now using the new psplus ps1 emulator
-everything was rewritten from scratch
-notable new features:
-added auto game id detection
-added auto libcrypt detection and support
-added .toc generation, so games that use cdda have now working music
-added "Simulate Analog Sticks" checkbox, that adds support for analog stick to older games that dindn't support them
-added a "Skip Bootlogo" option that skips the Sony/Playstation logos
-added a "Force 60hz" option
-the app will now automatically merge game images with multiple bin files
-other stuff I forgot about

v0.2
-added 5.05 support
-fixed a typo

v0.1
-initial release

Stuff used:
7-Zip - https://7-zip.org/
LibOrbisPkg - https://github.com/maxton/LibOrbisPkg
gengp4 - https://github.com/xvortex/ps4-dumper-vtx/

Super Thanks to CyB1K for the emulator release and backport
Thanks to goatman13 and Arczi for support.

PS:
I didn't know if I should make a new post about this update, because this thread was started by kozarovv.
It would be nice if a admin(@STLcardsWS ) or mod could update the first post or move this post to a new thread(if it deserves one lol) or something, idk.
Just test @Jabu new app today! Work good, i like that now not need get toc. files manually way! And now its looks easy as with ps2 games! Thanks @Jabu

Was test Jersey Devil game! (SCUS94907)
VIDEO

Also add Widescreen patch for that game!
Code:
-- Jersey Devil
-- ported to PS4 lua
-- emu used=syphonfilter v2
local patcher = function()
--Widescreen
R3K_WriteMem16(0x80048164,0x0C00)
end
EM_AddVsyncHook(patcher)
 
  • When testing various pkgs of the same game with different txt configs make sure to delete the Application Data from the games Save File, if you don't do this the new config settings won't work because they're stored on first boot in the Application Data.
    eg: You install a fpkg of EarthWorm Jim 2(or any other game) without any addional settings enabled, and then install the same game with "Skip Bootlogo" option enabled, the config changes won't take effect until you delete the Aplication Data from the Save File, because the old txt config is still in the games save data.

    hmm so there is a permanent one even uninstalling the game, what txt file is this? config-title.txt,package-ps4.conf or config-region.txt?

The config(or a part of it, idk) get's copied over to the save data when you first boot the emulator, and the data is called "Application Data" or something like that(still need to change the lang on my ps4 to be sure how it's called in English), it holds some other settings too, like some values for the "Classic Retro" graphical shader and some other stuff.
 
Last edited:
Tekken 3 [SLUS_00402]
No dithering, cheats lua

Code:
-- Tekken 3 (SLUS_00402)
-- Disable dithering hack
-- Absolutely everything unlocked
if true then
end
local patcher = function()
-- Disable dithering
R3K_WriteMem16(0x8007D679,0x0000)
-- Everything Unlocked
R3K_WriteMem16(0x80097EF0,0xFFFF)
R3K_WriteMem16(0x80097EF2,0x001F)
R3K_WriteMem16(0x80097EF4,0x0382)
R3K_WriteMem16(0x80097EF6,0x0005)
R3K_WriteMem16(0x80097EF8,0xFFFF)
R3K_WriteMem16(0x80097EFA,0x001F)
R3K_WriteMem16(0x80097EFD,0x0009)
R3K_WriteMem16(0x80097EFE,0x0001)
R3K_WriteMem16(0x80097F26,0x0101)
end
EM_AddVsyncHook(patcher)
 
Tony Hawk's Pro Skater 2
LUA
Code:
-- Tony Hawk's Pro Skater 2 (SLUS-01066)
if true then
end
local patcher = function()
-- No dithering
R3K_WriteMem16(0x8009D5F9,0x0000)
-- 60 FPS
R3K_WriteMem16(0x8003CBA8,0x0000)
-- Widescreen
R3K_WriteMem16(0x800D8640,0x1333)
end
EM_AddVsyncHook(patcher)
 
Gex Enter the Gecko (NTSC)

Code:
-- Gex Enter the Gecko
-- ported to PS4 lua
-- emu used=syphonfilter v2
local patcher = function()
--Widescreen
R3K_WriteMem16(0x8003EB14,0x0C00)
R3K_WriteMem16(0x8003EB24,0x0034)
R3K_WriteMem16(0x8003EB26,0xAFA0)
R3K_WriteMem16(0x8003EB28,0x1000)
R3K_WriteMem16(0x8003EB2A,0x2403)
end
EM_AddVsyncHook(patcher)
 
Clock Tower II The Struggle Within (NTSC)
Code:
-- Clock Tower II The Struggle Within
-- ported to PS4 lua
-- emu used=syphonfilter v2
local patcher = function()
--Widescreen
R3K_WriteMem16(0x8006F7B8,0x0C00)
end
EM_AddVsyncHook(patcher)
 
Einhander

lua
Code:
-- Einhänder [NTSC-U] (SCUS-94243)
-- Widescreen hack by El_Patas
--  +Cheats
-- ported to PS4 lua by Stayhye
-- emu used=syphon filter v2


local patcher = function()
--Widescreen 16:9
R3K_WriteMem16(0x8013EFF8,0x0C00)
--[Debug Option-Go to config, file or gallery menu first. Then press Select.]
local dmenu = R3K_ReadMem16(0x083E2E)
if dmenu == 0x0100 then
R3K_WriteMem16(0x800ADA40,0x0007)
end
--[Enable Stage Select]
R3K_WriteMem16(0x800ADAA6,0x0001)
R3K_WriteMem16(0x80085960,0xFFFF)
R3K_WriteMem16(0x8008593C,0x0000)
--[Enable Gallery With All Pictures]
R3K_WriteMem16(0x801FEC9C,0xFFFF)
R3K_WriteMem16(0x801FEC9E,0xFFFF)

end

EM_AddVsyncHook(patcher)

BTW, toc files always worked with these emus. Even the old one. Just FYI
 
Last edited:
Monkey magic (NTSC)

Code:
-- Monkey magic
-- ported to PS4 lua
-- emu used=syphonfilter v2
local patcher = function()
--Widescreen
R3K_WriteMem16(0x800B22BA,0x4006)
R3K_WriteMem16(0x800248b4,0x000C)
R3K_WriteMem16(0x800557E2,0x00C0)
end
EM_AddVsyncHook(patcher)
 
help, what is the value of this? i dont know how directories work on ps4 or where to put the folder, i been testing this ever since but still no luck. it would be nice if we can mod our ps1 games. tnx

--texreplace


the psp emu has this value
Code:
# To replace specific textures as the game runs, uncomment the --texreplace line
# For example, with the current setting, it will load them from the "D:\Sony\PSPHD\texreplace" directory
# If the --scale setting is set to 4 or 8, the program will also look for replacement textures on '4x' or '8x' directories within this directory
# To replace specific textures as the game runs, uncomment the --texreplace line
# For example, with the current setting, it will load them from the "texreplace" directory inside the File Serving Directory
#--texreplace="host0:texreplace"

this one is to dump
# To save the in-game textures as the game runs, uncomment the --texsave line
# For example, with the current setting, it will save them in a "D:\Sony\PSPHD\texdump" directory (make sure the directory exists)
#--texsave="host0:texdump"
#--texmissingsave="host0:texdump"
 
Last edited:
I have a question about the settings of PSX-FPKG v0.3

The checkboxes: Skip Bootlogo, Emulate Analog Stick, Force 60hz
are these options the same like in config-title.txt:
--bios-hide-sce-osd= , --ctlanalog=on , --gpu-scanout-fps-override=ntsc ?


Where are these options stored?
 
Back
Top