[Tilesathome] Auto update failed (windows)

Olf tah at olaf-ristau.de
Thu Oct 30 18:45:33 GMT 2008


Ed Loach schrieb:
>> Just to make sure:
>>
>> You didn't change that in config.defaults, did you?
>>
>> config.defaults is controlled by svn.  All user configuration
>> is meant
>> to go into tilesAtHome.conf, which overrides config.defaults.
>>
>> Matthias
>>     
>
> I may have mentioned it before, but if someone is using (an
> unmodified) tah.pl as the Windows frontend, then when you click
> Start it rebuild tilesAtHome.conf from tilesAtHome.conf and some of
> it's own settings that it stores in the Windows registry. If you
> want to change any settings that can't be set within tah.pl then you
> have to modify one of the local copies of the files that are
> controlled by svn. 
>
> As I now see, Olf made his changes in TilesAtHome.conf.windows,
> which will break the svn update. There is no way with that Windows
> frontend to set RenderStripes in any other way though. I gave up
> using it and have written my own (in VB 2008). I'd offer to share it
> but presently all the paths are hardcoded (in one function which has
> a ToDo to get them from a settings file somewhere). 
>
> One workaround, Olf, is to modify the tah.pl file and delete the
> section of code shown below from somewhere around line 450 in sub
> start_tah. You would then change settings in TilesAtHome.conf and
> not touch the .windows file at all. I suspect any changes you make
> via the tah.pl interface may not work, though from a quick look the
> bit that updates authentication.conf should still work, as *might*
> the bit about proxies.
>
> Ed
>
> 	open(F,"<$tahconfigurationfileex");
> 	my @rows=<F>;
> 	s/[\r\n]+//g foreach(@rows);
> 	close(F);
>
> 	open(F,">$tahconfigurationfile");
> 	my $configstr = "";
> 	foreach (@rows) {
> 		$configstr = $_;
> 		$configstr =~ s/\\subversion/\\svn\\bin/;
> 		$configstr =~ s/c:\\program files/$dircur/;
> 		$configstr =~ s/c:\\temp/$dircur\\tmp/;
> 		$configstr =~ s/zip.exe/7za.exe/;
> 		$configstr =~ s/7zipWin=0/7zipWin=1/;
>
> 		$configstr =~ s/\# InkscapeLocale =
> german/InkscapeLocale = german/ if ($DecimalSeparator !~ /\./);
>                 $configstr =~ s/MaxTilesetComplexity =
> 0/MaxTilesetComplexity = $max_tileset_complexity/;
>
> 		#print "$configstr\n";
> 		print F "$configstr\n";
> 	}
> 	close(F);
>
>
>   
Hello Ed,

thanx - I try this - hoping it will help for some time

Olf




More information about the Tilesathome mailing list