where exactly can i get the emulator folder you use when you manually compile games?![]()
This is structure of new emu, with some new folder!
Inside global folder we see few lua. files!
disc-selection.lua gives hope that it will help with multi-disc games like MGS...with right disc swap!
If you mean what I think, you have to dump the game. If it's an fpkg, you can extract the pkg with orbis-pub-check (think that's the name), which is part of the PS4 sdk or you can try liborbispkg. The passcode for fpkg is usually 32x0's.where exactly can i get the emulator folder you use when you manually compile games?
# Santa Claus Saves the Earth
--gpu-scanout-fps-override=ntsc
--ps1-left-stick-action=1
--sim-analog-pad=0x2020
--has-shown-start-select-help=0
--bios-hide-sce-osd=1
--enable-user-color-adjustment=1
--ps5-uds=0
# Use the new shared image directory
--image-dir=data
# Enable LopnorSPU to fix some audio issues
--use-lopnor-spu=1
# following settings are machine-generated
--region-dir=SIEA
--ps4-trophies=0
--ps5-uds=1
--globalgamedata-dir=global
-- Santa Claus Saves the Earth [PAL] (SLES-04023)
-- emu used=Oddworld Abe's Oddysee v2
local patcher = function()
local pad_bits = EM_PadRead()
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 (UP ~= 0 and R1 ~= 0) then --arbitrarily assigned keys
-- Infinite energy
R3K_WriteMem16(0x800560E4,0x0004)
end
if (LEFT ~= 0 and R1 ~= 0) then
-- Infinite tomotoes
R3K_WriteMem16(0x800560FE,0x0063)
end
if (L3 ~= 0) then
-- Infinite lives
R3K_WriteMem16(0x80055FF4,0x0063)
end
if (R3 ~= 0) then
-- Infinite Snow balls
R3K_WriteMem16(0x800560FA,0x0063)
end
end
EM_AddVsyncHook(patcher)
# Sled Storm (US)
--gpu-scanout-fps-override=ntsc
--ps1-left-stick-action=1
--sim-analog-pad=0x2020
--enable-change-disc-ui=true
--has-shown-start-select-help=0
--bios-hide-sce-osd=1
--enable-user-color-adjustment=1
--ps5-uds=0
# Use the new shared image directory
--image-dir=data
# Enable LopnorSPU to fix some audio issues
--use-lopnor-spu=1
# following settings are machine-generated
--region-dir=SIEA
--ps4-trophies=0
--ps5-uds=1
--globalgamedata-dir=global
-- Sled Storm [NTSC-U] (SLUS-00955)
-- emu used=Oddworld Abe's Oddysee v2
local patcher = function()
local pad_bits = EM_PadRead()
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) then
-- Infinite money
R3K_WriteMem16(0x800BFFA0,0xFFFF)
end
if (R3 ~= 0) then
-- Stop Timer
R3K_WriteMem16(0x800D8AD0,0x0000)
end
-- Widescreen
R3K_WriteMem16(0x800E0128,0x1333)
end
EM_AddVsyncHook(patcher)
# Chippoke Ralph no Daibouken - The Adventure of Little Ralph
--gpu-scanout-fps-override=ntsc
--ps1-left-stick-action=1
--sim-analog-pad=0x2020
--has-shown-start-select-help=0
--bios-hide-sce-osd=1
--enable-user-color-adjustment=1
--ps5-uds=0
# Use the new shared image directory
--image-dir=data
# Enable LopnorSPU to fix some audio issues
--use-lopnor-spu=1
# following settings are machine-generated
--region-dir=SIEA
--ps4-trophies=0
--ps5-uds=1
--globalgamedata-dir=global
-- Chippoke Ralph no Daibouken - The Adventure of Little Ralph [NTSC-J] [English Patched] (SLPS-01853)
-- emu used=Oddworld Abe's Oddysee v2
local patcher = function()
local pad_bits = EM_PadRead()
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 (UP ~= 0 and R1 ~= 0) then --arbitrarily assigned keys
-- Walk Through Enemies
R3K_WriteMem16(0x8018874E,0xFFFF)
end
if (LEFT ~= 0 and R1 ~= 0) then
-- 1-Hit Death
R3K_WriteMem16(0x8018874E,0x0001)
end
if (L3 ~= 0) then
-- Infinite Time
R3K_WriteMem16(0x800B9BF8,0x9999)
end
if (R3 ~= 0) then
-- Infinite energy
R3K_WriteMem16(0x800B9C18,0x0009)
end
end
EM_AddVsyncHook(patcher)
Hi, did you manage to solve it? Because I'm also interested and researching.Hi. Can anyone please help with Crash bash ? i want to play it using 4 controllers and it only lets me use 2. even after adding the mtap to config file nothing happens or the game crashes, can anyone help with that please ? thanks in advance.
-- Turn on Analog button
EM_SetSettingCli("--legacy-force-analog=true")
EM_SetSettingCli("--legacy-force-analog-value=true")
-- Turn off Analog button
EM_SetSettingCli("--legacy-force-analog=true")
EM_SetSettingCli("--legacy-force-analog-value=false")
-- Jet Moto 2 v1.03
-- Called when reading input.
function ForceAnalog()
-- Used to force analog mode to on, for compatibility with old snapshots, if it's off.
-- Basically we just need to switch analog_button to true, but to do this, we have to
-- use the actual way this is done in real hardware.
if R3K_GetGpr(gpr.v0) == 0x41 then
print("Written")
--local stat = R3K_ReadMem8(0x1F80104A)
--print("Ctrl: ", string.format("%X", stat))
--stat = stat | 0x40
--R3K_WriteMem16(0x1F80104A, stat)
--stat = R3K_ReadMem16(0x1F80104A)
--print("Post stat: ", string.format("%X", stat))
--R3K_WriteMem16(0x1F80104A, 3)
R3K_WriteMem16(0x1F80104A, 3)
R3K_WriteMem8(0x1F801040, 1)
R3K_WriteMem8(0x1F801040, 0x44)
R3K_WriteMem8(0x1F801040, 0)
R3K_WriteMem8(0x1F801040, 1)
R3K_WriteMem8(0x1F801040, 2)
R3K_WriteMem8(0x1F801040, 0)
R3K_WriteMem8(0x1F801040, 0)
R3K_WriteMem8(0x1F801040, 0)
R3K_WriteMem8(0x1F801040, 0)
end
end
--R3K_AddHook(0x004680, 0x00021600, ForceAnalog)
DOOR_START_PC = 0x80013bc4
DOOR_START_OP = 0x27BDFFE8
DOOR_END_PC = 0x80026ed0
DOOR_END_OP = 0x03E00008
DOOR_SKIP_ADDR_1 = 0x8009A774
DOOR_SKIP_ADDR_2 = 0x80049E96
R3K_AddHook(DOOR_START_PC, DOOR_START_OP, function()
print("!!! Starting Door Sequence !!! ")
EM_ThrottleMax()
R3K_WriteMem16(DOOR_SKIP_ADDR_1, 0x417C)
R3K_WriteMem16(DOOR_SKIP_ADDR_2, 0x2400)
end
)
R3K_AddHook(DOOR_END_PC, DOOR_END_OP, function()
print("!!! Ending Door Sequence !!! ")
EM_ThrottleNormal()
end
)