Problems with BSPsource

Discussion in 'Mapping Questions & Discussion' started by DaDema, Jun 18, 2016.

  1. DaDema

    DaDema L-3: Not very succesful map maker

    Messages:
    136
    Positive Ratings:
    60
    Everytime that I decompile a map with BSPsource and load it up in hammer, it crashes.
    Does anyone know a solution to this?
     
  2. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,880
    Positive Ratings:
    1,487
    Well, decompiling isn't 100% flawless. Does Hammer give any error messages before it crashes?
     
  3. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    Are you decompiling a CS:GO map? Those use a newer type of VMF, so you will need to decompile them to the type that TF2 uses, by configuring BSPSource's output settings.
     
  4. DaDema

    DaDema L-3: Not very succesful map maker

    Messages:
    136
    Positive Ratings:
    60
    No, I was decompiling a custom tf2 map
     
  5. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    That shouldn't be happening commonly. BSpSource is great. It can handle repacked maps and gets around every type of anti-decompile trick. You could try adjusting the settings, turning things off one by one, to see what happens. Try decompiling a Valve map, or downloading one of the pre-decompiled maps from this post, and see if you can open them in Hammer.
     
  6. Viperi

    aa Viperi not actually a snek

    Messages:
    962
    Positive Ratings:
    530
    It probably has custom content packed into it that you don't have yourself.
     
  7. DaDema

    DaDema L-3: Not very succesful map maker

    Messages:
    136
    Positive Ratings:
    60
    I think so
     
  8. Viperi

    aa Viperi not actually a snek

    Messages:
    962
    Positive Ratings:
    530
    What's the map you're trying to decompile? Perhaps someone could take a look at it and try to figure it out.
     
  9. DaDema

    DaDema L-3: Not very succesful map maker

    Messages:
    136
    Positive Ratings:
    60
    cp_abyss
     
  10. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    BSPSource ignores custom content when it decompiles. It only gives the VMF. Lack of custom content won't prevent the opening of a VMF.
     
    • Thanks Thanks x 1
  11. Frosty Scales

    aa Frosty Scales

    Messages:
    83
    Positive Ratings:
    34
    False. The IID nodraw hack is still a thing. (It's detected but not reversed by BSPSource)
     
    • Thanks Thanks x 2
  12. Fragancia

    Fragancia L2: Junior Member

    Messages:
    82
    Positive Ratings:
    29
    There's an option to extract custom content as it decompiles a bsp.
    http://imgur.com/u86QYVu
     
    • Thanks Thanks x 1
  13. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    I know, but that's irrelevant. We are trying to work out what is causing DaDema problems, and while BSPSource does have an option to dump the pak at the same time as the decompile, it's an optional feature and doesn't affect the resulting VMF.
     
  14. DaDema

    DaDema L-3: Not very succesful map maker

    Messages:
    136
    Positive Ratings:
    60
    BSPsource does give two warnings:
    [warning] BspFile: Negative game lump length -13.628.908 in prpd, assuming 0
    [warning] LzmaBuffer: Difference in LZMA data length: found 30.095 bytes, expected 30.094

    I don't know if this has something to do with it
     
  15. Hyperion

    aa Hyperion L16: Grid Member

    Messages:
    810
    Positive Ratings:
    617
    Can someone tell me what is that?
     
  16. Frosty Scales

    aa Frosty Scales

    Messages:
    83
    Positive Ratings:
    34
    Use "bsp_repack -nocompress maps/<mapname>.bsp maps/<mapname>.bsp" in console, and then try again.

    An old anti-decompile program that replaces all the textures with a single texture when you try to decompile the map. It's #5 on this page. What he says about it was a bit off, it definitely destroys the map's textures rather than just "messing them up".
     
  17. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    BSPSource can decompile repacked maps.