View Issue Details

IDProjectCategoryView StatusLast Update
0004018DarkRadiantMap Editingpublic06.01.2015 14:29
ReporterMirceaKitsune Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionnot fixable 
Platformx64OSLinux openSUSEOS Version13.2
Summary0004018: Incorrect VIS portal format in mapname.proc
DescriptionWhen starting up the map, I'm taken to the console where an error of the following format is printed in red text:

ERROR: File foo/bar/mapname.proc, line 775: Expected ')' but found '128'

I opened up the mapname.proc file in a text editor and looked at the line in cause, which is apparently the definition of a VIS portal as 4 corners. Apparently DarkMod doesn't like it when the values are defined between a single set of parenthesis, and expects each point to be defined between its own. To fix the problem, I had to manually change this line into this:

/* iap 0 */ 4 2 1 ( 128 76 160 128 116 160 128 116 232 128 76 232 )
/* iap 0 */ 4 2 1 ( 128 76 160 ) ( 128 116 160 ) ( 128 116 232 ) ( 128 76 232 )

Is it the engine's fault for not understanding the first line, or the fault of 'dmap' for not generating the second line? I assume it's the later, since its format looks more correct to the eye, so I decided to report this as a DarkRadiant issue.
Steps To ReproduceRun 'dmap' on any map containing VIS portals, then try to start it up in DarkMod.
Additional InformationLinux openSUSE 13.2 x64. TDM 2.02. Running latest GIT master of DarkRadiant.

Forum thread: http://forums.thedarkmod.com/topic/16849-incorrect-vis-portal-format-in-mapnameproc/
TagsNo tags attached.

Activities

greebo

greebo

06.01.2015 14:28

administrator   ~0007312

DarkRadiant has nothing to do with .proc files, these are generated by the engine's dmap command.

Issue History

Date Modified Username Field Change
05.01.2015 15:45 MirceaKitsune New Issue
06.01.2015 06:17 greebo Status new => acknowledged
06.01.2015 14:28 greebo Note Added: 0007312
06.01.2015 14:28 greebo Status acknowledged => closed
06.01.2015 14:29 greebo Resolution open => not fixable