Uploaded v0.71
- Fixed DS scan bug with re_emergent factions.
Uploaded v0.71
- Fixed DS scan bug with re_emergent factions.
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
Oh wow appreciated,maybe I can finally fix Darth Divus's TE Extreme which crashes.
After testing this tool yesterday, I must recommend it to anyone making a modification for this game.
I tend to think of myself as a careful modder; this tool found four problems with sprites. Not too much out of 200 dmb entries, but these sort of mistakes are very difficult to solve when they are reported by the players.
I'll add my voice to that - it is easy to use, has a simple intuitive interface and options and will save a lot of time...
"One of the most sophisticated Total War mods ever developed..."
The Fourth Age: Total War - The Dominion of Men
Aye, an excellent tool. I'd just ask that you add a note stating that one must reload the tool when one makes changes to your files.
As another feature request, would it be possible to have it check for unit cards? It can be tiresome to track down the few units without cards sometimes.
CaesarVincens: The files themselves are pre-loaded into memory to make the scans faster. I quickly split it up into separate methods and made it pre-load the files when you start a scan. This should ensure you have an up-to-date scan every time you fix your files. The drawback is that the scan is about 2/5th of a second slower.
Nonetheless an excellent suggestion.
As for checking unit cards, since the UI stuff is packed away into rather large files, I could make it ask for a confirmation if the user has unpacked his UI files into data/UI. The problem is that some mods still use unitcards from vanilla itself and that could mean a wall of errors for no apparent reason, making tracking down the REAL bugs, pretty much impossible.
I'll start working on it as soon as I can.
If there are more suggestions, I would be really happy to hear them out.
Last edited by RedFox; September 05, 2009 at 01:05 PM.
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
Read the pak file headers, which list all the files in them . . . if only vercingitorix code for the pax extractor was available.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein
Well, the PAK files are not like dat/idx files which have a off-the-bat readable header files. So much so, it's completely incomprehensible to me, since I have no experience working with archives such as that.
EDIT: Oh, nevermind, just noticed something funny in the header.. Might get it to work with some effort. All the info about the files is on the first line of the pak.
Last edited by RedFox; September 05, 2009 at 02:58 PM.
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
Shoot, I just can't wait that extra 2/5ths of a second!
I always forget about packed files... I ran into those awhile ago when I was working on the XC Senate campaign. Well, if it doesn't work, that's too badAs for checking unit cards, since the UI stuff is packed away into rather large files, I could make it ask for a confirmation if the user has unpacked his UI files into data/UI. The problem is that some mods still use unitcards from vanilla itself and that could mean a wall of errors for no apparent reason, making tracking down the REAL bugs, pretty much impossible.
I'll start working on it as soon as I can.
If there are more suggestions, I would be really happy to hear them out.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein
Yeah, I'm having problems reading all the bytes, since it seems to think the file ends with the first [NUL]. I do know that the method should be similar to reading TGA files (getting the bytes that is).
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
It now reads pak file headers.
EDIT: Successfully retrieving all files on loadCode:66181 DATA\MODELS_BUILDING\KILL_ZONE\ANYTHING_YOU_LIKE.CAS DATA\MODELS_BUILDING\KILL_ZONE\EASTERN_CITY_TOWER_COLLAPSE_KILL_ZONE_18.CAS DATA\MODELS_BUILDING\KILL_ZONE\EASTERN_CITY_TOWER_COLLAPSE_KILL_ZONE_50P.CAS
I plan on making the usage of pak's completely optional. So if it fails to read the pak's you won't experience a miserable fail. The drawback of all this elaborate pak loading is that the tool takes 2 seconds to load now. (for me at least; and this laptop is archaic)Code:Zeus © by RedFox Setting working directory: ../ Retrieving file list... OK Retrieving factions table... OK Reading pak ui_1.pak... OK Reading pak models_unit_textures.pak... OK Reading pak sprites_0.pak... OK Reading pak sprites_1.pak... OK Reading pak patch_0.pak... OK Reading pak patch_1.pak... OK Please select an item from the list -->
Last edited by RedFox; September 05, 2009 at 09:54 PM.
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
Something new...
Spoiler Alert, click show to read:
Last edited by RedFox; September 09, 2009 at 04:15 AM.
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
I improved the code quite a bit in the UI card checking feature. Now it will only display info that is actually relevant - If you don't recruit the unit in EDB, it won't check for cards.
An additional option shows you if an unit is using a Vanilla card. Useful for total conversions that still have old unit names that can be referenced to UI2 pak.
Spoiler Alert, click show to read:
v0.8 will be released with the building card checking feature complete - right now it does nothing.
For now, enjoy v0.75
~2000 lines of code so far
Last edited by RedFox; September 09, 2009 at 04:44 AM.
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
This beast is not working for me or i'm doing something wrong, (failed to initialize properly (0xc00001350). click on ok to terminate the application), suggestions, pointers or help is an urgent requirement, psychiatrists phone number is optional.
Thanks for any help.
Last edited by Moon; August 14, 2010 at 04:46 PM.
Don't put it in the data folder, put it in your mod folder.
You need to download and install Microsoft .NET Framework 2.0 -> http://www.microsoft.com/downloads/details...;displaylang=en
RTW\mymod\Zeus_Tool.exe
RTW\mymod\data\descr_sm_factions.txt
OR
RTW\Zeus_Tool.exe
RTW\data\descr_sm_factions.txt
Last edited by RedFox; September 09, 2009 at 10:00 AM.
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
Great additions, RedFox. One thing I want to point out is that I think it should check cards for units that can be used in custom battles. After all, some mods are only custom battles.
I don't know how to code it of course, but I imagine it could be done with either two checks or it checks if the unit either is in EDB or doesn't have the "no_custom" attribute.
CV: Actually, it used to check for custom battle models only, I made it tons more complex to read units for buildings instead. It would be easy to add an option to make it check only EDU units.
Since all the data is preloaded into string lists, it will be very easy to check.
As for how to code it, it would look something like this:
Spoiler Alert, click show to read:
"If you want epic, try using logic with your girlfriend."
#Complete Guide to BPI - Model INFO# #3dsMax CAS IE ALX Patched#
#Zeus Tool - EDB/DMB/DS Validator# #New Medium Wooden Walls#
Thanks RedFox Microsoft .NET Framework 2.0 was the problem, swapping between computers is becoming very irritating.