Dylancyclone / VMF2OBJ

Convert source-engine VMF files into OBJ files with materials (including brushes, displacements, entities, and models)
MIT License
113 stars 6 forks source link

Error while decompiled maps from Portal 2 #27

Closed iberians closed 2 years ago

iberians commented 2 years ago

The map is Chapter 6 Beyond the Seal, .bsp file is sp_a3_03 The errors that appear in the progress

[info] Unequal amount of areaporal entities and areaportal brushes. Falling back to 'Manual' method
[info] No occluders to reallocate...
[warning] EntitySource: funct_areaportal entity links to a non existing areaportal, skipping...

And error that appear in Errors & Warnings

[warning] EntitySource: funct_areaportal entity links to a non existing areaportal, skipping...
Dylancyclone commented 2 years ago

Hello! Are you getting those warnings/errors while using VMF2OBJ or while decompiling the map using bspsrc? Those look like bspsrc errors

iberians commented 2 years ago

Only decompiling map using bspsrc

Dylancyclone commented 2 years ago

Ah in that case there isn't much I can do to help unfortunately. I recommend taking a look at bspsrc's page over here: https://github.com/ata4/bspsrc

Though, looking at the error, it appears to just be a warning that shouldn't prevent the map from being decompiled. All that would be missing is a funct_areaportal entity which doesn't appear to exist in the map anyways. The rest of the map should decompile as normal. (And VMF2OBJ doesn't use area portals anyway so the output wouldn't be affected). Let me know if you run into any other issues!