JSimesen
Member
Bushido Blade - (SCUS94180)
Emu used = The Legend of Dragoon
config-title.txt
app_boot.lua
Widescreen.lua
Emu used = The Legend of Dragoon
config-title.txt
Code:
# Bushido Blade (all regions)
--ctlanalog=true
--sim-analog-pad=0x2020
--gpu-scanout-fps-override=ntsc
--bios-hide-sce-osd=1
--has-shown-start-select-help=1
# Use the new shared image directory
--image-dir=data
# following settings are machine-generated
--ps4-trophies=0
--ps5-uds=0
--trophies=0
--globalgamedata-dir=global
--force-frame-blend=false
# Allow the user to change between PAL and NTSC
--userui-region-selector=false
# Emu used = The Legend of Dragoon
app_boot.lua
Code:
require "disc-selection"
local ntsc_disc_map = {
en = { "Bushido_Blade_SCUS94180_EN.bin" }
}
RegisterDiscs(ntsc_disc_map)
Widescreen.lua
Code:
-- Title: Bushido Blade [NTSC-U] (SCUS-94180)
-- ported to PS4 lua by JSimesen
-- Widescreen hack by VIRGIN KLM
-- emu used= Legend of Dragoon
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 (R3 ~= 0 and L3 ~= 0) then --arbitrarily assigned keys
-- Widescreen 16:9
R3K_WriteMem16(0x8013C87C,0x0C00)
end
end
EM_AddVsyncHook(patcher)
-- The End Widescreen.