Template
Watch
1
0
Fork
You've already forked tmpl8-cross
0
forked from cmgt/tmpl8
C++ Template (fork with Linux/macOS/etc build support)
  • C++ 56.6%
  • C 42.2%
  • Objective-C 0.6%
  • Shell 0.4%
Find a file Use this template
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-09 16:16:33 +02:00
.zed add zed debug.json 2026-09-04 10:49:40 +02:00
assets Bug fix. 2024-10-29 12:11:15 +01:00
cl Updated OpenCL and BVH for scene. 2024-10-08 21:04:25 +02:00
lib (tmpl8-cross) initial clang/linux support 2026-09-02 13:20:28 +02:00
src (tmpl8-cross) auto generator script 2026-09-07 13:30:14 +02:00
template try to optimize PSP_Blit 2026-10-09 16:04:06 +02:00
third-party-licenses add third-party-licenses 2026-10-09 16:04:06 +02:00
.clangd fix build on msvc: force-include precomp.h 2026-10-09 15:54:36 +02:00
.envrc (tmpl8-cross) initial clang/linux support 2026-09-02 13:20:28 +02:00
.gitignore Sony PSP support :3 2026-10-09 16:04:06 +02:00
_ getting started.pdf Finally fixed IGP problem. 2024-06-21 14:21:58 +02:00
clean.bat Added examples and scenegraph. 2024-07-01 12:41:14 +02:00
CMakeLists.txt Sony PSP support :3 2026-10-09 16:04:06 +02:00
flake.lock (tmpl8-cross) initial clang/linux support 2026-09-02 13:20:28 +02:00
flake.nix fix: nix flake 2026-09-08 16:24:39 +02:00
LICENSE 2022 version of the template, for IGAD. 2022-08-22 12:11:36 +02:00
README.md Update README.md 2026-10-09 16:16:33 +02:00
tmpl8_2024-01.sln fix MSVC build: _WIN32 guard, add src to include dirs, update solution for VS 18 2026-09-25 16:27:55 +02:00
tmpl8_2024-01.vcxproj update vs files: bump toolset to v145 2026-10-09 16:04:06 +02:00
tmpl8_2024-01.vcxproj.filters (tmpl8-cross) auto generator script 2026-09-07 13:30:14 +02:00
update-vcxproj.bash update vs files: bump toolset to v145 2026-10-09 16:04:06 +02:00

Tmpl8-cross

Template for the Y1 Block A project at BUas.

Windows/Visual Studio

Either use the provided CMake project, or tmpl8_2024-01.sln solution (within Visual Studio).

The .sln/.vcxproj file(s) are generated automatically and should not be edited manually.
See update-vcxproj.bash.

Linux/macOS

Ensure your environment is set up for using Clang as your C compiler

Nix

If you run NixOS, or in case a Non-NixOS distro have Nix installed, this repo provides a flake with devshell you can use to get a full development environment with all the tools needed to build and run the game and/or Tmpl8

To enter it, run:

nix develop

... or approve the directory with direnv to automatically enter the env while working on the project:

direnv allow

Sony PSP

The PSP target only implements subset of Tmpl8's features. Be careful about what you use if you want your game playable on the PSP.

Ensure you have PSPDEV dev-kit installed;

See The PSPDEV website for more details.
You need a Linux or Unix-like environment for this to work;

To build the PSP version run:

psp-cmake -Bbuild-psp
cd build-psp
make

Copy assets/ and EBOOT.PBP into a subdirectory of PSP/GAME on the PSP's SD/MS card. It should be bootable with any custom firmware (CFW), like Ark4/Ark5;

For guide on installing a CFW on your PSP which allows to run unsigned homebrew and game backups, see the PSPunk website

Non-CFW PSP

psp-cmake -Bbuild-psp -DBUILD_PRX=1 -DENC_PRX=1
cd build-psp
make

this, using dark magic, will produce a SIGNED myGame.prx that should be bootable even on a non-modified console.


Original description

This template is intended for students of Breda University.

Code is fully public domain. Use as you please.

Contact me at bikker.j@gmail.com.