Login

russian armor

[Tool] COH2 UI Asset Browser

1 Feb 2015, 08:53 AM
#1
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

With this tool you can browse COH2 UI assets.

  • Browse through the images, preview them
  • Extract any image(s)
  • Extract all the images at once (takes about 30 seconds, +5000 images)
    • Generate HTML Doc (handy if you know an image from one of the texture atlases and want to know its name. Click the link for an example of an HTML Doc render.

  • Strongly based on file format info studied with http://www.free-decompiler.com/flash/
  • DDS image handling with http://freeimage.sourceforge.net/

Requirements:




How to extract the contents of UIHigh.sga

Usage:
  • Extract UIHigh.sga somewhere if you already haven't
  • Run the tool
  • Press the ... button and browse to "UI.sga\data\ui\bin\coh2ui.gfx" (where you extracted UIHigh.sga)
  • The tool will automatically process the file for a couple of seconds
  • Done. You are ready to start browsing the icons.
  • To extract selected images, use Control/Shift keys while clicking on the grid view, right-click the grid view and select "Extract"


This tool can also be set as the default viewer for .gfx files (although it only supports the .gfx version used by COH2)

Downloads:
1 Feb 2015, 19:31 PM
#2
avatar of Sarantini
Honorary Member Badge
Donator 22

Posts: 2181

this is amazing in so many ways and im disapointed in the lack of replies
you are a god!
1 Feb 2015, 20:12 PM
#3
avatar of m00nch1ld
Donator 11

Posts: 641 | Subs: 1

Crazy stuff! should have this before. would save me tons of work in PS xD
1 Feb 2015, 20:13 PM
#4
avatar of Twister
Honorary Member Badge
Patrion 39

Posts: 2072 | Subs: 1

this is amazing in so many ways and im disapointed in the lack of replies
you are a god!


+11111
1 Feb 2015, 20:56 PM
#5
avatar of Stafkeh
Patrion 14

Posts: 1006

Wonderful. Nice work! :thumbsup:
1 Feb 2015, 21:07 PM
#6
avatar of WhySooSerious

Posts: 1248

Wunderbar! I'm sure this will help a good number of noobs! :D
1 Feb 2015, 22:47 PM
#7
avatar of Sarantini
Honorary Member Badge
Donator 22

Posts: 2181

How are the icons stored for ui_cursor related abilities?
For example the
Code
abilities\aef\modal_ability\sp\refuel_tank_sp

uses the modal_refuel when ability is valid.
However the icon wont be found using any of these terms and is stored in your program as
Code
Icons_symbols_building_german_fuel_symbol
among other aliases
2 Feb 2015, 05:34 AM
#8
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

How are the icons stored for ui_cursor related abilities?
For example the
Code
abilities\aef\modal_ability\sp\refuel_tank_sp

uses the modal_refuel when ability is valid.
However the icon wont be found using any of these terms and is stored in your program as
Code
Icons_symbols_building_german_fuel_symbol
among other aliases


Unfortunately cursors are stored outside of the UI in Data.sga/data/art/cursor
2 Feb 2015, 13:06 PM
#9
avatar of Sarantini
Honorary Member Badge
Donator 22

Posts: 2181

ah thars a shame
5 Feb 2015, 18:01 PM
#10
avatar of capiqua
Senior Mapmaker Badge

Posts: 985 | Subs: 2

5 Feb 2015, 20:03 PM
#11
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Update:

  • Fixed some terrible memory leaks
  • Added "Advanced.." menu
    • "Clear memory": Unloads currently loaded images from the memory.
    • "Load all parent images in memory": Loads all parent images to the memory, makes browsing images a bit faster. Takes around 400 MB of RAM with 118 MB of DDS images.



Download link is the same, see first post.
8 Feb 2015, 05:58 AM
#12
avatar of Asman

Posts: 192

Thx for the partage it's cool
8 Feb 2015, 07:40 AM
#13
avatar of Paid_Player

Posts: 60 | Subs: 1

Wonderful! Thanks Janne252!
13 Feb 2015, 21:05 PM
#14
avatar of Kurobane

Posts: 658

Janne252 is the best :P
20 Feb 2015, 18:18 PM
#15
avatar of pegasos

Posts: 85

will be cool if this tool can be used to view and change our decal . :)
10 May 2015, 21:12 PM
#16
avatar of WiFiDi
Honorary Member Badge

Posts: 3293

this is amazing in so many ways and im disapointed in the lack of replies
you are a god!


the reason i didn't post is because, I have run out of descriptive expletives to explain just how fucking awesome he is!
29 Jun 2015, 10:46 AM
#17
avatar of CasTroy

Posts: 559

Does this tool still work after the June 2015 patch?
29 Jun 2015, 13:28 PM
#18
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

jump backJump back to quoted post29 Jun 2015, 10:46 AMCasTroy
Does this tool still work after the June 2015 patch?


Yep.
29 Jun 2015, 14:42 PM
#19
avatar of CasTroy

Posts: 559

Yep.

I used your amazing tool quite some months ago. But now I can´t find the UI.sga file you´re speaking about. There are two .sga files in steam/.../CoH2/Archives/ directed to UI: UIHigh.sga and UILow.sga, but I am not able to open these files as archives.

Did I miss something?
29 Jun 2015, 15:25 PM
#20
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

UIHigh.sga is the archive to go for.
0 user is browsing this thread:

Livestreams

Brazil 10
United Kingdom 246
United States 9
unknown 7
unknown 2

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

845 users are online: 845 guests
0 post in the last 24h
8 posts in the last week
38 posts in the last month
Registered members: 49084
Welcome our newest member, sunwingamescom1
Most online: 2043 users on 29 Oct 2023, 01:04 AM