Back to Home / #openttd / 2015 / 06 / Prev Day | Next Day
#openttd IRC Logs for 2015-06-04

---Logopened Thu Jun 04 00:00:15 2015
00:10<Zabot>I'm gonna install some windows updates, wish me luck
00:10-!-Zabot [] has quit [Quit: Leaving]
00:13-!-Biolunar [] has quit [Remote host closed the connection]
00:16-!-ProfFrink [] has joined #openttd
00:22-!-Prof_Frink [] has quit [Ping timeout: 480 seconds]
00:22-!-ProfFrink is now known as Prof_Frink
00:40-!-oliver_ [] has joined #openttd
00:41-!-oliver_ [] has quit []
00:42-!-olligobber [] has joined #openttd
00:47<olligobber>I'm thinking of making a newgrf, can anyone reccomend tools, preferably for ubuntu?
00:56-!-Eddi|zuHause [] has quit []
00:56-!-Eddi|zuHause [] has joined #openttd
01:12<Flygon>That's a damn good question
01:28-!-smoke_fumus|2 [~smoke_fum@] has quit [Quit: KVIrc 4.2.0 Equilibrium]
01:52-!-roidal [] has joined #openttd
02:12<olligobber>I hate using windows :(
02:15-!-liq3 [] has quit []
02:16<V453000>then dont? :D
02:17<olligobber>but then I can't make newgrf :(
02:18<V453000>I am making newgrfs on windoze
02:18<V453000>and linux is even better for it
02:18<olligobber>really? what tools do you use on linux?
02:19<V453000>I dont use linux but for example makefile works without issues (I think)
02:19<V453000>where on windows it is a bit harder to get to run
02:19<V453000>the openttd things are written by linux dudes, they sure work great on linux
02:20<olligobber>I can't find any newgrf tools for linux
02:20<Supercheese>errr, grfcodec?
02:20<olligobber>just noticed it
02:20<Supercheese>I only use Windows so I don't know if it is compiled for other OSes
02:20<olligobber>appears to be
02:20<Supercheese>but one presumes
02:22<olligobber>nml also has a linux build
02:23<Supercheese>ah good, then NML is recommended
02:23<Supercheese>much nicer language
02:24<Supercheese>good tutorial as well:
02:35-!-wicope [] has joined #openttd
02:42-!-DDR [] has quit [Read error: Connection reset by peer]
02:50-!-Progman [] has joined #openttd
03:12-!-DDR [] has joined #openttd
03:20-!-tokai|mdlx [] has quit [Ping timeout: 480 seconds]
03:21-!-DDR [] has quit [Remote host closed the connection]
03:23-!-tokai|mdlx [] has joined #openttd
03:27-!-DDR [] has joined #openttd
03:40-!-JacobD88 [] has joined #openttd
03:54-!-DDR [] has quit [Read error: Connection reset by peer]
03:54<@planetmaker>olligobber, no tool for making NewGRFs requires windoze
03:55<@planetmaker>all tools are available cross-platform
03:56<@planetmaker>to be true, it's IMHO easier on linux than on any other platform
03:56-!-sla_ro|master [slamaster@] has joined #openttd
03:58<olligobber>planetmaker, 2/4 on the wiki required windows
03:58<@planetmaker>or rather: which wiki page?
03:58<olligobber>GRFMaker and GRF Wizard
03:59<@planetmaker>oh. both are obsolete, deprecated and unmaintained
03:59<olligobber>NML it is
03:59<@planetmaker>One could say I'm biased, but yes, that's my recommendation, too
04:04<@planetmaker>olligobber, additional to the NML tutorial it's usually good advice to go looking how existing NewGRFs solve a problem. You find loads of projects on the DevZone
04:04<olligobber>was going to do that exactly
04:27-!-Celestar [] has joined #openttd
04:54-!-Celestar [] has quit [Ping timeout: 480 seconds]
04:56-!-frosch123 [] has joined #openttd
05:00-!-mode/#openttd [+o frosch123] by DorpsGek
05:00-!-frosch123 changed the topic of #openttd to: 1.5.1 | Website: * (translator: translator, server list: servers, wiki: wiki, patches & bug-reports: bugs, revision log: hg, release info: finger) | Don't ask to ask, just ask | 'Latest' is not a valid version, 'Most recent' neither | English only | Logs: @logs | if this channel is really spammy
05:01-!-mode/#openttd [-o frosch123] by DorpsGek
05:03-!-JacobD88 [] has quit [Quit: JacobD88]
05:05-!-Celestar [] has joined #openttd
05:08-!-Celestar [] has left #openttd []
06:00-!-Hiddenfunstuff [] has joined #openttd
06:20-!-sla_ro|master [slamaster@] has quit []
07:12-!-fjb [] has joined #openttd
07:16-!-gelignite [] has joined #openttd
07:29-!-wicope [] has quit [Read error: Connection reset by peer]
07:32-!-Supercheese [] has quit [Read error: Connection reset by peer]
07:33-!-Supercheese [] has joined #openttd
07:45-!-olligobber [] has quit [Quit: Leaving]
07:53-!-sla_ro|master [slamaster@] has joined #openttd
08:18-!-supermop [] has quit [Ping timeout: 480 seconds]
08:34-!-shirish [~quassel@] has joined #openttd
08:39-!-shirish [] has quit [Read error: Connection reset by peer]
08:45-!-Celestar [] has joined #openttd
08:53-!-Celestar [] has quit [Ping timeout: 480 seconds]
09:03-!-Celestar [] has joined #openttd
09:03-!-shirish [~quassel@] has joined #openttd
09:14-!-shirish_ [~quassel@] has joined #openttd
09:16-!-shirish [] has quit [Ping timeout: 480 seconds]
09:33-!-shirish_ [~quassel@] has quit [Read error: Connection reset by peer]
09:38-!-Celestar [] has quit [Remote host closed the connection]
09:49-!-shirish [~quassel@] has joined #openttd
10:10-!-shirish_ [~quassel@] has joined #openttd
10:12-!-Rejf [] has quit [Remote host closed the connection]
10:12-!-Rejf [] has joined #openttd
10:14-!-shirish [] has quit [Ping timeout: 480 seconds]
10:16-!-chester_ [] has joined #openttd
10:17-!-shirish [~quassel@] has joined #openttd
10:22-!-shirish_ [~quassel@] has quit [Ping timeout: 480 seconds]
10:28-!-shirish_ [~quassel@] has joined #openttd
10:31-!-shirish__ [~quassel@] has joined #openttd
10:34-!-shirish [] has quit [Ping timeout: 480 seconds]
10:38-!-shirish_ [~quassel@] has quit [Ping timeout: 480 seconds]
10:39-!-smoke_fumus [~smoke_fum@] has joined #openttd
10:41-!-shirish [~quassel@] has joined #openttd
10:44-!-Pensacola [] has joined #openttd
10:44-!-shirish_ [~quassel@] has joined #openttd
10:48-!-shirish__ [~quassel@] has quit [Ping timeout: 480 seconds]
10:51-!-shirish [] has quit [Ping timeout: 480 seconds]
11:03-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
11:03-!-mode/#openttd [+o Alberth] by ChanServ
11:14<@planetmaker>moin as well :)
11:15-!-shirish [~quassel@] has joined #openttd
11:20-!-shirish_ [~quassel@] has quit [Ping timeout: 480 seconds]
11:20<@Alberth>I really wonder about the reason for needing a unique ID for a game in a game script :)
11:23-!-shirish_ [~quassel@] has joined #openttd
11:27-!-shirish__ [~quassel@] has joined #openttd
11:29-!-shirish [] has quit [Ping timeout: 480 seconds]
11:31<frosch123> <- Alberth :)
11:31<frosch123>and hoi :p
11:32<frosch123>Alberth: for communicating over the admin port
11:34<@Alberth>multiple servers talking one bot, fair enough
11:34-!-shirish_ [~quassel@] has quit [Ping timeout: 480 seconds]
11:34<frosch123>i guess it is about statistics and leagues and stuff
11:37-!-shirish [~quassel@] has joined #openttd
11:38-!-shirish_ [~quassel@] has joined #openttd
11:40<@Alberth>you tried loading with 'case' appended at the end? maybe the loader needs the values for loading strings?
11:42-!-shirish__ [~quassel@] has quit [Ping timeout: 480 seconds]
11:45<frosch123>it is appended after the other pragmas
11:45<frosch123>but still before the strings
11:45-!-shirish [] has quit [Ping timeout: 480 seconds]
11:45<frosch123> <- btw. this is the current diff of uploading and redownloading all ottd lang files
11:46<frosch123>which should be fine :)
11:48<frosch123>though the change to STR_ENGINE_PREVIEW_COST_MAX_SPEED_RANGE_CAPACITY_CAPACITY_RUNCOST surprised me, i thought eints would preserve all whitespaces whatsoever
11:51-!-shirish [~quassel@] has joined #openttd
11:52<@Alberth>-STR_ENGINE_PREVIEW_MAGLEV_LOCOMOTIVE.dat : <-- that's a surprise to me
11:52<frosch123>hmm, but also kind of valid :)
11:54<@Alberth>eints copies indenting from the base language afaik
11:54<frosch123>it does not in this case, it adds a space when there is none
11:55<@Alberth>yeah, I just saw that
11:58-!-shirish_ [~quassel@] has quit [Ping timeout: 480 seconds]
11:59<@Alberth>could be that I add one, my first guess would be with writing
12:03-!-shirish [] has quit [Ping timeout: 480 seconds]
12:04<@Alberth>frosch123: patch queue seems ok to me, not sure you actually need to gc.collect(), but it won't hurt either
12:05<frosch123>i am not sure either, i still run out of memory when loading the project multiple times
12:09<@Alberth>you could kill the xml loader and xml saver after use, although they shouldn't contain much data with the split language saves
12:09<frosch123>my main goal was to kill self.pdata
12:09<frosch123>assuming that it first loads the new data, and then assigns it to pdata
12:10<@Alberth>it does
12:10<@Alberth>but self.pdata = None should be sufficient
12:11<frosch123>hmm, how do i add a new page?
12:11<frosch123>i do not find where the pages/*py are imported
12:11<@Alberth> should import all pages
12:26-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
12:29-!-oskari89 [] has joined #openttd
12:30-!-HerzogDeXtEr [] has joined #openttd
12:31-!-TheMask96 [] has joined #openttd
12:50-!-glx [] has joined #openttd
12:50-!-mode/#openttd [+v glx] by ChanServ
13:05-!-liq3 [] has joined #openttd
13:22-!-fjb is now known as Guest579
13:22-!-fjb [] has joined #openttd
13:28-!-Guest579 [] has quit [Ping timeout: 480 seconds]
13:41-!-Belugas [] has quit [Ping timeout: 480 seconds]
13:41-!-Belugas [~belugas@] has joined #openttd
13:41-!-mode/#openttd [+o Belugas] by ChanServ
14:29-!-gelignite [] has quit [Ping timeout: 480 seconds]
14:32-!-Wolf01 [] has joined #openttd
14:33<Wolf01>hi o/
14:37-!-nanoha-chan [] has quit [Remote host closed the connection]
14:37-!-nanoha-chan [] has joined #openttd
15:01-!-Zabot [] has joined #openttd
15:01-!-Zabyte [] has joined #openttd
15:06-!-Sziha [] has joined #openttd
15:07<Sziha> Hello everybody. I was wondering if somebody could help me with applying one patch to openttd on mac OSX 10.10. I'm totally new to that and I'm not sure if i'm doing things correctly
15:11<Supercheese>I don't know much about OSX sorry
15:12<Sziha>i think the problem is universal. once i apply the patch (that supposedly is the same as on linux) i get the message:
15:12<Sziha>can't find file to patch at input line 5
15:12<Sziha>the whole information looks like that:
15:12<frosch123>you forgot the "-p" parameter
15:12<Sziha>can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj |index 17c2d8d..f44e7cf 100644 |--- a/projects/openttd_vs80.vcproj |+++ b/projects/openttd_vs80.vcproj -------------------------- File to patch:
15:13<Sziha>in the patch website it says to use -p1 parameter
15:13<frosch123>you need "-p 1" for that patch
15:13<Sziha>the message i'm getting is after putting that statement: patch -p1 < departureboardswallclock25-r27218.diff
15:13<Eddi|zuHause>don't be in the "src" directory, but in the directory above it
15:14<Sziha>ok, so on mac, let's say my computer account name is "Chris"
15:14<Sziha>so i have my .diff patch file in the main folder. then my openttd source code is in the folder "openttd" which includes all the files
15:15<Eddi|zuHause>but, you did actually check out the source, not trying to apply to the binary? :p
15:15<Sziha>i downloaded the source using svn checkout svn:// openttd
15:16<+michi_cc>Your current working dir has to be the folder that includes e.g. configure or Makefile. Not a parent folder and not a subfolder.
15:16<Sziha>i see!
15:16<Eddi|zuHause>yes, then you "cd openttd"
15:16<Sziha>ok, so i put the .diff file into openttd folder
15:16<Sziha>put command 'cd openttd' and then patch it?
15:17<Eddi|zuHause>yes, although it doesn't matter much where the .diff file is
15:17-!-roidal [] has quit [Quit: WeeChat 1.1.1]
15:18<Eddi|zuHause>also, you should probably "svn up -rXXXX" where XXXX is the revision the patch was originally written for, otherwise you risk conflicts
15:18<Sziha>ok. so can i svn up to any version, or only upgrade(to newer one)?
15:19<Eddi|zuHause>you can also "up" to a lower revision
15:21<Sziha>ok, let me try it. wiki page shows the code for that as "svn up -r XXXX" (one space before XXXX). that's why it didn't work before
15:29<Sziha>ok, it's compiling :D i'll see what will come out of that^^
15:30<Sziha>is it normal that there are warnings during compilation? they are just a text between compiled files. the process doesn't stop...
15:31<frosch123>it's proably normal when building on osx
15:31-!-wicope [] has joined #openttd
15:31-!-wicope [] has quit [Max SendQ exceeded]
15:31<Sziha>ok, thank you
15:31<frosch123>it's not a primary development target
15:40<Sziha>so i got a linker error. if i need to redo a configuration process, do i need to copy "clean" binaries, and patch it again?
15:42<frosch123>what linker error?
15:42<frosch123>and you only need to call configure and make
15:44<Sziha>it's a long one. it resambles the one on the wiki page (problem with -freetype). i'll try to configure with the parameters provided on the wiki
15:49<Sziha>another quick question from different category. does all newGRFs work with patched games?
15:50<frosch123>usually they do
15:50<Sziha>that's great
15:59-!-Pensacola [] has quit [Remote host closed the connection]
16:01<Sziha>it looks like it worked!
16:01<Sziha>the game is running!
16:01<Sziha>Thank you so much guys for your time and help :)
16:02<frosch123>you are welcome
16:03-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
16:10-!-Sziha [] has quit [Quit: Page closed]
16:12-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:14<Zabyte>Does anyone build in VS2012? I've been having some issues
16:31<+glx>macro redefinitions ?
16:33<Zabyte>I was talking about it last night, you can read the logs if you want,
16:33<Zabyte>long story short
16:33<Zabyte>error C1001: An internal error has occurred in the compiler. c\openttddev\trunk\src\3rdparty\squirrel\squirrel\squtils.h 36 1 openttd
16:33<+glx>hmm never had this one
16:34<Zabyte>That line uses a placement new, that seems to be what the issue is
16:35<Zabyte>* A line close to that line
16:40<peter1138>The issue seems to be your compiler is broken.
16:42<Zabyte>Thats what I came up with, I'm trying to pull the line out to see if I can compile it
16:42<+glx>I don't use VS2012 toolset (v110 or v110_xp) but 7.1 SDK toolset
16:51<Zabyte>So I tried a placement new in a different project, the compiler didn't have any problems and the result was as expected
16:53<+glx>this is used in other places in the code
16:54<Zabyte>That is the only place the compiler has issues, If I comment it out, it builds (and then crashes for obvious reason...)
17:03-!-Progman [] has quit [Remote host closed the connection]
17:04<Zabyte>I got it to build by replacing:
17:04<Zabyte> new ((void *)&_vals[i]) T(v._vals[i]);
17:04<Zabyte> new ((void *)&_vals[i]) int(92);
17:04<Zabyte>still breaks the code, but it built...
17:04-!-oskari89 [] has quit []
17:05<Zabyte>I got a bunch of link errors, but I think they're unrelated
17:05<+glx>maybe try a clean rebuild first
17:08<Zabyte>I'm working my way through the line, it built with:
17:08<Zabyte> new ((void *)&_vals[i]) T();
17:09-!-gelignite [] has joined #openttd
17:09<+glx>because compile farm has no problem and use VS2012
17:11-!-HerzogDeXtEr [] has quit [Quit: Leaving.]
17:12<Zabyte>It's building now
17:14<Zabyte>no go
17:15<Zabyte>I'm gonna try to revert everything, I may have played with a few build settings
17:26-!-DDR [] has joined #openttd
17:27-!-DDR [] has quit [Remote host closed the connection]
17:29-!-DDR [] has joined #openttd
17:33-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:33<Zabyte>Still the same error after a revert and a build
17:48-!-Cybert1nus [] has quit [Remote host closed the connection]
17:50-!-DDR [] has quit [Remote host closed the connection]
17:50-!-Cybertinus [] has joined #openttd
17:52-!-DDR [] has joined #openttd
18:11-!-sla_ro|master [slamaster@] has quit []
18:54-!-Hiddenfunstuff [] has quit [Quit: I love my HydraIRC -> <-]
19:40-!-fjb [] has quit [Quit: Konversation terminated!]
20:03-!-DDR_ [] has joined #openttd
20:04-!-DDR_ [] has quit [Read error: Connection reset by peer]
20:04-!-DDR [] has quit [Remote host closed the connection]
20:07-!-DDR [] has joined #openttd
20:19<Zabyte>Alright, I cleaned, reverted, updated the repo, updated VS2012, still having issues
20:22<Zabyte>Any suggestions?
20:49<Zabyte>I DID IT
20:50<Zabyte>I got it to build, the issue was with visual studio
20:51<Zabyte>I replaced the line in question:
20:51<Zabyte> new ((void *)&_vals[i]) T (v._vals[i]);
20:51<Zabyte>With two seperate lines:
20:51<Zabyte> void* address = ((void *)&_vals[i]);
20:51<Zabyte> new (address) T (v._vals[i]);
20:52<Zabyte>That shouldn't have made any difference, but it worked, so ...
20:54-!-chester_ [] has quit [Quit: Leaving.]
20:56<Zabyte>Everything is night time now...
20:56<Zabyte>Why is it night time?
20:58<Zabyte>Oh, had the night GRF for some reason
21:48-!-gelignite [] has quit [Ping timeout: 480 seconds]
21:51-!-gelignite [] has joined #openttd
21:59-!-gelignite [] has quit [Ping timeout: 480 seconds]
22:00-!-glx [] has quit [Quit: Bye]
22:07-!-supermop [] has joined #openttd
23:48-!-kamnet [] has joined #openttd
23:51<kamnet>Morning all
---Logclosed Fri Jun 05 00:00:16 2015