TP Map Tool v4.0.27

Forum for alternative clients, mods & discussions on the same.

Re: TP Map Tool v3.0.10

Postby Telakh » Mon Sep 07, 2015 12:36 pm

waga wrote:If I don't start my session at the same place the 9 first tiles are not the same than in the archive and it messes up everything
You must have at least a singe tile in a session that matches the archive completely. If you can't get it - it is the game client issue =(


Current version: 3.1.0
Changes:
1. Added manual merge option in test mode.
2. Added option to move merged sessions to a separate folder. Point a foder to place your merged sessions if you want to keep them separately. Currently works only if you set option NOT to delete merged sessions.
3. Map Center Shift has been renamed. Now it removes the obsolete zoom folders before procedure and switches display coordinates to 0:0 at the end. Added some error loggin to this procedure, just in case.
4. Re-Create zoom levels has been renamed.Now it removes the bsolete zoom folders before procedure.
5. Haven&Hearth mode has been renamed to "Display Cave Levels" in the options.
6. Sample Exceptions.xml (see donload link) now contains tiles(size), that must be ignored during map merge (water, rock, e t.c.). This should help to avoid misplaced auto-merge. You may copy this file to your Map Tool directory or just copy it's contents' if you are ok with XML.
7. Added more error-logging for the possible errors during map merge.

In work:
1. Fixing out 25% CPU load during use. (At least it works fast ;) )


Manual map merge is in test mode and can be tried though menu Map-Merge:Manually
A separate window will display sessions browser and 2 maps. Left - your map archive, right - selected session. Zooming works only on the left side.
Select a desired tile on the map where the session should be pasted with Alt+Click on the LEFT side (zoom only 1:1 или 1:0.5 )
Select a desired tile in session by which the session will be centered during the merge with Alt+Click on the RIGHT side.
By pressing the Merge button, session will be merged with archive.


Feedback is highly welcome.
The will to do, the soul to dare.
Time Paradox gaming community.
User avatar
Telakh
 
Posts: 63
Joined: Sat Jul 02, 2011 5:44 am
Location: Two steps from hell

Re: TP Map Tool v3.1.0

Postby romovs » Mon Sep 07, 2015 6:55 pm

Telakh wrote:Be aware that some game clients (like amber) may mess up game sessions by storing multiple sessions in a single folder. This may spoil your map

Not the case any more :P It has been fixed a few releases back.

Telakh wrote:Sessions are not mergince automatically because they lack similar tiles. Primary analysis is based on file size and if it differs, two tiles are not considered identical.


Are there any plans for implementing an image comparison based approach for determining reference tiles between sessions? Like with perceptual hashing or any other algorithm for approximate image comparison?
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: TP Map Tool v3.1.0

Postby Telakh » Mon Sep 07, 2015 7:19 pm

romovs wrote:Not the case any more :P It has been fixed a few releases back.

Thanks. Will keep in mind.
romovs wrote:Are there any plans for implementing an image comparison based approach for determining reference tiles between sessions? Like with perceptual hashing or any other algorithm for approximate image comparison?
The program has been slowly improving for 3 years, ever since w6 H&H, later in Salem. All the known problems were caused by bugs in custom clients (when they save multiple sessions in a single folder). H&H was quite good. Then it got worse in Salem and we developed broken sessions check. Current Amber issue, when every new session contains different sized tiles is rather new for us. And as you say it has been fixed.
Map archives had been growing over 1gb size and counted more than 80k images. We've been doing our best to improve merging speed and it took less than a minute to compare and merge two 1Gb size archives. Do you really want any additional hash calculations to be perfomed on such a big maps, especially when it does not guarantee the positive result, instead of waiting for the game client fix? ;)
But we would like to discuss it if you have a particular idea how to make it better. Thanks for the feedback.
The will to do, the soul to dare.
Time Paradox gaming community.
User avatar
Telakh
 
Posts: 63
Joined: Sat Jul 02, 2011 5:44 am
Location: Two steps from hell

Re: TP Map Tool v3.1.0

Postby romovs » Mon Sep 07, 2015 8:49 pm

You misunderstood my intent, I was merely enquiring about it as an optional alternative. Was not implying in any way that it should be forced in over the current method.

As far as the different sizes in Amber,
Well, I wasn't aware TP actually used file size based comparison. I don't personally use it due to it requiring Windows (and lacking(?) sources) so I am not familiar with the tool besides what I've read in this thread literally just today. However judging by the features it does look like a nifty utility so this issue will be obviously fixed client side.
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: TP Map Tool v3.1.0

Postby Telakh » Mon Sep 07, 2015 9:17 pm

I appreciate your opinion. We had started this project as an internal tool but later the decision had been made ti make it public. So I'm just explaining how it works and I'll appreciate any help you can give, be it an idea, suggestion or some critics :)
The will to do, the soul to dare.
Time Paradox gaming community.
User avatar
Telakh
 
Posts: 63
Joined: Sat Jul 02, 2011 5:44 am
Location: Two steps from hell

Re: TP Map Tool v3.1.0

Postby Drevar » Tue Sep 08, 2015 11:17 pm

Could the window size be made persistant? Dislike having to resize from itty bitty to useable each time.

Thankee! Great tool.
Drevar
 
Posts: 201
Joined: Mon Aug 16, 2010 9:38 pm

Re: TP Map Tool v3.1.0

Postby Telakh » Wed Sep 09, 2015 11:14 am

Drevar wrote:Could the window size be made persistant? Dislike having to resize from itty bitty to useable each time.
Thankee! Great tool.


There you go.

Current version: 3.1.1
Changes:
1. Fixed problem with 25% CPU load (caused by constantly redrawing the map).
2. Window size is now saved upon exit.
3. Current paths are displayed in directory selection window whenever you want to select another path.
4. Manual merge has been fixed. (sessions path was incorrect)
The will to do, the soul to dare.
Time Paradox gaming community.
User avatar
Telakh
 
Posts: 63
Joined: Sat Jul 02, 2011 5:44 am
Location: Two steps from hell

Re: TP Map Tool v3.1.1

Postby Asmosk » Wed Sep 09, 2015 12:50 pm

Very nice tool, great job.

Manual merge seems to crash from time to time, here is erroe message:
Code: Select all
Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
   в Salem_Map_Tool.MapControl.MapControlMouseUp(Object sender, MouseEventArgs e)
   в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Загруженные сборки **************
mscorlib
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.34014 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
TP Map Tool
    Версия сборки: 1.0.2.0
    Версия Win32: 1.0.2.0
    CodeBase: file:///C:/Users/%D0%90%D1%80%D1%82%D1%91%D0%BC/Desktop/TP%20Map%20Tool/TP%20Map%20Tool%20v3.1.1.exe
----------------------------------------
System.Windows.Forms
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.34250 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.34239 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.34230 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Configuration
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.36213 built by: FX452RTMLDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.
Asmosk
 
Posts: 6
Joined: Fri Aug 20, 2010 1:18 pm

Re: TP Map Tool v3.1.1

Postby Telakh » Wed Sep 09, 2015 1:28 pm

Thx for the bug report. I suppose I have fixed it.

Current version: 3.1.2
Changes:
1. Fixed minor bug in Manual Merge window.
The will to do, the soul to dare.
Time Paradox gaming community.
User avatar
Telakh
 
Posts: 63
Joined: Sat Jul 02, 2011 5:44 am
Location: Two steps from hell

Re: TP Map Tool v3.1.2

Postby Gabula » Wed Sep 09, 2015 11:47 pm

A great tool for mapping, thank you for sharing!
Gabula
 
Posts: 172
Joined: Sun Aug 30, 2015 9:05 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Naylok, newsha and 12 guests