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


Post by dot » Fri Nov 16, 2018 10:07 pm

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.
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.

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:

Exists content:
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.
You do not have the required permissions to view the files attached to this post.

Posts: 3767
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: Dumpint

Post by JackGriffin » Sat Nov 17, 2018 4:05 am

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