Member Controls

Developers > Package dumper
pljonesLink to postposted: Thu Sep 15, 2005 9:47 pm
Avator for pljones

Member since:
 2005-04-02
From:
 London, UK
Posts:
 610
Quaxi / anyone, is there a tool that dumps package file information to plain text?

I'm thinking of maybe writing something that lists each packed file's group and (full) instance, with its first 64 bytes as text and the next 16, 32 or 64 bytes as hex bytes. I was then going to import this into a spreadsheet and do some stats on it (like how many bhavs of a particular type, etc). Mostly to identify "useful" test cases. I'd probably list the filesize, too. (Maybe comma separated values would be better than plain text...)

If you've got, or know of, something like that, it'd be useful! (To me... :D)
quaxiLink to postposted: Thu Sep 15, 2005 10:00 pm
Avator for quaxi

Member since:
 2006-04-28
Posts:
 3154
Ther is something you could use.

In the Tools Menu is a SubMenu called "Create Description" or something. Basically, the tools there will write the TGI Values for a Resource (including the ResourceName provided by the SimPe.Interfaces.Plugin.IFileWrapper.ResourceName Property of the wrapper).

After that, it will write, whatever the SimPe.Interfaces.Plugin.IFileWrapper.Description Property of the Wrapper is passing. So If you rewrite the SimPe.Interfaces.Plugin.IFileWrapper.Description property of your BHAV Wrapper, you could implement this using that existing Tool.

However, the Problem is, that Selection 23000 Resources in SimPE, will Freez SimPe for about 15min., plus approx. another 15 minutes for the writing itself.
So If you use it, use it from within the Debugger, so you can manually check (with a Breakpoint) how long it will take.
quaxiLink to postposted: Sat Sep 17, 2005 12:56 am
Avator for quaxi

Member since:
 2006-04-28
Posts:
 3154
Selecting a large Number of Resources is gonna be a lot faster in the upcomming Release.


viewthread, 0, 0, Package-dumper