Vrad Crashes at end of compile

Discussion in 'Mapping Questions & Discussion' started by Fantasma, Sep 18, 2014.

  1. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    984
    SO after finishing the first version of my mpa that will win the MVA contest, I compiled as usual, however at the end it ended prematurely and there is no lighting in game.

    Compile log:
    Does anyone have an idea what could cause vrad to crash?
     
  2. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    There's been issues in the past with vrad running out of memory when using the -both option. This might have been limited to 32 bit systems, I don't really remember.

    But splitting vrad into two runs, -ldr and -hdr, fixed it.
     
    • Thanks Thanks x 1
  3. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    984
    That'd make sense, the map is very heavy with props so it'd crash with staticprop lighitng.

    I'll try it tonight, but thanks!
     
  4. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    984
    It didn't work, does anyone else have a suggestion?
     
  5. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    If you are actually running out of memmory, maybe let someone else compile the map to see if his PC can manage it. If he crashes as well, then it's at least not your PC =w=
     
  6. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    984
    Solution:
    I left lightmaps on my models, I just removed them.
     
  7. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    Just lightmaps, or crazy big ones? Ones that weren't powers of 2? Did you enable lightmaps buy have a size of 0,0? Etc.

    Is it just the fact that you were using lightmaps, or were you doing something wrong with them?
     
  8. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    984
    Lightmaps on models at 512 scale.
     
  9. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    one model/several/all of them ?
     
  10. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    So the lightmap feature can crash the compiler? well please answer the question of the previos post so we can find out more about it
     
  11. Fantasma

    aa Fantasma

    Messages:
    888
    Positive Ratings:
    984
    I had them on every model
     
  12. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    HOOOOOOOOOOOOO BOY yeah that's probably why. I'm guessing you were going waaaaaaaaaaaaaay over some limits there.
     
  13. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    Curious, I checked out vrad.exe and it's still a 32 bit exe so as soon as it goes over 2GB of memory.. it's gonna crash.

    Someone get on the horn with Valve to update us to 64 bit!
     
  14. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    They can't even be assed to make their actual games 64 bit.
     
  15. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    I would imagine all their programmers who are worth two bits are banging away getting Source 2 ready, which will be 64 bit.
     
  16. henke37

    aa henke37

    Messages:
    1,932
    Positive Ratings:
    456
    You mean worth 64 bits.