Mark0's Forum
Software => TrID File Identifier => Topic started by: Sam. on October 28, 2011, 01:30:59 AM
-
I am in the process of analyzing several dozen game file formats for submission, but it seems that I have tried to pass far more than the maximum number of files supported to TrID Scan v1.56. I am not sure if it is TrID Scan or the command prompt that is the limiting factor, but when I try to have it analyze roughly 14,000 files, it only processes the first 2048. The command I used via a .bat file is:
tridscan.exe "D:\Program Files\TrID - File Identifier\TrIDScan - Patterns scanner\Infinity Engine File Formats\BAM\*.bam"
and the output is:
TrID/32 - Scan Module v1.56 - (C) 2003-04 By M.Pontello
Checking files...
Found 2048 matching files
Header Block Size: 1099
Scanning for patterns...
Pattern(s) found: 111
Last Pattern end at offset: 1059
Scanning for raw strings...
Raw string(s) found: 444
Pre-filtering strings...
Phase 1... 13% 27% 41% 55% 68% 82% 96% 100%
Phase 2... 0% [...] 100%
Erasing substrings... 19% 39% 59% 79% 98% 100%
String(s) found: 1
Writing XML file <newtype.trid.xml>...
Finished!
Which program (TrID Scan or CMD.exe) is the limiting factor, and is there a workaround?
PS: Thanks for the awesome tool!
Sincerely,
Sam.
-
Hi!
It's actually an hard coded limit in the program. Never thought it could be really reached! :-)
As a work around, you can simply split the files in groups of 2K.
After the first scan, assign a proper name at the def and proceed with the other groups refining it, like in:
tridscan \mydir\*.bam bam.trid.xml
Thanks for the feedback,
Bye!
-
Would you be willing to remove the hard-coded limit? I will be analyzing quite a few file formats in the near future that will have considerably more than 2048 files... I can write a program that will automatically utilize the workaround you specified, but I'm hoping it will be easier for you to comment a line or two of code...?
-
As promised, I have finished creating Defs for all of the Infinity Engine file formats that I have access to (I don't have PST). To anyone interested, see the IESDP (http://iesdp.gibberlings3.net/file_formats/index.htm) for a detailed description of all of the file formats.
---------------------------
Statistics:
---------------------------
Total Files Scanned = 111077
File Defs Created = 52
---------------------------
I will be emailing the Defs shortly :) .