COB compiling under linux ?

COB compiling under linux ?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Cremuss
Posts: 364
Joined: 28 Oct 2006, 21:38

COB compiling under linux ?

Post by Cremuss »

Hi,

I would like to compile COB file under linux but it seems to be not possible.
First there is no linux dedicated software so I've to use wine but no one is working.

I've tried Scriptor, Brain and Servo. All fails. Then I've tried Cobbler which runs well with wine, but it crash sometimes when I load .bos file and compile doesn't seems to work : .cob file compiled are empty o_O

So, any chance for linux users to compile COB ? Anyone has already compiled COB file well under linux ?

P.S. : I'm gonna jump over the window if I can't :mrgreen:
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: COB compiling under linux ?

Post by BrainDamage »

Image
User avatar
Cremuss
Posts: 364
Joined: 28 Oct 2006, 21:38

Re: COB compiling under linux ?

Post by Cremuss »

aahhhaaahhhhhaaaaaaaaaaaahahahahaaaaahaa... pouf.

:/
User avatar
Cremuss
Posts: 364
Joined: 28 Oct 2006, 21:38

Re: COB compiling under linux ?

Post by Cremuss »

Seriously ... ?
So Spring engine is cross plateform but using it to makes mods/game is only for windows just because linux users can't make animation scripts ?

:shock:
Common guys, that's a no-sens.
I wish I know coding so I can make scriptor running on linux but I don't. :/
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: COB compiling under linux ?

Post by Peet »

Cremuss wrote:Seriously ... ?
So Spring engine is cross plateform but using it to makes mods/game is only for windows just because linux users can't make animation scripts ?
Common guys, that's a no-sens.
I wish I know coding so I can make scriptor running on linux but I don't. :/
The script compilers currently in existence are not affiliated with or controlled by the Spring project, and the script format is based on TA's which was a windows-only game (well and macOS), so there was no reason for the compilers to be crossplatform when they were written ...either use vmware or a windows box or bother lurker more to finish his compiler.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: COB compiling under linux ?

Post by Hoi »

You could always ask people to compile it for you.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: COB compiling under linux ?

Post by smoth »

and linux people tell me how linux can run anything windows can.....
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: COB compiling under linux ?

Post by clericvash »

smoth wrote:and linux people tell me how linux can run anything windows can.....
Well whoever said that is a moron.

It is a well known fact Linux runs different to Windows.

Linux usually has equivalents that work great, some actually better, but a lot of the time there is nothing.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: COB compiling under linux ?

Post by AF »

Have some wine =p
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: COB compiling under linux ?

Post by clericvash »

AF wrote:Have some wine =p
Hes already said it doesn't work right when drinking WINE.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: COB compiling under linux ?

Post by AF »

I just thought he should relax thats all =p

Theres always vmware etc
User avatar
Cremuss
Posts: 364
Joined: 28 Oct 2006, 21:38

Re: COB compiling under linux ?

Post by Cremuss »

@ Peet : Ok I understand. I've asked Lurker about his compiler and he said me that he didn't worked on it recently and it's more a concept actually than a quite working software. But it's good that there is a least one existing project. Good luck to him : D

@ clericvash : haha :=)

@ AF : yep maybe i'll try a virtual machine.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: COB compiling under linux ?

Post by AF »

tbh I would think a lua based scripting mechanism would be far easier to implement than rewritting cob compilers.

Even someone building a cob file that serves purely as a go between for lua <-> cob would be an improvement and something we can pick apart taking bits and implementing them in pure lua.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: COB compiling under linux ?

Post by jK »

trepan worked on luabased UnitScripts (running in the luaRules enviroment). It's his big lua patch (~800kB IIRC).
With some luck it will be in 77b2, but atm trepan works for bzFlag again :/
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: COB compiling under linux ?

Post by Hoi »

jK wrote:trepan worked on luabased UnitScripts (running in the luaRules enviroment). It's his big lua patch (~800kB IIRC).
With some luck it will be in 77b2, but atm trepan works for bzFlag again :/
The tank game?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: COB compiling under linux ?

Post by AF »

This is why 'working in the dark' and 'surprise patches' are all bad working practices. BRANCHES FTW!!!
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: COB compiling under linux ?

Post by imbaczek »

for branches to work, you need a good dvcs, otherwise bitrot kills the branch pretty quickly.
Post Reply

Return to “Engine”