Page 12 of 18

Re: Updated extra-large-maps patch, version 10 (for r16601)

Posted: 19 Jun 2009 23:23
by Starbud
I bet the collisiondetection work A LOT when there is A LOT of trains so i would say that is a really good thing to make fast code for :)

Re: Updated extra-large-maps patch, version 10 (for r16601)

Posted: 24 Jun 2009 15:47
by LocArny
Sorry for the question, I read the whole topic before, and it seems most persons can handle big maps well. I have a decent computer (Compaq E4400 2 Duo @2Ghz, 2GB RAM and a 512MB GeForce 8800GT graphics card) but it seems I have problems playing with a 4096 x 2048 map even. Is this normal for a computer with this performance? If not, is there anything I can do about it? I would love to play with really big maps.

Oh and does the type of climate matter for the performance?

Re: Updated extra-large-maps patch, version 10 (for r16601)

Posted: 25 Jun 2009 18:19
by Bilbo
Your configuration is fine, you should be able to play fine even with 8192 x 8192 :)

Though it depends on number of trains and map complexity too, 10000 trains can eat quite a lot of CPU, even on small map like 256 x 256

How many trains and other vehicles do you have in your map?

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 27 Jun 2009 23:34
by Bilbo
I have updated the patch to match current trunk (parts of the patch were already added to trunk: some enumification and train collision speedup)

Get the patch from first post in this thread.

Re: Updated extra-large-maps patch, version 10 (for r16601)

Posted: 29 Jun 2009 07:09
by LocArny
Bilbo wrote:Your configuration is fine, you should be able to play fine even with 8192 x 8192 :)

Though it depends on number of trains and map complexity too, 10000 trains can eat quite a lot of CPU, even on small map like 256 x 256

How many trains and other vehicles do you have in your map?
I was just beginning, so even with one train my OpenTTD was slowing down. I'll try it again though.

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 13 Jul 2009 18:48
by Wasila
Sorry for minor gravedig, but could we please get an update to trunk?

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 07:19
by Wasila
Was patching with trunk (yesterday) and cargodist and I got this error message:

C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp: In member function `virtual void GenerateLandscapeWindow::OnPaint()':
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:656: error: `STR_RED_NUM_1' was not declared in this scope
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:657: error: `STR_RED_NUM_2' was not declared in this scope
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:656: warning: unused variable 'STR_RED_NUM_1'
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:657: warning: unused variable 'STR_RED_NUM_2'
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp: In member function `virtual void CreateScenarioWindow::OnPaint()':
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:1035: error: `STR_RED_NUM_1' was not declared in this scope
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:1036: error: `STR_RED_NUM_2' was not declared in this scope
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:1035: warning: unused variable 'STR_RED_NUM_1'
C:/MSYS/ottdsrc/trunk/src/genworld_gui.cpp:1036: warning: unused variable 'STR_RED_NUM_2'
make[1]: *** [genworld_gui.o] Error 1
make[1]: Leaving directory `/ottdsrc/trunk/objs/release'
make: *** [all] Error 2

Is that 'fixable'? Thanks.

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 07:36
by planetmaker
Wasila wrote:Was patching with trunk (yesterday) and cargodist and I got this error message:
Trunk is no revision number. Always state the revision you have problems with...

Latest trunk is at the time of my writing around r16825. The patch is made, according to the title, against r16679. Errors can be expected...

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 13:19
by Wasila
Is there an svn path for an older revision?

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 13:27
by planetmaker
uhm... path?

I only call
svn up -rXXXXX
and I get the revision I want (where XXXX is the revision number). I guess you should get aquainted with the tools you use.

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 14:10
by Wasila
I probably should :oops:. I just downloaded the sourcecode for r16686, but unfortunately that seems to be too old for cargodist. Which is why I would like to request an update to trunk. Where do you type 'svn up'?

EDIT: Actually, the maps patch is working perfectly with latest source. Cargodist is going funny now.

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 16:22
by dihedral
perhaps you should get acquainted with the source too, the source of openttd, and both patches in question. then you can perhaps better judge what you are doing.

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 16:28
by Wasila
Are there any good guides I could get started on? Or should I just tinker?

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 14 Jul 2009 16:48
by dihedral
google.com

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 17 Aug 2009 13:34
by Skrilax
Well I'm in year 2250 on 2048*2048 map and I covered up only cca 1/16 of the map. So I think bigger maps are just for experimentation.

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 17 Aug 2009 13:51
by Starbud
Oh i have grown out of 2048*2048 maps.
But then i use copy&paste A LOT and love making extreme networks that connect the entire map to one single network and making it work well.
I have some systematic junctions and cachesystems that cover something like 0.5% of the map each :D
One that cover exactly 1.49XXXX% so far but that one isnt finished yet, it's a cachesystem but there isnt any station big enough for it, i like the looks of it tho :D

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 01 Dec 2009 18:39
by negulus
Hello ...

Can you please relaease a new version from the map patch.
I have probelms the patch with the r18350 to run.

greetings
negulus

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 09 Dec 2009 00:36
by oberhümer
A problem for me too.
MSVC says some definitions are used multiple times in english.txt...
[xxx]

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 09 Dec 2009 00:56
by petert
Yes, that's what happens when running a patch over 2000 revisions old...

Re: Updated extra-large-maps patch, version 11 (for r16679)

Posted: 15 Dec 2009 22:59
by Bilbo
Guess I'll have to update it - once (if) it gets into trunk then changing maximal allowed map size would mean just changing three constanst and recompile :)

(OK, in few places you'll need ot modify GUI as well for large sizes, since mostly there is space only for 4 digits.)