A 3D Game Engine for GameCube, Wii, 3DS, Windows, Linux, and Android
Tutorial Video: https://youtu.be/0CHLn0ie-DY?si=pq-s_hLgb71OX2Cc Setup instructions below.
- Download and Install:
- Visual Studio Community 2022 (with C++ support)
- Vulkan SDK version 1.3.275.0 (During install select "Shader Toolchain Debug Symbols - 64 bit" and deselect all other options)
- devkitPPC for GameCube/Wii development (Optional)
- devkitARM for 3DS development (Optional)
- Build shaders by running compile.bat in Engine/Shaders/GLSL
- Open Octave.sln
- Switch to the DebugEditor solution configuration
- Set the Standalone project as the Startup Project
- In the debug settings for Standalone, change the working directory to $(SolutionDir)
- Build and run Standalone. This is the standalone level edtior if you were making a game with Lua script only.
- sudo apt install g++
- sudo apt install make
- sudo apt install libx11-dev
- sudo apt install libasound2-dev
- Install Vulkan SDK version 1.3.275.0
- Download the 1.3.275.0 tar file from https://vulkan.lunarg.com/sdk/home#linux
- Extract the tar file somewhere (e.g. ~/VulkanSDK/)
- Add these to your ~/.bashrc file (replace
~/VulkanSDK
with the directory where you extracted the files to)export VULKAN_SDK=~/VulkanSDK/1.3.275.0/x86_64 export PATH=$VULKAN_SDK/bin:$PATH export LD_LIBRARY_PATH=$VULKAN_SDK/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} export VK_LAYER_PATH=$VULKAN_SDK/share/vulkan/explicit_layer.d
- Close and reopen your terminal to apply the .bashrc (or run
source ~/.bashrc
)
- Install devkitPro Pacman for GameCube/Wii/3DS development (Optional) (https://devkitpro.org/wiki/devkitPro_pacman)
- wget https://apt.devkitpro.org/install-devkitpro-pacman
- chmod +x ./install-devkitpro-pacman
- sudo ./install-devkitpro-pacman
- Install GameCube/Wii/3DS development libraries (Optional) (https://devkitpro.org/wiki/Getting_Started)
- sudo dkp-pacman -S gamecube-dev
- sudo dkp-pacman -S wii-dev
- sudo dkp-pacman -S 3ds-dev
- Run Engine/Shaders/GLSL/compile.sh
- Open the root octave folder in VsCode (where this README is located).
- Install the C/C++ Extension Pack
- Run the Octave Editor config (click the Run and Debug tab on the left, then in the drop down where the green Play button is, select
Octave Editor
)
- From the project's root directory (where this README is located)
cd Standalone
- Run
make -f Makefile_Linux_Editor
- Go back to the root directory
cd ..
- Run
Standalone/Build/Linux/OctaveEditor.out
It's important that the working directory is the root directory where the Engine and Standalone folders are located.
- For packing Windows, add your devenv.exe folder to your PATH. For instance:
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE
- For packaging GameCube, Wii, or 3DS, add your devkitPro tools folder to your PATH. For instance:
C:\devkitPro\tools\bin
- For packaing Android... TODO (I'm currently using Android Studio 2022.2.1 Patch 2)