2026-01-28 23:18:29 -05:00
2026-01-28 23:18:29 -05:00
2023-11-15 15:11:15 -06:00
2025-08-06 09:16:54 -06:00
2026-01-28 16:39:30 -05:00
2026-01-28 16:39:30 -05:00
2024-11-21 00:05:17 -06:00
2026-01-28 16:39:30 -05:00
2023-09-21 10:04:08 -06:00
2024-02-16 23:31:33 -06:00
2024-10-06 19:59:18 -06:00

Torch - [T]orch is [O]ur [R]esource [C]onversion [H]elper

A generic asset processor for games

Usage

./torch otr baserom.z64 ./torch code baserom.z64

Windows

Visual Studio

Dependencies

  • Visual Studio 2022 Community Edition with the C++ feature set
  • One of the Windows SDKs that comes with Visual Studio, for example the current Windows 10 version 10.0.19041.0
  • The MSVC v142 - VS 2019 C++ build tools component of Visual Studio
  • Cmake (can be installed via chocolatey or manually)

Compile

# Setup cmake project
& 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 17 2022" -T v142 -A x64 -DCMAKE_BUILD_TYPE=Debug
# or for VS2019
& 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_BUILD_TYPE=Debug
# Compile project
& 'C:\Program Files\CMake\bin\cmake.exe' --build .\build\x64

WSL Ubuntu

Dependencies

sudo apt-get install cmake ninja-build libbz2-dev

Compile

cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build-cmake -j

Linux

Dependencies

Requires cmake, ninja-build, libbz2-dev

Compile

cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build-cmake -j

Mac

Dependencies

Requires Xcode (or xcode-tools) && cmake, ninja (can be installed via homebrew, macports, etc)

Compile

cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build-cmake -j
Description
No description provided
Readme MIT 6.7 MiB
Languages
C 65%
C++ 33.5%
CMake 0.4%
Java 0.4%
Batchfile 0.2%
Other 0.3%