Author Topic: [App] UGX Asset Counter v0.9.3 BETA  (Read 32422 times)

0 Members and 1 Guest are viewing this topic.

Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

[App] UGX Asset Counter v0.9.3 BETA

« on: May 08, 2014, 09:28:49 pm »
Asset Counter v0.9.3 BETA

Put together a small utility to help you count how many assets you are loading in your map, according to the engine compiler. By loading one or more assetlist files from your CoDWaW directory, the program will count how many of each datatype you are loading and give you a categorized list of the files. The development of this program is part of our effort to release a UGX Developer Package at a later date.

[You are not allowed to download this file. Register or Login to see them]


Features rundown:

  • You can open any number of assetlist csv files simultaneously with the program.
  • All assets in the opened files are  grouped by type in the upper textbox.
  • A summary of all assets including the amount of each one is provided in the lower textbox.

I would like to add a feature which tells you how close you are to each asset limit. I'd also like the program to be able to generate an ignore.csv for you based on selected items but that would require a UI redesign and some rewriting, and it's not hard to just select the lines yourself and copy/paste them to a new csv...

Additionally I would like to multithread the file loading so that the program doesn't hang for a few seconds when opening many large files.

What do I use this for? How do I use it?

I hit the 2400 image limit on one of my maps and I wanted to know how many images I was actually loading in the mod - so I opened the mapname.csv, mapname_patch.csv, mod.csv, default.csv, patch.csv and common.csv all at the same time to see how many total images were loaded. Hopefully this is helpful to some people.

To use it, navigate to
Code: [Select]
Call of Duty - World at War\zone_source\english\assetlist
and either drag one or more files into the drag image of the program, or use File -> Open and Ctrl+click to select multiple files.

In the upper box, there is a list of all of the asset names of the selected category. To view other category lists, choose them from the dropdown box. In the lower box, you will see a summary of all the assets found in the opened files.

This is a BETA!

What does this mean? It means the program may have some bugs which I am not aware of... if you get an unhandled exception while using the program or something just doesn't seem to be working right, please REPLY TO THIS THREAD! If a setting is missing from the program, please REPLY TO THIS THREAD! If you would like to see a feature added to the program, please REPLY TO THIS THREAD! :)

Changelog:

  • v0.9.0: First public release of the program. Beta Testing initiated.
  • v0.9.1:
     - File loading is now multithreaded. Loading multiple files should be practically instantaneous now.
     - You can save and load preset lists of assetlist csvs now using the File menu or the key shortcuts.
     - Asset Counts in the Summary Box are now shown next to the known limits for that dataType in CoD5.
     - List of loaded files added to top of summary box information.
     - Recently opened files are now saved to a list in the File menu.
  • v0.9.2:
     - Fixed a bug where the asset counts were not cleared after loading a new file, causing them to add on top of each other repeatedly.
  • v0.9.3:
    - Fixed a bug where the assetList textbox did not show the complete list of assets for the chosen category.
     - Fixed a bug where opening the same assetList category repeatedly would change the length of the list of assets below it.
     - Possible future feature in progress, button added for it.
If Java had true garbage collection, most programs would delete themselves upon execution.

Offline chromastone10

  • *
  • The Decider
  • Posts: 840
  • Country: us
  • Respect: 235
  • Embers are the new lens flares
    • chromastone10' Twitter Feed
    • chromastone10's YouTube Channel
    • View Profile
  • WaW: chromastone1

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #1 on: May 08, 2014, 09:41:10 pm »
I think a nice feature to add would to be to tell what each limit is, like FX limit is 400 ect. Unless its already on there and I didnt see it

Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #2 on: May 08, 2014, 09:45:23 pm »
I think a nice feature to add would to be to tell what each limit is, like FX limit is 400 ect. Unless its already on there and I didnt see it
Thought about it but wasn't sure if people would want it. I'll add it to my todo list.

Offline Zombiejelly

  • *
  • Perk Hacker
  • Posts: 387
  • Country: us
  • Respect: 30
  • Letting Zombies eat my brains since 82
    • Zombiejelly115
    • @Bradtimms' Twitter Feed
    • View Profile
  • Skype: Zombiejelly115
  • WaW: Zombiejelly

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #3 on: May 08, 2014, 11:22:40 pm »
Thank you for taking the time out to provide this to the community, its greatly appreciated :D
[You are not allowed to view external links. Register or Login to see them]

Offline MrSlagovich

  • *
  • [UGX] Social Networking & Q.A.
  • Perk Hacker
  • Posts: 377
  • Country: scotland
  • Respect: 57
  • Hello there chums ( ͡
    • MrSlagovich
    • 76561198043995947
    • @mrslagovich' Twitter Feed
    • MrSlagovich's YouTube Channel
    • View Profile
  • Skype: BMAN_xX
  • WaW: BryanAdams95

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #4 on: May 09, 2014, 04:34:09 pm »
GG Trem

Offline daedra descent

  • ☭ Soviet Commander ☭
  • King of the Zombies
  • Community Daedra
  • Banned!
  • Posts: 2,796
  • Country: us
  • Respect: 324
    • BlueSoviet
    • View Profile

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #5 on: May 09, 2014, 04:51:15 pm »
How'd you open common.ff? All FastFile tools that i've seen really only decompile scripts...

Oh and as a suggestion for a future update, Would it be possible to save a kind of "preset" instead of having to redrag everything back into the program?
« Last Edit: May 09, 2014, 04:55:35 pm by daedra descent »
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds

Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #6 on: May 09, 2014, 06:01:11 pm »
How'd you open common.ff? All FastFile tools that i've seen really only decompile scripts...

Oh and as a suggestion for a future update, Would it be possible to save a kind of "preset" instead of having to redrag everything back into the program?
If you open the program and load some files, you can use File -> Refresh or CTRL+R to reload the current files. As far as saving presets, I'll work something out.

As for common.ff, I had forgotten that its' assetlist wasn't already in the mods directory - I made my own a while ago and must have been using that. I'll see if I can get that csv organized and include it with the download.

Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #7 on: May 10, 2014, 08:06:54 pm »
New version released, existing users will get an update notification and the OP link has been updated.

v0.9.1:
 - File loading is now multithreaded. Loading multiple files should be practically instantaneous now.
 - You can save and load preset lists of assetlist csvs now using the File menu or the key shortcuts.
 - Asset Counts in the Summary Box are now shown next to the known limits for that dataType in CoD5.
 - List of loaded files added to top of summary box information.
 - Recently opened files are now saved to a list in the File menu.

Offline daedra descent

  • ☭ Soviet Commander ☭
  • King of the Zombies
  • Community Daedra
  • Banned!
  • Posts: 2,796
  • Country: us
  • Respect: 324
    • BlueSoviet
    • View Profile

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #8 on: May 10, 2014, 08:23:55 pm »
I don't know why, but the file drop box won't let me drop anything into it, it just gives me a circle whenever i hover over it, regardless of how many files i try to drag into it or if there is already something loaded.




« Last Edit: May 10, 2014, 08:30:00 pm by daedra descent »

Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #9 on: May 10, 2014, 08:29:33 pm »
I don't know why, but the file drop box won't let me drop anything into it, it just gives me a circle whenever i hover over it, regardless of how many files i try to drag into it or if there is already something loaded.
Working fine for me currently. What are you dragging onto it? And have you tried the File->Open option?

Offline daedra descent

  • ☭ Soviet Commander ☭
  • King of the Zombies
  • Community Daedra
  • Banned!
  • Posts: 2,796
  • Country: us
  • Respect: 324
    • BlueSoviet
    • View Profile

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #10 on: May 10, 2014, 08:34:12 pm »
Working fine for me currently. What are you dragging onto it? And have you tried the File->Open option?

I figured out it was because i ran the app as an administrator. Works fine without admin privileges.

and yeah i tried using the file-> open option and i was using my maps's csvs.


Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

Re: [App] UGX Asset Counter v0.9.0 BETA

« Reply #11 on: May 10, 2014, 08:38:12 pm »
I figured out it was because i ran the app as an administrator. Works fine without admin privileges.
:poker:

Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

Re: [App] UGX Asset Counter v0.9.2 BETA

« Reply #12 on: May 11, 2014, 08:34:18 pm »
New version released, existing users will get an update notification and the OP link has been updated.

v0.9.2:
 - Fixed a bug where the asset counts were not cleared after loading a new file, causing them to add on top of each other repeatedly.

Offline FireIceJet

  • Legless Crawler
  • Posts: 31
  • Country: sg
  • Respect: 4
    • View Profile

Re: [App] UGX Asset Counter v0.9.2 BETA

« Reply #13 on: May 15, 2014, 09:30:33 pm »
A search bar would be nice. And also, do any of you guys know how to fix the 'Exceeded 1600 'loaded sound' assets error'? I already # out quite a few sounds from the weapons.csv and nazi_zombie_factory.csv but it still doesn't work... :(

Offline treminaor

  • *
  • - Original Poster (OP) -
  • [UGX] Founder
  • Immortal
  • Posts: 5,537
  • Country: us
  • Respect: 5788
    • UGXMods
    • treminaor
    • treminaor's Twitch Channel
    • treminaor' Twitter Feed
    • treminaor's YouTube Channel
    • View Profile
    • My Portfolio
  • Skype: treminaor
  • WaW: treminaor

Re: [App] UGX Asset Counter v0.9.2 BETA

« Reply #14 on: May 15, 2014, 09:37:15 pm »
A search bar would be nice. And also, do any of you guys know how to fix the 'Exceeded 1600 'loaded sound' assets error'? I already # out quite a few sounds from the weapons.csv and nazi_zombie_factory.csv but it still doesn't work... :(
Make sure you recompiled the FF of your map that includes them in the first place, otherwise your changes will not take effect. Loaded sounds are any sounds not set to streamed in the soundalias line. Removing streamed sounds will not help you with the limit because they do not count towards the limit.