mirror of
https://github.com/FelipePrado0/SpartanPort.git
synced 2026-11-07 02:36:06 -10:00
Builds and runs bbport natively on 64-bit Windows 10 (1903+) and 11 with the MSYS2 CLANG64 toolchain, from the same sources as the Linux build. - Loader and runtime: guest TLS through a TEB TLS slot, the PS4 address range kept as placeholders for section views, vectored exception handling with bb_setjmp/bb_longjmp, high-resolution sleeps, Windows file, time, thread and memory back ends (src/compat_win.*). - Renderer: builds against libc++ and winpthreads; avoids GetThreadId system calls on the hot path (cached recorder/bind-helper state), portable shader cache directory. - run.py replaces run.sh; patches.py applies the 1.09 patches only to a 1.09 game; mods use junctions/hard links when symlinks are not allowed. - Windows launcher (Tkinter) with every setting, 13 languages, frame cap option, FSR 4 asset download, desktop shortcut and a Buy Me a Coffee link; packaged with PyInstaller as Bloodborne.exe so players need no Python. - Bloodborne-style icon for the launcher, bb-probe.exe and bb-gpu-capabilities.exe. - README: Windows section, build notes (packaging/windows/README.md) and credits.
8 lines
314 B
Bash
8 lines
314 B
Bash
# Sourced by the Windows build/run scripts: puts the MSYS2 CLANG64 toolchain first on PATH.
|
|
# MSYS2_ROOT overrides the default C:/msys64.
|
|
msys2_root=${MSYS2_ROOT:-/c/msys64}
|
|
if [[ -d $msys2_root/clang64/bin ]]; then
|
|
export PATH="$msys2_root/clang64/bin:$msys2_root/usr/bin:$PATH"
|
|
export MSYSTEM=CLANG64
|
|
fi
|