English · Русский
Pre-release for testing — the code is in the testing branch; master stays at 0.4 until this is checked. Reports are welcome in the issues or on Discord.
bbport is the counterpart of Wine + DXVK for a single game: Bloodborne (CUSA03173, v1.09) on Linux. The game's x86-64 code runs directly on the CPU, a runtime written for this game replaces the PS4 system libraries, and the graphics are translated to Vulkan. No game files are included — you need your own dump. AppImage for desktops and the Steam Deck: data in ~/.local/share/bbport, --play starts the game without the launcher window.
Questions about this project: Discord https://discord.gg/KYZRKk9CB — not the shadPS4 server.
What's new since 0.4
Settings inside the game's own menu
- System now has Display, Game effects and Game patches after Screen/Sound — real pages of the game's menu, built and drawn by the game itself (its rows, lists, slider, help line and Default), on the title screen and in the pause menu, in the game's language.
- Display: output resolution, upscaler (only what this GPU and build can run), quality preset, sharpness (slider 0–10: 0 is off, 10 is 2.0), FPS counter — applied at once and saved to
bbport.ini. Game effects / Game patches: model detail and the effect patches (after a restart).BB_GAME_MENU=0turns the pages off. - The overlay menu (Insert / L3+R3) stays, restyled like the game's dialogs: a dimmed game, ornament lines, tabs, rows "name ◀ value ▶" for gamepad, keyboard and mouse, the description of the selected setting at the bottom.
No "Play online / offline" screen
- There is no PSN, so the choice is gone: the game opens its main menu offline at once — at start and after Quit Game. It is a game patch, on by default (launcher: Game effects → Skip the "play online / offline" choice,
BB_SKIP_NETWORK_CHOICE=0shows it).
New
- DLC: folders
user/addcont/<title id>/<label>/(shadPS4's layout, e.g.CUSA03173/SPEXPANSIONDLC03) are reported to the game as installed add-ons: saves with The Old Hunters load (#33; PR #84 by unTanana). - DLSS on Linux for NVIDIA RTX, when built with NVIDIA's DLSS SDK (
DLSS_SDK_ROOT=... bash build.sh); not part of the AppImage (PR #83 by unTanana). - Monitor choice: launcher Screen → Monitor,
BB_DISPLAY=<number or part of the name>(#69). - Launcher: Copy and Export log… on the Log tab (PR #78 by hideoneric), Simplified Chinese (PR #75 by Qiming-Liu).
Fixes
- Saves are no longer damaged by a crash or a killed process during saving: save files are written to a temporary copy, flushed and renamed into place (#64).
- FSR 4.1.1 build: when Steam's container cannot start (
bwrap: No permissions to create a new namespace, e.g. Bazzite or a sandboxed launcher), Proton runs without it (#61). - MangoHud works again when it is installed on the system (#66).
- The item picture on the loading screen no longer disappears at outputs other than 1080p (#67, patch by bmy).
- Game debug menu: its fonts are found in
adhoc/font(also in mods, any letter case); without them the patch is skipped instead of the launch failing. - GPUs with little VRAM (4 GB): running out of video memory for the game's memory copies no longer stops the game (old memory model).
- GPU readbacks: Precise no longer freezes the first cutscene.
- GPU hangs from garbage indirect dispatch sizes are prevented (#34); copies to VRAM respect the driver's memory budget (8 GB cards).
prepare.pyand the launcher no longer fail on Chinese/Japanese/Korean Windows locales (#55); aneboot.bindumped as a plain ELF is accepted (#49).- Stick calibration for Switch Pro clones (#70; PR #71 by Bainianzzz);
BB_FSR4_STATS=1fix (PR #80 by guitaripod). - The log now starts with the GPU, VRAM, driver and Vulkan version.
New memory and translation model — still experimental, off by default
- Now also offered on NVIDIA (host-memory import) — untested on NVIDIA, logs welcome.
- More of the PS4 command processor's work is translated instead of emulated: end-of-pipe labels are written by the GPU, the game's occlusion queries (~60 per frame) are real Vulkan queries,
COPY_DATA/COND_EXEC/ predication are translated, the game's copy shader runs as itself, the hooks in the game's code are jumps instead of traps.
Notes
- On the Steam Deck use FSR 3 and the 1280×720 output.
- FSR 4.1.1 models are not included (they come from AMD's DLLs): build them with the launcher's button.
- Not tested yet: the new memory model on NVIDIA, DLSS (the author has AMD only), the debug menu with real fonts, #67 in the game itself.
Details (in Russian): docs/CHANGES_after_0.4.md.
Русский
Пре-релиз для проверки — код в ветке testing; master остаётся на 0.4, пока это не проверено. Отзывы — в issues или в Discord.
bbport — аналог Wine + DXVK для одной игры: Bloodborne (CUSA03173, v1.09) на Linux. x86-64-код игры выполняется прямо на процессоре, системные библиотеки PS4 заменяет рантайм, написанный под эту игру, графика переводится в Vulkan. Файлов игры нет — нужен свой дамп. AppImage для ПК и Steam Deck: данные в ~/.local/share/bbport, --play — запуск без окна лаунчера.
Вопросы по проекту — в Discord https://discord.gg/KYZRKk9CB, а не на сервер shadPS4.
Что нового с 0.4
Настройки в меню самой игры
- В Системе после Экран/звук появились Изображение, Эффекты игры и Патчи игры — настоящие страницы меню игры, их строит и рисует сама игра (её строки, списки, ползунок, подсказка внизу и По умолчанию), на титульном экране и в паузе, на языке игры.
- Изображение: разрешение вывода, апскейлер (только то, что умеют эта видеокарта и сборка), пресет, резкость (ползунок 0–10: 0 — выкл, 10 = 2.0), счётчик FPS — применяется сразу и сохраняется в
bbport.ini. Эффекты игры / Патчи игры: детализация моделей и патчи-эффекты (после перезапуска).BB_GAME_MENU=0— без этих страниц. - Меню поверх игры (Insert / L3+R3) осталось и оформлено как диалоги игры: затемнённая игра, орнаментные линии, вкладки, строки «название ◀ значение ▶» для геймпада, клавиатуры и мыши, описание выбранной настройки внизу.
Экрана «Играть по сети / вне сети» больше нет
- PSN нет, поэтому и выбора нет: игра сразу открывает главное меню вне сети — при запуске и после Выйти из игры. Это патч игры, включён по умолчанию (лаунчер: Эффекты игры → Пропускать выбор «по сети / вне сети»,
BB_SKIP_NETWORK_CHOICE=0— показывать).
Новое
- DLC: папки
user/addcont/<title id>/<метка>/(как в shadPS4, напримерCUSA03173/SPEXPANSIONDLC03) сообщаются игре как установленные дополнения: сохранения с The Old Hunters загружаются (#33; PR #84, unTanana). - DLSS на Linux для NVIDIA RTX — при сборке с DLSS SDK от NVIDIA (
DLSS_SDK_ROOT=... bash build.sh); в AppImage не входит (PR #83, unTanana). - Выбор монитора: лаунчер Экран → Монитор,
BB_DISPLAY=<номер или часть имени>(#69). - Лаунчер: кнопки Копировать и Экспорт лога… на вкладке Журнал (PR #78, hideoneric), упрощённый китайский (PR #75, Qiming-Liu).
Исправления
- Сохранения больше не портятся при вылете или снятии процесса во время записи: файл пишется во временную копию, сбрасывается на диск и встаёт на место переименованием (#64).
- Сборка FSR 4.1.1: если контейнер Steam не запускается (
bwrap: No permissions to create a new namespace, например Bazzite или лаунчер в песочнице), Proton запускается без него (#61). - MangoHud снова работает, когда он установлен в системе (#66).
- Картинка предмета на экране загрузки больше не пропадает при выводе не 1080p (#67, патч bmy).
- Debug menu игры: шрифты находятся в
adhoc/font(и в модах, при любом регистре букв); без них патч не применяется, а запуск не падает. - Видеокарты с малой VRAM (4 ГБ): нехватка видеопамяти под копии памяти игры больше не останавливает игру (старая модель памяти).
- Чтение данных GPU: Precise больше не замораживает первую катсцену.
- Зависания видеочипа от мусорных размеров непрямых запусков предотвращаются (#34); перенос в VRAM учитывает бюджет памяти драйвера (карты на 8 ГБ).
prepare.pyи лаунчер больше не падают на китайской/японской/корейской локали Windows (#55);eboot.bin, снятый обычным ELF, принимается (#49).- Калибровка стиков у клонов Switch Pro (#70; PR #71, Bainianzzz); исправлен
BB_FSR4_STATS=1(PR #80, guitaripod). - В начале лога — видеокарта, VRAM, драйвер и версия Vulkan.
Новая модель памяти и трансляции — по-прежнему экспериментальная, по умолчанию выключена
- Теперь доступна и на NVIDIA (импорт памяти хоста) — на NVIDIA не проверено, нужны логи.
- Больше работы командного процессора PS4 переводится, а не эмулируется: метки конца конвейера пишет видеочип, occlusion-запросы игры (~60 за кадр) — настоящие запросы Vulkan,
COPY_DATA/COND_EXEC/ предикация переводятся, шейдер копирования игры выполняется сам, перехваты в коде игры — переходы вместо ловушек.
Примечания
- На Steam Deck — FSR 3 и вывод 1280×720.
- Модели FSR 4.1.1 не входят (они из DLL AMD): собираются кнопкой в лаунчере.
- Ещё не проверено: новая модель памяти на NVIDIA, DLSS (у автора только AMD), debug menu с настоящими шрифтами, #67 в самой игре.
Подробности: docs/CHANGES_after_0.4.md.