How to: Semi-automatic real world scenario generation
Moderator: OpenTTD Developers
Re: How to: Semi-automatic real world scenario generation
The patch appears to be working fine with 1.4.0-RC1 and 4096x4096 maps! Here's an updated build for win32
Last edited by planetmaker on 29 Mar 2014 21:35, edited 2 times in total.
Reason: Please post the full bundle which is required to run OpenTTD. The exe is not enough, it also needs lang files, API files, and importantly, mind the license, include the COPYING information. You would also need to at indicate which patch or source used
Reason: Please post the full bundle which is required to run OpenTTD. The exe is not enough, it also needs lang files, API files, and importantly, mind the license, include the COPYING information. You would also need to at indicate which patch or source used
Re: How to: Semi-automatic real world scenario generation
Trying to compile import_towns_v4.patch with trunc, but:
Excluding safeguards.h solved problem, but maybe there are more elegant solutions?console_cmds.cpp51: error: 'SAFEGUARD_DO_NOT_USE_THIS_METHOD' was not declared in this scope
char *sign_text = (char*)malloc(strlen(buf)+8);
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Re: How to: Semi-automatic real world scenario generation
Don't use malloc ? See also r26479
changeset: 21380:49812123c062
user: rubidium
date: Mon Apr 21 18:31:06 2014 +0000
summary: (svn r26479) -Codechange: use MallocT instead of malloc
Re: How to: Semi-automatic real world scenario generation
Does anyone have the latest compiled bundle for this? (Windows)
Re: How to: Semi-automatic real world scenario generation
I developed this modification and now it is possible to import not only towns, but many other landmarks.Leanden wrote:Does anyone have the latest compiled bundle for this? (Windows)
Examples, source code and 1.4.1 windows exe was published here:
http://www.tt-forums.net/viewtopic.php?f=29&t=70846 post 2 and 3.
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Re: How to: Semi-automatic real world scenario generation
Does this works with import of cities in the JGR patch pack ? or only in the version in the first post ?
How can the same S*** happens to the same guy ----- twice
John McClane
John McClane
Re: How to: Semi-automatic real world scenario generation
Holy moly, his is no thread necromancy, this is archeology
I didn't even know there was a version of import towns patch in JGR's patch pack, so I have no idea if it's still the same. You can still use the old patch and method and open the map in JGR's pack, though.
There's also the slightly less outdated and more powerful patch from McZapkie here and a lovely tool that generates city lists without all the manual filtering, sorting and converting of tables. You might want to try that one instead, because my old method was interesting for the time, but is really complicated and inefficient. You may have to do some research for yourself, though, because I didn't really continue the work from 5 years ago and have no idea how everything moved on.
I didn't even know there was a version of import towns patch in JGR's patch pack, so I have no idea if it's still the same. You can still use the old patch and method and open the map in JGR's pack, though.
There's also the slightly less outdated and more powerful patch from McZapkie here and a lovely tool that generates city lists without all the manual filtering, sorting and converting of tables. You might want to try that one instead, because my old method was interesting for the time, but is really complicated and inefficient. You may have to do some research for yourself, though, because I didn't really continue the work from 5 years ago and have no idea how everything moved on.
Who is online
Users browsing this forum: No registered users and 38 guests