mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
CEMU: basic config, need to be finalized [skip ci]
This commit is contained in:
parent
8c8762d6ca
commit
be123075a5
112
emu-configs/cemu/settings.xml
Normal file
112
emu-configs/cemu/settings.xml
Normal file
|
@ -0,0 +1,112 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<content>
|
||||
<logflag>0</logflag>
|
||||
<advanced_ppc_logging>false</advanced_ppc_logging>
|
||||
<mlc_path>RETRODECKHOMEDIR/bios/cemu</mlc_path>
|
||||
<permanent_storage>true</permanent_storage>
|
||||
<language>0</language>
|
||||
<use_discord_presence>true</use_discord_presence>
|
||||
<fullscreen_menubar>false</fullscreen_menubar>
|
||||
<check_update>false</check_update>
|
||||
<save_screenshot>true</save_screenshot>
|
||||
<vk_warning>false</vk_warning>
|
||||
<gp_download>true</gp_download>
|
||||
<macos_disclaimer>false</macos_disclaimer>
|
||||
<fullscreen>true</fullscreen>
|
||||
<proxy_server></proxy_server>
|
||||
<disable_screensaver>true</disable_screensaver>
|
||||
<console_language>1</console_language>
|
||||
<window_position>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
</window_position>
|
||||
<window_size>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
</window_size>
|
||||
<window_maximized>false</window_maximized>
|
||||
<open_pad>false</open_pad>
|
||||
<pad_position>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
</pad_position>
|
||||
<pad_size>
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
</pad_size>
|
||||
<pad_maximized>false</pad_maximized>
|
||||
<GameList>
|
||||
<style>0</style>
|
||||
<order></order>
|
||||
<name_width>500</name_width>
|
||||
<version_width>60</version_width>
|
||||
<dlc_width>50</dlc_width>
|
||||
<game_time_width>140</game_time_width>
|
||||
<game_started_width>160</game_started_width>
|
||||
<region_width>306</region_width>
|
||||
</GameList>
|
||||
<RecentLaunchFiles/>
|
||||
<RecentNFCFiles/>
|
||||
<GamePaths>
|
||||
<Entry>RETRODECKHOMEDIR/roms/wiiu</Entry>
|
||||
</GamePaths>
|
||||
<GameCache/>
|
||||
<GraphicPack/>
|
||||
<Graphic>
|
||||
<api>1</api>
|
||||
<device>00000000000000000000000000000000</device>
|
||||
<VSync>0</VSync>
|
||||
<GX2DrawdoneSync>true</GX2DrawdoneSync>
|
||||
<UpscaleFilter>1</UpscaleFilter>
|
||||
<DownscaleFilter>0</DownscaleFilter>
|
||||
<FullscreenScaling>0</FullscreenScaling>
|
||||
<AsyncCompile>false</AsyncCompile>
|
||||
<vkAccurateBarriers>true</vkAccurateBarriers>
|
||||
<Overlay>
|
||||
<Position>0</Position>
|
||||
<TextColor>4294967295</TextColor>
|
||||
<TextScale>100</TextScale>
|
||||
<FPS>true</FPS>
|
||||
<DrawCalls>false</DrawCalls>
|
||||
<CPUUsage>false</CPUUsage>
|
||||
<CPUPerCoreUsage>false</CPUPerCoreUsage>
|
||||
<RAMUsage>false</RAMUsage>
|
||||
<VRAMUsage>false</VRAMUsage>
|
||||
<Debug>false</Debug>
|
||||
</Overlay>
|
||||
<Notification>
|
||||
<Position>1</Position>
|
||||
<TextColor>4294967295</TextColor>
|
||||
<TextScale>100</TextScale>
|
||||
<ControllerProfiles>true</ControllerProfiles>
|
||||
<ControllerBattery>false</ControllerBattery>
|
||||
<ShaderCompiling>true</ShaderCompiling>
|
||||
<FriendService>true</FriendService>
|
||||
</Notification>
|
||||
</Graphic>
|
||||
<Audio>
|
||||
<api>0</api>
|
||||
<delay>2</delay>
|
||||
<TVChannels>1</TVChannels>
|
||||
<PadChannels>1</PadChannels>
|
||||
<InputChannels>0</InputChannels>
|
||||
<TVVolume>50</TVVolume>
|
||||
<PadVolume>0</PadVolume>
|
||||
<InputVolume>50</InputVolume>
|
||||
<TVDevice>default</TVDevice>
|
||||
<PadDevice></PadDevice>
|
||||
<InputDevice></InputDevice>
|
||||
</Audio>
|
||||
<Account>
|
||||
<PersistentId>2147483649</PersistentId>
|
||||
<OnlineEnabled>false</OnlineEnabled>
|
||||
<ActiveService>0</ActiveService>
|
||||
</Account>
|
||||
<Debug>
|
||||
<CrashDumpUnix>0</CrashDumpUnix>
|
||||
<GDBPort>1337</GDBPort>
|
||||
</Debug>
|
||||
<Input>
|
||||
<DSUC host="127.0.0.1" port="26760"/>
|
||||
</Input>
|
||||
</content>
|
|
@ -100,6 +100,7 @@
|
|||
<emulator name="CEMU">
|
||||
<!-- Nintendo Wii U emulator Cemu -->
|
||||
<rule type="systempath">
|
||||
<entry>Cemu-wrapper</entry>
|
||||
<entry>cemu</entry>
|
||||
<entry>Cemu</entry>
|
||||
</rule>
|
||||
|
|
26
functions.sh
26
functions.sh
|
@ -934,12 +934,28 @@ ryujinx_init() {
|
|||
dir_prep "$rdhome/bios/switch/keys" "/var/config/Ryujinx/system"
|
||||
}
|
||||
|
||||
cemu_init() {
|
||||
echo "----------------------"
|
||||
echo "Initializing CEMU"
|
||||
echo "----------------------"
|
||||
# removing config directory to wipe legacy files
|
||||
rm -rf /var/config/Cemu
|
||||
mkdir -pv /var/config/Cemu/
|
||||
cp -fvr "$emuconfigs/cemu/"* /var/config/Cemu/
|
||||
sed -i 's#RETRODECKHOMEDIR#'$rdhome'#g' /var/config/Cemu/settings.xml
|
||||
#TODO
|
||||
#dir_prep "$rdhome/saves/wiiu/cemu" "/var/data/dolphin-emu/GC/EUR"
|
||||
#dir_prep "$rdhome/screenshots" "/var/data/dolphin-emu/ScreenShots"
|
||||
#dir_prep "$rdhome/states/cemu" "/var/data/dolphin-emu/StateSaves"
|
||||
}
|
||||
|
||||
standalones_init() {
|
||||
# This script is configuring the standalone emulators with the default files present in emuconfigs folder
|
||||
|
||||
echo "------------------------------------"
|
||||
echo "Initializing standalone emulators"
|
||||
echo "------------------------------------"
|
||||
cemu_init
|
||||
citra_init
|
||||
dolphin_init
|
||||
duckstation_init
|
||||
|
@ -1013,6 +1029,9 @@ cli_emulator_reset() {
|
|||
"retroarch" )
|
||||
ra_init
|
||||
;;
|
||||
"cemu" )
|
||||
cemu_init
|
||||
;;
|
||||
"citra" )
|
||||
citra_init
|
||||
;;
|
||||
|
@ -1118,6 +1137,13 @@ emulators_post_move() {
|
|||
# Ryujinx section
|
||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/config/Ryujinx/Config.json
|
||||
dir_prep "$rdhome/bios/switch/keys" "/var/config/Ryujinx/system"
|
||||
|
||||
# Cemu section
|
||||
sed -i 's#RETRODECKHOMEDIR#'$rdhome'#g' /var/config/Cemu/settings.xml
|
||||
#TODO
|
||||
#dir_prep "$rdhome/saves/wiiu/cemu" "/var/data/dolphin-emu/GC/EUR"
|
||||
#dir_prep "$rdhome/screenshots" "/var/data/dolphin-emu/ScreenShots"
|
||||
#dir_prep "$rdhome/states/cemu" "/var/data/dolphin-emu/StateSaves"
|
||||
}
|
||||
|
||||
create_lock() {
|
||||
|
|
|
@ -65,6 +65,19 @@
|
|||
<project_license>GPL-3.0</project_license>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<releases>
|
||||
<release version="0.7.0b" date="2023-04-11">
|
||||
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.6.4b</url>
|
||||
<description>
|
||||
<p>New features - General:</p>
|
||||
<ul>
|
||||
<li>Added CEMU, WiiU Emulator</li>
|
||||
</ul>
|
||||
<p>Bug fixes and other changes:</p>
|
||||
<ul>
|
||||
<li>PLACEHOLDER</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="0.6.5b" date="2023-04-07">
|
||||
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.6.5b</url>
|
||||
<description>
|
||||
|
|
Loading…
Reference in a new issue