Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

sometimes ago, I saw a command to re-import a UDK package content without opening the UDK Editor. (Especially, it was used for reimporting a Flash package in a scaleform tutorial, but it doesn't matter now )

It's very useful, because every time I change my .swf file, I should open the heavy UDK and just press re-import.

So, can anyone give me that solution again ?

share|improve this question
up vote 0 down vote accepted

I found the solution For packages containing .swf files here :

gfximport Commandlet

To improve iteration time, the gfximport commandlet, run from your Unreal Engine 3 executable (e.g UDKLift.exe) allows for content importing and reimporting without loading Unreal Editor. The commandlet assumes that content has been arranged in the manner described above.

In order to import a file, you must run gfximport commandlet while specifying relative paths to all of the .SWF files within the GameDir\Flash directory that you wish to import separated by spaces.

UDKLift.exe gfximport [path_1] [path_2] [path_3]

In order to re-import files that are already imported into UE3, simply run the commandlet with no arguments.

UDKLift.exe gfximport

The commandlet will reimport all the SwfMovies for which the .SWF file on disk is newer than the one imported.


Suppose you want to import these files.


You would execute the following command:

UDKLift.exe gfximport UI/MainMenu.swf UI/Resources.swf

They will be imported into the UI package as SwfMovie'UI.MainMenu' and SwfMovie'UI.Resources'. The package will be saved as GameDir\Content\GFx\UI.upk.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.