Jump to content
Korean Random
ktulho

TankIconMaker - программа для создания иконок танков.

Recommended Posts

On 10/13/2019 at 10:34 AM, Aslain said:

Small request: to add a warning window or something like this when font is not found in system.

 

In example I have a text layer:

ac694f8ce8bc64cc715085e391dcdda8.png.81b3a487947a401c4f4beb1a4fb8146d.png

 

But when I don't have this font installed then TIM will display some default font instead. It's easy to miss when you run dozens of projects.

 

Bumping this request, as I was ignored back then.

 

Is there anyone updating TIM ? NDO left so I'm curious.

 

So two requests to anyone who is updating this program:

- add a warning window when a font is missing (not installed in the system)

- add a command line feature, so we can launch TIM without GUI and create/export icons with a batch script.

 

Edited by Aslain

Share this post


Link to post

Short link
Share on other sites

v063-b211

на тесте не работает :sad:

 

Thread: Main

Exception: WotDataLib.WotDataException
Message: Could not parse game data for country "usa"
  ...
  в TankIconMaker.MainWindow.ReloadData(Boolean first) в MainWindow.xaml.cs:строка 398

Exception: System.Collections.Generic.KeyNotFoundException
Message: Данный ключ отсутствует в словаре.
  ...

 

Share this post


Link to post

Short link
Share on other sites
03.10.2021 в 21:38, HEKPOMAHT сказал:

v063-b211

на тесте не работает :sad:

 


Thread: Main

Exception: WotDataLib.WotDataException
Message: Could not parse game data for country "usa"
  ...
  в TankIconMaker.MainWindow.ReloadData(Boolean first) в MainWindow.xaml.cs:строка 398

Exception: System.Collections.Generic.KeyNotFoundException
Message: Данный ключ отсутствует в словаре.
  ...

 

TiM.zip

  • Upvote 5

Share this post


Link to post

Short link
Share on other sites
20.09.2021 в 12:43, Aslain сказал:

- add a warning window when a font is missing (not installed in the system)

Добавил. 

TiM.zip

  • Upvote 8

Share this post


Link to post

Short link
Share on other sites

TiM сделал 832 иконки.

Но на замену в Атласе пошло только 826.

Это нормально или у меня что-то не то с настройками?

Share this post


Link to post

Short link
Share on other sites

Может одна иконка используется для нескольких танков?

Share this post


Link to post

Short link
Share on other sites

Ну а TiM разве не из атласа выдергивает иконки изначально?

Как так может получиться, что сгенеренных иконок больше, чем изначально выдернуто?

Share this post


Link to post

Short link
Share on other sites
1 час назад, N_P сказал:

Как так может получиться, что сгенеренных иконок больше, чем изначально выдернуто?

В атласе на одну иконку можно сделать сколько угодно названий техники.

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

@ktulho случайно не знаешь почему последние несколько патчей сыпет ошибка в python.log при использовании стороннего атласа иконок техники:

Цитата

2021-10-20 17:00:07.249: ERROR: AtlasManager can't find item 'lastlit_ally_dead_green' (altName: '' ) in atlas 'battleAtlas'
2021-10-20 17:00:07.257: ERROR: AtlasManager can't find item 'lastlit_enemy_dead_purple' (altName: '' ) in atlas 'battleAtlas'
2021-10-20 17:00:16.192: ERROR: AtlasManager can't find item '' (altName: '' ) in atlas 'battleAtlas'

?

Хотя в ВГшном атласе также нет иконок 'lastlit_ally_dead_green', 'lastlit_enemy_dead_purple'.

Не обращал бы внимания, если бы python.log не был весь засеян данными сообщениями.

Share this post


Link to post

Short link
Share on other sites
2 минуты назад, Arni Ex сказал:

@ktulho случайно не знаешь почему последние несколько патчей сыпет ошибка в python.log при использовании стороннего атласа иконок техники:

?

Хотя в ВГшном атласе также нет иконок 'lastlit_ally_dead_green', 'lastlit_enemy_dead_purple'.

Не обращал бы внимания, если бы python.log не был весь засеян данными сообщениями.

запусти клиент без модов и проверь :gg:

<SubTexture>
  <name> AT-SPG_enemy_dead_purple </name>
  ...
</SubTexture>

<SubTexture>
  <name> AT-SPG_ally_dead_green </name>
  ...
</SubTexture>

 

в battleAtlas.xml названия :hmm:

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

@ktulho Почему у меня программа не распознаёт путь к игре? TankIconMaker-v063

Цитата

Thread: Main

Exception: WotDataLib.WotDataException
Message: Could not parse game data for country "usa"
  ...
  в TankIconMaker.MainWindow.ReloadData(Boolean first) в MainWindow.xaml.cs:строка 398

Exception: System.Collections.Generic.KeyNotFoundException
Message: Данный ключ отсутствует в словаре.
  ...
 

895507768_(9).png.bb209736330b8f73c1c88dadd093d6c8.png

Edited by Arni Ex

Share this post


Link to post

Short link
Share on other sites

Not working with 1.14.1.1

 

Thread: Main

Exception: WotDataLib.WotDataException
Message: Could not parse game data for country "ussr"
  ...
  w TankIconMaker.MainWindow.ReloadData(Boolean first) w MainWindow.xaml.cs:wiersz 399

Exception: WotDataLib.WotDataException
Message: Could not parse game data for country "R40_T-54_Halloween_event"
  ...

Exception: System.InvalidOperationException
Message: String must represent an integer, but "54.06" has a fractional part.
  ...

@ktulho

Edited by Aslain

Share this post


Link to post

Short link
Share on other sites

Если скинете папку \res\packages\scripts.pkg\scripts\item_defs\vehicles\, то завтра посмотрю.

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...