linux上使用flatpak玩switch游戏

  • 模拟器

flatpak install flathub org.yuzu_emu.yuzu

# 提示需要 prod.keys/title.keys 文件,下载之后放到目录
/home/jcleng/.var/app/org.yuzu_emu.yuzu/data/yuzu/keys/
# 还有nand.icsa,不是必须的
  • 格式转换,xcz转xci等

# SAK工具 https://github.com/dezem/SAK 只支持windows,所以安装Wine环境
# 只支持windows
# 转换文件的时候提示需要 prod.keys/title.keys 文件,下载之后放到bin目录
# 下载地址
https://prodkeys.net/
# 国产key
https://089u.com/d/18719411-48103523-6faacf
7257

# 会在 squirrel 目录创建文件, 如果没有,就是失败了
  • 先安装key,再安装固件

# key和固件下载,测试Ryujinx Prod Keys v16.0.2能正常运行
https://prodkeys.net/

Tips:
Yuzu用最新16.0.0的keys和固件 运行宝可梦系列 不显示中文,up用的是 15.0.1 版本
且 Yuzu 无法直接安装固件,需要从 已安装固件的 Ryujinx 用户文件夹 内复制到 Yuzu
不想安装 Ryujinx 的可以直接下载up打包好的 15.0.1 固件 的版本解压到Yuzu内
  • Ryujinx安装,简单快捷

# 复制安装key位置: /home/jcleng/.var/app/org.ryujinx.Ryujinx/config/Ryujinx/system/
# 安装固件,必须的,从菜单安装固件即可, 多个[.nca结尾的目录]会安装到: /home/jcleng/.var/app/org.ryujinx.Ryujinx/config/Ryujinx/bis/system/Contents/registered/*.nca
  • yuzu安装,复杂点

# 文档
https://yuzu-emu.org/help/quickstart/#setting-up-the-decryption-keys-and-firmware
https://github.com/PrincessAkira/road-to-yuzu-without-switch

# 原本是需要手动dump实体机的key和固件:
# https://yuzu-emu.org/help/quickstart/#dumping-decryption-keys
# https://yuzu-emu.org/help/quickstart/#dumping-system-firmware


# 手动安装key位置: /home/jcleng/.var/app/org.yuzu_emu.yuzu/data/yuzu/keys/


# 下载对应版本的key并复制到目录,测试16不支持,下载Keys 15.0.0.zip,无需固件也可
# 注意安装的时候,需要把keys删除干净


# 下载对应的15固件,手动解压.nca文件到registered目录

https://darthsternie.net/switch-firmwares/

# mod列表
https://github.com/yuzu-emu/yuzu/wiki/Switch-Mods

# 着色器,需要设置2x或者1x
# 模式
vulkan.bin 通用
opengl.bin 通用
# 流水线
vulkan_pipelines.bin 不通用
  • 王国之泪的mod

# github
https://github.com/HolographicWings/TOTK-Mods-collection/tree/main
# eggnsemulator
https://eggnsemulator.com/fix-the-legend-of-zelda-tears-of-the-kingdom-stuck-at-20-fps/#download-30-fps-60-fps-patch-for-the-legend-of-zelda-tears-of-the-kingdom
# 第三方网站
https://gbatemp.net/download/loz-tears-of-the-kingdom-20fps-30fps-60fps-patch.37996/

# 以及 TotK Dynamic FPS v1.4 (beta, has some issues)
https://www.reddit.com/r/NewYuzuPiracy/comments/13jdzzo/totk_dynamic_fps_v14_beta_has_some_issues/

Mod credits: ChuckFeedAndSeed, patchanon, somerandompeople, theboy181
My current source for 0.4.0 (fps++ testing) is at bitbucket.org/totk-fpsplusplus/fps/src/master/
Install Instructions

    Download your desired patches, and extract them into the game's mods directory.
    Note that using 60 fps now requires you to use Cutscene fix. Not doing so will have undefined behavior.
    Note that if you are using an fps patch without the dynamic fps patch, and you do not hit the target framerate, your game will run in slow motoin. This is not a bug.
    Note that using the 30 fps patch with the dynamic fps patch, and setting the emulator speed to 200% is not a more stable way to run the game at 60fps. I don't know where this myth came from, but it is only going to introduce additional bugs, such as double blood moon rate, and double speed timers. It will also ruin your save game's timestamp, among other things. Do not do this, if you want 60 fps, just use the 60 fps mod.

Yuzu:

    If you have Dynamic FPS enabled, make sure that "Use Fast GPU Time (Hack)" under Graphics -> Advanced is disabled
        Additionally note that you can get achieve higher framerates with the Dynamic FPS patch by pressing `Ctrl + U` to unlock the framerate. Keep in mind that this may introduce extra stuttering, and use more resources. Furthermore, it will technically accelerate time, causing things which rely on in-game timers to run faster


Ryujinx:

    Note that you can get achieve higher framerates with the dynamic versions by disabling vsync. Furthermore, it will technically accelerate time, causing things which rely on in-game timers to run faster


Common User Error:

    The Game is softlocking when I press continue on the game over screen: You are on game version 1.0.0, update to 1.1.0


Known Bugs:

    With the 60 fps patches, the background blur effect in the weapon switch UI and other similar effects appear completely black. Note that there seems to be a separate mod which fixes this by modifying some game files. I am not including it here since it provides game files. Despite this, the game is playable from start to finish without any major issues.
    See the known issues listed on the reddist post for the Dynamic FPS mod
    Certain in-game cutscenes play at 30 fps with the cutscene fix mod, when they could play at 60


Mods that are included which I did not make:

    ChuckFeedAndSeed's Dynamic FPS patch
    theboy181's 60FPS cutscene fix patch
    some of patchanon's visual fixes

Note that if you are the author of one of these mods, and do not want me to include them, let me know and I will remove them. I am including these to try and make the installation process easier.
  • 游戏

https://download.fourpetal.com/3892.html

「switch520阿里云盘ns游戏目录」https://www.aliyundrive.com/s/RRtSr1NfLY6

「switch520(1)」https://www.aliyundrive.com/s/nsbLxAGaXkF

「switch520(2)」https://www.aliyundrive.com/s/xDSGAMnHx7v

「switch520(3)」https://www.aliyundrive.com/s/aM5GYeyjiP6

「switch520(4)」https://www.aliyundrive.com/s/5tLxG6dUHs4

「switch520(5)」https://www.aliyundrive.com/s/hALqUwSvQrx

「switch520(6)」https://www.aliyundrive.com/s/8EkdREL3M96

「switch520(7)」https://www.aliyundrive.com/s/xJVjBWXUHTH

「switch520(8)」https://www.aliyundrive.com/s/zcUeJTkh8Di

「switch520(9)」https://www.aliyundrive.com/s/7m3F4k6m4pX

「switch520(10)」https://www.aliyundrive.com/s/JDHF71CgdQu

「switch520(11)」https://www.aliyundrive.com/s/ZukkXAJrSDi

「switch520(12)」https://www.aliyundrive.com/s/jAVUQnBm9oH

「switch520(13)」https://www.aliyundrive.com/s/H3z7jhKEAMf

「switch520(14)」https://www.aliyundrive.com/s/e9JX27w6mN2

「switch520(15)」https://www.aliyundrive.com/s/jCFjSBY94xF

「switch520(16)」https://www.aliyundrive.com/s/KXJDZL9pfX4

「switch520(17)」https://www.aliyundrive.com/s/diFZNXnp89H

「switch520(18)」https://www.aliyundrive.com/s/ZYGGRsZS748

「switch520(19)」https://www.aliyundrive.com/s/WxHYViyXWZA

「switch520(20)」https://www.aliyundrive.com/s/oKPDKDhJeat