?debugging utility to compare actors.static with static.ini?
#1

I think most of the problems with new maps and mission refusing to save is that with all the new mods the actors.static contains more objects than the static.ini. Not sure if there's already done something like that but it would be very useful to have a prog which would just compare the type of objects present in the map's actors.static and the static.ini and report the types present in actors.static and absent in static.ini.
What do you think?
Reply
#2

I think you are right
Reply
#3

Such an application would be very useful.

The only info I need is the structure of an actors.static file and I'd be happy to make one.
Reply
#4

Cool!
For a quick one maybe use not the actors.static file itself but the corresponding outBuildings.txt (retrieved with the actor.static extract tool, you know that). That's got the easy "mission" format like

..............
9_bld House$IndustrialFactoryWarenHouse1 1 13061847.00 13099986.00 119.97
10_bld House$FurnitureTreeLine 1 13061849.00 13099995.00 229.95
11_bld House$FurnitureTreeLine 1 13061849.00 13099995.00 229.95
12_bld House$FurnitureTreeLine 1 13061849.00 13099995.00 229.95
13_bld House$RussiaPiterHouse4 1 13061877.00 13099993.00 90.00
...............

But you're right, it would be much more convenient for the user to indicate directly the actors.static file...

Redwulf__32 Wrote:Such an application would be very useful.

The only info I need is the structure of an actors.static file and I'd be happy to make one.
Reply
#5

Yes, I agree lowfighter, a quick 'n dirty app could be built that way. A drawback is that every instance of a used object is listed in the "mission file format" whereas used objects are only listed once in the actors.static format - would save having to make a brute force approach + also the intial decompression of the actors.static file (although the extract tool can be called from within an app).
Reply
#6

Hm, I haven't thought of that, hm, if I open an actors.static with notepad the type of objects are actually readable (text type), I have something like below, maybe you can do something with it:
.....sanscrite ...
F,j
Reply
#7

I think there already is a utility such as you are talking about, and it's been very useful to find out which objects are missing:

viewtopic.php?t=19992&highlight=static+checker
Reply
#8

Thanks agracier, I missed it...
Trying to download doesn't work, "file unavailable"
Reply
#9

lowfighter Wrote:Thanks agracier, I missed it...
Trying to download doesn't work, "file unavailable"

Here try this.

http://www.mediafire.com/?ytwnkhqlhnk
Reply
#10

Thanks! I got it and I'll check how it works.

Edit: It works fine!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)