is it possible to create units on linux?
i can create models using blender
and textures using the gimp
but upspring and cobbler seem to be windows only,
is there a multi-platform solution for creating units?
a few other thoughts:
is there a reason (other than historical ones) that spring uses cob, tdf & fbi formats instead of lua for scripting in these areas? would it perhaps be better to port everything to use lua for some consistency since lua is easily compileable on any platform?
could perhaps these tools (or multiplatform counterparts) be merged into the spring tree rather than as external apps?
modding on linux?
Moderator: Moderators
Spring SVN already uses LUA for pretty much everything moddable. If a mod has TDF/FBI files they are loaded to LuaTables using a LUA TDF parser.
Only exception is COB; for that I'd guess another animation system would have to be integrated (skeletal animation?). Which means abstracting the model/animation subsystem properly in the engine first.
Upspring is already in the Spring repository. I don't think it makes much sense to put others in though, especially not if they are finished and no one is actively maintaining them anymore.
There's a patch on mantis that should make upspring compile on linux:
http://spring.clan-sy.com/mantis/view.php?id=516
Only exception is COB; for that I'd guess another animation system would have to be integrated (skeletal animation?). Which means abstracting the model/animation subsystem properly in the engine first.
Upspring is already in the Spring repository. I don't think it makes much sense to put others in though, especially not if they are finished and no one is actively maintaining them anymore.
There's a patch on mantis that should make upspring compile on linux:
http://spring.clan-sy.com/mantis/view.php?id=516
He is? I've done a little bit of COB compiler stuff, it does constant folding, but no code generation.
http://repo.or.cz/w/bosc.git
never announced it though, it's not complete (and the version in the repo isn't even current...) don't have the time to start hacking on it again.
http://repo.or.cz/w/bosc.git
never announced it though, it's not complete (and the version in the repo isn't even current...) don't have the time to start hacking on it again.
On Linux there is generally lag of support for modding.
I tried to compile upspring on Linux but it did not compile without a error.
And with wine it does not work 100% it's starts and after load it closes.
This force me to install Windows
(BTW: I DON`T LIKE WINDOWS)
If someone would have time to do some modding programs for more than Windows support it would be very nice.
I tried to compile upspring on Linux but it did not compile without a error.
And with wine it does not work 100% it's starts and after load it closes.
This force me to install Windows


Yay! Please finish it.imbaczek wrote:He is? I've done a little bit of COB compiler stuff, it does constant folding, but no code generation.
http://repo.or.cz/w/bosc.git
never announced it though, it's not complete (and the version in the repo isn't even current...) don't have the time to start hacking on it again.

- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
This would of course be useful, but keep in mind that:thesleepless wrote:are there any good reasons not to do this?
if not i'm happy to do the work to port it.
1. there's a metric truckload of BOS code that's already in the field and works (and works well)
2. COB is very simple, the interpreter is probably faster than lua (only integer maths, only one datatype, etc.)
3. there are some issues with suspending execution that need an elegant solution in Lua (see BOS sleep opcode) - possible with coroutines, but not exactly easy on modder brains. (unless you could hack something that hides this complexity.)
If these don't scare you, feel free to hack something up.
PS. A COB JIT would be cool, but not sure it's worth it.