UGX-Mods

Call of Duty 5: World at War => Custom Maps, Mods & Tools => Applications & Tools => Topic started by: treminaor on May 09, 2014, 06:28:49 am

Title: [App] UGX Asset Counter v0.9.3 BETA
Post by: treminaor on May 09, 2014, 06:28:49 am
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]

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FgzvIEB5.png&hash=67a5e055ee7f70dafcb66f264bf70e8f)

Features rundown:


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
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:

Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: chromastone10 on May 09, 2014, 06:41:10 am
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
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: treminaor on May 09, 2014, 06:45:23 am
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.
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: Zombiejelly on May 09, 2014, 08:22:40 am
Thank you for taking the time out to provide this to the community, its greatly appreciated :D
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: MrSlagovich on May 10, 2014, 01:34:09 am
GG Trem
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: daedra descent on May 10, 2014, 01:51:15 am
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?
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: treminaor on May 10, 2014, 03:01:11 am
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.
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: treminaor on May 11, 2014, 05:06:54 am
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.
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: daedra descent on May 11, 2014, 05:23:55 am
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.




Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: treminaor on May 11, 2014, 05:29:33 am
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?
Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: daedra descent on May 11, 2014, 05:34:12 am
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.

Title: Re: [App] UGX Asset Counter v0.9.0 BETA
Post by: treminaor on May 11, 2014, 05:38:12 am
I figured out it was because i ran the app as an administrator. Works fine without admin privileges.
:poker:
Title: Re: [App] UGX Asset Counter v0.9.2 BETA
Post by: treminaor on May 12, 2014, 05:34:18 am
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.
Title: Re: [App] UGX Asset Counter v0.9.2 BETA
Post by: FireIceJet on May 16, 2014, 06:30:33 am
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... :(
Title: Re: [App] UGX Asset Counter v0.9.2 BETA
Post by: treminaor on May 16, 2014, 06:37:15 am
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.
Title: Re: [App] UGX Asset Counter v0.9.2 BETA
Post by: treminaor on May 30, 2014, 11:59:53 pm
Program updated. Link in the OP is up to date and existing users will get an update notification upon program launch.

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.
Title: Re: [App] UGX Asset Counter v0.9.3 BETA
Post by: smasher248 on March 13, 2016, 06:10:15 pm
ik this is really old, but what re all these materials?

(https://i.gyazo.com/24e725ef212a831885e812c275392147.png)

i have about 400 of them
Title: Re: [App] UGX Asset Counter v0.9.3 BETA
Post by: treminaor on March 13, 2016, 07:11:35 pm
ik this is really old, but what re all these materials?

(https://i.gyazo.com/24e725ef212a831885e812c275392147.png)

i have about 400 of them
Some of them are from reflection probes. There's one material generated for each side of each reflection probe in your map. Not sure what the rest of them are specifically but they are not removable.
Title: Re: [App] UGX Asset Counter v0.9.3 BETA
Post by: klevi on February 18, 2018, 01:16:50 pm
well how do i use that