TrenchBroom / TrenchBroom

Cross-Platform Level Editor

Home Page:kristianduske.com/trenchbroom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indicate type of asset (e.g. FGD) that fails to parse when loading map fails

4LT opened this issue · comments

Map fails to open, instead showing an error that there is a "=" token where end of file would be expected.

System Information

TrenchBroom 2024.1 RC1

Arch Linux

Steps to Reproduce

  1. Launch TrenchBroom
  2. Open file (provided)

screen_222
waterfall.map.zip

Lines 61-63:

( -176 -128 -48 ) ( -175 -128 -48 ) ( -176 -127 -48 ) uwall1_2 [ -1 0 0 -48 ] [ 0 -1 0 0 ] 0 1 1
( -128 128 320 ) ( -128 129 320 ) ( -127 128 320 ) uwall1_2 [ 1 0 0 48 ] [ 0 -1 0 0 ] 0 1 1
( -128 128 -40 ) ( -127 128 -40 ) ( -128 128 -39 ) uwall1_2 [ -1 0 0 -48 ] [ 0 0 -1 0 ] 0 1 1

Ah, it's not associated with the map but the FGD. The FGD I have does indeed have extraneous '=' tokens.

Leaving this open, because the error could be more descriptive of cause.

Please stop adding prefixes like "[Feature]", these are useless to me. Thanks!

Sorry, force of habit!