Giter VIP home page Giter VIP logo

supertuxkart / stk-editor Goto Github PK

View Code? Open in Web Editor NEW
53.0 14.0 21.0 14.31 MB

SuperTuxKart - Track Editor

License: GNU General Public License v3.0

CMake 0.36% C++ 49.27% C 41.67% GLSL 0.03% Makefile 3.25% Objective-C 0.05% Objective-C++ 0.41% Python 0.06% Shell 2.37% SAS 0.10% Smalltalk 0.04% Assembly 0.06% Awk 0.22% C# 1.08% Perl 0.04% Ruby 0.08% Java 0.64% 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. Alternatively, to install via the command line, you can use cmake -S path\to\source -B path\to\build\folder
  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 james-ashwood avatar mcsab avatar mrchromebox avatar psypherium avatar superusercode avatar valerierx avatar vampy avatar zekiah-a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stk-editor's Issues

Uncompiled with glib 2.32 and later

[  0%] Building CXX object lib/irrlicht/CMakeFiles/irrlicht.dir/source/Irrlicht/COSOperator.cpp.o
/home/dusan/src/stk-editor/lib/irrlicht/source/Irrlicht/COSOperator.cpp:16:10: fatal error: sys/sysctl.h: No such file or directory
   16 | #include 
      |          ^~~~~~~~~~~~~~
compilation terminated.

Why? Because the change in glibc. More.

D. K.

Crashes when trying map

Just trying out the editor for the first time and made a basic map from the tutorial, few hills and track boundaries. Exported it and said was ok but when I Try the map it launches stk ok up to the menu then appears to crash when trying to launch the map.

The log show a few messages like this...

�[0;;m�[0m[info ] Singleton: Destroyed singleton.

Running on Ryzen 7, GeForce RTX 3060 and latest Ubuntu LTS OS. All latest versions of game and editor.

Any help would be most appreciated.

Image missing

A lot of image are not found and are not in this repository, where are they ?
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/grid-on_align-off.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/grid-plus.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/grid-minus.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/points-plus.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/points-minus.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/symm_off.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/qsave.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/qcancel.png
Could not load font because the file does not exist: /usr/share/games/supertuxkart/data/editor/font/font.xml
Could not load mesh, because file could not be opened: : /usr/share/games/supertuxkart/data/editor/icons/indicator.b3d
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/new.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/open.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/save.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/save_as.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/undo.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/redo.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/select.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/move.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/rotate.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/scale.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/delete.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/cam1.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/cam2.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/spline.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/ht.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/music.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/try.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/exit.png
Warning: maps directory doesn't exist. Creating...
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/texture_next.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/texture_previous.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/loading_screen.jpg
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
Could not open file of texture: /usr/share/games/supertuxkart/data/editor/icons/tux.png
capture du 2016-05-31 13 13 57

Please include stk-assets

In the RPI4 repos there is no subversion package, so how in the world am I supposed to get the SVN command. This is ridiculous. PLUS, why don't you just add the stk-assets folder or whatever it is to the repo, instead of making us download it. Please reply asap.

The need to SVN https://svn.code.sf.net/p/supertuxkart/code/stk-assets stk-assets is stated in the README.md.
Output of me trying to install SVN:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  python-colorzero
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
  db5.3-util libapache2-mod-svn subversion-tools
The following NEW packages will be installed:
  libserf-1-1 libsvn1 libutf8proc2 subversion
0 upgraded, 4 newly installed, 0 to remove and 52 not upgraded.
Need to get 2,159 kB/2,257 kB of archives.
After this operation, 8,607 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libsvn1 armhf 1.10.4-1+deb10u2
  404  Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf subversion armhf 1.10.4-1+deb10u2
  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/subversion/libsvn1_1.10.4-1+deb10u2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/s/subversion/subversion_1.10.4-1+deb10u2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

What is going on?????

I don't find the export button

I don't find the export button in the GUI as it was explained in the wiki.

But I found the Ctrl+Shift+S shortcut to do the equivalent...

Crash when attaching non-existant road to driveline

After creating a driveline, I clicked on Create New Roadmesh, but instead of adding control points I directly clicked on "Attach to DriveLine", which made the editor crash with the following debug output:

Program received signal SIGSEGV, Segmentation fault.
0x000000000054f92f in TCR::getNormal (this=0x7fffeed3c450, t=-nan(0x400000))
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/spline/tcr.cpp:83
83          while (t > (it + 1)->t) it++;
(gdb) bt full
#0  0x000000000054f92f in TCR::getNormal (this=0x7fffeed3c450, t=-nan(0x400000))
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/spline/tcr.cpp:83
        tx = 0
        wm = 4,59163468e-41
        w1 = 0
        norm = {X = -nan(0x7fd5a0), Y = 4,59163468e-41, Z = 7,71941833e-39}
        it = {Current = 0x7fffb0bbc8a0}
        w0 = 2,03142763e-38
        w2 = 1,40129846e-45
#1  0x000000000056e94b in Road::attachToDriveLine (this=0x7fffb0bcbc70, dl=0x7fffb1511d60)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/mesh/road.cpp:284
        i = 0
        dl_spline = 0x7fffb697fed0
        n = 1
        pos = {X = 0, Y = 0, Z = 0}
        t = -nan(0x400000)
#2  0x0000000000546b07 in Viewport::attachRoadToDriveLine (this=0x1196bf0)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/viewport/viewport.cpp:424
        dl = 0x7fffb1511d60
#3  0x000000000053afed in Editor::buttonClicked (this=0xc89890, ID=404)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/editor.cpp:146
        rp = 0x0
        ep = 0x0
#4  0x000000000053e5e8 in Editor::OnEvent (this=0xc89890, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/editor.cpp:828
        rp = 0x1000
        id = 404
        should_quit = false
#5  0x00000000007735ea in OnEvent (event=..., this=0x7fffb9e5b5a0)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/include/IGUIElement.h:524
---Type <return> to continue, or q <return> to quit---
No locals.
#6  irr::gui::CGUIWindow::OnEvent (this=0x7fffb9e5b5a0, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/source/Irrlicht/CGUIWindow.cpp:217
No locals.
#7  0x00000000007735ea in OnEvent (event=..., this=0x7fffb5d4a170)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/include/IGUIElement.h:524
No locals.
#8  irr::gui::CGUIWindow::OnEvent (this=0x7fffb5d4a170, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/source/Irrlicht/CGUIWindow.cpp:217
No locals.
#9  0x000000000089392d in irr::gui::CGUIButton::OnEvent (this=0x7fffb5a04480, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:215
        newEvent = {EventType = irr::EET_GUI_EVENT, {GUIEvent = {Caller = 0x7fffb5a04480, Element = 0x0, 
              EventType = irr::gui::EGET_BUTTON_CLICKED}, MouseInput = {X = -1247787904, Y = 32767, Wheel = 0, Shift = false, 
              Control = false, ButtonStates = 5, Event = irr::EMIE_LMOUSE_PRESSED_DOWN}, KeyInput = {
              Char = -1247787904 L'\xb5a04480', Key = 32767, PressedDown = false, Shift = false, Control = false}, 
            JoystickEvent = {ButtonStates = 3047179392, Axis = {32767, 0, 0, 0, 0, 0}, POV = 5, Joystick = 0 '\000'}, LogEvent = {
              Text = 0x7fffb5a04480 "", Level = irr::ELL_DEBUG}, UserEvent = {UserData1 = -1247787904, UserData2 = 32767}}}
        wasPressed = true
#10 0x0000000000713879 in irr::gui::CGUIEnvironment::postEventFromUser (this=0xe7fe20, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570
No locals.
#11 0x000000000057feb9 in irr::CIrrDeviceStub::postEventFromUser (this=0xc985a0, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:224
        absorbed = <optimized out>
        inputReceiver = <optimized out>
#12 0x0000000000577191 in irr::CIrrDeviceLinux::run (this=0xc985a0)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:999
        event = {type = 5, xany = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370}, xkey = {
            type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, root = 490, subwindow = 0, 
---Type <return> to continue, or q <return> to quit---
            time = 1519984, x = 1819, y = 511, x_root = 1819, y_root = 531, state = 256, keycode = 1, same_screen = 1}, xbutton = {
            type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, root = 490, subwindow = 0, 
            time = 1519984, x = 1819, y = 511, x_root = 1819, y_root = 531, state = 256, button = 1, same_screen = 1}, xmotion = {
            type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, root = 490, subwindow = 0, 
            time = 1519984, x = 1819, y = 511, x_root = 1819, y_root = 531, state = 256, is_hint = 1 '\001', same_screen = 1}, 
          xcrossing = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, root = 490, subwindow = 0, 
            time = 1519984, x = 1819, y = 511, x_root = 1819, y_root = 531, mode = 256, detail = 1, same_screen = 1, focus = 0, 
            state = 0}, xfocus = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, mode = 490, 
            detail = 0}, xexpose = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, x = 490, y = 0, 
            width = 0, height = 0, count = 1519984}, xgraphicsexpose = {type = 5, serial = 318, send_event = 0, 
            display = 0xc987e0, drawable = 18874370, x = 490, y = 0, width = 0, height = 0, count = 1519984, major_code = 0, 
            minor_code = 1819}, xnoexpose = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, drawable = 18874370, 
            major_code = 490, minor_code = 0}, xvisibility = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, 
            window = 18874370, state = 490}, xcreatewindow = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, 
            parent = 18874370, window = 490, x = 0, y = 0, width = 1519984, height = 0, border_width = 1819, 
            override_redirect = 511}, xdestroywindow = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, 
            event = 18874370, window = 490}, xunmap = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, 
            event = 18874370, window = 490, from_configure = 0}, xmap = {type = 5, serial = 318, send_event = 0, 
            display = 0xc987e0, event = 18874370, window = 490, override_redirect = 0}, xmaprequest = {type = 5, serial = 318, 
            send_event = 0, display = 0xc987e0, parent = 18874370, window = 490}, xreparent = {type = 5, serial = 318, 
            send_event = 0, display = 0xc987e0, event = 18874370, window = 490, parent = 0, x = 1519984, y = 0, 
            override_redirect = 1819}, xconfigure = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, event = 18874370, 
            window = 490, x = 0, y = 0, width = 1519984, height = 0, border_width = 1819, above = 2280627635995, 
            override_redirect = 256}, xgravity = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, event = 18874370, 
            window = 490, x = 0, y = 0}, xresizerequest = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, 
            window = 18874370, width = 490, height = 0}, xconfigurerequest = {type = 5, serial = 318, send_event = 0, 
            display = 0xc987e0, parent = 18874370, window = 490, x = 0, y = 0, width = 1519984, height = 0, border_width = 1819, 
            above = 2280627635995, detail = 256, value_mask = 1}, xcirculate = {type = 5, serial = 318, send_event = 0, 
            display = 0xc987e0, event = 18874370, window = 490, place = 0}, xcirculaterequest = {type = 5, serial = 318, 
            send_event = 0, display = 0xc987e0, parent = 18874370, window = 490, place = 0}, xproperty = {type = 5, serial = 318, 
---Type <return> to continue, or q <return> to quit---
            send_event = 0, display = 0xc987e0, window = 18874370, atom = 490, time = 0, state = 1519984}, xselectionclear = {
            type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, selection = 490, time = 0}, 
          xselectionrequest = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, owner = 18874370, requestor = 490, 
            selection = 0, target = 1519984, property = 2194728290075, time = 2280627635995}, xselection = {type = 5, 
            serial = 318, send_event = 0, display = 0xc987e0, requestor = 18874370, selection = 490, target = 0, 
            property = 1519984, time = 2194728290075}, xcolormap = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, 
            window = 18874370, colormap = 490, c_new = 0, state = 0}, xclient = {type = 5, serial = 318, send_event = 0, 
            display = 0xc987e0, window = 18874370, message_type = 490, format = 0, data = {
              b = "p1\027\000\000\000\000\000\033\a\000\000\377\001\000\000\033\a\000", s = {12656, 23, 0, 0, 1819, 0, 511, 0, 
                1819, 0}, l = {1519984, 2194728290075, 2280627635995, 4294967552, 1}}}, xmapping = {type = 5, serial = 318, 
            send_event = 0, display = 0xc987e0, window = 18874370, request = 490, first_keycode = 0, count = 0}, xerror = {
            type = 5, display = 0x13e, resourceid = 0, serial = 13207520, error_code = 2 '\002', request_code = 0 '\000', 
            minor_code = 32 ' '}, xkeymap = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, window = 18874370, 
            key_vector = "\352\001", '\000' <repeats 14 times>, "p1\027\000\000\000\000\000\033\a\000\000\377\001\000"}, 
          xgeneric = {type = 5, serial = 318, send_event = 0, display = 0xc987e0, extension = 18874370, evtype = 0}, xcookie = {
            type = 5, serial = 318, send_event = 0, display = 0xc987e0, extension = 18874370, evtype = 0, cookie = 490, 
            data = 0x0}, pad = {140733193388037, 318, 0, 13207520, 18874370, 490, 0, 1519984, 2194728290075, 2280627635995, 
            4294967552, 1, 0 <repeats 12 times>}}
        irrevent = {EventType = irr::EET_MOUSE_INPUT_EVENT, {GUIEvent = {Caller = 0x1ff0000071b, Element = 0x0, 
              EventType = irr::gui::EGET_ELEMENT_FOCUS_LOST}, MouseInput = {X = 1819, Y = 511, Wheel = 0, Shift = false, 
              Control = false, ButtonStates = 0, Event = irr::EMIE_LMOUSE_LEFT_UP}, KeyInput = {Char = 1819 L'ܛ', Key = 511, 
              PressedDown = false, Shift = false, Control = false}, JoystickEvent = {ButtonStates = 1819, Axis = {511, 0, 0, 0, 0, 
                0}, POV = 0, Joystick = 0 '\000'}, LogEvent = {
              Text = 0x1ff0000071b <error: Cannot access memory at address 0x1ff0000071b>, Level = irr::ELL_DEBUG}, UserEvent = {
              UserData1 = 1819, UserData2 = 511}}}
#13 0x000000000053df37 in Editor::run (this=0xc89890)
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/editor.cpp:684
        current_time = 504851
        last_time = 504851
#14 0x000000000053aa39 in main (argc=1, argv=0x7fffffffdbf8)
---Type <return> to continue, or q <return> to quit---
    at /home/magne/SuperTuxKart/supertuxkart-git/mhp-stk-editor/src/main.cpp:11
        editor = 0xc89890

resize windows problem

invisible toolbox if resize windows.
should add scroll bar in toolbox.
see red rectangle
stk

Upper checkbox is missing

Dear Developers,
I have found a bug on windows edition of the software. When finally the program starts, and I start to make a track, the upper checkbox is missing. As if it would never exist.

Screenshot_20220226-222746_Firefox
(The red arrow and the exclamation mark means the checkbox is missing)

It's annoying and makes the editing hard. I hope they will it understand.

Sincerely:

LavenderFuria

fatal error

Sometimes when I save or export a track and every time I open a track the entire program crashes for the following reason:

Could not load mesh, because file could not be opened: : 0��T'V
Speicherzugriffsfehler (Speicherabzug geschrieben)

(Translation of the error: "Segmentation fault / core dumped")
Any changes will not be saved if the program crashes. That makes using the program impossible.

I really need help. Please answer this issue.

Checklines are not deletable

Try creating a checkline, then select one of the points. You can move the points, but not delete them, and if you create a new track, everything except the checkline(s) will be removed. To get around that you'll have to restart the editor.

Could not create archive for: textures

Hello,

The app is successfully compiled but unusable. Every time i click on OK, nothing happens in the window and i get the following message in the console:

Could not create archive for: [selected directory]/textures

"Swap UV" for road texture stopped working

The "Swap UV" toggle for the road used to work, in this track as well, when it suddenly stopped working. Reopening it did not fix it. I am attaching the track file in case that may help with debugging.
test3.zip - extract to stk-assets/editor/maps

provide windows binary

Hi

I'm a windows user interested in making new tracks but I'm not a developer and have no idea how to compile it.
I don't know any of the tools and reading the docs on how to compile is like reading Chinese :)

Can you release a windows binary I just need to run? (A zip file that has anything inside)
You can put a link on STK website too.

They way this tool is now offered here, makes it very hard or impossible for non-developers to use it and contribute tracks because we can't do the compiling process.

Migrate Travis build

I was going to try this out for myself, but then I saw that there are still Travis CI files. In case you haven't heard, Travis cut their free services a few years ago, maybe you should start using GitHub Actions?

Files should be saved in local user directories

Atm. files are saved in data/editor/maps directory. This will cause issues, because STK data is installed in read-only directory by default (/usr/share/ or "c:\Program Files" on windows). You need to have admin rights to write something there.

I think that better will be to save it in user home directory, "my documents" or something similar. Or just display dialog window and allow user to choose where to save it.

Super tux 0.9.2

The game is very good, but the editor has a problem, I do my track, but when I will play it is a strange color, but the objects are with their normal color.
In the editor I painted with the brush texture.

I do not know if my computer problem or is the game.

thank you.

Cant build on Linux Mint (17.3)

When I run
~/Programme/stk-editor-master/build $ cmake ..

-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- No build type selected, default to Release
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindOpenGL.cmake:161 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:37 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/jean/Programme/stk-editor-master/build/CMakeFiles/CMakeOutput.log".


When I run
~/Programme/stk-editor-master/build $ cmake .. -DCMAKE_BUILD_TYPE=Debug

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindOpenGL.cmake:161 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:37 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/jean/Programme/stk-editor-master/build/CMakeFiles/CMakeOutput.log".


My CMakeOutput.log:
http://pastebin.com/xnDKHmyB


Also this Command:
~/Programme/stk-editor-master/build $ make -j2
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
(Translation: There are no Targets, and no make-Controlfile found. Finish)


Can somone help me ?
If I get fixed it, ill make a video on YouTube about installing this on linux :)

Linux: Can not start the Editor

Hello,
im compiled the editor under ubuntu 14.04. I try to start an I got the follow message:
Could not create archive for: textures
Could not create archive for: /home/chris/stk/stk-editor-master/build/lib/textures
Could not create archive for: /home/chris/stk/stk-editor-master/build/lib/textures
Could not create archive for: /home/chris/stk/stk-editor-master/build/lib/textures

If I use the 0.9.1 & 0.9. binarys form ( http://supertuxkart.sourceforge.net/) I got the same message /failture.
Has anyone what i can do ?

Opening an invalid track can hard lock entire system

Tested from git-build.

I do not know where to find the track data to upload for you to diagnose, where would that be?

I could only send over the rendered track, i do not know where the editor files are, maybe those files are included in the folder for the rendered track?

I'll let you know what the console output is the next time my system is free and ready to be crashed and rebooted.

I guess a secondary issue would be that the editor can sometimes save invalid tracks, overwriting the original without checking first for file consistency.

While I am here, I tried to make a track with only bridges (Basically it was Rainbow Road.) The driving line marker can only attach itself to the ground by default. Something which would be very useful is a switch to swap between attaching to ground and attaching to entities/bridges. The manual height placement that exists now is an okay feature, it's just a little cumbersome.

wrong stk binary started on 64bit linux

When I start the editor from the bin-64 folder and I press the Try button, stk does not start. This is the error:

supertuxkart-0.10-beta1-linux/bin/supertuxkart: not found

That probably should be
supertuxkart-0.10-beta1-linux/bin-64/supertuxkart

Perhaps it is nice to provide a run-editor.sh in the root folder, too.

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.