From 8a7de033d79a81215ff5d77ae0b038b9d4ea02c9 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Mon, 5 Sep 2022 20:49:54 +0200 Subject: [PATCH] DUCKSTATION: added first config --- emu-configs/duckstation/settings.ini | 230 +++++++++++++++++++++++++++ retrodeck.sh | 8 + 2 files changed, 238 insertions(+) create mode 100644 emu-configs/duckstation/settings.ini diff --git a/emu-configs/duckstation/settings.ini b/emu-configs/duckstation/settings.ini new file mode 100644 index 00000000..a4ce96e0 --- /dev/null +++ b/emu-configs/duckstation/settings.ini @@ -0,0 +1,230 @@ +[Main] +SettingsVersion = 3 +EmulationSpeed = 1.000000 +FastForwardSpeed = 0.000000 +TurboSpeed = 0.000000 +SyncToHostRefreshRate = false +IncreaseTimerResolution = true +InhibitScreensaver = true +StartPaused = false +StartFullscreen = false +PauseOnFocusLoss = true +PauseOnMenu = true +SaveStateOnExit = true +ConfirmPowerOff = true +LoadDevicesFromSaveStates = true +ApplyGameSettings = true +AutoLoadCheats = true +DisableAllEnhancements = false +RewindEnable = false +RewindFrequency = 10.000000 +RewindSaveSlots = 10 +RunaheadFrameCount = 0.000000 +ControllerBackend = SDL +ControllerEnhancedMode = false +EnableDiscordPresence = false + + +[Console] +Region = Auto +Enable8MBRAM = false + + +[CPU] +ExecutionMode = Recompiler +OverclockNumerator = 1 +OverclockDenominator = 1 +OverclockEnable = false +RecompilerMemoryExceptions = false +RecompilerBlockLinking = true +ICache = false +FastmemMode = true + + +[GPU] +Renderer = Vulkan +ResolutionScale = 1 +Multisamples = 1 +UseDebugDevice = false +UseSoftwareRendererForReadbacks = false +PerSampleShading = false +UseThread = true +ThreadedPresentation = true +TrueColor = false +ScaledDithering = true +TextureFilter = Nearest +DownsampleMode = Disabled +DisableInterlacing = true +ForceNTSCTimings = false +WidescreenHack = false +ChromaSmoothing24Bit = false +PGXPEnable = false +PGXPCulling = true +PGXPTextureCorrection = true +PGXPVertexCache = false +PGXPCPU = false +PGXPPreserveProjFP = false +PGXPTolerance = -1.000000 +PGXPDepthBuffer = false +PGXPDepthClearThreshold = 300.000000 + + +[Display] +CropMode = Overscan +ActiveStartOffset = 0 +ActiveEndOffset = 0 +LineStartOffset = 0 +LineEndOffset = 0 +AspectRatio = Auto (Game Native) +CustomAspectRatioNumerator = 4 +Force4_3For24Bit = false +LinearFiltering = true +IntegerScaling = false +Stretch = false +PostProcessing = false +ShowOSDMessages = true +ShowFPS = false +ShowVPS = false +ShowSpeed = false +ShowResolution = false +ShowStatusIndicators = true +ShowEnhancements = false +Fullscreen = false +VSync = false +DisplayAllFrames = false +PostProcessChain = +MaxFPS = 0.000000 +InternalResolutionScreenshots = false + + +[CDROM] +ReadaheadSectors = 8 +RegionCheck = false +LoadImageToRAM = false +MuteCDAudio = false +ReadSpeedup = 1 +SeekSpeedup = 1 + + +[Audio] +Backend = Cubeb +OutputVolume = 100 +FastForwardVolume = 100 +BufferSize = 2048 +Resampling = true +OutputMuted = 0 +Sync = true +DumpOnBoot = false + + +[BIOS] +SearchDirectory = /home/deck/retrodeck/bios +PathNTSCU = +PathNTSCJ = +PathPAL = +PatchTTYEnable = false +PatchFastBoot = false + + +[Controller1] +Type = DigitalController +ButtonUp = Keyboard/W +ButtonDown = Keyboard/S +ButtonLeft = Keyboard/A +ButtonRight = Keyboard/D +ButtonSelect = Keyboard/Backspace +ButtonStart = Keyboard/Return +ButtonTriangle = Keyboard/Keypad+8 +ButtonCross = Keyboard/Keypad+2 +ButtonSquare = Keyboard/Keypad+4 +ButtonCircle = Keyboard/Keypad+6 +ButtonL1 = Keyboard/Q +ButtonL2 = Keyboard/1 +ButtonR1 = Keyboard/E +ButtonR2 = Keyboard/3 + + +[Controller2] +Type = None + + +[Controller3] +Type = None + + +[Controller4] +Type = None + + +[Controller5] +Type = None + + +[Controller6] +Type = None + + +[Controller7] +Type = None + + +[Controller8] +Type = None + + +[MemoryCards] +Card1Type = PerGameTitle +Card2Type = None +UsePlaylistTitle = true + + +[ControllerPorts] +MultitapMode = Disabled + + +[Logging] +LogLevel = Info +LogFilter = +LogToConsole = true +LogToDebug = false +LogToWindow = false +LogToFile = false + + +[Debug] +ShowVRAM = false +DumpCPUToVRAMCopies = false +DumpVRAMToCPUCopies = false +ShowGPUState = false +ShowCDROMState = false +ShowSPUState = false +ShowTimersState = false +ShowMDECState = false +ShowDMAState = false + + +[Hacks] +DMAMaxSliceTicks = 1000 +DMAHaltTicks = 100 +GPUFIFOSize = 16 +GPUMaxRunAhead = 128 + + +[Hotkeys] +FastForward = Keyboard/Tab +TogglePause = Keyboard/Space +ToggleFullscreen = Keyboard/Alt+Return +Screenshot = Keyboard/F10 +OpenQuickMenu = Keyboard/Escape + + +[Cheevos] +Enabled = true +TestMode = false +UnofficialTestMode = false +UseFirstDiscFromPlaylist = true + + +[UI] +MainWindowGeometry = AdnQywADAAAAAADrAAAAEQAABAoAAALpAAAA6wAAAC4AAAQKAAAC6QAAAAAAAAAABQAAAADrAAAALgAABAoAAALp +MainWindowState = AAAA/wAAAAD9AAAAAAAAAyAAAAI9AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAHQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAA== diff --git a/retrodeck.sh b/retrodeck.sh index 842afcb5..34e2829e 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -169,6 +169,14 @@ standalones_init() { cp -fv $emuconfigs/ppssppsdl/* /var/config/ppsspp/PSP/SYSTEM/ sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/config/ppsspp/PSP/SYSTEM/ppsspp.ini + # PPSSPPSDL + echo "------------------------" + echo "Initializing DUCKSTATION" + echo "------------------------" + mkdir -p /var/config/duckstation/ + cp -fv $emuconfigs/duckstation/* /var/config/duckstation + sed -i 's#/home/deck/retrodeck/bios#'$rdhome/bios'#g' /var/config/ppsspp/PSP/SYSTEM/settings.ini + # PICO-8 # Moved PICO-8 stuff in the finit as only it knows here roms folders is