End of the official Mac OS X port

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

Moderator: OpenTTD Developers

welshdragon
Tycoon
Tycoon
Posts: 2148
Joined: 27 Jul 2007 15:45
Location: Sunny Wales, Boyo!
Contact:

Re: Future of the Mac OS X port

Post by welshdragon »

Yeah, your version numbering's confusing (it doesn't match with 'trunk')
Semi-Retired TT-Forums Member.
These days I'm:
[list][*]A Local Transport Representative for Bus Users Cymru
[*]Social Media Advisxer for Bus Users Cymru
[*]Volunteer and Fundraiser for Guide Dogs[/list]
flickr | twitter | YouTube | Facebook | Steam

I used to be an idiot called tycoonmarkj.
User avatar
Wintersoldier
Traffic Manager
Traffic Manager
Posts: 197
Joined: 20 Feb 2010 03:08
Location: The world

Re: Future of the Mac OS X port

Post by Wintersoldier »

Sorry about that. It's due to to the fact that I compile from source downloaded from the svn repository, where I assume each version of source code is added with that number. I haven't yet figured out how to remove it.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2822
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Future of the Mac OS X port

Post by ChillCore »

Wintersoldier wrote: Sorry about that. It's due to to the fact that I compile from source downloaded from the svn repository, where I assume each version of source code is added with that number. I haven't yet figured out how to remove it.
See rev.cpp.
Do have a good read before making changes ... ;)
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
User avatar
Paploo
Engineer
Engineer
Posts: 21
Joined: 10 Jan 2010 03:19
Location: Spokane, WA, USA

Re: Future of the Mac OS X port

Post by Paploo »

Wintersoldier wrote:Sorry about that. It's due to to the fact that I compile from source downloaded from the svn repository, where I assume each version of source code is added with that number. I haven't yet figured out how to remove it.
Off the top of my head, I seem to remember seeing code that, when there is a subversion tag, it uses that as the version, otherwise it uses the revision number (which goes up by one each time a dev checks in code).

What does this mean to a distribution?

If you want to compile from TRUNK, you shouldn't really use the tag numbering anyway, because it doesn't match-up to the distributions, and will cause a lot of confusion, especially if someone files a bug ticket in the tracker!

If you want to compile from a particular version release, instead of checking out trunk, checkout that tag for that version, and compile from there.
User avatar
Wintersoldier
Traffic Manager
Traffic Manager
Posts: 197
Joined: 20 Feb 2010 03:08
Location: The world

Re: Future of the Mac OS X port

Post by Wintersoldier »

ChillCore wrote:See rev.cpp.
Where do I find rev.cpp?
Paploo wrote: Off the top of my head, I seem to remember seeing code that, when there is a subversion tag, it uses that as the version, otherwise it uses the revision number (which goes up by one each time a dev checks in code).

What does this mean to a distribution?

If you want to compile from TRUNK, you shouldn't really use the tag numbering anyway, because it doesn't match-up to the distributions, and will cause a lot of confusion, especially if someone files a bug ticket in the tracker!

If you want to compile from a particular version release, instead of checking out trunk, checkout that tag for that version, and compile from there.
And how do I go about doing that?

Sorry if both of my questions have some sort of obvious answer, but I am still kind of new to this and want to learn as much about this as I can.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Future of the Mac OS X port

Post by Rubidium »

I have no idea what you think is wrong/who is doing what wrong, but editting rev.cpp to "fix" versions is not the right way. It will cause more problems than it solves, especially if it misrepresents the version in ways that cause the real devs to waste time on something that isn't there. For example claiming a bug exists in 1.0.0 when it's some 1.0.0-beta that is "marked" as 1.0.0 by "you". You would be adding nails to the coffin of the Mac OS X port if it happens.

OpenTTD's "make bundle_zip" adds a version to the bundle, please use that name.
User avatar
Wintersoldier
Traffic Manager
Traffic Manager
Posts: 197
Joined: 20 Feb 2010 03:08
Location: The world

Re: Future of the Mac OS X port

Post by Wintersoldier »

I wasn't planning on editing rev.cpp, I was just interested where it was located.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2822
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Future of the Mac OS X port

Post by ChillCore »

Wintersoldier wrote: Where do I find rev.cpp?
If not specified you may assume the src folder in generally if somebody points you to a file.
Otherwise someone will say for example saveload/saveload.cpp or above the src folder.

Wintersoldier wrote:
Paploo wrote: Off the top of my head, I seem to remember seeing code that, when there is a subversion tag, it uses that as the version, otherwise it uses the revision number (which goes up by one each time a dev checks in code).

What does this mean to a distribution?

If you want to compile from TRUNK, you shouldn't really use the tag numbering anyway, because it doesn't match-up to the distributions, and will cause a lot of confusion, especially if someone files a bug ticket in the tracker!

If you want to compile from a particular version release, instead of checking out trunk, checkout that tag for that version, and compile from there.
And how do I go about doing that?

Sorry if both of my questions have some sort of obvious answer, but I am still kind of new to this and want to learn as much about this as I can.
Edit:
Bad, bad sugestion removed.
Read planetmakers reply below instead.
/edit

Rubidium was faster.


Rubidium,
I have noticed some time ago that if I check out the source by zip and then compile, my build says norev. (Or something like that. It has been a while I have done that).
Would it be wrong to change rev.cpp then if I make sure that it matches the revision I have downloaded and have not modified the source?

ps: If you want me to change my post just let me know.
Last edited by ChillCore on 09 Apr 2010 23:04, edited 1 time in total.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Future of the Mac OS X port

Post by planetmaker »

Wintersoldier wrote:Sorry about that. It's due to to the fact that I compile from source downloaded from the svn repository, where I assume each version of source code is added with that number. I haven't yet figured out how to remove it.
Wintersoldier wrote:I wasn't planning on editing rev.cpp, I was just interested where it was located.
Seems contradictory ;-) There's only very few reasons to change the displayed revisions, especially if binaries are going to be distributed. Try ./configure --help for the easiest way on changing the revision.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Future of the Mac OS X port

Post by Rubidium »

ChillCore wrote:Would it be wrong to change rev.cpp then if I make sure that it matches the revision I have downloaded and have not modified the source?
Yes, use as planetmaker described ./configure --revision=xyz.

Do NOT change rev.cpp, especially the "modified" number because that IS needed for us to weed out bug reports that we can't solve because of a modified binary. Unless you want to make us crazy and hate you a lot. Us hating you does certainly not help your cause.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2822
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Future of the Mac OS X port

Post by ChillCore »

There's already enough crazy people on this globe ...
Please don't hate me, I like it here.

I did not know of the configure option. But now I do.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
xyme
Engineer
Engineer
Posts: 4
Joined: 10 Sep 2004 00:29

Re: Future of the Mac OS X port

Post by xyme »

Please contiunue the OS X port, TTD is the only game I'm still playing since the time I had a 386 PC.
Also Thanks to the people putting out unsupported builds in the meantime.
Oddysee
Engineer
Engineer
Posts: 26
Joined: 16 Feb 2010 20:23

Re: Future of the Mac OS X port

Post by Oddysee »

A friend of mine really wants to play OpenTTD. He has a Mac and OS X 10.6.3. I know the Mac port has been discontinued but is there an unofficial build that will work for him?
welshdragon
Tycoon
Tycoon
Posts: 2148
Joined: 27 Jul 2007 15:45
Location: Sunny Wales, Boyo!
Contact:

Re: Future of the Mac OS X port

Post by welshdragon »

A quick search (at the top of this page) should provide your answer.
Semi-Retired TT-Forums Member.
These days I'm:
[list][*]A Local Transport Representative for Bus Users Cymru
[*]Social Media Advisxer for Bus Users Cymru
[*]Volunteer and Fundraiser for Guide Dogs[/list]
flickr | twitter | YouTube | Facebook | Steam

I used to be an idiot called tycoonmarkj.
User avatar
Wintersoldier
Traffic Manager
Traffic Manager
Posts: 197
Joined: 20 Feb 2010 03:08
Location: The world

Re: Future of the Mac OS X port

Post by Wintersoldier »

I'm fairly sure my build would work. Just check my signature.
Richard_S
Engineer
Engineer
Posts: 8
Joined: 30 Apr 2010 15:38
Skype: Pivotmasterrs
Location: Czech republic

Re: Future of the Mac OS X port

Post by Richard_S »

I don't really see the point in the argument :roll: . All we need is someone who has the mac operating system (like me) to test it, and, if I got the point correctly, we can actually program on a PC! I see no need to try all sorts of different methods to simulate the game on a different platform ?( .
HAIL THE PROGRAMMERS :bow:
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Future of the Mac OS X port

Post by Zuu »

Not to be unfriendly or so, but please re-read the first post in this thread where it is explained why just a tester isn't enough. By referring you to the first post hopefully there won't be yet another discussion if a mac developer really is needed or not. Rubidium did quite clearly state that in the first one or two posts.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 38 guests