Go Back   Epic Games Forums > Unreal Tournament 3 > User Maps & Mods

Reply
 
Thread Tools Display Modes
Old 11-20-2007, 03:22 PM   #1
Entropy
Super Moderator
 
Entropy's Avatar
 
Join Date: Feb 2005
Posts: 98
Default Publishing and Cooking UT3 Community Maps

We've gotten a lot of questions about how cooking and publishing work in UT3. If you're looking to create a new map and play it in the game (offline or online) this should help get you started:

Publishing and Cooking UT3 Community Maps

The CookedPC naming convention may seem confusing, but it’s a relatively simple process once everything is set up properly. “Cooking” bakes out unnecessary content from the map file, creates the shader cache information needed to properly load and run your map, and improves performance and loading times. “Publishing” sets up the files for distribution and puts everything into the proper directory so that other people can play what you’ve created.

Regarding the Published and Unpublished behavior:

Maps that are saved in the game editor are written to the Unpublished directory by default. This is the working directory for mod authors, and can be found here:

…\Documents and Settings\<UserID>\My Documents\My Games\Unreal Tournament 3\UTGame\Unpublished\CookedPC\CustomMaps

By default, however, the game recognizes only the Published directory when loading content. If you want to test Unpublished content, you can add the -useunpublished flag to the commandline. (The expected mod workflow is to iterate development on levels and content and run the game with -useunpublished.) When a map is ready, a final Publish will write cooked content to the Published directory, and these loading-optimized files will be ready for distribution.

The Published directory is located here:

…\Documents and Settings\<UserID>\My Documents\My Games\Unreal Tournament 3\UTGame\Published\CookedPC\CustomMaps

Saving a game in the editor should create the Unpublished folders. Publishing a file should create the Published folder. If either of those directories don’t exist, you’ll need to create them manually. When you download a map and want to play it, put it in the Published folder and it will then be recognized by the game and appear in the in menus. Note that files that are not in the proper directory will not be recognized by the game and will not load properly or appear in the menus.



I'll try to update this thread as necessary with new / relevant information.

Happy mapping!
__________________
Jim Brown
Lead Level Designer
Epic Games

www.epicgames.com
Entropy is offline   Reply With Quote
Old 11-23-2007, 05:24 PM   #2
SkrU
Member
 
Join Date: Oct 2007
Posts: 80
Default

Do these published and nopublished dir's apply to server side as well?
SkrU is offline   Reply With Quote
Old 11-24-2007, 11:49 AM   #3
Mr_Rose
Senior Member
 
Mr_Rose's Avatar
 
Join Date: Feb 2004
Posts: 210
Default

On a similar note, would putting them in
…\Documents and Settings\All Users\Shared Documents\My Games\Unreal Tournament 3\UTGame\Published\CookedPC\CustomMaps
work at all?
Same question for unpublished of course.
__________________
That which redeems, consumes...
Mr_Rose is offline   Reply With Quote
Old 11-24-2007, 11:59 PM   #4
Pfhoenix
Senior Member
 
Pfhoenix's Avatar
 
Join Date: Oct 2007
Posts: 193

Gamertag: Pfhoenix0
Default

It's important to remember for everyone, as this just happened to me - when you publish a map within Ued, Ued will delete *everything* out of the Published directory structure first.

Epic : this is a major failure. Fix please.
__________________
Fleet Wars
Jetpack for UT3
Raggy Weapons
SpeedBump
Mod Exemplar Project
Official Proelium Site
Official UnrealScript IRC Channel - #unrealscript on irc.enterthegame.com
Pfhoenix is offline   Reply With Quote
Old 11-26-2007, 12:13 PM   #5
[404]Cham3l3on
Senior Member
 
Join Date: Sep 2006
Location: USA-East Coast
Posts: 497
Default

I had to make the published folder tree in the C: just to get a custom map to show up. There was no folder (running Vista) in the Documents area for the Published/Cooked. There was no Published/Cooked area in the C: so I made the tree, installed a beta map and then restarted and it showed up??
[404]Cham3l3on is offline   Reply With Quote
Old 11-26-2007, 05:37 PM   #6
Entropy
Super Moderator
 
Entropy's Avatar
 
Join Date: Feb 2005
Posts: 98
Default

Quote:
Originally Posted by SkrU View Post
Do these published and nopublished dir's apply to server side as well?
Yes. The game will only recognize user created content if it is in the Published folder.
__________________
Jim Brown
Lead Level Designer
Epic Games

www.epicgames.com
Entropy is offline   Reply With Quote
Old 11-26-2007, 05:38 PM   #7
Entropy
Super Moderator
 
Entropy's Avatar
 
Join Date: Feb 2005
Posts: 98
Default

Quote:
Originally Posted by Pfhoenix View Post
It's important to remember for everyone, as this just happened to me - when you publish a map within Ued, Ued will delete *everything* out of the Published directory structure first.

Epic : this is a major failure. Fix please.
This is a bug, and should only happen the first time you publish a map and only if you already have something in the published directory after you've manually created it. Our hope is to address this in a later patch
__________________
Jim Brown
Lead Level Designer
Epic Games

www.epicgames.com

Last edited by Entropy; 11-27-2007 at 02:06 PM.
Entropy is offline   Reply With Quote
Old 11-26-2007, 09:41 PM   #8
-VT-
Senior Member
 
-VT-'s Avatar
 
Join Date: Jul 2006
Location: Southeast, USA
Posts: 322
Default

When i made my first publish/cook of a test map i did it created all of this:

A \Published\ Folder

A \CookedPC\ Folder within the \Published\ Folder with these files:
--GlobalPersistentCookerData.upk
--RefShaderCache-PC-D3D-SM2.upk
--RefShaderCache-PC-D3D-SM3.upk
--RefShaderCache-PC-D3D-SM4.upk

A \CustomMaps\ Folder within the \CookedPC\ Folder with these files:
--DM-TestMap.ini
--DM-TestMap.ut3

(Note: the map name was DM-TestMap)

1.) Are all of the folders correct?

2.) Are all of those .upk packages going to be created everytime i make a new map?

3.) If all i used was the stock materials provided by Epic and when i hit the Cook/Publish button and i get that dialog box that says something like "Save Packages ..something.. something.. YES? NO?" I'm supposed to hit no right?
-VT- is offline   Reply With Quote
Old 11-27-2007, 02:09 PM   #9
Entropy
Super Moderator
 
Entropy's Avatar
 
Join Date: Feb 2005
Posts: 98
Default

1) Your info appears correct.
2) Yes, but those are local files. don't include them if you distribute your map.
3) Hit YES to properly save your files. Save early, save often.
__________________
Jim Brown
Lead Level Designer
Epic Games

www.epicgames.com
Entropy is offline   Reply With Quote
Old 11-27-2007, 04:20 PM   #10
eriFlleH
Junior Member
 
eriFlleH's Avatar
 
Join Date: Nov 2007
Posts: 10
Default

Hey since we are on the subject. I rent a server, created the ./Published/CookedPC/CustomMaps/ folder and uploaded a DM map that someone posted on here. When I check the logs, it shows it cached the ini and saw the map, but then it makes my server go offline from the online browser.

I checked to make sure my game type was 2 / deathmatch and everything else seems to load up ok, but the server never seems to come alive.

For instance: I downloaded DM_ForgottenPast, added it to the maplist in the UTGame.ini, also in my command line, I put in "server DM-ForgottenPast?GameType=2?...

Is there something I am missing?
eriFlleH is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Video Game Voters Network
 
All times are GMT -4. The time now is 05:54 PM.


Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2009-2010 Epic Games, Inc. All Rights Reserved.