OpenTTD ported to SkyOS (native port)

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Youlle
Engineer
Engineer
Posts: 12
Joined: 05 Jun 2004 12:30
Location: UK
Contact:

Post by Youlle »

fairly new? lol its been around since 1997, making it 7yrs old
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Zahl wrote:Wow, SkyOS looks really nice, I'll give it a try asap :)
Windows looks good, but it doesn't mean that it is good ;)
CobraA1
Route Supervisor
Route Supervisor
Posts: 480
Joined: 07 Nov 2003 17:52
Location: USA

Post by CobraA1 »

Windows looks good, but it doesn't mean that it is good
LOL, good point. But considering it's got journalling, memory protection, etc, it should be somewhat stable. I hope . . .
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
User avatar
Zahl
Engineer
Engineer
Posts: 27
Joined: 23 May 2004 13:19
Location: Germany
Contact:

Post by Zahl »

ChrisCF wrote:Windows looks good, but it doesn't mean that it is good ;)
Narf! Taking me by the word... :D
Of course I read the skyos homepage too :)
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I wonder why I have not got a single file for the SkyOS port yet :(
Oh well, it's not my OS, who misses this great game, so I'm not in a hurry :P
MYOB
OpenTTD Developer
OpenTTD Developer
Posts: 102
Joined: 05 Jun 2003 01:08
Location: Dublin, Ireland
Contact:

Post by MYOB »

Bjarni - patches incoming to your SF mail addy
MYOB
OpenTTD Developer
OpenTTD Developer
Posts: 102
Joined: 05 Jun 2003 01:08
Location: Dublin, Ireland
Contact:

Post by MYOB »

MYOB wrote:Bjarni - patches incoming to your SF mail addy
Correction, your DTU addy, the SF one bounced me
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

weird. My email works fine :?
what's even more weird is the SkyOS port. it have to be made way better to be added to svn. I would like it to fit in the current makefile instead of creating a new one

mapfile should be placed in os/skyos instead of the root


I think it will be nice to support SkyOS, but not at the cost of the readability of the source tree
MYOB
OpenTTD Developer
OpenTTD Developer
Posts: 102
Joined: 05 Jun 2003 01:08
Location: Dublin, Ireland
Contact:

Post by MYOB »

I think mapfile is dynamically generated

I also think their build system is completely wacky and can't use standard makefiles...

However, as I turned down the chance to do driver development for them (I was actually mailed about it, weird...), I didn't get a copy of the 5.0 betas so I'm not sure

I meant SF bounced me as the attachment was > 1MB
Youlle
Engineer
Engineer
Posts: 12
Joined: 05 Jun 2004 12:30
Location: UK
Contact:

Post by Youlle »

the build system is Cygwin, by map file im assuming you mean makefile this is written by hand by robert as no auto-make exists on skyOS and cygwin's auto-make doesnt support skyOS.
Youlle
Engineer
Engineer
Posts: 12
Joined: 05 Jun 2004 12:30
Location: UK
Contact:

Post by Youlle »

also its a completely native port it uses SkyGI, its not a SDL port
MYOB
OpenTTD Developer
OpenTTD Developer
Posts: 102
Joined: 05 Jun 2003 01:08
Location: Dublin, Ireland
Contact:

Post by MYOB »

mapfile != makefile

I think the mapfile is the same as the .xSYM file on PowerPC BeOS - used for debugging purposes only.
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

there are no autoconfiguration in OTTD. It's a makefile written by hand and *should* be able to handle SkyOS too if the correct few lines are added

as for SDL/native graphics, that's one of the things that should be included in the makefile

also this conversion is done against a very old version of OTTD
MYOB
OpenTTD Developer
OpenTTD Developer
Posts: 102
Joined: 05 Jun 2003 01:08
Location: Dublin, Ireland
Contact:

Post by MYOB »

Dump the makefile.sky in os/skyos, and try to check in what you can of the changes maybe? The mapfile is almost certaiinly generated on build, its a symbols reference.

It'd get the code into the SVN and dealt with - I also think that we're not going to get much demand for binaries for SkyOS, as they'll probably provide them built with the OS
Youlle
Engineer
Engineer
Posts: 12
Joined: 05 Jun 2004 12:30
Location: UK
Contact:

Post by Youlle »

i think only the binaries at time of release will be included i dont think any updates will be provide by skyOS apart from maybe with incremental updates 5.1, 5.2, etc
Youlle
Engineer
Engineer
Posts: 12
Joined: 05 Jun 2004 12:30
Location: UK
Contact:

Post by Youlle »

by symbol's reference you mean:

Code: Select all

OUTPUT_FORMAT = PE
include ../rules.mak

OutputFile  = $(dir_system)/myapp.app
OutputFiles  = main.o

$(OutputFile) : $(OutputFiles) $(SHARED_GUILIBS)
	$(ld) $(LD_FLAGS) $(OutputFiles) $(SHARED_GUILIBS) -o $(OutputFile)
those symbol references point to entries in Rules.mak which is the make rules for skyOS software.
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

Youlle wrote:i think only the binaries at time of release will be included i dont think any updates will be provide by skyOS apart from maybe with incremental updates 5.1, 5.2, etc
that means we really should add this to svn so the users can compile it themselves :wink:
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I think I will try to add support for SkyOS, but I need help from somebody, who knows the system/have the system to test on

I need a way to identify if it's SkyOS. Can somebody find a way to do that. I think it can be done with
uname
uname -s
vendor ....
I just needs one of them and the output

One thing is for sure. I will add it so it will not affect other OSes so it can't break anything while trying :wink:
Youlle
Engineer
Engineer
Posts: 12
Joined: 05 Jun 2004 12:30
Location: UK
Contact:

Post by Youlle »

robert and chris (centimetre) are the ppl hu know the skyGI API the Best you'd better asking them via email.
MYOB
OpenTTD Developer
OpenTTD Developer
Posts: 102
Joined: 05 Jun 2003 01:08
Location: Dublin, Ireland
Contact:

Post by MYOB »

Youlle wrote:robert and chris (centimetre) are the ppl hu know the skyGI API the Best you'd better asking them via email.
This isn't the API, this is a shell app we're talking about

If you're in SkyOS now, could you type "uname" at the CLI and tell us what it spits out, if anything
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 41 guests