Dumpint

External tools, software and sites for creating or editing UT99 resources.
Post Reply
dot
Average
Posts: 59
Joined: Tue Oct 30, 2018 3:41 am

Dumpint

Post by dot »

Script for make .INT file from .U or .UTX (skins) file.

In UT2004 present command for make .INT for exists .U file: https://wiki.beyondunreal.com/Legacy:DumpIntCommandlet

In UT99 nothing similar I not found. So I create script for this.

Script written in php.
Usage:
Unpack zip into UT root folder (near System dir).
Run in console (in this dir):

Code: Select all

php dumpint.php System\some_file.u
for create System\some_file.int for package some_file.u.
or

Code: Select all

php dumpint.php Textures\some_skins.utx
for create System\some_skins.int for skin textures in some_skins.utx.

If package some_file.u based on other packages, then you must specify option "--scan" at the end:

Code: Select all

php dumpint.php System\some_file.u --scan
it is lead to full scan of all .U files in System folders.

You can use wildcard in file name. For example

Code: Select all

php dumpint.php System\*.u

Code: Select all

php dumpint.php Textures\*skins*.utx
.UTX must contains "skins" in name or not be processed.
Some skins do not fit this rule, so you can rename it, make .INT file, and rename it back, also with rename created .INT file.

.U file supported all with sources of scripts. If sources stripped, then this tool not work.
.UTX skins support for standard models, and for any custom models which follow same rules for name textures for skins.
If model use custom rules, then this tool can not generate .INT file.

If .INT file exists then dumpint not overwrite it. Instead of this, it show generated out for comparsion with exists file.
For example:

Code: Select all

Destination file already exists!

Generated content:
[Public]
Object=(Name=Arumi.ArumiBot,Class=Class,MetaClass=Botpack.Bot,Description="Arumi.ArumiBot")
Object=(Name=Arumi.Arumi,Class=Class,MetaClass=Botpack.TournamentPlayer,Description="Arumi")

Exists content:
[Public]
Object=(Name=Arumi.ArumiBot,Class=Class,MetaClass=Botpack.Bot,Description="Arumi.ArumiBot")
Object=(Name=Arumi.Arumi,Class=Class,MetaClass=Botpack.TournamentPlayer,Description="Arumi")
You must delete .INT file manually if you want store generated content, no overwrite option exists.

This tool can be useful for use custom mutators or skins from any server.
dumpint.zip
(2.87 MiB) Downloaded 64 times
JackGriffin
Godlike
Posts: 3774
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: Dumpint

Post by JackGriffin »

That's interesting dot. Nice job!
So long, and thanks for all the fish
Post Reply