PS4 [Research]PS2 emulator configuration on PS4

In which part does this happen? I have the Palm version and it works perfectly, I played a lot. Only if it's some part I haven't been to yet.


Very first stage. Move at all and fall straight through the floor. What emu?

*edit - I will try rogue v2, thanks @Bortoloti

*edit 2 - That fixed it(Rogue v2 emu)

Animaniacs - The Great Edgar Hunt (SLES-52729)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9
--cdvd-sector-read-cycles=2000

#emu used=rogue v2
LUA
Code:
-- Animaniacs - The Great Edgar Hunt (E)(SLES-52729)
-- Widescreen hack by Arapapa
-- ported to PS4
-- emu used=rogue v2

apiRequest(0.1)

local gpr       = require("ee-gpr-alias")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()

local patch = function()
--16:9
eeObj.WriteMem32(0x203018E0,0x3F891A2A) --3fb6cb8f
--50/60 fps
eeObj.WriteMem32(0x20343668,0x00000002)

end

emuObj.AddVsyncHook(patch)

Works great now. Testing 50/60fps
 
Last edited:
Batman Begins PS2toPS4 Test

All FMVs from real movie, so if you want watch them, you can do it in bonus section, just use switcher and turn off 60 FPS cheat (L1+R3)!
 
@Vika23

Dragon's Lair 3D - Special edition - SLES51696

Code:
--gs-uprender=2x2
--gs-upscale=motionvector
--cdvd-sector-read-cycles=2000
--vu0-mpg-cycles=1
--vu1-mpg-cycles=1
--ee-cycle-scalar=0.49
--vu0-di-bits=0
--vu1-di-bits=0

#emu ADK

Look in time... 4:12.


 
Final Fight Streetwise [SLES-53853]
emu=jakv2
Code:
--gs-uprender=2x2
--gs-upscale=point --> fix slowdown
--host-display-mode=full
--ps2-lang=system
Lua:
Code:
apiRequest(1.0)

local eeObj       = getEEObject()
local emuObj = getEmuObject()
local gsObj       = getGsObject()
local hwaddr      = require("ee-hwaddr")

local patcher = function()

gsObj.SetDeinterlaceShift(0)

--Widescreen by nemesis2000
eeObj.WriteMem32(0x00180308,0x3c043f71)
eeObj.WriteMem32(0x0018030c,0x3489d5a2)
eeObj.WriteMem32(0x00180310,0x3c03bf71)
eeObj.WriteMem32(0x00180314,0x346ad5a2)
eeObj.WriteMem32(0x001ebed0,0x3c033fab)

--No Interlace by me
--patch=1,EE,001014ec,word,00000000 //64420008

--Filter Disable by me( fix menu slowdown)
eeObj.WriteMem32(0x20662994,0x00000001)
eeObj.WriteMem32(0x20662AF0,0x00000000)
eeObj.WriteMem32(0x20662AF4,0x00000000)
eeObj.WriteMem32(0x20662AF8,0x00000000)
eeObj.WriteMem32(0x20662AFc,0x00000000)
eeObj.WriteMem32(0x20662b30,0x00000000)
eeObj.WriteMem32(0x20662b34,0x00000000)
eeObj.WriteMem32(0x20662b38,0x00000000)
eeObj.WriteMem32(0x20662b3c,0x00000000)
eeObj.WriteMem32(0x20662b70,0x00000000)
eeObj.WriteMem32(0x20662b74,0x00000000)
eeObj.WriteMem32(0x20662b78,0x00000000)
eeObj.WriteMem32(0x20662b7c,0x00000000)
eeObj.WriteMem32(0x20662bb0,0x00000000)
eeObj.WriteMem32(0x20662bb4,0x00000000)
eeObj.WriteMem32(0x20662bb8,0x00000000)
eeObj.WriteMem32(0x20662bbc,0x00000000)
eeObj.WriteMem32(0x20662bf0,0x00000000)
eeObj.WriteMem32(0x20662bf4,0x00000000)
eeObj.WriteMem32(0x20662bf8,0x00000000)
eeObj.WriteMem32(0x20662bfc,0x00000000)
eeObj.WriteMem32(0x20662c30,0x00000000)
eeObj.WriteMem32(0x20662c34,0x00000000)
eeObj.WriteMem32(0x20662c38,0x00000000)
eeObj.WriteMem32(0x20662c3c,0x00000000)
eeObj.WriteMem32(0x20662c70,0x00000000)
eeObj.WriteMem32(0x20662c74,0x00000000)
eeObj.WriteMem32(0x20662c78,0x00000000)
eeObj.WriteMem32(0x20662c7c,0x00000000)
eeObj.WriteMem32(0x20662cb0,0x00000000)
eeObj.WriteMem32(0x20662cb4,0x00000000)
eeObj.WriteMem32(0x20662cb8,0x00000000)
eeObj.WriteMem32(0x20662cbc,0x00000000)
eeObj.WriteMem32(0x20662bf4,0x00000000)
eeObj.WriteMem32(0x20662cf0,0x00000000)
eeObj.WriteMem32(0x20662cf4,0x00000000)
eeObj.WriteMem32(0x20662cf8,0x00000000)
eeObj.WriteMem32(0x20662cfc,0x00000000)
eeObj.WriteMem32(0x20662d30,0x00000000)
eeObj.WriteMem32(0x20662d34,0x00000000)
eeObj.WriteMem32(0x20662d38,0x00000000)
eeObj.WriteMem32(0x20662d3c,0x00000000)
eeObj.WriteMem32(0x20662ab0,0x00000000)
eeObj.WriteMem32(0x20662ab4,0x00000000)
eeObj.WriteMem32(0x20662ab8,0x00000000)
eeObj.WriteMem32(0x20662abc,0x00000000)
eeObj.WriteMem32(0x20662a70,0x00000000)
eeObj.WriteMem32(0x20662a74,0x00000000)
eeObj.WriteMem32(0x20662a78,0x00000000)
eeObj.WriteMem32(0x20662a7c,0x00000000)
eeObj.WriteMem32(0x20662ab0,0x00000000)
eeObj.WriteMem32(0x20662a30,0x00000000)
eeObj.WriteMem32(0x20662a34,0x00000000)
eeObj.WriteMem32(0x20662a38,0x00000000)
eeObj.WriteMem32(0x20662a3c,0x00000000)
eeObj.WriteMem32(0x206629f0,0x00000000)
eeObj.WriteMem32(0x206629f4,0x00000000)
eeObj.WriteMem32(0x206629f8,0x00000000)
eeObj.WriteMem32(0x206629fc,0x00000000)
eeObj.WriteMem32(0x206629b0,0x00000000)
eeObj.WriteMem32(0x206629b4,0x00000000)
eeObj.WriteMem32(0x206629b8,0x00000000)
eeObj.WriteMem32(0x206629bc,0x00000000)
eeObj.WriteMem32(0x20662970,0x00000000)
eeObj.WriteMem32(0x20662974,0x00000000)
eeObj.WriteMem32(0x20662978,0x00000000)
eeObj.WriteMem32(0x2066297c,0x00000000)
eeObj.WriteMem32(0x20662930,0x00000000)
eeObj.WriteMem32(0x20662934,0x00000000)
eeObj.WriteMem32(0x20662938,0x00000000)
eeObj.WriteMem32(0x2066293c,0x00000000)
eeObj.WriteMem32(0x206628f0,0x00000000)
eeObj.WriteMem32(0x206628f4,0x00000000)
eeObj.WriteMem32(0x206628f8,0x00000000)
eeObj.WriteMem32(0x206628fc,0x00000000)
eeObj.WriteMem32(0x206628b0,0x00000000)
eeObj.WriteMem32(0x206628b4,0x00000000)
eeObj.WriteMem32(0x206628b8,0x00000000)
eeObj.WriteMem32(0x206628bc,0x00000000)
eeObj.WriteMem32(0x20662870,0x00000000)
eeObj.WriteMem32(0x20662874,0x00000000)
eeObj.WriteMem32(0x20662878,0x00000000)
eeObj.WriteMem32(0x2066287c,0x00000000)
end
emuObj.ThrottleFast()
emuObj.AddVsyncHook(patcher)

Fully playable now, i completed 2 times. Only little problem is in final fight original in extras(shaking screen).
 
Last edited:
@Vika23

Dragon's Lair 3D - Special edition - SLES51696

Code:
--gs-uprender=2x2
--gs-upscale=motionvector
--cdvd-sector-read-cycles=2000
--vu0-mpg-cycles=1
--vu1-mpg-cycles=1
--ee-cycle-scalar=0.49
--vu0-di-bits=0
--vu1-di-bits=0

#emu ADK

Look in time... 4:12.


i only see better framerate in castle, good!

Code:
--gs-upscale=motionvector

is something new? i not see that option in PS2-FPKG v0.6
 
WIP Fix for 007: Nightfire NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--host-display-mode=16:9
--cdvd-sector-read-cycles=5000
--mtap1=byhost

#emu used=red dead
LUA
Code:
-- 007: Nightfire NTSC
-- Cheats by codemaster
-- Needs gfx fix
-- emu used=red dead

local gpr = require("ee-gpr-alias")

apiRequest(0.1)

local eeObj = getEEObject()
local emuObj = getEmuObject()

--eeInsnReplace(0x00a0eec8, 0x27bdff40, 0x03e00008)
--eeInsnReplace(0x00a0eecc, 0xffb20060, 0x00000000)

local patcher = function()
--Weapons With Zoom Can Zoom HELLA by Code Master
local Zoom = eeObj.ReadMem16(0x22433C)
if Zoom == 0x2420 then
eeObj.WriteMem32(0x201A1B84,0x00000000)
eeObj.WriteMem32(0x201A1BC0,0x00000000)
end
--All Levels by Code Master
local All_Levels = eeObj.ReadMem16(0x22433C)
if All_Levels == 0x2420 then
eeObj.WriteMem32(0x202DF2F0,0x00000001)
eeObj.WriteMem32(0x202DF308,0x00000001)
eeObj.WriteMem32(0x202DF320,0x00000001)
eeObj.WriteMem32(0x202DF338,0x00000001)
eeObj.WriteMem32(0x202DF350,0x00000001)
eeObj.WriteMem32(0x202DF368,0x00000001)
eeObj.WriteMem32(0x202DF380,0x00000001)
eeObj.WriteMem32(0x202DF398,0x00000001)
eeObj.WriteMem32(0x202DF3B0,0x00000001)
eeObj.WriteMem32(0x202DF3C8,0x00000001)
eeObj.WriteMem32(0x202DF3E0,0x00000001)
eeObj.WriteMem32(0x202DF3F8,0x00000001)
end

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)


Works great! No more freezing or crashing. Emu fixed that. Still need a code to fix weird graphical glitches. 4 player works!

oh man, I been waiting for this and agent under fire to become playable for ever! this is hype!
 
The Sims 2 Before\\\After FiX Comparison & Gameplay Test PS2toPS4

Post full lua with widescreen patch!
Code:
-- The Sims 2
-- emu used=JakX v2

apiRequest(1.0)   

local gpr = require("ee-gpr-alias")

local eeObj = getEEObject()
local emuObj = getEmuObject()

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )

local patcher = function()

--Widescreen hack 16:9

--aa3f013c abaa2134 00008144 0800e003 00000000 00000000 0800e003
eeObj.WriteMem32(0x003db168,0x3c013fe3) --3c013faa
eeObj.WriteMem32(0x003db16c,0x34218e2a) --3421aaab

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Thanks @Jvn9207 for share again
 
The Sims 2 Before\\\After FiX Comparison & Gameplay Test PS2toPS4

Post full lua with widescreen patch!
Code:
-- The Sims 2
-- emu used=JakX v2

apiRequest(1.0)  

local gpr = require("ee-gpr-alias")

local eeObj = getEEObject()
local emuObj = getEmuObject()

emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )

local patcher = function()

--Widescreen hack 16:9

--aa3f013c abaa2134 00008144 0800e003 00000000 00000000 0800e003
eeObj.WriteMem32(0x003db168,0x3c013fe3) --3c013faa
eeObj.WriteMem32(0x003db16c,0x34218e2a) --3421aaab

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)

Thanks @Jvn9207 for share again

thanks to all of you, i started with 0 knowledge, this thread help me alot(i read it all).
 
WIP Fix for 007: Nightfire NTSC

CLI
Code:
--gs-uprender=2x2
--gs-upscale=edgesmooth

--host-display-mode=16:9
--cdvd-sector-read-cycles=5000
--mtap1=byhost

#emu used=red dead
LUA
Code:
-- 007: Nightfire NTSC
-- Cheats by codemaster
-- Needs gfx fix
-- emu used=red dead

local gpr = require("ee-gpr-alias")

apiRequest(0.1)

local eeObj = getEEObject()
local emuObj = getEmuObject()

--eeInsnReplace(0x00a0eec8, 0x27bdff40, 0x03e00008)
--eeInsnReplace(0x00a0eecc, 0xffb20060, 0x00000000)

local patcher = function()
--Weapons With Zoom Can Zoom HELLA by Code Master
local Zoom = eeObj.ReadMem16(0x22433C)
if Zoom == 0x2420 then
eeObj.WriteMem32(0x201A1B84,0x00000000)
eeObj.WriteMem32(0x201A1BC0,0x00000000)
end
--All Levels by Code Master
local All_Levels = eeObj.ReadMem16(0x22433C)
if All_Levels == 0x2420 then
eeObj.WriteMem32(0x202DF2F0,0x00000001)
eeObj.WriteMem32(0x202DF308,0x00000001)
eeObj.WriteMem32(0x202DF320,0x00000001)
eeObj.WriteMem32(0x202DF338,0x00000001)
eeObj.WriteMem32(0x202DF350,0x00000001)
eeObj.WriteMem32(0x202DF368,0x00000001)
eeObj.WriteMem32(0x202DF380,0x00000001)
eeObj.WriteMem32(0x202DF398,0x00000001)
eeObj.WriteMem32(0x202DF3B0,0x00000001)
eeObj.WriteMem32(0x202DF3C8,0x00000001)
eeObj.WriteMem32(0x202DF3E0,0x00000001)
eeObj.WriteMem32(0x202DF3F8,0x00000001)
end

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patcher)


Works great! No more freezing or crashing. Emu fixed that. Still need a code to fix weird graphical glitches. 4 player works!

Do you mean reddeadrevolver as the emu? cant seem to find this, any other working emus?
 
Heya! i've seen on the wiki that Gran Turismo 4 is playble with minor glitches, is there a fix for it (NTSC) or is it as good as it get? Love your work, everyday there's is some advancement.
 
Hot Wheels Beat That! NTSC

Cli
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth
--gs-kernel-cl="h2lpool"
--gs-kernel-cl-up="h2lpool2x2"
--vu1-mpg-cycles=1025     #1000 -1050
--vu1-di-bits=0

Lua
Code:
-- Hot Wheels - Beat That (U)(SLUS-21628)
-- Widescreen hack by Arapapa
-- emu ADK

apiRequest(1.0)

local gpr       = require("ee-gpr-alias")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()

local patches = function()
--Widescreen hack 16:9
eeObj.WriteMem32(0x00239da0,0x080a6824)

eeObj.WriteMem32(0x0029a090,0x46014843)
eeObj.WriteMem32(0x0029a094,0x3c013f40)
eeObj.WriteMem32(0x0029a098,0x4481f000)
eeObj.WriteMem32(0x0029a09c,0x461e0842)
eeObj.WriteMem32(0x0029a0a0,0x0808e769)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patches)

 
Heya! i've seen on the wiki that Gran Turismo 4 is playble with minor glitches, is there a fix for it (NTSC) or is it as good as it get? Love your work, everyday there's is some advancement.
Try this:
in txt
Code:
--gs-dirty-page-policy=1 #Fix Graphics in racing licenses

--fpu-accurate-muldiv-range=0x579E00,0x57A058 #Fix video anticipated race license

#Fix incomplete letters in menu

--vu0-no-clamping=0
--vu0-clamp-operands=1
--vu0-clamp-results=1

--vu1-no-clamping=0
--vu1-clamp-operands=1
--vu1-clamp-results=1

--cop2-no-clamping=0
--cop2-clamp-operands=1
--cop2-clamp-results=1

in lua
Code:
--gametitle=Gran Turismo 4 [SCUS-97328]

apiRequest(0.1)

local eeObj  = getEEObject()
local emuObj = getEmuObject()
local gsObj  = getGsObject()

local widescreen = function()

-- Autoboot mode NTSC=0 / 480p=1 / 1080i=2
eeObj.WriteMem32(0x20A461F0,0x00000001)

-- no interlacing

--Fix
eeObj.WriteMem32(0x001D6558,0x00000000) --0C075A5A Fix shadows
eeObj.WriteMem32(0x0033F760,0x1000000B) --5440000B Graphics increment
--eeObj.WriteMem32(0x0056348C,0x00000000) --14730006

eeObj.WriteMem32(0x001D69D0,0x450000A1) --450100A1
eeObj.WriteMem32(0x003EFE0C,0x4680F320) --46806320
eeObj.WriteMem32(0x003EFE2C,0x4680F360) --46806B60

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(widescreen)

Bully v.2 emu
 
Could someone please kindly instruct me how I can patch Soul Calibur 3? I have both the default NTSC-U ISO and a modded version with the arcade contents restored, and using the config found on page 61 neither works, am I doing it wrong?
unknown.png


The .txt contains

--gs-uprender=2x2
--gs-upscale=edgesmooth
--gs-kernel-cl-up="up2x2tc"
--vif1-instant-xfer=0
--vu1-mpg-cycles=1 #Fix crash 70%- Story mode and Chronicles of The sword
--vu0-mpg-cycles=1 #Fix crash 30% - Story mode and Chronicles of The sword
--ee-cycle-scalar=1.5
--iop-cycle-scalar=2.1
--cdvd-sector-read-cycles=4000

The LUA contains


-- Soul Calibur III (SLUS-21216)
-- ported to PS4 Lua
apiRequest(1.0)
local gpr = require("ee-gpr-alias")
local emuObj = getEmuObject()
local eeObj = getEEObject()
local gsObj = getGsObject()
emuObj.SetDisplayAspectWide()
local WS = function()
-- 16:9
eeObj.WriteMem32(0x0012a118,0x3c013f40)
eeObj.WriteMem32(0x0012a11c,0x34210000)
-- PS3 Config
eeObj.WriteMem32(0x0012eb3c,0x00000000)
eeObj.WriteMem32(0x0012e96c,0x00000000)
eeObj.WriteMem32(0x0012e9fc,0x10000015)
eeObj.WriteMem32(0x001637b4,0x14430003)
eeObj.WriteMem32(0x001fa4fc,0x10000016)
eeObj.Vu1MpgCycles(math.floor(206 * 1.0345))
emuObj.ThrottleMax()
end
emuObj.AddVsyncHook(WS)
-- Fix shadow
emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )
 
YU-GI-OH CAPSULE MONSTERS BLACK SCREEN FIXED!

Config: --vu1=jit-sync
EMU: RECVX
You have to use both emu and config otherwise won't work! Enjoy :tranquillity:
 
@GMV
your lua file should be named as such -

SLUS-21216_config.lua

txt config file could be any name since its actually being read by program and lines are inserted into config-emu-ps4.txt for fpkg creation.

Edit: and im not positive the memory card format is correct. As I never used that option. Another thing to remove in case problems persist.
 
Last edited:
  • Like
Reactions: GMV
@GMV

  • Icon and background, png format... 512x512 and 1920x1080.
  • Auto-add txt Config and auto add lua config...Use the files from the configs_lua and configs_txt folder.
  • (You are adding manually and not automatically): in this case...uncheck all options.
 
  • Like
Reactions: GMV
Spy hunter Trilogy

CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9
--cdvd-sector-read-cycles=2000

#emu used=psychonauts v1
LUA
Code:
-- Spyhunter
-- Widescreen Fix
-- ported to PS4
-- emu used=psychonauts v1

apiRequest(0.1)

local gpr       = require("ee-gpr-alias")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()

--math.random() + math.random(1, 99)

local patch = function()

eeObj.WriteMem32(0x002AF828,0x3C013F10)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patch)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9
--cdvd-sector-read-cycles=2000

#emu used=psychonauts v1
LUA
Code:
-- Spyhunter 2
-- Widescreen Fix
-- ported to PS4
-- emu used=psychonauts v1

apiRequest(0.1)

local gpr       = require("ee-gpr-alias")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()

--math.random() + math.random(1, 99)

local patch = function()

eeObj.WriteMem32(0x002badc4,0x3c013fe3)
eeObj.WriteMem32(0x002badc8,0x34217fa5)

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patch)

CLI
Code:
--gs-uprender=2x2
--gs-upscale=EdgeSmooth

--host-display-mode=16:9
--cdvd-sector-read-cycles=2000

--ee-cycle-scalar=2.0

#emu used=psychonauts v1
LUA
Code:
-- Spyhunter Nowhere to Run
-- Widescreen Fix
-- ported to PS4
-- emu used=psychonauts v1

apiRequest(0.1)

local gpr       = require("ee-gpr-alias")

local emuObj      = getEmuObject()
local eeObj       = getEEObject()

--math.random() + math.random(1, 99)

local patch = function()
--Spy Hunter Arcade by Code Master
eeObj.WriteMem32(0x20AB25B0,0x00000001)
--16:9
eeObj.WriteMem32(0x005fb404,0x3fdba5e3) --3fa4bc75
--Unlock All Missions by Code Master
eeObj.WriteMem32(0x202BFC14,0x24020001)
eeObj.WriteMem32(0x202BFC68,0xAE0200F0)
--Unlock All Movies by Code Master
eeObj.WriteMem32(0x202C00C0,0x24050001)
eeObj.WriteMem32(0x202C01A8,0xAE2500F0)
--Unlock All Bonus Levels by Code Master
eeObj.WriteMem32(0x202C04B0,0x24030001)
eeObj.WriteMem32(0x202C04B4,0x10000036)
eeObj.WriteMem32(0x202C04B8,0xAE2300F0)
--Unlock All Weapons by Code Master
eeObj.WriteMem32(0x202C0C04,0x24050001)
eeObj.WriteMem32(0x202C0C0C,0xAE2500F0)
--60 fps
eeObj.WriteMem32(0x20384818,0x28630001) --fps
-- Speed Selector
local pad_bits    = emuObj.GetPad()

local UP  = pad_bits &  0x0010
local DOWN  = pad_bits &  0x0040
local LEFT  = pad_bits &  0x0080
local RIGHT  = pad_bits &  0x0020
local Triangle = pad_bits &  0x1000
local Cross  = pad_bits &  0x4000
local Square  = pad_bits &  0x8000
local Circle  = pad_bits &  0x2000
local L1  = pad_bits &  0x0400
local L2  = pad_bits &  0x0100
local L3  = pad_bits &  0x0002
local R1  = pad_bits &  0x0800
local R2  = pad_bits &  0x0200
local R3  = pad_bits &  0x0004
local Select  = pad_bits &  0x0001
local Start  = pad_bits &  0x0008

if (L3 ~= 0 and Select ~= 0) then --Normal Speed
eeObj.WriteMem32(0x2068A9B8,0x3F800000) --set normal speed
end
if (R3 ~= 0 and Select ~= 0) then --Half Speed
eeObj.WriteMem32(0x2068A9B8,0x3F000000) --set half speed necessary for driving missions
end

emuObj.ThrottleMax()
end

emuObj.AddVsyncHook(patch)

Tested a little.
 

Attachments

Last edited:
  • Like
Reactions: GMV
@GMV
your lua file should be named as such -

SLUS-21216_config.lua

txt config file could be any name since its actually being read by program and lines are inserted into config-emu-ps4.txt for fpkg creation.

Edit: and im not positive the memory card format is correct. As I never used that option. Another thing to remove in case problems persist.

Thank you. The memory card does work, I managed to get the game to boot before but the character select screen flickers a lot, sometimes disappears completely. Some stages crash the game, some characters cause huge framerate drops, and I've been trying with this new config with both modded and vanilla games to no avail.


@GMV

  • Icon and background, png format... 512x512 and 1920x1080.
  • Auto-add txt Config and auto add lua config...Use the files from the configs_lua and configs_txt folder.
  • (You are adding manually and not automatically): in this case...uncheck all options.

About the icon and bg images, whenever I choose to use that the program gives me an error and still compiles the pkg regardless, and I end up with the default images. But thank you for the tips, I didn't know I had to uncheck the boxes. I'll try all these right now.
 
Try this:
in txt
Code:
--gs-dirty-page-policy=1 #Fix Graphics in racing licenses

--fpu-accurate-muldiv-range=0x579E00,0x57A058 #Fix video anticipated race license

#Fix incomplete letters in menu

--vu0-no-clamping=0
--vu0-clamp-operands=1
--vu0-clamp-results=1

--vu1-no-clamping=0
--vu1-clamp-operands=1
--vu1-clamp-results=1

--cop2-no-clamping=0
--cop2-clamp-operands=1
--cop2-clamp-results=1

in lua
Code:
--gametitle=Gran Turismo 4 [SCUS-97328]

apiRequest(0.1)

local eeObj  = getEEObject()
local emuObj = getEmuObject()
local gsObj  = getGsObject()

local widescreen = function()

-- Autoboot mode NTSC=0 / 480p=1 / 1080i=2
eeObj.WriteMem32(0x20A461F0,0x00000001)

-- no interlacing

--Fix
eeObj.WriteMem32(0x001D6558,0x00000000) --0C075A5A Fix shadows
eeObj.WriteMem32(0x0033F760,0x1000000B) --5440000B Graphics increment
--eeObj.WriteMem32(0x0056348C,0x00000000) --14730006

eeObj.WriteMem32(0x001D69D0,0x450000A1) --450100A1
eeObj.WriteMem32(0x003EFE0C,0x4680F320) --46806320
eeObj.WriteMem32(0x003EFE2C,0x4680F360) --46806B60

emuObj.ThrottleMax()

end

emuObj.AddVsyncHook(widescreen)

Bully v.2 emu
Thank you! that's great, looks perfectly playable, just one question, will i need to get and put bully v.2 emu into the PS2-FPKG for this to work?
 

Similar threads

Back
Top