custom-name: Katana ZERO (Dragon Mod)
files:
- modpack:
filename: katana_zero-dragon_mod.rar
url: https://download1507.mediafire.com/zz242cfezldg/maupmkzc68k3zg5/Katana+Zero+-+The+Dragon.rar
- steamdll: 'N/A: Please select the "steam_api.dll" file from your Katana ZERO Steam
installation.'
game:
arch: win64
exe: drive_c/GOG Games/Katana ZERO/Katana ZERO.exe
prefix: $GAMEDIR
requires: katana-zero
install_complete_text: Yes, that should work.
installer:
- execute:
command: printf '\x77\x0d\xf6' | dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win
bs=1 seek=108 count=3 conv=notrunc
- execute:
command: printf '\x6a\xf7\xf8\xff' | dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\
ZERO/data.win bs=1 seek=136 count=4 conv=notrunc
- execute:
command: printf '\x5e\x05\x44\x26\x99\x84\x40\x3f\x1e\x7f\x82\x58\xf2\xf8\xfa\x25\x1e\x2f\x35\x05\xad\x64\x2e\x6a\xe7\x38\x72\x42\xd4\xd9\x7d\x5b\x40\xa3\x7b\x2c\xa6\x71\x4f\x4a'
| dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win bs=1 seek=920 count=40
conv=notrunc
- execute:
command: printf '\x00' | dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win
bs=1 seek=10398180 count=1 conv=notrunc
- extract:
dst: $CACHE
file: modpack
- task:
args: patch -i $GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win -p $CACHE/Patch/dragon_mod.utp
-o $CACHE/Files/data.win
executable: $CACHE/UTPatcher/UTPatcher.exe
name: wineexec
- merge:
dst: $CACHE/Files
src: steamdll
- merge:
dst: $GAMEDIR/drive_c/GOG Games/Katana ZERO
src: $CACHE/Files
require-binaries: printf, dd
description: https://primitheus.wixsite.com/katanazeromods/
game_slug: katana-zero
gogslug: katana_zero
humblestoreid: ''
installer_slug: katana-zero-dragon-mod-base-for
name: Katana ZERO
notes: "1) You need to have purchased Katana ZERO on Steam in order to use this installer!\
\ (This is due to the modded EXE file containing Steam DRM.)\r\n\r\n2) This mod\
\ requires Katana ZERO v1.0.5. Any other version will not work!\r\n\r\n3) The GOG\
\ version of Katana ZERO needs to already be installed before applying this mod.\r\
\nMake sure to select the base directory of Katana ZERO's GOG version as this mod's\
\ installation directory! (Lutris should warn you of using a non-empty directory.)\r\
\n\r\n4) You can only uninstall this mod by reinstalling Katana ZERO.\r\n\r\n4)\
\ During the installation you will be asked to navigate into your Steam installation\
\ of Katana ZERO and select its \"steam_api.dll\" file for the mod to use.\r\n\r\
\n5) The installation was successful if your game launches and the word \"katana\"\
\ on the title screen is neon blue (instead of neon pink)."
runner: wine
script:
custom-name: Katana ZERO (Dragon Mod)
files:
- modpack:
filename: katana_zero-dragon_mod.rar
url: https://download1507.mediafire.com/zz242cfezldg/maupmkzc68k3zg5/Katana+Zero+-+The+Dragon.rar
- steamdll: 'N/A: Please select the "steam_api.dll" file from your Katana ZERO Steam
installation.'
game:
arch: win64
exe: drive_c/GOG Games/Katana ZERO/Katana ZERO.exe
prefix: $GAMEDIR
requires: katana-zero
install_complete_text: Yes, that should work.
installer:
- execute:
command: printf '\x77\x0d\xf6' | dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win
bs=1 seek=108 count=3 conv=notrunc
- execute:
command: printf '\x6a\xf7\xf8\xff' | dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\
ZERO/data.win bs=1 seek=136 count=4 conv=notrunc
- execute:
command: printf '\x5e\x05\x44\x26\x99\x84\x40\x3f\x1e\x7f\x82\x58\xf2\xf8\xfa\x25\x1e\x2f\x35\x05\xad\x64\x2e\x6a\xe7\x38\x72\x42\xd4\xd9\x7d\x5b\x40\xa3\x7b\x2c\xa6\x71\x4f\x4a'
| dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win bs=1 seek=920 count=40
conv=notrunc
- execute:
command: printf '\x00' | dd of=$GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win
bs=1 seek=10398180 count=1 conv=notrunc
- extract:
dst: $CACHE
file: modpack
- task:
args: patch -i $GAMEDIR/drive_c/GOG\ Games/Katana\ ZERO/data.win -p $CACHE/Patch/dragon_mod.utp
-o $CACHE/Files/data.win
executable: $CACHE/UTPatcher/UTPatcher.exe
name: wineexec
- merge:
dst: $CACHE/Files
src: steamdll
- merge:
dst: $GAMEDIR/drive_c/GOG Games/Katana ZERO
src: $CACHE/Files
require-binaries: printf, dd
slug: katana-zero-dragon-mod-base-for
steamid: 460950
version: Dragon Mod (base) for GOG
year: 2019
{
"game_slug": "katana-zero",
"version": "Dragon Mod (base) for GOG",
"description": "https://primitheus.wixsite.com/katanazeromods/",
"notes": "1) You need to have purchased Katana ZERO on Steam in order to use this installer! (This is due to the modded EXE file containing Steam DRM.)\r\n\r\n2) This mod requires Katana ZERO v1.0.5. Any other version will not work!\r\n\r\n3) The GOG version of Katana ZERO needs to already be installed before applying this mod.\r\nMake sure to select the base directory of Katana ZERO's GOG version as this mod's installation directory! (Lutris should warn you of using a non-empty directory.)\r\n\r\n4) You can only uninstall this mod by reinstalling Katana ZERO.\r\n\r\n4) During the installation you will be asked to navigate into your Steam installation of Katana ZERO and select its \"steam_api.dll\" file for the mod to use.\r\n\r\n5) The installation was successful if your game launches and the word \"katana\" on the title screen is neon blue (instead of neon pink).",
"name": "Katana ZERO",
"year": 2019,
"steamid": 460950,
"gogslug": "katana_zero",
"humblestoreid": "",
"runner": "wine",
"slug": "katana-zero-dragon-mod-base-for",
"installer_slug": "katana-zero-dragon-mod-base-for",
"script": {
"custom-name": "Katana ZERO (Dragon Mod)",
"files": [
{
"modpack": {
"filename": "katana_zero-dragon_mod.rar",
"url": "https://download1507.mediafire.com/zz242cfezldg/maupmkzc68k3zg5/Katana+Zero+-+The+Dragon.rar"
}
},
{
"steamdll": "N/A: Please select the \"steam_api.dll\" file from your Katana ZERO Steam installation."
}
],
"game": {
"arch": "win64",
"exe": "drive_c/GOG Games/Katana ZERO/Katana ZERO.exe",
"prefix": "$GAMEDIR",
"requires": "katana-zero"
},
"install_complete_text": "Yes, that should work.",
"installer": [
{
"execute": {
"command": "printf '\\x77\\x0d\\xf6' | dd of=$GAMEDIR/drive_c/GOG\\ Games/Katana\\ ZERO/data.win bs=1 seek=108 count=3 conv=notrunc"
}
},
{
"execute": {
"command": "printf '\\x6a\\xf7\\xf8\\xff' | dd of=$GAMEDIR/drive_c/GOG\\ Games/Katana\\ ZERO/data.win bs=1 seek=136 count=4 conv=notrunc"
}
},
{
"execute": {
"command": "printf '\\x5e\\x05\\x44\\x26\\x99\\x84\\x40\\x3f\\x1e\\x7f\\x82\\x58\\xf2\\xf8\\xfa\\x25\\x1e\\x2f\\x35\\x05\\xad\\x64\\x2e\\x6a\\xe7\\x38\\x72\\x42\\xd4\\xd9\\x7d\\x5b\\x40\\xa3\\x7b\\x2c\\xa6\\x71\\x4f\\x4a' | dd of=$GAMEDIR/drive_c/GOG\\ Games/Katana\\ ZERO/data.win bs=1 seek=920 count=40 conv=notrunc"
}
},
{
"execute": {
"command": "printf '\\x00' | dd of=$GAMEDIR/drive_c/GOG\\ Games/Katana\\ ZERO/data.win bs=1 seek=10398180 count=1 conv=notrunc"
}
},
{
"extract": {
"dst": "$CACHE",
"file": "modpack"
}
},
{
"task": {
"args": "patch -i $GAMEDIR/drive_c/GOG\\ Games/Katana\\ ZERO/data.win -p $CACHE/Patch/dragon_mod.utp -o $CACHE/Files/data.win",
"executable": "$CACHE/UTPatcher/UTPatcher.exe",
"name": "wineexec"
}
},
{
"merge": {
"dst": "$CACHE/Files",
"src": "steamdll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/GOG Games/Katana ZERO",
"src": "$CACHE/Files"
}
}
],
"require-binaries": "printf, dd"
}
}