PSX-FPKG

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

Is there any way to switch to the second MGS disk? I have the game on the ps4, at the point of changing the disc, I press options and select the second disc, but the emulator restarts. on psx, you just had to change the disc, without restarting the console.
Not if you can't save at the end of the disc. Maybe that's what the --metalgearsolid command is for - anyone? This needs fixing.
 
Last edited:
Improvement for Wild Arms

lua
Code:
-- Wild Arms
-- ported to PS4 lua by Stayhye
-- emu used=syphon filter v2


local patcher = function()
--turn while running
local turn_run = R3K_ReadMem16(0x0D3018)
if turn_run == 0x0040 then
R3K_WriteMem16(0x80132360,0xFF00)
end

end

EM_AddVsyncHook(patcher)
Why have you stopped uploading to reddit?

You make all these scripts and configs and have stopped uploading. Keep at it!!!
 
I only have free accounts, all maxed out. I usually don't upload anyway...not the best bandwidth for upload with my ISP
Dude, use 1fichier - you get 300GB with a free acount and they have never deleted anything to my knowledge. You upload stuff from the main page, not the file browser.
 
Try build game without cue. file!

Hi Vika23, thanks for your feedback.
However, I'm not sure I understand correctly.
When selecting Disc1 under PSX-FPKG, by default you must select a .cue file.
If I change to "All files (*.*)" and select the .bin, the application encounters an error :

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.ArgumentException: Un nom de chemin d'accès vide n'est pas légal.
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
à PSX_FPKG_Rewrite.Functions.findOffset(String filename, Byte[] query)
à PSX_FPKG_Rewrite.Form2.disc1Btn_Click(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys chargés **************
mscorlib
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PSX-FPKG-Rewrite
Version de l'assembly : 0.3.0.0
Version Win32 : 0.3.0.0
CodeBase : file:///C:/Users/Tony/Desktop/PSX-FPKG_v0.3/PSX-FPKG.exe
----------------------------------------
Microsoft.VisualBasic
Version de l'assembly : 10.0.0.0
Version Win32 : 14.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4536.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4536.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4395.0 built by: NET48REL1LAST_B
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
mscorlib.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

If I add a Disc2, I can choose the .bin file but cannot create the .fpkg, it requires me to select a valid Disc1 cue sheet.
 
Got a strange problem with MediEvil 2 (US) (SCUS-94564).

After adding widescreen and no dithering hacks and testing the game, this shows up after intro cutscenes:

Q9X6bZBE_o.png


I did some searching and apparently the NTSC-U version shouldn't have it:

"Note, however, that this game was the first to use the LibCrypt protection and is present only in the PAL version of the game; it is not present in the North American NTSC (NTSC-U/C) version. "

I edited the config with --libcrypt=26B6 anyway but that screen still showed up. Any idea why?

EDIT:

I edited the config with --libcrypt=0x26B6 as well, no difference.
That Magic Word your using only work for Ape Escape SCES-02029.
There no LibCrypt for NA version only these 3 version:
  • SCES-02544 0x3A17
  • SCES-02545 0xA96C
  • SCES-02546 0x378A
To find magic word for your game there all listed here: https://www.psdevwiki.com/ps3/PS1_Custom_Patches#Medievil_2
or you can find it manual using this guide: https://red-j.github.io/Libcrypt-PS1-Protection-bible/index.htm (Method 2: Use PSX emulator)
 
Hi Vika23, thanks for your feedback.
However, I'm not sure I understand correctly.
When selecting Disc1 under PSX-FPKG, by default you must select a .cue file.
If I change to "All files (*.*)" and select the .bin, the application encounters an error :

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.ArgumentException: Un nom de chemin d'accès vide n'est pas légal.
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
à PSX_FPKG_Rewrite.Functions.findOffset(String filename, Byte[] query)
à PSX_FPKG_Rewrite.Form2.disc1Btn_Click(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys chargés **************
mscorlib
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PSX-FPKG-Rewrite
Version de l'assembly : 0.3.0.0
Version Win32 : 0.3.0.0
CodeBase : file:///C:/Users/Tony/Desktop/PSX-FPKG_v0.3/PSX-FPKG.exe
----------------------------------------
Microsoft.VisualBasic
Version de l'assembly : 10.0.0.0
Version Win32 : 14.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4536.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4536.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4515.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4395.0 built by: NET48REL1LAST_B
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
mscorlib.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 4.0.0.0
Version Win32 : 4.8.4161.0 built by: NET48REL1
CodeBase : file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

If I add a Disc2, I can choose the .bin file but cannot create the .fpkg, it requires me to select a valid Disc1 cue sheet.
Before i have same issue with Tomb Raider The Times Exclusive Playable Level, but i build pkg manually way, not with app
 
I don't know if only me have Memory Cards conflict issue in Codename Tenka, but it will be FiXed with that patch - LINK
Codename Tenka. Short GamePlay!
VIDEO
 

Attachments

  • Codename Tenka.jpg
    Codename Tenka.jpg
    593.5 KB · Views: 37
Thank you, but why is this screen appearing if that is the case? I am definitely using the NTSC-U version.
Any point of using that manual find method on a US image that LibCrypt supposedly does not exist on? I am using a 1TB+ NTSC dump with multiple revisions etc. I seriously doubt it's anything other than USA NTSC-U.
 
Thrill Kill (Canceled) (SLUS00752)
Widescreen patch
Code:
-- Thrill Kill
-- ported to PS4 lua
-- emu used=syphonfilter v2
local patcher = function()
--Widescreen
R3K_WriteMem16(0x800977FC,0x1333)
end
EM_AddVsyncHook(patcher)

Plus attached Toc. file

config-title.txt
Code:
--multitap=on
--gpu-scanout-fps-override=ntsc
--scale=6

Thrill Kill [UnCensored]. Short GamePlay!
VIDEO
 

Attachments

@Stayhye do you test your configs/scripts? Rogue Trip doesn't work pretty sure Pandemonium 2 doesn't work either. There's something in your config fucking with it I think.

multitap-on command does not work.
 
@Stayhye do you test your configs/scripts? Rogue Trip doesn't work pretty sure Pandemonium 2 doesn't work either. There's something in your config fucking with it I think.

Works great for me. I don't post until I make it work for myself. I use a custom bios not included in the emu. remove the "--bios" line from config if present.
 
Warpath Jurassic Park (SLUS00976)
Widescreen patch
Code:
-- Warpath Jurassic Park
-- ported to PS4 lua
-- emu used=syphonfilter v2
local patcher = function()
--Widescreen
R3K_WriteMem16(0x80041558,0x0C00)
end
EM_AddVsyncHook(patcher)

config-title.txt

Code:
--multitap=on

--gpu-scanout-fps-override=ntsc
--scale=6

Warpath Jurassic Park. Short GamePlay!
VIDEO
 
Back
Top