vtex failed to compile cubemap

Discussion in 'Mapping Questions & Discussion' started by MaartenS11, Feb 1, 2017.

  1. MaartenS11

    MaartenS11 L2: Junior Member

    Messages:
    50
    Positive Ratings:
    13
    Hello evryone the community of tf2classic is porting robot destruction to tf2classic I decompiled the map and then recompiled it for tf2classic and copied all the props_moonbase props to the custom folder. When I want to build the cubemaps it fails can anyone help? Here is the console:

    ] buildcubemaps
    bounce: 1/1 sample: 1/20
    bounce: 1/1 sample: 2/20
    bounce: 1/1 sample: 3/20
    bounce: 1/1 sample: 4/20
    bounce: 1/1 sample: 5/20
    bounce: 1/1 sample: 6/20
    bounce: 1/1 sample: 7/20
    bounce: 1/1 sample: 8/20
    bounce: 1/1 sample: 9/20
    bounce: 1/1 sample: 10/20
    bounce: 1/1 sample: 11/20
    bounce: 1/1 sample: 12/20
    bounce: 1/1 sample: 13/20
    bounce: 1/1 sample: 14/20
    bounce: 1/1 sample: 15/20
    bounce: 1/1 sample: 16/20
    bounce: 1/1 sample: 17/20
    bounce: 1/1 sample: 18/20
    bounce: 1/1 sample: 19/20
    bounce: 1/1 sample: 20/20
    vtex failed to compile cubemap!
    Unable to remove c:\program files (x86)\steam\steamapps\sourcemods\tf2classic\materials\maps\rd_asteroid_d\c241_325_-317.vtf!
    vtex failed to compile cubemap!
    Unable to remove c:\program files (x86)\steam\steamapps\sourcemods\tf2classic\materials\maps\rd_asteroid_d\c592_2292_-444.vtf!
    vtex failed to compile cubemap!
    Unable to remove c:\program files (x86)\steam\steamapps\sourcemods\tf2classic\materials\maps\rd_asteroid_d\c-241_-325_-317.vtf!
    vtex failed to compile cubemap!
    Unable to remove c:\program files (x86)\steam\steamapps\sourcemods\tf2classic\materials\maps\rd_asteroid_d\c-592_-2292_-444.vtf!
    vtex failed to compile cubemap!
    Unable to remove c:\program files (x86)\steam\steamapps\sourcemods\tf2classic\materials\maps\rd_asteroid_d\c-241_-325_-317.vtf!
    vtex failed to compile cubemap!
    Unable to remove c:\program files (x86)\steam\steamapps\sourcemods\tf2classic\materials\maps\rd_asteroid_d\c-241_-325_-317.vtf!
    *

    Here are some screenshots:

    upload_2017-2-1_13-39-36.png
    upload_2017-2-1_13-39-49.png
    upload_2017-2-1_13-40-57.png
     
  2. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,377
    Just a heads-up, unless TF2 Classic eventually gets its own code to handle lightmaps on models, you're going to end up with some ugly exteriors.
     
  3. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,633
    Positive Ratings:
    1,808
    backporting model lightmaps is not too difficult, just gonna throw that out there.

    as for your cubemaps, I believe "c241_325_-317.vtf!" is a set of coords. could be worth going to those coordinate and see if there's anything funky with the cubemap entity at that location (maybe consider deleting/recreating them). note that I've never encountered this problem, this is just an educated guess on how to fix it. hopefully this narrows it down.

    also "Unable to remove" tells me you might have something going on with file permissions that prevents the engine from doing its job. (could be an overzealous antivirus)