Page 16 of 18

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 23 Jan 2012 10:50
by scififan
willyDK wrote:Hello.
I have tried to compile the file. But had no success with it.
Tried to use TortoiseSVN.
Is the file not downloadable anywhere after it is compiler?
And why are all these patch files. Why not just lie with downloadable files that can be used by novices in computer programming?
Willy
The problem is that the compiled file is too big to simply post it to the forum, so you would need a separate file repository to upload the file and link to it. And you would have to post one version for x86 and one for x64, which doubles the amount of space required.

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 23 Jan 2012 13:53
by willyDK
Many thanks for the reply Scififan.
It gives me an understanding of the problem. But unfortunately not a solution.
If the problem is just the size of the files, it may be a well be solution to lie them on a ftp server.
Or, for example. allow for sending them via email.
But of course I only have this problem, because I'm not familiar enough with computers and have difficulty getting it.
Must just wait and see if there is made a place in the future where the files can be downloaded as ordinary files.

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 23 Jan 2012 21:08
by willyDK
Is not there a simpler compiler than TortoiseSVN.
A compiler which is easier to use for novices?
Willy

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 23 Jan 2012 21:11
by Leanden
willyDK wrote:Is not there a simpler compiler than TortoiseSVN.
A compiler which is easier to use for novices?
Willy
Compiling by its very nature isn't for novices. Its not something which can be simplified, if you want to do it, you'll have to learn.

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 24 Jan 2012 09:11
by scififan
Leanden wrote:Compiling by its very nature isn't for novices. Its not something which can be simplified, if you want to do it, you'll have to learn.
That is true, but I think that the instructions found at http://wiki.openttd.org/Microsoft_Visua ... s_Editions allows also the not-so-advanced users to give it a shot. I myself had no idea of how to compile a windows application from source before this article (although, I had considerable experience with the use of SVN and patches).

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 24 Jan 2012 12:27
by willyDK
Thanks for the link. I will study.
I'm a little confused.
On the internet I have played "Europe" which is made of "Myfineshrine".
I can play tracks "offline".
But I try to open "scenario extra_large_maps" I get errors.
It is of course because I can not compilers map-1M-20829th
But I do not understand that I can play extra large maps on the Internet and play my saved tracks offline.
But not open scenario.

Do you know if I can use the "day-length-path" along with extra-large-map?
Or if I can regulate the day length in extra-large-map?

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 25 Jan 2012 17:46
by scififan
The extra large maps patch has nothing to do with the daylength patch - you can try to apply both patches (in any order) and the try to compile.

No idea on your problem with opening scenarios, though.

Re: Updated extra-large-maps patch, version 12 (for r20829)

Posted: 26 Feb 2012 17:52
by Bilbo
Yexo wrote:Same as why a lot of other patches and patch-packs disappear: the original author disappears or loses interest.
True. But sometimes the author reappears, even after a long delay :)

Well, I managed to rebase the patch to current git (r23992) and I attached the updated patch to first post of this thread :)
And yes, you're missing something. The limiting factor is not memory but CPU time. While CPUs do get a bit faster, they mostly get more cores which OpenTTD can't make use of.
The most demanding part of calculation at very large map sizes (like 8k x 8k) is the tile loop (at least when the map is still quite empty), so perhaps doing just the tileloop part using some sort of multithreading may help (though from what I know about OpenTTD internals and interaction between tileloop and newGRF's, even just this one won't be easy).

Ok, once you fill the large map with many many trains (like thousands...), then those trains may also consume some large part of CPU time ...

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 03 Jun 2012 18:24
by IronMan37
where do I have to put that patch so it works?

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 03 Jun 2012 18:32
by Supercheese
IronMan37 wrote:where do I have to put that patch so it works?
http://wiki.openttd.org/Patches
Putting a patch file in some directory on your computer will not work.

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 03 Jun 2012 18:41
by IronMan37
Supercheese wrote:
IronMan37 wrote:where do I have to put that patch so it works?
http://wiki.openttd.org/Patches
Putting a patch file in some directory on your computer will not work.

Thanks:)

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 16 Jun 2012 06:34
by chester00
Hey

i edited the source because i want to create maps with 16384^2. That was not a problem, but i cannot save the game. That is the message:

Code: Select all

Assertion failed at line 824 of ..\src\saveload\saveload.cpp: length < (1 << 28)
Is there an easy way to eliminate this crash?

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 16 Jun 2012 09:39
by NekoMaster
chester00 wrote:Hey

i edited the source because i want to create maps with 16384^2. That was not a problem, but i cannot save the game. That is the message:

Code: Select all

Assertion failed at line 824 of ..\src\saveload\saveload.cpp: length < (1 << 28)
Is there an easy way to eliminate this crash?
I havent used this in a while so I dont know how things are going now, but are you running a 64-bit OS? 32-bit OS can't handle anything bigger then 8192^2

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 16 Jun 2012 10:50
by chester00
NekoMaster wrote:
chester00 wrote:Hey

i edited the source because i want to create maps with 16384^2. That was not a problem, but i cannot save the game. That is the message:

Code: Select all

Assertion failed at line 824 of ..\src\saveload\saveload.cpp: length < (1 << 28)
Is there an easy way to eliminate this crash?
I havent used this in a while so I dont know how things are going now, but are you running a 64-bit OS? 32-bit OS can't handle anything bigger then 8192^2
Yeah, i´m using win 7 64bit. The game is running in the right way, there is just this saving-problem

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 23 Jul 2012 08:28
by Bilbo
chester00 wrote:
NekoMaster wrote:
chester00 wrote:Hey

i edited the source because i want to create maps with 16384^2. That was not a problem, but i cannot save the game. That is the message:

Code: Select all

Assertion failed at line 824 of ..\src\saveload\saveload.cpp: length < (1 << 28)
Is there an easy way to eliminate this crash?
I havent used this in a while so I dont know how things are going now, but are you running a 64-bit OS? 32-bit OS can't handle anything bigger then 8192^2
Yeah, i´m using win 7 64bit. The game is running in the right way, there is just this saving-problem
Seems that largest chunk of data that can be saved is about 268435455 (2^28 -1) bytes, and 16384^2 is 268435456 tiles (2^28), so saving any part of the tile array (1 byte per tile) will hit the limit.

I guess that is the limitation of savegame format and can't be overcome without breaking compatibility.
I've not encountered this earlier mainly because I had not ~ 5 GB RAM needed to play at these sizes.

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 13 Aug 2012 20:45
by chester00
Bilbo wrote:
Seems that largest chunk of data that can be saved is about 268435455 (2^28 -1) bytes, and 16384^2 is 268435456 tiles (2^28), so saving any part of the tile array (1 byte per tile) will hit the limit.

I guess that is the limitation of savegame format and can't be overcome without breaking compatibility.
I've not encountered this earlier mainly because I had not ~ 5 GB RAM needed to play at these sizes.
Hey, thanks for your answer.

One more question: Is there an easy way to change savegame format?

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 18 Oct 2012 20:08
by pavel1269
There is a bug in the patch, which was created in a trunk at r24132. Hotfix is included in this post.

Also note, that I included every possible value (32-bit wise), but there are definitely more values than needed.

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 22 Oct 2012 00:09
by huub007
Could anyone please upload a compiled version that works with world airliners set (works with standard openttd 0.7.0 or higer)

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 22 Oct 2012 06:49
by Eddi
maybe you should try one of the patchpacks that are floating around, those are usually offered as compiled version.

Re: Updated extra-large-maps patch, version 12 (for r23992)

Posted: 09 Dec 2012 20:31
by huub007
Eddi wrote:maybe you should try one of the patchpacks that are floating around, those are usually offered as compiled version.
already did try, but they have same problem, or other problems, so please anyone?