This is an updated version of my script for developers to transfer their projects to new UDK installations. No more messing with ugly batch files yourself, it's all automatic!
TransferUDKProject.zip
Unzip these two files anywhere on your computer and open up TransferSettings.ini. The settings should be self explanatory, but here's a walkthrough:
The Settings section sets the directory information for the old and new project, along with a temp directory used for the ini transfers (the temp directory shouldn't already exist).
The TransferFiles section is the files you'd like to copy to the new installation. The use of * is important and keeps the transfer automatic, otherwise it would stop and ask you if it was a file or directory.
The DeleteEpicFiles section removes any Epic files that you won't use and don't want cluttering up your directories.
The INI sections copy your ini settings to the new ini files. Directory information isn't needed in the section headers since I've scripted it to find them automatically. These sections aren't used to copy your custom ini files, you should use the TransferFiles section for that. These are just used to insert your custom settings into the new ini files, making sure to keep any changes Epic have made in the new ones.
Each line of the ini sections is formatted like this:
Once you've made your changes to TransferSettings.ini, double click the batch file to transfer your project!
Enjoy!
[Update for April UDK announcement] With the announcement of the April UDK, I'd like to add that the transfer utility has already been scripted to take into account the UTGame --> UDKGame folder name change, and is both backwards and forwards compatible. You can use either UTGame or UDKGame in the ini settings, the script will automatically detect which directories it needs to use.
TransferUDKProject.zip
Unzip these two files anywhere on your computer and open up TransferSettings.ini. The settings should be self explanatory, but here's a walkthrough:
Code:
[Settings] OldDir=C:\UDK\UDK-2010-03 NewDir=C:\UDK\UDK-2010-04 TmpDir=C:\UDK\UDK-2010-03\TEMP [TransferFiles] Development\Src\MyGame\Classes\*.uc UTGame\Script\MyGame*.u UTGame\Content\MyGame\MyPackage*.upk [DeleteEpicFiles] UTGame\Content\Maps\DM-Deck.udk UTGame\Content\Environments\ASC_Base.upk [INI=DefaultGame.ini] Map=UTFrontEnd.udk#Map=MyFrontEndMap.udk ;ModEditPackages=MyMod#ModEditPackages=MyGame [INI=BaseEngine.ini] Fullscreen=False#Fullscreen=True GameViewportClientClassName=Engine.GameViewportClient#GameViewportClientClassName=MYGAME.MYGAMEVIEWPORTCLIENT
The TransferFiles section is the files you'd like to copy to the new installation. The use of * is important and keeps the transfer automatic, otherwise it would stop and ask you if it was a file or directory.
The DeleteEpicFiles section removes any Epic files that you won't use and don't want cluttering up your directories.
The INI sections copy your ini settings to the new ini files. Directory information isn't needed in the section headers since I've scripted it to find them automatically. These sections aren't used to copy your custom ini files, you should use the TransferFiles section for that. These are just used to insert your custom settings into the new ini files, making sure to keep any changes Epic have made in the new ones.
Each line of the ini sections is formatted like this:
Code:
oldsetting#yoursetting
Enjoy!
[Update for April UDK announcement] With the announcement of the April UDK, I'd like to add that the transfer utility has already been scripted to take into account the UTGame --> UDKGame folder name change, and is both backwards and forwards compatible. You can use either UTGame or UDKGame in the ini settings, the script will automatically detect which directories it needs to use.

Comment