TF2 crashes at the very end of buildcubemaps

Discussion in 'Mapping Questions & Discussion' started by XFunc_CaRteR, Sep 22, 2010.

  1. XFunc_CaRteR

    XFunc_CaRteR L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    17
    The cubemaps are all default size, smaller than my screen resolution.

    Anyone know what might cause this?
     
  2. Mr. Happy

    Mr. Happy L6: Sharp Member

    Messages:
    320
    Positive Ratings:
    158
    No, but important question: when you reload map have the cubemaps been built and are working?
     
  3. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    243
    Happened to me yesterday. I just replaced all my cubemaps because it was something that needed doing anyway. When I selected all my cubemaps and looked at the properties, some of their sizes were different, so maybe just double check that they are all default. And if it's not too much work (i.e. there are only a few cubemaps) then just delete them and add new ones and see if still crashes.
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    To clarify, they have to be smaller than a fourth of your resolution. But I would suggest seeing if they actually are in the BSP too. Open in the GCFscape and go to materials/maps/mapname and count the VTFs and see if it's the same as the number of env_cubemaps (not counting the fact they'll be doubled if you did hdr and ldr)
     
  5. XFunc_CaRteR

    XFunc_CaRteR L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    17
    All the cubemaps except for the last work. There are purple checkerboard textures around the last few cubemaps I put in.
     
  6. matou

    matou L2: Junior Member

    Messages:
    86
    Positive Ratings:
    20
    Buildcubemaps will cause a crash if your resolution is below 800x600 (something like that) so if you're running it at a low resolution up just a tad
     
  7. XFunc_CaRteR

    XFunc_CaRteR L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    17
    In that path, are you talking about VMT files? There aren't any VTF's in the bsp but there are VMT's. Are those VMT's references to the cubemap textures?

    There are 38 "items" in that folder, with folders of textures that seem to be the specular textures.
     
    Last edited: Sep 22, 2010
  8. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
  9. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    Orly.
     
    Last edited: Sep 22, 2010
  10. XFunc_CaRteR

    XFunc_CaRteR L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    17
    Update:

    Still crashes on the last cube build. It gives this error: "The instruction at "0x151c5792" referenced memory at "0x16188d1c". The memory could not be "read". Click OK to terminate the program."

    I've figured out an ugly, quick-and-dirty workaround. I make sure the last env_cubemap entity is in a sealed room that is not accessible to the rest of the level. On running buildcubemaps it tries to build that cubemap, but crashes and doesn't build it. But that doesn't leave any purple checkerboard textures anywhere.