The International Simutrans Forum

Community => Community Discussion => Web & Wiki => Topic started by: Colin on September 27, 2008, 05:48:53 AM

Title: Nightly build site discussion
Post by: Colin on September 27, 2008, 05:48:53 AM
Hi Werner, Just a note. Your new server for downloads (The German one) has a problem it's linking the sdl version of r2036 to the PAK128.150 download.
Title: Nightly build site discussion
Post by: Frank on September 27, 2008, 10:10:59 AM
@Colin

What exactly is a problem?

Downloads work by me. (IE 7, FF 3 and Opera 9.50 )
Title: Nightly build site discussion
Post by: Colin on September 28, 2008, 02:01:31 AM
@Colin

What exactly is a problem?

Downloads work by me. (IE 7, FF 3 and Opera 9.50 )

The problem is exactly what I wrote. On Werners de page when you click on the SDL r2036, instead of downloading r2036 it downloads PAK128.150. It doesn't happen on his current site, only the new one.

If you think I'm wrong, perhaps you could explain why I've now got a 19mb PAK128 zip file sitting on my computer.
Title: Nightly build site discussion
Post by: whoami on September 28, 2008, 06:16:38 PM
The files on the new server are identified by numbers that are handed over to a PHP script, so if that (generated) number is wrong, you get the wrong file.
Title: Nightly build site discussion
Post by: Colin on September 28, 2008, 08:08:10 PM
The files on the new server are identified by numbers that are handed over to a PHP script, so if that (generated) number is wrong, you get the wrong file.

Well that's quite brilliant isn't it? I hope Werner corrects this problem before he changes over completely.
Title: Nightly build site discussion
Post by: Frank on September 28, 2008, 08:40:44 PM
Well that's quite brilliant isn't it? I hope Werner corrects this problem before he changes over completely.

the new server work correct

I tested the links and download the correct file, not changed download script file

the name of file show in file download dialog

Title: Nightly build site discussion
Post by: VS on September 28, 2008, 08:56:07 PM
Hm, is that done with redirects or readfile() + header "Content-Disposition"?

(btw Opera has some problems with redirects at least when they are images. But it isn't really a problem here I guess.)
Title: Nightly build site discussion
Post by: Frank on September 28, 2008, 09:01:23 PM
the script create a new site

Code: [Select]
        echo "<!DOCTYPE HTML PUBLIC \"-\/W3C\/DTD HTML 4.0 Transitional\/EN\">";
echo "<HTML><HEAD>";
echo "<META http-equiv=Content-Type content=\"text/html; charset=windows-1252\">";
echo "<meta http-equiv=\"refresh\" content=\"0;URL=$link\" />";
echo "</HEAD>";   
echo '<BODY onBlur="javascript:close();"></BODY></HTML>';

test by opera 9.50 and FF 3
Title: Nightly build site discussion
Post by: VS on September 28, 2008, 09:03:42 PM
That's wicked clever :) You do this for living?
Title: Nightly build site discussion
Post by: Colin on September 28, 2008, 09:05:03 PM
@ Frank

Yes, well it does today, but it didn't the other day, so the problem has been fixed.

Bear in mind that just because it worked when you tried it, doesn't necessarily mean it worked when I did.

I still have a 19MB PAK128 zip file which downloaded from sim_winsdl 2008-09-28 v100.1 r2036. Which I note you haven't tried to explain.
Title: Nightly build site discussion
Post by: Frank on September 28, 2008, 09:26:25 PM
@ Frank
...
I still have a 19MB PAK128 zip file which downloaded from sim_winsdl 2008-09-28 v100.1 r2036. Which I note you haven't tried to explain.

I can not explain what I myself do not understand.

I also tested on the day in question, and it has worked for me.

To the relevant files has not since changed, which affects the download.

files and dates

func.php 25-09-2008
Download.php 14-09-2008

counter_Dateien.php - list the downlod files
This file will be updated when new files are uploaded. The new files are added. There are no entries changed.

this applies to nightly.simutrans-germany.com

I mistakes and problems very seriously. To eliminate this, I must understand what I said in this case can not.


sorry for bad english
Title: Nightly build site discussion
Post by: Colin on September 28, 2008, 10:09:54 PM
I tried this one today,  sim_winsdl 2008-09-28 v100.1 r2038. it also worked fine. The problem needed to be resolved before the complete change over and it appears that it has.

Title: Nightly build site discussion
Post by: whoami on September 28, 2008, 10:17:37 PM
Apart from a bug, an outdated (cached) copy of the download page could lead to this problem, unless the file IDs are always the same.
The nightlies are built when it's night in Germany, but in Australia, you might have downloaded files exactly when they are being re-built.
Title: Nightly build site discussion
Post by: Colin on September 28, 2008, 10:59:57 PM
The nightlies are built when it's night in Germany, but in Australia, you might have downloaded files exactly when they are being re-built.

This could be true. It would have been approximately 4am in Germany when I downloaded that file. I would have thought however, that there would have been an error message rather than a transfer to a different file. But hey! I don't know how these tings work. ;D
Title: Nightly build site discussion
Post by: Frank on September 29, 2008, 02:07:08 AM
..., unless the file IDs are always the same.
....

is the file name differently, it is also the id differently

8 files always have the same id
( sim-winsdl.zip, sim-winsdl.7z, sim-wingdi.zip, sim-wingdi.7z, sim-gcc3.zip, sim-gcc3.7z, sim-gcc4.zip, sim-gcc4.7z )

http://simutrans-germany.com/~nightly/simutrans/stats.php (http://simutrans-germany.com/~nightly/simutrans/stats.php)

 
Title: Nightly build site discussion
Post by: wernieman on September 29, 2008, 06:46:16 AM
The Build-Server need some time to  get the SVN-Trunks, the Translations, to compile and to upload the Files to the Webserver.

After every Step (Compiling Gcc3, Gcc4, WIN-SDL, WIN-GDI, PAK64, PAK128) the new results were uploaded.

This is the Reason, that the Server need over 1,5h to generate. He beginn at 3.00 CET (or CEST) and end c.a. 4:30.

I Testet the Server with FF, Opera and Konquerer on Linux and it work for me ....

Edit:
I make a Change:
The Server upload the file AFTER he generate all files
Title: New nightly Build-Site
Post by: wernieman on October 14, 2008, 03:53:07 PM
The new nightly-Build-Webside is definitly online!
http://nightly.simutrans-germany.com (http://nightly.simutrans-germany.com)

It will be wonderfull, when you check your links ....

the "old one" will go offline .....

Thanks to everybody who help!

And a spezial thanks to Frank for PHP, help and the server!
Title: Re: New nightly Build-Site
Post by: whoami on October 14, 2008, 11:09:03 PM
the "old one" will go offline .....
What about all the links pointing there - will there be a DNS alias and/or HTTP redirect to keep them working?
Title: Re: New nightly Build-Site
Post by: wernieman on October 15, 2008, 07:20:06 AM
There will be an Webside with the Info of the new Server...
Title: Nightly build site discussion
Post by: wernieman on October 16, 2008, 09:52:21 PM
Can somebody change the link on the first post?

The nightlys are at now http://nightly.simutrans-germany.com (http://nightly.simutrans-germany.com)

Ore unstig this Thread an make a new one ;o)
Title: Nightly build site discussion
Post by: IgorEliezer on October 16, 2008, 11:21:08 PM
Can somebody change the link on the first post?

This somebody is me... ::)

Okay, link updated.

Thanks. :)
Title: Re: New nightly Build-Site
Post by: IgorEliezer on October 16, 2008, 11:36:10 PM
Congratulations for new site. :D
Title: Re: New nightly Build-Site
Post by: robofish on October 17, 2008, 10:09:41 PM
good job *thumbsUp*
the background colors don't just structure the page nicely, they also create a kind of fresh look :D
Title: Nightly build site discussion
Post by: Frank on November 17, 2008, 11:21:53 PM
for translating the nightly page text

see http://forum.simutrans.com/index.php?topic=857.msg7578#msg7578 (http://forum.simutrans.com/index.php?topic=857.msg7578#msg7578)
Title: Nightly build site discussion
Post by: vilvoh on November 17, 2008, 11:27:31 PM
Thanks Frank, Spanish translation is on the way...  ;D
Title: Nightly build site discussion
Post by: vilvoh on November 18, 2008, 11:38:44 PM
Done....I've added this line at Thanks section:
Quote
Gracias a Vilvoh por ayudarme con la traducción al español<br

translation
Quote
thanks to vilvoh for helping me with spanish translation

I hope you don't mind.... :)

BTW, instead of Thanks , I would use Acknowledgements.
Title: Nightly build site discussion
Post by: Frank on November 18, 2008, 11:56:44 PM
Thanks vilvoh

added



sorry, links.en.txt is no longer necessary
Title: Nightly build site discussion
Post by: IgorEliezer on November 19, 2008, 02:05:08 AM
I saw that there's no ES flag in Nightly Build site.

Then...  ::)
Title: Nightly build site discussion
Post by: wernieman on November 19, 2008, 08:38:09 AM
Where I have the other flags (English and German) is a Spain Flag too .... so I use this.
Title: Nightly build site discussion
Post by: vilvoh on November 19, 2008, 08:42:32 AM
If you want small flag icons, you may use FamFam Flag Icon Set (http://www.famfamfam.com/lab/icons/flags/)
Title: Nightly build site discussion
Post by: wernieman on November 19, 2008, 08:48:41 AM
Thanks ... but at the Moment we have enough place for "big Flags".

The Flags I use are (c) free, but I set a Link to the Creator (see the Copyright-Sektion of the page)
http://simutrans-germany.com/~nightly/simutrans/index.php?lang=en#_Copyright (http://simutrans-germany.com/~nightly/simutrans/index.php?lang=en#_Copyright)
Title: Nightly build site discussion
Post by: Francisco on November 20, 2008, 02:13:29 AM
Hi, I think it's done..........

Portuguese Translation of Nightly Build download page

Any error or problem return it to me that I'll happilly fix :D
And Igor (or anyone), if you think I can improve something, tell me ;)
Title: Nightly build site discussion
Post by: IgorEliezer on November 20, 2008, 04:38:30 AM
A Portuguese flag...

(I'm sorry Brazilians. I'm Brazilian too, but I have to recognize that Portuguese language came from Portugal)
Title: Nightly build site discussion
Post by: wernieman on November 20, 2008, 08:36:53 AM
Hey, we use the english-flag for english  ... not the american or australian-flag ;o)

And the german for: switzerland, austria and .. germany ;o)

So there schould not be the problem to use the portugal-flag for the portuguese language
Title: Nightly build site discussion
Post by: VS on November 20, 2008, 08:52:37 AM
There are more countries with the same language, but they are represented by flags
Title: Nightly build site discussion
Post by: vilvoh on November 20, 2008, 09:05:43 AM
For being even more politically correct, we would better use language prefixes (es, en, de, pt..)  ::)
Title: Nightly build site discussion
Post by: wernieman on November 20, 2008, 09:13:40 AM
At the begin of the webside I use for one language more than one flag. But then there was to much flags .....

With the language prefixes we have the same problem ...
Title: Nightly build site discussion
Post by: VS on November 20, 2008, 09:20:49 AM
As for me, I have no gripes. Czechia didn't conquer the world, no political correctness problems for us! ;D
Title: Nightly build site discussion
Post by: wernieman on November 20, 2008, 09:34:29 AM
So just Translate ;o)
Title: Nightly build site discussion
Post by: vilvoh on November 20, 2008, 09:35:10 AM
With the language prefixes we have the same problem ...

In order to save space, you may use a select, dinamically generated with PHP, with the list of languages available:

Code: [Select]
<select>
  <option value="de">deustch</option>
  <option value="en">english</option>
  <option value="es">spanish</option>
  <option value="pt">portuguesse</option>
</select>

P.S: For avoiding any international conflict, I've sorted them alphabetically... :P
Title: Nightly build site discussion
Post by: KrazyJay on November 20, 2008, 02:10:29 PM
I'm not sure whether I'm using the right place to ask, but every day I download the WinSDL version, which requires some more actions performed by the user before it really replaces the old(er) version. Is there a way that a windows XP computer downloads,unzip and replaces the old(er) file automatically on for example start-up?
Title: Nightly build site discussion
Post by: DirrrtyDirk on November 20, 2008, 02:15:46 PM
Well, the easiest way to justify the flags is:

it displays the country after which the language is named. And the languages are called...

... German (not Austrian, not Swiss) - so the German flag is somewhat appropriate.
... English (not American, not Australian, not Canadian, ...) so the UK flag does it, too.
... Portuguese (not Brazilian)
... Spanish (not... name every country in Middle- and South-America, except Brazil)...
... French (regardless of the many countries in Africa and elsewhere that also speak it)
etc. etc. etc.

Title: Nightly build site discussion
Post by: KrazyJay on November 20, 2008, 02:20:40 PM
Well, the easiest way to justify the flags is:

it displays the country after which the language is named. And the languages are called...

... German (not Austrian, not Swiss) - so the German flag is somewhat appropriate.
... English (not American, not Australian, not Canadian, ...) so the UK flag does it, too.
... Portuguese (not Brazilian)
... Spanish (not... name every country in Middle- and South-America, except Brazil)...
... French (regardless of the many countries in Africa and elsewhere that also speak it)
etc. etc. etc.



What about Traditional and Simplified Chinese? In China people don't use Traditional Chinese, but in Taiwan, HongKong and Macau, and other places outside China they do. Also, a language has no political connection, in some cases flags do... Maybe we can use icons with abbreviations of languages (ISO?) like we generally use to differentiate different sections in the forums?
Title: Nightly build site discussion
Post by: VS on November 20, 2008, 02:25:59 PM
KrazyJay, about automating the downloading process - sure, it is possible! Probably in many different ways.

If I had to do this, I would probably use some scripting language (in this case Python since I just use it for everything) and add shortcut to the resulting script to "after startup" folder in start menu. Or something similar. Python is nice in one aspect - "battery included" philosophy, it comes with a full suite of libraries for all crazy kids of tasks, so you wouldn't have to hunt them on the net one by one.

Or just the same with VBscript - Internet explorer is (or used to be) just a mashup of activex libs and controls, so you could easily use some of it for downloading the stuff, and the rest - well, I don't know what all is in windows by default, but starting with xp it can open zip archives, so unpacking with some always present activex object is probably possible, too.

Or if you wanted to do it the linux way (on windows, no problem), you could use a combination of cat, wget, grep and some other nifty utilities. Just mash up some comands into batch file and repeat as with script. These programs are available from gnuwin32, so this is also an open possibility.

Dunno. Your call :) In most cases, you would have to download a lot of stuff before you can even start.

(Just let me remark that both python and gnuwin32 packages are quite useful, if you can really use them.)
Title: Nightly build site discussion
Post by: wernieman on November 20, 2008, 02:35:17 PM
If you are not interessted in the latest translation, you can only download the "smal" Packages. There are only the programm and 3? Logfiles. With this you can update other nightlys.

Only for the last PAK64, PAK128 and the latest translation you need a full download.

(BTW. the translation can be manual updated, look at the Translation-Server)
Title: Nightly build site discussion
Post by: KrazyJay on November 20, 2008, 02:40:22 PM
I'm not so great with programming, I know the code used to write in forums, I wrote some games for the TI-83 during my highschool era, I know basic commands in .bat files, but since then I lost it. I just figured it would be possible, since the download location doesn't change every day. Could I get some help with this? :) I use the link in my signature to download the file, link (http://simutrans-germany.com/~nightly/simutrans/Download.php?d=13), and the location it should be stored on my computer is D:\Program Files\simuwin-sdl-100-0\simutrans. I really hope it's not too much or impolite to ask...
Title: Nightly build site discussion
Post by: wernieman on November 20, 2008, 02:55:33 PM
But this link is only the programm (see my post)

It is only an update of an existing installation
Title: Nightly build site discussion
Post by: KrazyJay on November 20, 2008, 05:00:29 PM
Exactly. That's the only thing I need to keep up to date with the nightlies, right?
Title: Nightly build site discussion
Post by: wernieman on November 20, 2008, 05:49:07 PM
Up to date the PROGRAMM ... not the PAK or the TRANSLATION
Title: Nightly build site discussion
Post by: isidoro on November 21, 2008, 03:55:32 AM
For the flags issue, everybody knows that that is not exact.  We can even have more than one language coming from one present country,  countries may change in the future, etc.  But everyone understands it and it looks nice.

For the simplified Chinese, I've seen the mainland Chinese flag and for traditional Chinese, the Taiwanese one.  Again, that is probably not exact, and politically an issue, but everyone understands.  Or if that is really a problem, some of those beautiful Chinese characters (jiantizi or fantizi) instead of their flags can do it.
Title: Nightly build site discussion
Post by: KrazyJay on November 21, 2008, 07:46:25 AM
Although I'd be happy with flags, for Simplified as well as Traditional Chinese, we can use icons. I'll make some and post them on here after 2 hours so you can get an idea :)
Title: Nightly build site discussion
Post by: KrazyJay on November 21, 2008, 10:24:50 AM
Okay, here are some ideas? They're fine to be used anywhere for Simutrans or anything related to Simutrans/Nightlies. Comments welcome, as they're quite easy to change, or give it a go by yourself ;)
Title: Nightly build site discussion
Post by: wernieman on November 21, 2008, 10:44:28 AM
bevor we think about the flags ... we need the translation ;o)
Title: Nightly build site discussion
Post by: z9999 on November 21, 2008, 11:24:37 AM
Encoding of your site seems to be iso-8859-1.
Should we need to use numeric character references to show 2 byte characters ?

Code: [Select]
$BEZ_NAVI['LANG'] = "&#x8868;&#x793A;&#x8A00;&#x8A9E;&#x3092;&#x9078;&#x629E;&#x3057;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;"


Title: Nightly build site discussion
Post by: Frank on November 21, 2008, 12:09:45 PM
Encoding of your site seems to be iso-8859-1.
Should we need to use numeric character references to show 2 byte characters ?

...

page encoding can different for language

Code: [Select]
if ( $st == 'cn' ) {
     encoding utf8
} elseif ( $st == 'cs' ) {
     encoding 8859-2
} else {
     encoding 8859-1
}

pleace add encoding in the file

default = ISO-8859-1
Title: Nightly build site discussion
Post by: Frank on December 13, 2008, 07:15:23 AM
In release 2161 changed the savegame id.

Savegames not loaded in older versions.
Title: Nightly build site discussion
Post by: jamespetts on December 23, 2008, 11:45:13 AM
The server appears to be down: 500 internal server error.
Title: Re: New nightly Build-Site
Post by: wlindley on January 22, 2009, 06:09:55 PM
From http://nightly.simutrans-germany.com/ ... now... All i get is:
Quote
nightly.simutrans-germany.com wurde noch nicht weitergeleitet
Bitte setzen Sie sich ggfs. mit dem Support in Verbindung.
nightly.simutrans-germany.com

Where did the nightlies go?
Title: Re: New nightly Build-Site
Post by: wernieman on January 22, 2009, 06:15:58 PM
At some times the provider have a problem with the sub-domains....

somewhere Frank post the direkt-links to the nightly pages ... but I loos them :o(

Edit:
http://simutrans-germany.com/~nightly/simutrans/ (http://simutrans-germany.com/~nightly/simutrans/)
Title: Nightly build site discussion
Post by: Sarrus on March 07, 2009, 08:56:57 AM
Quote
nightly.simutrans-germany.com wurde noch nicht weitergeleitet
Bitte setzen Sie sich ggfs. mit dem Support in Verbindung.
nightly.simutrans-germany.com

What does it mean?
Title: Nightly build site discussion
Post by: blitzmaster on March 07, 2009, 10:56:26 AM
there are problems with the subdomains, as mentioned in many posts here in the forum...
in such cases please use the direct links
nightly.simutrans-germany.com - http://simutrans-germany.com/~nightly/simutrans (http://simutrans-germany.com/~nightly/simutrans)
wiki.simutrans-germany.com - http://simutrans-germany.com/wiki/wiki (http://simutrans-germany.com/wiki/wiki)
online-dat.simutrans-germany.com - http://simutrans-germany.com/online_dat (http://simutrans-germany.com/online_dat)
files.simutrans-germany.com - http://simutrans-germany.com/files (http://simutrans-germany.com/files)
simutranslator.simutrans-germany.com - http://simutrans-germany.com/translator (http://simutrans-germany.com/translator)
patches.simutrans-germany.com - http://simutrans-germany.com/~patches (http://simutrans-germany.com/~patches)

btw: the german text means: (url) has not been forwarded by now, please contact the support
Title: Nightly build site discussion
Post by: wernieman on May 16, 2009, 05:58:37 PM
Since this week there are nightlys for MAC too!

please test!

@IgorTekton:
Can you change the Subjekt of your first Post?

Ore make a new Sticky-Thread?

THANKS!!
Title: Nightly build site discussion
Post by: jamespetts on May 16, 2009, 06:00:55 PM
Nightlies for Mac? That's excellent!
Title: Nightly build site discussion
Post by: IgorEliezer on May 24, 2009, 01:05:25 PM
@IgorTekton:
Can you change the Subjekt of your first Post?

Better late than never. Done. ;D
Title: Nightly build site discussion
Post by: wernieman on July 01, 2009, 08:01:56 PM
We make a little change in the Design of the nightly-Webide.

and:
We have LINUX64-Bit included!

So  Now:
Code: [Select]
Linux
    gcc3
    gcc4
    Linux64
Windows
    SDL
    GDI
MAC
    Intel
    PowerPC

In the PAK-Section:
Code: [Select]
PAK64
openPAK128
PAK128
PAK192.comic

Edit:
There will not be a Windows-64-Version, because Windows64 have no Problem to execute 32-Bit-programms (and there is no mingw64-Compiler)

Edit
Some typo
Title: Nightly build site discussion
Post by: Michael 'Cruzer' on July 01, 2009, 08:04:17 PM
Code: [Select]
PAK192.open

Wow, since when there is a pak192.open? ;)
I think you mean pak192.comic
Title: Nightly build site discussion
Post by: wernieman on July 01, 2009, 09:15:27 PM
Thanks
Title: Nightly build site discussion
Post by: jamespetts on July 01, 2009, 10:09:22 PM
Any possibility of adding Simutrans-Experimental for Mac to the list...? :-)
Title: Nightly build site discussion
Post by: wernieman on July 02, 2009, 04:24:45 PM
When I add simutrans-experimental ... then for all (Linux, Windows, Mac). I check the working of git on my Server, without destroying subversion

But .... I don´t know how to design the webside to add it.

... when you want to answer, could you make a new thread?

@IgorTekton:
This thread is long and there are so much posting that do not must be in a "sticky thread". Could we "unstick" it and make a new "stick"?
Title: Re: Nightly build site discussion
Post by: IgorEliezer on July 08, 2009, 07:54:22 AM
This thread is long and there are so much posting that do not must be in a "sticky thread". Could we "unstick" it and make a new "stick"?

I've split the topic. http://forum.simutrans.com/index.php?topic=24.0
Title: Re: Nightly build site discussion
Post by: wernieman on July 08, 2009, 08:26:45 AM
Thanks!
Title: Re: Nightly build site discussion
Post by: The Hood on August 12, 2009, 04:43:06 PM
Would it be possible to add pak128.Britain to the list?  It would be nice to have a nightly version for debugging/balancing ahead of future releases.  The SVN is public on sourceforge (same as pak64), and there is a MOSE script to make the pak included in the root folder.
Title: Re: Nightly build site discussion
Post by: wernieman on September 01, 2009, 06:53:19 PM
A simple question:

1) Is pak12.britain ready to play?
2) Is it a "full" pak or did it missing much many objekts?

If both "yes" than I could look next week .....
Title: Re: Nightly build site discussion
Post by: kierongreen on September 01, 2009, 10:44:30 PM
It's playable in the sense you can have play it as a standalone pakset. Rail transport is the most complete. Road is in progress, there are no planes or boats.
Title: Re: Nightly build site discussion
Post by: The Hood on September 02, 2009, 08:04:12 AM
1) Yes, but limited by lack of vehicles for road freight, ships and planes.  I'm doing this right now, but would like a nightly so people can test these as soon as I've done them and report bugs so I don't waste time doing lots of releases
2) Yes, All objects required for starting are complete, i.e. since release 1.0 it doesn't need pak128 objects like it used to.
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on September 02, 2009, 09:51:09 AM
I think pak12.Britian is too small to play. ;-) ;-) ;-)
Title: Re: Nightly build site discussion (asking for bzip2.dll)
Post by: IgorEliezer on December 13, 2009, 02:21:38 PM
I have downloaded:

sim-winsdl_2009-12-13_v102.3_r2935.zip
simupak64-234.zip

... and unziped them. Now, every time I try to start up Simutrans, it keeps asking for a bzip2.dll. And even downloading from a dll site and installing bzip2.dll, it won't work.

This bzip2.dll is new for me.
Title: Re: Nightly build site discussion
Post by: wernieman on December 13, 2009, 02:34:35 PM
I change the nightlys from the brunch to the trunk.
(It was the brunch, because we want to test the 102.2.1 before it get out)

The Versions in the trunk need this dll. I can only look in 1 week for this problem ...

Werner
Title: Re: Nightly build site discussion
Post by: IgorEliezer on December 13, 2009, 02:41:08 PM
Thank you for quick reply. :D

I understood these new versions require that dll. I have downloaded bzip2.dll from two dll-site libraries, but, after installing bzip2.dll twice, simutrans says "could not found BZ2_bzRead in bzip2.dll".

I said it just for record.
Title: Re: Nightly build site discussion (asking for bzip2.dll)
Post by: Frank on December 13, 2009, 02:48:05 PM
http://simutrans-germany.com/~nightly/simutrans/dll/bzip2.dll (http://simutrans-germany.com/~nightly/simutrans/dll/bzip2.dll)
Title: Re: Nightly build site discussion
Post by: rsdworker on December 15, 2009, 07:13:38 PM
i found the simllar issue today because the nightly ST didn't let me load its came up with error - has do with  bzip2.dll" i think - i need grab the exact error - the latest nightly was 15/12/09 for windows
Title: Re: Nightly build site discussion
Post by: Colin on December 15, 2009, 08:23:19 PM
The bzip2.dll downloaded from Franks link works fine.
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on December 15, 2009, 08:49:37 PM
I can also confirm success with Frank's link (three posts up), although it did take me a couple of tries to get the file. :) (But that may have been my browser being wonky)

It should be saved to the directory simutrans.exe resides.
Title: Re: Nightly build site discussion
Post by: wernieman on December 15, 2009, 09:50:59 PM
I work on the Problem ..

but I want to make it good for (c) .... so I need a little bit time ....
Title: Re: Nightly build site discussion
Post by: IgorEliezer on December 16, 2009, 04:01:56 PM
Just a notice: Download links are broken.
Title: Re: Nightly build site discussion
Post by: wernieman on December 16, 2009, 04:12:41 PM
No ... they are only "hidden", so nobody kan download a Version with a non existing DLL.

The next Version have the DLL

Or you can download the DLL from the Page
Title: Re: Nightly build site discussion
Post by: Colin on December 16, 2009, 07:15:42 PM
Posted this elswhere but here it is again
Title: Re: Nightly build site discussion
Post by: wernieman on December 16, 2009, 07:32:37 PM
see at the Windows Part of the nightly-Side
http://simutrans-germany.com/~nightly/simutrans/index.php#_Windows (http://simutrans-germany.com/~nightly/simutrans/index.php#_Windows)

There you find a Downloadlink for the DLLs, and since today bzip2.dll too.

Please use this version, when you not have install a bzip-Libary to Windows
Title: Re: Nightly build site discussion
Post by: rsdworker on December 16, 2009, 10:00:16 PM
see at the Windows Part of the nightly-Side
http://simutrans-germany.com/~nightly/simutrans/index.php#_Windows (http://simutrans-germany.com/~nightly/simutrans/index.php#_Windows)

There you find a Downloadlink for the DLLs, and since today bzip2.dll too.

Please use this version, when you not have install a bzip-Libary to Windows
looks better now - its will help for new people
Title: Re: Nightly build site discussion
Post by: Colin on December 17, 2009, 07:49:28 AM
You really don't have to go to the download site, if you look at my previous post you'll see bzip2.dll listed there as a small zip file.

Off this topic. Whats wrong with the nightly downloads? the last four are not downloadable.
Title: Re: Nightly build site discussion
Post by: wernieman on December 17, 2009, 08:25:35 AM
The last Version (This Night) could not upload .... the Script sad "Server not reachable". I look for it ...

the other are hidden (see in this thread)
Title: Re: Nightly build site discussion
Post by: Colin on December 17, 2009, 08:50:50 AM
The last Version (This Night) could not upload .... the Script sad "Server not reachable". I look for it ...

the other are hidden (see in this thread)

Below are the last 5 nightly's. the top one r2944 has downloaded ok. The others are just lines of print. (All OS's)

sim-wingdi_2009-12-17_v102.3_r2944.zip 2.32MB
sim-wingdi_2009-12-16_v102.3_r2943.zip
sim-wingdi_2009-12-15_v102.3_r2941.zip
sim-wingdi_2009-12-14_v102.3_r2939.zip
sim-wingdi_2009-12-13_v102.3_r2935.zip
Title: Re: Nightly build site discussion
Post by: wernieman on December 17, 2009, 09:30:01 AM
I restart the upload and it works ;o)
Title: Re: Nightly build site discussion
Post by: whoami on December 17, 2009, 06:36:25 PM
Small problem on the nightlies' page: the link for simupak128-786.zip does not work (error 404). The .7z file is available.
Title: Re: Nightly build site discussion
Post by: skreyola on December 17, 2009, 07:43:01 PM
Off this topic. Whats wrong with the nightly downloads? the last four are not downloadable.
I believe the answer to that is in reply #85 of this topic.
Title: Re: Nightly build site discussion
Post by: Colin on December 18, 2009, 01:35:05 AM
I believe the answer to that is in reply #85 of this topic.

You're a tad late with this reply. I think wernieman already answered.
Title: Re: Nightly build site discussion
Post by: skreyola on December 18, 2009, 04:07:19 AM
You're a tad late with this reply. I think wernieman already answered.
Oops. When I made the reply, I didn't see anything between it an the post to which I was replying. That's odd.
Title: Re: Nightly build site discussion
Post by: whoami on December 19, 2009, 07:39:06 PM
the link for simupak128-786.zip does not work (error 404).
This has been solved, apparently (without generation for a new pak-set revision).
Title: Re: Nightly build site discussion
Post by: wlindley on February 19, 2010, 02:37:22 PM
http://simutrans-germany.com/~nightly/simutrans/index.php says:

Quote
Not Found The requested document was not found on this server.

Nicht gefunden Die angeforderte Datei ist auf diesem Server nicht verfügbar.

and then redirects to http://www.simutrans-germany.com/ which says

Quote
simutrans-germany.com wurde noch nicht weitergeleitet
Bitte setzen Sie sich ggfs. mit dem Support in Verbindung.
www.simutrans-germany.com

....????
Title: Re: Nightly build site discussion
Post by: Pati on February 19, 2010, 06:35:56 PM
Yes. The server is moving at the moment, so some pages are not avilable for a while. :-[
Title: Re: Nightly build site discussion
Post by: wlindley on February 21, 2010, 12:01:00 PM
VS kindly sends the new link, http://nightly.simutrans-germany.com
Title: Re: Nightly build site discussion
Post by: Frank on February 21, 2010, 12:07:28 PM
VS kindly sends the new link, http://nightly.simutrans-germany.com


this is the offical link adress since Okt 2008
Title: Re: Nightly build site discussion
Post by: ansgar on May 24, 2010, 05:48:36 AM
Hi,

http://nightly.simutrans-germany.com/ seems broken. I get a 403 (access forbidden) page.

That 403 page also includes annoying flashing ads... Even the "Impressum" link leads to a 404 (not found) page that also includes those really annoying ads...

Regards,
Ansgar
Title: Re: Nightly build site discussion
Post by: wernieman on May 24, 2010, 06:48:10 AM
When I test it, it works .....
Title: Re: Nightly build site discussion
Post by: ansgar on May 24, 2010, 07:21:45 AM
Hmm, interesting. When I access the site via a German proxy it works.
Maybe the server is randomly banning IP addresses from other countries? It would be better to not do so...
There is also a thread on the Japanese forum [1] about it (you can see nightly 403 fobidden in the topic ;) ).

Regards,
Ansgar

[1] http://forum.japanese.simutrans.com/index.php?topic=321.0
Title: Re: Nightly build site discussion
Post by: vilvoh on May 24, 2010, 08:09:54 AM
Perhaps it's rejecting requests from non european countries due to server overload or similar.
Title: Re: Nightly build site discussion
Post by: wernieman on May 24, 2010, 03:00:47 PM
As I know, there is no "IP-Blocking" .... I think it is an routing-Problem ...
Title: Re: Nightly build site discussion
Post by: ansgar on May 24, 2010, 03:19:25 PM
As I know, there is no "IP-Blocking" .... I think it is an routing-Problem ...
Unlikely.  Traceroutes from Japan and Germany have the same last hops.  I think somebody has banned "evil" IP subnets on the web server.

Who administrates the server? Maybe we should ask him.

Regards,
Ansgar
Title: Re: Nightly build site discussion
Post by: prissi on May 24, 2010, 06:24:44 PM
Interestingly the japanese access via proxy worked too. Is this a dyn-dns address? Those propagate often not fast enough.
Title: Re: Nightly build site discussion
Post by: wernieman on May 24, 2010, 06:52:36 PM
It is on a Server from Frank ... and it is not an dyn-dns ....
Title: Re: Nightly build site discussion
Post by: whoami on May 24, 2010, 08:20:22 PM
As discussed elsewhere, Frank may not be able to do something about it, because not only his server is involved in the HTTP request (according to my understanding, err, guessing of the technical setup). The aforementioned advertisement in the error message might be from Frank's provider's webserver, same for the error message itself. @the people to whom the problem occurs: could you please post a screenshot and also the source code (put it in a
Code: [Select]
block or an attachment to mask it) of the error page?
Title: Re: Nightly build site discussion (down?)
Post by: IgorEliezer on June 16, 2012, 06:19:05 AM
Is the Nightly build site down? :(
Title: Re: Nightly build site discussion
Post by: The Hood on June 16, 2012, 09:12:25 AM
It seems simutrans-germany.com is down in general...
Title: Re: Nightly build site discussion
Post by: DirrrtyDirk on June 16, 2012, 10:13:33 AM
Seems to be up and running (again?) to me.
Title: Re: Nightly build site discussion
Post by: whoami on September 08, 2012, 09:20:39 PM
Since SVN revision 5899 and August 30th, the nightly builds for Windows (and only these) are broken. We are working on a solution, see r5899 nightly fails to start (http://forum.simutrans.com/index.php?topic=10432.0).
Revision 5898, which is still available for download, is the last working one.
Title: Re: Nightly build site discussion
Post by: IgorEliezer on September 08, 2012, 10:43:37 PM
Yep, I've tried r5908 Windows/GDI today, and it's broken. Too bad. D:
Title: Re: Nightly build site discussion
Post by: whoami on September 11, 2012, 09:29:11 AM
nightly.simutrans-germany.com and www.simutrans-germany.com do not respond at the moment.
Title: Re: Nightly build site discussion
Post by: wernieman on September 11, 2012, 10:13:11 AM
it works (on the moment)
Title: Re: Nightly build site discussion
Post by: whoami on September 28, 2012, 12:01:58 PM
For around four days, all the links to the archives (.zip and .7z) with the single executables (on the nightly download site, e.g. sim-winsdl.7z) have been broken - either the wrong archive will be presented for download, or an error message appears. But the complete archives ("incl. history and log as zip") work. This applies to Linux, Windows and Mac builds.

See also http://www.simutrans-forum.de/forum/thread.php?postid=86298#post86298 (German forum).
Title: Re: Nightly build site discussion
Post by: wernieman on September 28, 2012, 12:33:21 PM
Yes ... I wrote to Frank, because I don´t find the Error :o(
Title: Re: Nightly build site discussion
Post by: greenling on September 28, 2012, 12:37:25 PM
Wernieman
It Possible that the server from Frank have a defective has made the man only by long test can find.
Title: Re: Nightly build site discussion
Post by: kagari on January 28, 2015, 01:29:23 PM
http://nightly.simutrans-germany.com/ has been empty for the past few hours. Is the server in maintenance?
Title: Re: Nightly build site discussion
Post by: wernieman on January 28, 2015, 01:58:43 PM
Good Question ... but ...

at 31.01. (in 3 days) I stop the generation of simutrans-nightly.

The software (cross-compiler) on the server is to old and I have not the time to make an update
(for german speaker see in the german forum: http://www.simutrans-forum.de/forum/index.php?page=Thread&postID=106421 (http://www.simutrans-forum.de/forum/index.php?page=Thread&postID=106421)

The openttd Team make it, see
The Versions: http://farm.openttd.org/browse/SIMU-NIGHTLY (http://farm.openttd.org/browse/SIMU-NIGHTLY)
The Latest: http://farm.openttd.org/browse/SIMU-NIGHTLY/latestSuccessful (http://farm.openttd.org/browse/SIMU-NIGHTLY/latestSuccessful)

Werner
Title: Re: Nightly build site discussion
Post by: Spacethingy on January 28, 2015, 05:44:30 PM
With OpenDNS, simutrans-germany.com is blocked for phishing. :O
How the heck that worked... My ISP's DNS works fine, allowing me through to the empty site.

Why do OpenTTD build stuff for us? As nice as that is...
Title: Re: Nightly build site discussion
Post by: wernieman on January 28, 2015, 09:00:57 PM
Because the could do it, there is an working CrossCompiler ... an I stop the doing ...

(Sorry, by english is not so good, to explain it)
Title: Re: Nightly build site discussion
Post by: Spacethingy on January 28, 2015, 11:07:24 PM
But... this is like every Airbus being delivered on the wings of a Boeing! :D

On a serious note, thanks Wernieman for providing us with that service while it lasted! Your site was much easier to navigate...


For those wanting to find the latest nightly Simutrans binary:


1) Go here: http://farm.openttd.org/browse/SIMU-NIGHTLY
2) Click on the latest successful build (the #xxx next to the green tick) [on this page, the highest number commit will give you the r#### version]
3) Click the "Artifacts" tab
4) Click on the "Simutrans Bundle" of your required binary (i.e. Linux or Windows). This gives you a .zip containing everything but a pakset.


The OpenTTD Windows bundles are missing .dlls, just paste these next to the Simutrans.exe:
bzip2.dll http://forum.simutrans.com/index.php?topic=3957.msg38890#msg38890
pthreadGC2.dll Copy this from another Simutrans install.
Title: Re: Nightly build site discussion
Post by: Ters on January 29, 2015, 05:43:59 AM
I should have everything I need to set up nightly builds for Linux and Windows (haven't actually tried putting the pieces together), but I got nowhere to publish them. I have never tried cross-compiling for Mac, as I can't test the result.
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on January 31, 2015, 07:47:38 PM
I stop the doing ...

Thank you for all the work you put in on it. It is very much appreciated.

I got nowhere to publish them.

Would you like a subdomain to publish to? The server can definitely handle it. :)
Title: Re: Nightly build site discussion
Post by: prissi on January 31, 2015, 08:36:54 PM
The OpenTTD built farm can easily have upload. It is not active because of a missing domain for saving. (The german forum does not have scp or sftp access, so I could not set it up there.)
Title: Re: Nightly build site discussion
Post by: Ters on January 31, 2015, 09:24:02 PM
I have some problems cross-compiling bzip2 for Windows at the moment, and SDL might be even more tricky. So it's no wonder wernieman got worn out. Before that, there were some problems just compiling the cross-compiler.
Title: Re: Nightly build site discussion
Post by: prissi on February 01, 2015, 09:15:03 PM
The MAC crosscompile is the issue.
Title: Re: Nightly build site discussion
Post by: Ters on February 02, 2015, 06:50:44 AM
I find binutils-apple and gcc-apple packages for my system, but there is no documentation to be found.
Title: Re: Nightly build site discussion
Post by: wernieman on February 02, 2015, 08:59:26 PM
On my gentoo-Server, windows and unix was "easy", but I need 1 year (realtime) to get MAC running.

But ... my (home) Gentoo Server will go out, he need to mucht time ... and this Time I need for my Familie and the other Hobbys  :D . And ... I must update Mac, because more than 1 year (real time) I do nothing to update it.  :-[

Thank you, für your appreciation  :) (I hope, I use the right word and you understand)

And it was not easy to go this way to say "good by nightlys"  :-X . Since 2007? (it must me or longer, but I don't find a Dokumentation) I make this Service for you ... but ...... it is not easy to explain.

(Sorry for my english  :D )
Title: Re: Nightly build site discussion
Post by: sdog on February 03, 2015, 01:10:48 AM
Thank you very much for providing the nightlies over all those years. You helped me to so many hours of enjoyable and relaxing play of simutrans.

Herzlichen Dank dafuer, dass due die Nightlies ueber so viele Jahre bereitgestellt hast. Du hast so mir zu so vielen frohen und entspannenen Stunden Simutrans verholfen.
Title: Re: Nightly build site discussion
Post by: wernieman on February 03, 2015, 03:12:08 PM
*lol*

I think my english is better than the "google Translator"  ;D
Title: Re: Nightly build site discussion
Post by: Ters on February 03, 2015, 06:18:27 PM
I think my english is better than the "google Translator"  ;D

Rest assured that it is. Unlike Google's, your mistakes make sense.
Title: Re: Nightly build site discussion
Post by: prissi on February 03, 2015, 09:36:27 PM
Well, would Isaac set up a nightly download area? It needs to be accessible with sftp. I may also need to run a script that only the last two version are available or so.
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 04, 2015, 03:14:10 AM
I'll send you a PM with details, Prissi. Server supports SFTP natively, thankfully. :)

Set up with 5GB space, can easily expand if needed, plenty of space on the server.
Title: Re: Nightly build site discussion
Post by: prissi on February 04, 2015, 11:07:28 PM
OK, I got more instructions on how to proceed:
Quote
Hi!

Omg, I totally forgot I was working on this. You really should poke me on IRC from time to time; my attention-span tends to be very short :D Sorry about that.


So I gather that the Windows build is running fine otherwise? I will replace the lib this weekend, then we can see if that works fine.


For OpenTTD we upload the binaries via sftp, with a public key. Now I always have to think hard which key we use .. I think it is:

http://devs.openttd.org/~truebrain/cf.key.pub

If you can make an account for uploading with that key as access. If you then can give me the sftp address (so user, host, port, and path), I will make it automatically upload to your SFTP. Please disable password logins for that account.

The upload-script creates a directory per nightly, puts a changelog.txt in there (with the SVN changelog of the last N days), a release.txt (with the date of the build), and for every binary the binary itself, together with the md5sum, sha1sum and sha256sum (as they were on the build machine). If you want any other file (or less files), do let me know. For OpenTTD nightlies we for example also upload a readme.txt. For an example, please see: http://ftp.snt.utwente.nl/pub/games/openttd/binaries/nightlies/trunk/

For OpenTTD after the upload we also call a script on the remote server to inform the upload was done. If you have any of such script let me know, and we can also give it a poke after upload. (we update http://finger.openttd.org/versions.txt for example, but it can be any script doing what ever you feel useful :) )

I will also see if I can poke a Mac user to get me a libbz2. So far I have been unlucky, but I haven't really followed up on it. Otherwise I will dust off my old Mac laptop, see what he can produce for me.


Did you try if the revision of the Windows build is how it should be btw?

Guess it is almost there then :) If there is anything else, don't hesitate to ask; anything is possible!


Will get back to you this weekend when I fixed up the Windows build, so you can test if it really works now etc :)


With kind regards,

Patric "TrueBrain" Stout
SysOp OpenTTD
So we are almost there.

But it begs the question: Is there anyone with enough scripting knowledge how to cobble together a simple site offering the last version? My own web-scripting knowledge is more or less still static HTML ...
Title: Re: Nightly build site discussion
Post by: DrSuperGood on February 05, 2015, 12:08:38 AM
Quote
But it begs the question: Is there anyone with enough scripting knowledge how to cobble together a simple site offering the last version?
You will be surprised how little of that you get taught at further education. Writing programs on ARM embedded systems, easy. Setting up a massive data base system, also easy. Programming up an application for a smart phone, cake. Write a simple web page, uh...

Surely the scripts for the previous nightly site could be recycled? Especially as far as layout that would save time I imagine, even if the file generation process is quite different.
Title: Re: Nightly build site discussion
Post by: An_dz on February 05, 2015, 05:00:49 AM
I have some knowledge of PHP, HTML, CSS & JS. I would need to know what's the content of the request after the upload, if it contains any sensible info or is just a simple call and I'll have to hunt info from the uploaded files.
Title: Re: Nightly build site discussion
Post by: prissi on February 05, 2015, 10:04:08 PM
I think that could be arranged. Truebrain is on IRD ( irc.oftc.net, #openttd ) his normal name is Patric Stout.

I think it might be best to talk directly to each other. THe openttdsite has a folder for each nightly ever generated, although the nightly page just offers the last one (nightly.openttd.org)
Title: Re: Nightly build site discussion
Post by: An_dz on February 05, 2015, 11:29:01 PM
We can offer some older revisions as well, in case a nightly is broken. I'll contact him to get the details.

Anyway, who's going to provide the builds? Ters or Patric TrueBrain?
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 06, 2015, 04:49:39 AM
And do I need to truly set up a key? Pass works perfectly fine. But I can set up a key if needed, I suppose. Being lazy - it can be done. :)
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 07, 2015, 07:46:00 PM
Key should be working.
Title: Re: Nightly build site discussion
Post by: An_dz on February 08, 2015, 02:50:48 PM
The first nightly has been uploaded. Linux and Windows only for now.
Title: Re: Nightly build site discussion
Post by: Ters on February 08, 2015, 03:16:35 PM
So far, the OpenTTD farm page is a better choice for downloading.

Didn't we have nightly pak set builds as well?
Title: Re: Nightly build site discussion
Post by: An_dz on February 08, 2015, 03:36:14 PM
Yes.

And I'm working on an user interface.
Title: Re: Nightly build site discussion
Post by: prissi on February 08, 2015, 09:52:33 PM
The MacOS build is nearly finished, it jsut need some more tweaks of the makefile. I am on it.

Btw, the sftp tries to write something to stdin
Quote
From An_dz on IRC I received the login credentials for the SFTP. From now on the files will be published there. If there is any need to change the directory or structure of the files, just give a yell.

Something for the person maintaining nightly.simutrans.com: upon SFTP it tries to read something from the stdin. This triggers a warning (as when doing sftp, stdin is not bound to a tty, so there is nothing to read). Is it possible to remove these warnings? (just try to SFTP something yourself via CLI, and you will see what I mean: "stdin: is not a tty")
Title: Re: Nightly build site discussion
Post by: An_dz on February 08, 2015, 10:37:25 PM
I've finished the callback script to be called when you finish the upload. What it does now is to create a file with some info about the builds so the site can be loaded faster (so it doesn't have to analyse the files and folder all the time).

This script can also create a new zip file with only the executable (like the old nightly site) and can also delete old folders, so we can delete older builds as new ones are uploaded.

I have not done the last two, and I think are good ideas. But do you agree? And how many revision do you think is a good number to keep before deleting?
Title: Re: Nightly build site discussion
Post by: wernieman on February 09, 2015, 10:20:57 AM
on the last nightly-page, there was the last 10 Version
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 10, 2015, 02:41:50 AM
I've finished the callback script to be called when you finish the upload. What it does now is to create a file with some info about the builds so the site can be loaded faster (so it doesn't have to analyse the files and folder all the time).

This could be added to cron. Even setting it to run every five minutes would probably be perfectly fine just because I suspect it might be at worst the same load as a forum page or two…

Btw, the sftp tries to write something to stdin

It may not be possible to fix, but I will investigate. (The nice thing about cPanel is that it does a lot for you. Sometimes the problem with cPanel is someone doesn't want it to do one of the things it does for you. But it might not be able to turn off whatever it is for a single user even if we weren't running cPanel. But I'll check)
Title: Re: Nightly build site discussion
Post by: An_dz on February 11, 2015, 05:36:50 AM
I'm glad to announce the nightly website is now live. http://nightly.simutrans.com/

It's a simple but powerful website.
  • It allows easy translations as the old site and our front site.
  • It uses an svg logo with a png fallback for old browsers.
  • It has no javascript.
  • All OSes are at the top, so you don't need to scroll if you use Windows or Mac
  • It has some responsive design
  • Older version will only be shown by clicking the Older Versions button
Title: Re: Nightly build site discussion
Post by: Ters on February 11, 2015, 07:05:20 AM
I guess you're trying to use some official color for the different OSes, but I find the colors for Windows very penetrating compared to the rest, and to simutrans.com pages in general. If there is going to take some time before the Mac build is in place, it might be an idea to give some other visual clues that it is unavailable, such as removing the dummy link and darkening the button. A visitor scanning through the page might read the text on the Windows button (which is in middle and therefore quickly seen), then notice Mac to the right and click without noticing that the text is different.

Hard to tell how the older versions is going to work. I guess it doesn't at the moment because there is no older builds?

There is also no information whether the builds are GDI, SDL1 or SDL2 (or native Mac, but was there ever proper releases of that). I think the old nightlies also had several backends for some OSes, but that's not something for An_dz to worry about unless the build farm is going to make them.
Title: Re: Nightly build site discussion
Post by: Spacethingy on February 11, 2015, 09:41:16 AM
Thanks for the new site - just one thing, the Windows build doesn't include the necessary DLLs. Not a big deal really, you just need to copy them over from an existing install, as I mentioned before.
Title: Re: Nightly build site discussion
Post by: An_dz on February 11, 2015, 02:14:52 PM
I guess you're trying to use some official color for the different OSes, but I find the colors for Windows very penetrating compared to the rest, and to simutrans.com pages in general.
Yes, some official colour. I have brighten the Linux orange to reduce the Windows attention (even though I think both are very powerful and get attention)

If there is going to take some time before the Mac build is in place, it might be an idea to give some other visual clues that it is unavailable, such as removing the dummy link and darkening the button.
Done.

Hard to tell how the older versions is going to work. I guess it doesn't at the moment because there is no older builds?
Yes, because there's only one build there are no older versions.
They will be simple text like: r7520 - 12/08/2015 12:23 UTC

There is also no information whether the builds are GDI, SDL1 or SDL2 (or native Mac, but was there ever proper releases of that).
I have not tested them, if someone can tell me I'll add this info.
Title: Re: Nightly build site discussion
Post by: Ters on February 11, 2015, 04:37:25 PM
Yes, some official colour. I have brighten the Linux orange to reduce the Windows attention (even though I think both are very powerful and get attention)

That latter part was the thing. They are very powerful, which was something of a departure from the comparatively dull design of the main site.
Title: Re: Nightly build site discussion
Post by: An_dz on February 11, 2015, 04:39:43 PM
I'm planning an overhaul of the main site. But didn't have the time to do so.
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 12, 2015, 03:17:12 PM
It's great! :) I just downloaded the Linux nightly. Haven't run it yet, but this is the first time I saw get_pak.sh - that's awesome! I put a topic over in Praises for it.

And already a few stats on the domain. hehe

(http://ieh.im/i/397.png)
Title: Re: Nightly build site discussion
Post by: An_dz on February 14, 2015, 02:52:03 AM
So, what's the progress? Why no more uploads? Did you find the problem with stdin Isaac?
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 14, 2015, 03:58:48 AM
I haven't been able to duplicate. Connecting via SSH with password nets no text for me.  I can't connect with their key because it's got a passphrase on it, which is fine. I connected using a key and also got not text.

Is the text, whatever it is, actually causing failure or something? Because it seems like it worked. But if that's why no updates, then I'll spend more effort on it.
Title: Re: Nightly build site discussion
Post by: Ters on February 14, 2015, 08:44:32 AM
There have likely been no new builds because SVN has been down. No SVN means no code changes, and there is no point in building the same code over and over again.
Title: Re: Nightly build site discussion
Post by: An_dz on February 14, 2015, 01:35:00 PM
There have likely been no new builds because SVN has been down. No SVN means no code changes, and there is no point in building the same code over and over again.
Duh, you're right. I forgot the SVN was down.
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 14, 2015, 01:35:15 PM
Ah, right. Makes sense. :)
Title: Re: Nightly build site discussion
Post by: wernieman on February 14, 2015, 03:17:27 PM
Ist the same, than my (old) building-Script. Is there no update, then no nightly build.
But on the old Side, there was an Info, that no update
Title: Re: Nightly build site discussion
Post by: An_dz on February 14, 2015, 03:55:55 PM
It's because you compiled the builds and if failed you'd show a report, the new nightly site doesn't. The builds are built in another server and doesn't send a report to tell no build was actually build.
Title: Re: Nightly build site discussion
Post by: An_dz on February 17, 2015, 02:38:12 AM
No uploads are being done. Windows is compiling, but Linux is not with an error trying to remove pthreads dll
http://farm.openttd.org/browse/SIMU-NIGHTLY-77/log
Title: Re: Nightly build site discussion
Post by: wlindley on February 19, 2015, 02:49:21 PM
No more 64-bix Linux? No more pakset builds? =sigh=
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on February 19, 2015, 03:25:49 PM
Well..... I'm not a programmer. I have so very little experience on the programming side of things. But maybe it might be possible to build nightlies on the server? It is running Linux, although to be fair, it is CloudLinux, and the environment was restrictive enough that the effort to get SVN running on it was not seen as worth it (although I seem to recall other issues as well in that).

But even if we could just get Linux and paks going..... it might be worth it?

Before I start devoting time to it, I'd want experience folks to chime in with opinions. Especially if it's possible to see this existing nightly effort expanded on.

Also, I :definitely: don't know anything about cross-compiling as wernieman was doing.
Title: Re: Nightly build site discussion
Post by: prissi on February 19, 2015, 09:11:42 PM
paksets is easy, you just need makeobj as an executable and shell access (and of course and SVN client). Yu the jsut run on most paks

cd sf/simutrans # or where the SVN root is
svn up
cd pak64
make clean
make
# now you have simupak64-xxx.zip which you must upload with whatever command you use
make clean
cd ..
cd pak128.britain
...

an so on. However, paks evolve slowly, so one could also run this script one a week a home. I could run it mondays on my work computer, given there is a standardtised upload.
Title: Re: Nightly build site discussion
Post by: wernieman on February 25, 2015, 08:30:29 PM
Not realy soo easy, but ...


between svn up I do an svn info and check the Revision Number. Only when the Number changed, then I do the "make".

On an web server, it is not a good Idea to put an CrossCompiler on it. I don't think, that a "normal" gcc is an good Idea. The security ....

This was the reason, that the build and the Web-Server was on different Systems.
My Build-System was an Gentoo-Server, there was it easy to make Linux (32/64) and Windows Builds. But Mac ..... I do the generation of the Compiler on an Debian-VM on the Server. I doun't get it work on the Gentoo Maschine.

Sorry, but today I must delete the CrossCompiler on the Server ... but only the Compiler, not my Scripts. ;o)
Title: Re: Nightly build site discussion
Post by: Ters on February 26, 2015, 05:43:27 AM
On an web server, it is not a good Idea to put an CrossCompiler on it. I don't think, that a "normal" gcc is an good Idea. The security ....

It's hard to avoid having GCC (or other compilers) on a Gentoo system.
Title: Re: Nightly build site discussion
Post by: wernieman on February 27, 2015, 02:43:11 PM
*lol* thats the reason, that I don´t have a Gentoo-Sever as WebServer ... ;o)
Title: Re: Nightly build site discussion
Post by: Dwachs on September 06, 2015, 01:49:20 PM
It seems that the nightly build site does not have the latest build available, while on the compile server

http://farm.openttd.org/browse/SIMU-NIGHTLY

a recent build is available.
Title: Re: Nightly build site discussion
Post by: An_dz on September 07, 2015, 04:04:43 AM
There's probably a problem with their script that send us the data because r7572 is the last version in the server.
Title: Re: Nightly build site discussion
Post by: Dwachs on September 07, 2015, 06:52:55 AM
It seems to work again, the newest build is available.
Title: Re: Nightly build site discussion
Post by: An_dz on September 07, 2015, 02:39:20 PM
Me and Isaac will take a look on setting a job on our server to check for updates if their script call fails.
Title: Re: Nightly build site discussion
Post by: IgorEliezer on September 26, 2015, 01:29:35 AM
Yololo!

/me updates http://forum.simutrans.com/index.php?topic=24.0 (http://forum.simutrans.com/index.php?topic=24.0)

Oh it seems you've got a very nice Nightly Builds page.
Title: Re: Nightly build site discussion
Post by: Dwachs on November 14, 2015, 10:14:26 AM
I noticed that there are versions compiled for MACs. Who does the compilation? I must have completely missed any discussion on this.
Title: Re: Nightly build site discussion
Post by: Ters on November 14, 2015, 10:40:17 AM
I noticed that there are versions compiled for MACs.

Where?
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on November 15, 2015, 05:15:55 AM
Maybe he missed the "Not available"? :)

I did, I think, the first time I saw it.

Even now, the blue and orange and grey are pretty, so I hope it's not just a "disabled" colour if we get Mac nightlies. ;-)
Title: Re: Nightly build site discussion
Post by: An_dz on November 15, 2015, 04:29:28 PM
Don't worry Isaac, those are the definite colours. :D
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on November 15, 2015, 08:07:13 PM
:small satisfied sigh of pleasure: :)
Title: Re: Nightly build site discussion
Post by: matio69 on November 19, 2015, 08:44:52 PM
Is there any near-future timing for MacOS nightly build resolution? :o
Title: Re: Nightly build site discussion
Post by: An_dz on December 10, 2015, 11:12:33 PM
The site has been updated to allow download of the executables only. It's also less bright.

However the package comes also with the license files, as they are required for the distribution; and the simuconf.tab file, so you are safe of its changes.



We also have our check for new builds in case their script fails to report to us. It will obviously download the files, check the hash and update the whole site.
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on December 11, 2015, 07:05:24 AM
It does look better. :)
Title: Re: Nightly build site discussion
Post by: Dwachs on January 27, 2016, 05:21:21 PM
The latest build is not available on the nightly site, while it is available at the compile farm:

http://farm.openttd.org/browse/SIMU-NIGHTLY-165
Title: Re: Nightly build site discussion
Post by: An_dz on January 27, 2016, 07:01:21 PM
The logs show it was available at the usual time. I need to understand more about cache headers to send them correctly for our sites, so your browser doesn't fool you.



The only thing I can't understand though is why all systems hide the GMT. It's like we are in Medieval time and we think that it's midday in the whole universe.

Because our server reports the files were uploaded at 5:13. Theirs show the job was finished at 8:13. I'm guessing this means the job sent the files right because the minutes match. I'll see if I can find out.
Title: Re: Nightly build site discussion
Post by: TurfIt on February 03, 2016, 10:09:59 PM
Whats with the robots.txt and 'unavailable'? They show up ok with selecting older builds, including the current one listed as older.
Title: Re: Nightly build site discussion
Post by: An_dz on February 04, 2016, 01:04:17 AM
The site is fixed, I'm investigating what happened.

Edit:
All fixed, there were quite a few bugs.
Title: Re: Nightly build site discussion
Post by: An_dz on February 09, 2016, 02:09:54 AM
The nightly site now instructs your browser how to cache content, now it will ensure that you always see the updated page.

I suggest everybody, but especially If you were having problems not seeing the content updated, to either clear your cache or hit Ctrl+F5 on the page.
Title: Re: Nightly build site discussion
Post by: Dwachs on May 27, 2016, 04:32:22 PM
No new version seems to be pushed to the nightly server, here is an error log:

http://farm.openttd.org/browse/SIMU-NIGHTLY-PUB-190

Who can fix this?
Title: Re: Nightly build site discussion
Post by: Isaac.Eiland-Hall on May 27, 2016, 07:01:56 PM
Ah, sorry, that's a side effect of me having to move servers. It should be simple to fix, although I can't. The new server is legit, though.
Title: Re: Nightly build site discussion
Post by: An_dz on June 02, 2016, 03:57:16 AM
Thankfully I created that script to download ourselves the latest nightlies in case bugs like this happens. So the Nightly page is working.

One has to contact that guy I forgot who was to update the keys, info about him is on that thread when the nighly page was taken down and I started the new one.
Title: Re: Nightly build site discussion
Post by: prissi on June 02, 2016, 08:46:45 PM
THe key has been update already last Saturday or so. I tis truebrain at the OpenTTD forum.
Title: Re: Nightly build site discussion
Post by: uci on April 12, 2018, 08:27:50 AM
Where can I download nightly builds?

This site is not updated anymore:
https://nightly.simutrans.com/en/

and this one is not accesible:
http://farm.openttd.org/browse/SIMU-NIGHTLY
Title: Re: Nightly build site discussion
Post by: Ters on April 12, 2018, 03:48:06 PM
The first one is probably not updating because the latter doesn't work. I doubt there are others publishing regular development builds. (There was none at all when I joined.) If there is, there is a question of whether it is legit and not some trojan factory.
Title: Re: Nightly build site discussion
Post by: prissi on April 14, 2018, 03:24:24 PM
No news on that on openttd forums, even though their nightlies should be affected too. Their last release is from 6th April. No builds before that are likely some scripting troubles.
Title: Re: Nightly build site discussion
Post by: Ters on April 14, 2018, 04:54:36 PM
According to one of the discussions on their forum (the one about version control, which I just happened to decide to look at), OpenTTD does not use the forum anymore for development related matters, but IRC.
Title: Re: Nightly build site discussion
Post by: prissi on April 15, 2018, 03:33:05 AM
Anyway, it seems like thez moved to a Jenkins build (and as such we lost support for Simutrans nightlies) http://farm.openttd.org/jenkins/

I will probably set up a cross compile at my german forum server, so one could supply them from there.
Title: Re: Nightly build site discussion
Post by: Ters on April 15, 2018, 07:36:31 AM
I saw that they had some Jenkins scripts in GitHub, but I wasn't sure what they used earlier. Getting Jenkins to build Simutrans should be easy once there is a cross-compile environment on the server.
Title: Re: Nightly build site discussion
Post by: prissi on April 15, 2018, 01:55:39 PM
Why do you need Jenkins, when you have a cross compile environment? Simutrans does not have any automated tests ...

I have set up a crosscompilation on mz tiny virtual server, and it seems to compile and run on my machine: please test.
http://www.simutrans-forum.de/nightly/
(So far this is only the GDI windows version, build with the ancient Debian stable mingw64 (gcc4.x or so)
Title: Re: Nightly build site discussion
Post by: Ters on April 15, 2018, 03:19:17 PM
Jenkins is not for running tests, it is for executing automated jobs based on various triggers (its original purpose and most common use probably is to run tests, though). I use it at work to do all the stuff required for building a release, as well as uploading that release to various servers. Basically everything that happens to the code post-commit. (Except getting the go-ahead to put new version into production from those I work for, who do some manual testing first, but even that is supposedly possible.)

A cross-compile environment on the other hand, does nothing by itself.

An easily automated test for Simutrans would be to check that committed code compiles for every supported architecture. Then the committer can get an e-mail if they broke something within minutes of doing it.
Title: Re: Nightly build site discussion
Post by: prissi on April 16, 2018, 05:37:55 AM
To have a build at mindnight I will a cronjob, which does

cd trunk
svn revert -R .
svn up
./../bin/mingw64 make
cp sim sim.exe
./distribute
cp simuwin-gdi.zip /var/.../html/nighlies
chown www-data:www-data /var/.../html/nighlies/simwin-gdi.zip

while setting up Jenkins with a build system looks like a many day job learning Jargon. Just a random line copyind from a short guide "Now that Jenkins is configured, you are ready to orchestrate or maintain a CI pipeline. I recommend checking out the Jenkins documentation Getting Started with Pipeline to create and deploy your first CI pipeline."

Sorry, if I get money for such nonsense, I can do this. But my time is limited and I do not work in development, so this is useless Jargon to me. The shell script is all I can do, and takes less than 10 minute to write.

Anyway, does the nightly run for you?
Title: Re: Nightly build site discussion
Post by: Ters on April 16, 2018, 06:18:43 AM
Well, that shell script would be needed for Jenkins as well, except for the first three lines. In addition, it would not do the build if there are no changes, so that the dating of the files reflect when things last changed. And send e-mails to the guilty person(s) if the build fails due to compilation errors or whatnot. If all the developers were given access to its web interface, they would also be able to examine the logs and run builds manually to examine why the builds failed for platforms other than their own, or (less importantly) just to trigger release builds at different times.

So while Jenkins is a rather big tool with several features we don't need (and even more in plugins), I just thought such features out of the box would seem useful.

(Jenkins' new pipeline script system is indeed a lot to get familiar with, but I think they still support the old semi-point-and-click way of doing things.)
Title: Re: Nightly build site discussion
Post by: prissi on April 16, 2018, 07:39:47 AM
Anyway, no comments, but a complete (including packset installer) nightly is now generated at 2am MET (I think the server uses that for its crontab, not sure). Download at http://www.simutrans-forum.de/nightly/
Title: Re: Nightly build site discussion
Post by: uci on April 16, 2018, 11:08:55 AM
Latest nightly runs OK on my Win64 machine.  :)
Title: Re: Nightly build site discussion
Post by: prissi on April 18, 2018, 04:45:06 AM
Since the script run nicely, the new nightlies will be now generated there.
Title: Re: Nightly build site discussion
Post by: An_dz on May 23, 2018, 07:02:39 PM
The nightlies site is working again.

prissi and I fixed it this week and the site will be updated at the same time as prissi's server.

Executable only packages are available as normal, just like the option to download older versions.
Title: Re: Nightly build site discussion
Post by: Flemmbrav on May 25, 2018, 08:24:43 AM
Hey!
Would it be possible add makeobj nightlys to our nice nightly collection?