Cargo Distribution

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
fonso
President
President
Posts: 948
Joined: 13 Oct 2007 08:28

Re: Cargo Distribution

Post by fonso »

fonso wrote:Roujin: No, the savegames aren't compatible. There has been a savegame version bump in trunk, I'm sorry.
I'll give you a hotfix for the crash. It can be applied on top of earlier versions so that you can continue playing your old saves. Don't forget to tell me if you have applied the fix when you post further bug reports.
Attachments
cargolist.diff
the fix
(1.6 KiB) Downloaded 64 times
The guy on the picture is not me, it's Alonso.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Cargo Distribution

Post by Yexo »

If you're using mingw or msys it's much easier to use the makefile:

Code: Select all

make -f Makefile.msvc bundle PLATFORM=WIN32
Replace WIN32 with WIN64 if you've compiled a 64 bits build. Replace "bundle" with "bundle_zip" to create a zip file.
huldu
Engineer
Engineer
Posts: 29
Joined: 14 Nov 2009 19:45

Re: Cargo Distribution

Post by huldu »

No crashes in this one so far, lovely!
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

Yexo wrote:If you're using mingw or msys it's much easier to use the makefile:

Code: Select all

make -f Makefile.msvc bundle PLATFORM=WIN32
Replace WIN32 with WIN64 if you've compiled a 64 bits build. Replace "bundle" with "bundle_zip" to create a zip file.
What's the difference between using that and

Code: Select all

make bundle
or

Code: Select all

make bundle_zip
?
fabca2
Transport Coordinator
Transport Coordinator
Posts: 312
Joined: 14 Apr 2004 15:18
Location: Fr

Re: Cargo Distribution

Post by fabca2 »

fonso wrote:I have found the crash.
Congrats ! it's so nice to know you finaly got it !!!!!!!
now development can continue on normal way.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Cargo Distribution

Post by Yexo »

The only difference is that both "make bundle" and "make bundle_zip" don't work on an msvc generated build.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

Ahhh, I see. That means you need MSYS/MinGW and MSVC installed. Sorry for that, my mistake.
neuron
Engineer
Engineer
Posts: 19
Joined: 14 Aug 2007 07:47

Re: Cargo Distribution

Post by neuron »

Anyone doing automated builds? Like http://www.openttd.org/en/download-cargodest for example?
Zaphod882
Engineer
Engineer
Posts: 40
Joined: 23 Nov 2009 15:32
Location: Vienna, Austria

Re: Cargo Distribution

Post by Zaphod882 »

:bow: :bow:

maybe off topic, but want to say thank you for the developer of cargodist, petert gave me the idea to use it, and it really upgrades the game.

cheers
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

neuron wrote:Anyone doing automated builds? Like http://www.openttd.org/en/download-cargodest for example?
The link that you just described there and Cargo Distribution are two different things. One difference is that hasn't been updated for, a year maybe?
neuron
Engineer
Engineer
Posts: 19
Joined: 14 Aug 2007 07:47

Re: Cargo Distribution

Post by neuron »

petert wrote:
neuron wrote:Anyone doing automated builds? Like http://www.openttd.org/en/download-cargodest for example?
The link that you just described there and Cargo Distribution are two different things. One difference is that hasn't been updated for, a year maybe?
I'm fully aware of that, I'm looking for something like it for CargoDist.
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

neuron wrote:
petert wrote:
neuron wrote:Anyone doing automated builds? Like http://www.openttd.org/en/download-cargodest for example?
The link that you just described there and Cargo Distribution are two different things. One difference is that hasn't been updated for, a year maybe?
I'm fully aware of that, I'm looking for something like it for CargoDist.
For a automated build, wouldn't both the nightlies and cargodist need to be updated at the same time for it to work?
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
fonso
President
President
Posts: 948
Joined: 13 Oct 2007 08:28

Re: Cargo Distribution

Post by fonso »

Technically it would be possible to build automated nightlies of cargodist on the compile farm, but they won't do that. I have asked about it before. I can, however, ask them for single builds and see if Ammler can host them. Unfortunately I can't let the compile farm push the binaries to fickzoo.com as I don't have admin rights there and can't create additional accounts.
I have requested a build on June 3rd and one on June 19th and both times about 1 day later a fatal bug showed up in that version - that was quite frustrating. I also don't like to request a build too often as I have to talk to Ammler and TrueBrain every time and TrueBrain needs to manually start it then.
The guy on the picture is not me, it's Alonso.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

Are you talking about your #openttdcoop repository? (http://bundles.openttdcoop.org/cargodist/) If so, I noticed that they haven't been updated for a while.
neuron wrote:I'm fully aware of that, I'm looking for something like it for CargoDist.
Nothing like it right now, you'll just have to grab the binaries posted here (if you're using Windows). If you use Debian Ubuntu, I can compile for you, but that's all I can do.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Cargo Distribution

Post by Rubidium »

petert wrote:If you use Debian Ubuntu, I can compile for you, but that's all I can do.
How often do I have to say that Debian isn't Ubuntu and Ubuntu isn't Debian and that Debian Ubuntu doesn't exist? And that *if* you make *proper* Debian (or Ubuntu for that matter) packages that they won't work on eachother's stable releases?
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

Rubidium wrote:How often do I have to say that Debian isn't Ubuntu and Ubuntu isn't Debian and that Debian Ubuntu doesn't exist? And that *if* you make *proper* Debian (or Ubuntu for that matter) packages that they won't work on eachother's stable releases?
Sorry. Please don't tell me you have said it "many" times, because I only recall you saying it once, and it was confusing. So, when I compiled a binary, then run some command I learned from the wiki and it makes a .deb, that will not work on other peoples' Ubuntu releases?
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

petert wrote:
Rubidium wrote:How often do I have to say that Debian isn't Ubuntu and Ubuntu isn't Debian and that Debian Ubuntu doesn't exist? And that *if* you make *proper* Debian (or Ubuntu for that matter) packages that they won't work on eachother's stable releases?
Sorry. Please don't tell me you have said it "many" times, because I only recall you saying it once, and it was confusing. So, when I compiled a binary, then run some command I learned from the wiki and it makes a .deb, that will not work on other peoples' Ubuntu releases?
no a .deb built in Ubuntu for Ubuntu will run like a MSI installer
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Cargo Distribution

Post by petert »

But Rubidium mentioned something about other stable releases of Ubuntu...
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Cargo Distribution

Post by NekoMaster »

petert wrote:But Rubidium mentioned something about other stable releases of Ubuntu...
Stable Releases?
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Cargo Distribution

Post by Rubidium »

petert wrote:that will not work on other peoples' Ubuntu releases?
If you build a proper binary, that is with all the libraries, with Ubuntu Karmic Koala it won't work on Ubuntu Jaunty Jackalope nor in Ubuntu Lucid Lynx unless people start installing libraries from Karmic Koala.

For added confusion: a binary built for Ubuntu Lucid Lynx would likely work in Debian Squeeze as will a binary built for Ubuntu Jaunty Jackalope likely work in Debian Lenny. And likely a binary built for Ubuntu Hardy Heron will work in Ubuntu Inteprid Ibex, Ubuntu Jaunty Jackalope and Debian Lenny but not in Ubuntu Karmic Koala, Ubuntu Lucid Lynx or Debian Squeeze.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 4 guests