Coder Social home page Coder Social logo

asdlei99 / stk-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from supertuxkart/stk-editor

0.0 1.0 0.0 14.25 MB

SuperTuxKart - Track Editor

License: GNU General Public License v3.0

CMake 0.35% C++ 49.88% C 40.26% GLSL 0.03% HLSL 0.02% Makefile 3.25% Objective-C 0.73% Objective-C++ 0.41% Python 0.06% Roff 1.97% M4 0.08% Shell 2.36% SAS 0.10% Smalltalk 0.02% WebAssembly 0.10% Assembly 0.06% HTML 0.05% Module Management System 0.11% DIGITAL Command Language 0.07% Batchfile 0.08%

stk-editor's Introduction

stk-editor

Build Status

SuperTuxKart - Track Editor.

How to use it:

BUILD

Linux

Dependencies

To build the STK editor from source, you'll need to install the following packages

  • OpenGL (mesa)
  • zlib (zlib1g-dev)
  • physfs (libphysfs-dev)

To install the required dependencies, run this command (Debian/Ubuntu):

sudo apt-get install build-essential libxxf86vm-dev libphysfs1 libphysfs-dev \
libgl1-mesa-dev mesa-common-dev zlib1g zlib1g-dev cmake

Compiling

To compile the STK editor, run the following commands inside stk-editor directory:

mkdir build
cd build
cmake ..
make -j4

"-j4" is an example, for a faster build, use "-jx" instead, where "x" is the amount of CPU threads you have, minus one.

(Optional) If you want a DEBUG build of the editor replace the cmake line with this: cmake .. -DCMAKE_BUILD_TYPE=Debug

To Run:

./supertuxkart-editor

Windows

If you have Windows operating system, it uses static physfs and zlib libraries. You don't need to install any dependencies.

  1. Install VS 2013 (or later). The free express versions work fine. Older versions may or may not work.
  2. Download and extract the stk-editor source - either a released package or from our git/svn repositories
  3. Download cmake and install it. Start cmake-gui and select the 'stk-editor' root directory as 'Where is the source code', and a new directory 'build' under the 'stk-editor' root directory (next to lib, src, etc) as the build directory ('Where to build the binaries').
  4. Click on 'Generate'. If the build directory doesn't exist, you will be asked to create it, then asked to select your VS version. Make sure to select the right version (be aware of the easy to confuse version numbers: VS 2013 = version 12). Click on configure, then generate. This will create the directory 'build', and a VS solution in that directory.
  5. Run Visual Studio, and open the solution (.sln) file generated in the 'build' folder
  6. Right click on the 'stk-editor' project in the solution explorer, and select 'Set as StartUp Project.'
  7. (Optional) From the configuration type drop down menu, select 'Release.'
  8. Select Build->Build Solution (or press F7) to compile.

Troubleshooting

When you start the stk-editor the first time you should select the stk-assets directory. If you don't select the stk-assets directory you get the following failure message: Could not create archive for: textures

You can download the stk-assets by issusing the following command: svn checkout https://svn.code.sf.net/p/supertuxkart/code/stk-assets stk-assets

License

This software is released under the GNU General Public License (GPL) which can be found in the file LICENSE in the same directory as this file.

stk-editor's People

Contributors

auriamg avatar benau avatar boyquotes avatar chrisma68 avatar clbr avatar cruzr avatar deveee avatar diwic avatar hiker avatar mcsab avatar mrchromebox avatar psypherium avatar vampy avatar vxlerieuwu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.