**Links úteis:** 🔗 Repositório oficial do Starship: [github.com/HarbourMasters/Starship](github.com/HarbourMasters/Starship) 🔗 Verificar ROM SHA-1: [www.romhacking.net/hash/](www.romhacking.net/hash/) 🔗 Converter ROM para .z64: [hack64.net/tools/swapper.php](hack64.net/tools/swapper.php) 🔗 SDL2 Framework: [github.com/libsdl-org/SDL/releases/tag/release-2.30.10](github.com/libsdl-org/SDL/releases/tag/release-2.30.10)
@goohbr24 күн бұрын
# Instalar as dependências necessárias brew install sdl2 libpng glew ninja cmake nlohmann-json libzip tinyxml2 # Clonar o repositório do Starship git clone github.com/HarbourMasters/starship.git cd starship # Atualizar e inicializar o submódulo libultraship git submodule update --init # Gerar o projeto utilizando o Ninja cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release # Confirmar ROM SHA-1 no site: www.romhacking.net/hash/ # ROM SHA-1: 09F0D105F476B00EFA5303A3EBC42E60A7753B7A # Converter ROM para .z64 no site: hack64.net/tools/swapper.php # Copiar a ROM do Star Fox 64 (versão 1.1) para a pasta do projeto cp ~/Downloads/Star\ Fox\ 64\ \(USA\)\ \(Rev\ A\).z64 ./baserom.us.rev1.z64 # Gerar o arquivo sf64.otr com os assets do jogo cmake --build build-cmake --target ExtractAssets # Compilar o projeto final cmake --build build-cmake --config Release # Executar o binário gerado ./build-cmake/Starship # Etapas extras: # Copiar SDL2.framework para /opt/homebrew/lib/ se necessário: # Baixar em: github.com/libsdl-org/SDL/releases/tag/release-2.30.10 sudo xattr -d -r com.apple.quarantine /opt/homebrew/lib/SDL2.framework # Caso queira limpar o build atual cmake --build build-cmake --target clean