Results 1 to 7 of 7

Thread: How do you publish NB maps?

  1. #1
    Member Microwave Oven's Avatar
    Registered
    Jan 2003
    Location
    Fell into a BSP hole, send help!
    Posts
    140

    How do you publish NB maps?

    I've gotten the latest alpha working in the editor, using the -mod=..\NBGame\Config parameter. I can make maps, play them using the console command switchlevel, and everything works fine. However, if I use the in-editor publish button, I get an error saying my level was not found. If I manually run the cookmaps command using the command "UT3.exe CookPackages -mod=..\NBGame\Config -platform=PC -AlwaysRecookMaps -UpdateInisAuto TheLevelName" it finds the map but soon crashes after starting to process it. The log file says:
    Code:
    Critical: appError called:
    Critical: Assertion failed: SrcFilename.StartsWith(RootDir) [File:.\Src\UnContentCookers.cpp] [Line: 2656]
    
    Stack: 
    Critical: Windows GetLastError: Only part of a ReadProcessMemory or WriteProcessMemory request was completed. (299)
    Log: === Critical error: ===
    Assertion failed: SrcFilename.StartsWith(RootDir) [File:.\Src\UnContentCookers.cpp] [Line: 2656]
    
    Stack: 
    
    RaiseException() Address = 0x7c812aeb (filename not found) 
    CxxThrowException() Address = 0x78158e89 (filename not found) 
    Address = 0xba0102   (filename not found) 
    Address = 0xe8781b4c (filename not found)
    Is there a workaround or am I just stuck with it just being an alpha bug?

  2. #2
    Member immortius's Avatar
    Registered
    Jan 2003
    Location
    NX128EZ061 - The main planet
    Posts
    3,117
    I heartily recommend not cooking maps. If they're cooked they have to be re-cooked and re-released next time Nightblade updates, uncooked they will use the new versions of the script files. When zipped an uncooked map is smaller than a cooked map anyhow, so it doesn't affect distribution.

    As for how you would actually cook maps, I think I know how to get it worked by it would involve moving some files into the UT3 install directory and be somewhat messy. I can go into detail if you are set upon doing so.

  3. #3
    Member Microwave Oven's Avatar
    Registered
    Jan 2003
    Location
    Fell into a BSP hole, send help!
    Posts
    140
    So cooking a map isn't actually beneficial for Nightblade? I was under the impression that it was supposed to improve loading times as well as strip out the source files of whatever you imported into the map. If you don't need to do it for NB, I won't bother pursuing it.

  4. #4
    Member
    Registered
    Jul 2004
    Location
    [E.D.G]Chief
    Posts
    700
    I rather got the impression that it's not worth your while cooking them at the moment, because of all these new alpha releases (when they appear ) which will mean you'll have to re-publish (build all and cook) the map each time NB releases an update.

    I believe the easiest way to try to cook a map is to just open it in unreal ed and click the firey cook icon near the build all icon (been a while since i opened up ued, but i seem to remember it round about the build all button).

    Chief

  5. #5
    Member immortius's Avatar
    Registered
    Jan 2003
    Location
    NX128EZ061 - The main planet
    Posts
    3,117
    The issue with cooking a Nightblade map using the alpha is
    a) the cooking process doesn't see stuff in the Published directory
    b) cooking a map also attempts cooks the texture/model/etc packages it uses in the Unpublished directory, and the Nightblade ones are already cooked

    What you would actually need to do is create a NbGame directory in the UT3 install directory and place all the Nightblade packages in there under a CookedPC directory, I think.

    I'm not sure what performance benefit is offered from cooking for PC - except perhaps reducing the amount of memory needed to load the map, so perhaps improving load times and aiding people low on memory.
    Last edited by immortius; 23rd Dec 2008 at 06:28 PM.

  6. #6
    Member Schleicher's Avatar
    Registered
    Jun 2003
    Location
    not in the Playboy Manor =(
    Posts
    3,174
    File size is smaller due to some sort of uncluttering/compressing or whatever and the process merges the lightmaps (textures/meshes get their specific lighting/shadows "baked" to them or however that lingo went) into the file so that doesnt need to be recalculated each time or somesuch, so it gets a boost in loading/general speed.

    Or so i remember. Could be magical computer fairies too

    Thirding not recommending cooking alpha content maps. Youd wanna do that "when its done" (hoho) with an actual official NB release build (haha).

  7. #7
    Member
    Registered
    Jul 2004
    Location
    [E.D.G]Chief
    Posts
    700
    Or so i remember. Could be magical computer fairies too
    I'd say UEd is more known for Greminlins than fairies

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. maps
    By DyDe in forum Alien Swarm 2K4 Discussion
    Replies: 11
    Last Post: 29th Apr 2005, 07:40 AM
  2. New maps?
    By PoweredBySoy in forum Alien Swarm 2K4 Discussion
    Replies: 15
    Last Post: 9th Jun 2004, 11:58 AM
  3. two new maps
    By zidane01970 in forum Alien Swarm 2K4 Mapping
    Replies: 7
    Last Post: 5th Jun 2004, 06:44 PM
  4. Converting UED2-Maps to UED3-maps
    By Schleicher in forum Thievery Mapping
    Replies: 25
    Last Post: 5th Sep 2003, 01:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •