supertuxkart / stk-code

The code base of supertuxkart
Other
4.54k stars 1.06k forks source link

Check if the editor can be included with the next release #1581

Closed hiker closed 9 years ago

hiker commented 10 years ago

Since the editor uses stk-assets, it won't be a significant bigger download (approx. 5 MB in an additional assets directory, 3 MB in icons etc, plus code and library). But it would expose a lot more users to the editor.

konstin commented 10 years ago

On linux, the editor should be packaged seperatly but installed with game. This way it would also be possible to update the editor without re-downloading STK.

hiker commented 10 years ago

This is only for our binaries and installer.

auriamg commented 9 years ago

I have committed scripts to automatically generate assets XML and screenshots. I have committed the output to SVN and tested it to work

One thing I've noticed, object scales seem a little weird, maybe the editor does not handle scaled library objects well? (in the sense of inconsistent scales, for instance the Suzanne model was very small whereas the bamboo lamp was huge)

hiker commented 9 years ago

It's included with windows now, it needs to be checked for osx ( @auriamg ) and linux ( @deveee ).

deveee commented 9 years ago

@hiker I downloaded mcsab fork of irrlicht, patched it to make it working with mesa 10 and I was able to compile stk-editor.

But I still can't run it. I'm not sure if I'm doing something wrong or that's a bug in code because in README I see only few words about "editor" directory and anything more. At this moment I get segfault on startup.

I created a ticket: https://github.com/mcsab/stk-editor/issues/19

Edit: After changing one line in code I was able to run it.

Btw. maybe we sould add this repo on supertuxkart github, perhaps create better build system etc. ?

hiker commented 9 years ago

Added, and write permission given ;)

hiker commented 9 years ago

@deveee or @mcsab could you update our with the latest changes for the editor? @auriamg what about osx?

deveee commented 9 years ago

I fixed crash on startup and did some work on cmake support. Now irrlicht is statically linked in the same way as in STK. I just need to add physfs library to package and it should work.

osx needs some work in cmake files because I don't have computer where I could check it.

deveee commented 9 years ago

Recently we dropped support for old tracks. Stk-editor creates tracks in version 5. If we want to include editor in upcoming STK version, we should allow to run tracks which were created in editor.

As a very ugly workaround, we can bump stk-editor exporter version to 6. Tracks created in editor still look good enough.

Btw. in stk-assets repo we don't have editor/maps directory. It is necessary to save files. I fixed it in this commit: https://github.com/supertuxkart/stk-editor/commit/7e7aa9a86b1aacf4a340f9554847e2cea87f03b6

deveee commented 9 years ago

Editor updated to version 6 in this commit: https://github.com/supertuxkart/stk-editor/commit/d7a12818dfb13f8dfbfbbb212d7bf2d5c12f9dee

deveee commented 9 years ago

We already have the editor included since two stable releases. I'm closing this.