Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 26, 2019. It is now read-only.

pmer/TsunagariC-Testing

Open more actions menu

Repository files navigation

TsunagariC-Testing

MIT Licensed Build Status LoC

A tech demo world for TsunagariC.

Setup

Cloning

git clone --recursive https://github.com/pmer/TsunagariC-Testing.git
cd TsunagariC-Testing

Acquiring Autumn_Forest.oga

From the root directory:

Method 1: Use youtube-dl and ffmpeg

# macOS
brew install youtube-dl
brew install --with-libvorbis ffmpeg
cd data/music
youtube-dl -x -f 22 -o Autumn_Forest.mp4 'https://www.youtube.com/watch?v=v2qOllkxwiw'
ffmpeg -i Autumn_Forest.m4a -c:a libvorbis Autumn_Forest.oga
cd ../..

Method 2: Download from pdm.me

# macOS
cd data/music
curl -O https://pdm.me/Autumn_Forest.oga
cd ../..
# Ubuntu
cd data/music
wget https://pdm.me/Autumn_Forest.oga
cd ../..

Installing build and runtime dependencies

# macOS
brew install libgosu

Building

From the root directory:

Compile:

# macOS
mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j $(sysctl -n hw.ncpu)
cd ..
# Ubuntu
mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j $(nproc)
cd ..

Build the resources:

TsunagariC/scripts/build-config.sh
TsunagariC/scripts/build-world.sh

Build the application bundle/install to bin:

# macOS
TsunagariC/scripts/build-bundle-debug.sh
# Ubuntu
cp build-debug/tsunagari bin/

Running

Using a GUI file manager

On macOS, open Tsunagari.app in Finder.

On Ubuntu, open bin/tsunagari in Files.

Using a terminal

# macOS
Tsunagari.app/Contents/MacOS/Tsunagari
# Ubuntu
cd bin
./tsunagari

Debugging

From the root directory:

# macOS
lldb Tsunagari.app/Contents/MacOS/Tsunagari
# Ubuntu
cd bin
gdb ./tsunagari

TODO

  • Windows instructions

About

Superseded by https://github.com/TsunagariEngine/Tsunagari-Testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.