此儲存庫包含 Xenia Canary 的遊戲補丁。
插件文檔可以在這裡找到。
非補丁問題屬於 Xenia Discord 伺服器。
xenia_canary.exe
所在的位置。patches
夾(如果存在)(如果需要則進行備份)。game-patches.zip
並將patches
解壓縮到xenia_canary.exe
所在的目錄中。資料夾結構應如下所示: └─── Xenia Canary
| ...
│ xenia_canary.exe
| ...
└─── patches
...
584111F7 - Minecraft (XBLA, TU0).patch.toml
...
apply_patches
設定為true
(預設)。is_enabled
從false
更改為true
。例如,若要啟用 60 FPS 補丁: [[ patch ]]
name = " 60 FPS "
desc = " Description "
author = " Author "
is_enabled = false
[[ patch . be8 ]]
address = 0 x########
value = 0 x##
[[ patch ]]
name = " 60 FPS "
desc = " Description "
author = " Author "
is_enabled = true
[[ patch . be8 ]]
address = 0 x########
value = 0 x##
如果您在標題列中看到[Patches Applied]
,則補丁已成功套用。
不要更改現有補丁的哈希值。如果您的遊戲版本不同,則需要將補丁移植到該版本。
present_letterbox
必須從true
改為false
!0x########
########
取代十六進位值。 幀速率高於 60 FPS 需要在 Xenia Canary 配置中將 vsync 從 true 變更為 false。
emit_source_annotations = true
設定。這將在反彙編時給出註釋。Edit
> Options
> Extra Custom Types
並選取所有這些。Scan Settings
並啟用MEM_MAPPED
。全部 | |
---|---|
開始 | 100000000 |
停止 | 200000000 |
/patches
目錄中並使用portable.txt
運行它。Title ID - Game Title.patch.toml
並位於/patches
中。4D5307DF - Blue Dragon.patch.toml
。log_level
設定為至少2
(預設);請參閱如何使用定位。xenia.log
中按Ctrl+F搜尋Module hash:
i> ######## Module DeviceCdrom0default.xex:
Module Hash: ################
game-patches/patches/454108D8 - 二軍第 40 天.patch.toml
95f5180 中的第 3 至 6 行
[[patch.*]] | 資訊 | 值(範例) |
---|---|---|
be8 | 十六進制,1 位元組 | 0x00 |
be16 | 十六進制,2 位元組 | 0x0000 |
be32 | 十六進制,4 位元組 | 0x00000000 |
be64 | 十六進制,8 位元組 | 0x0000000000000000 |
array | 六角形,任何尺寸 | "0x##*" |
f32 | 浮動,單 | 1.0 |
f64 | 浮子,雙 | 1.0 |
string | 字串,UTF-8 | "string" |
u16string | 字串,UTF-16 | "string" |
title_name = " Game Title "
title_id = " 1234ABCD " # AB-1234
hash = " ################ " # Module the hash applies to (i.e. default.xex)
# Can be an array if applicable:
hash = [
" ################ " # See above
]
# media_id = "1234ABCD" # Optionally you can add a redump link; Disc (Region): http://redump.org/disc/1234
# Can also be an array if applicable:
# media_id = [
# "1234ABCD" # See above
# ]
# Title ID, hash, and media ID must be uppercase.
[[ patch ]]
name = " Patch name "
author = " Me "
desc = " Patch description " # Description is optional
is_enabled = false # Must be false for PRs
# [[patch.*]]
# For example, be8:
[[ patch . be8 ]]
address = 0x82000000 # Tends to start with 0x8, always 4 bytes
value = 0x00
# Address and value hex must be lowercase.
# string:
[[ patch . string ]]
address = 0x82000000 # Tends to start with 0x8, always 4 bytes
value = " string "
# End of file newline