View Issue Details

IDProjectCategoryView StatusLast Update
0006110DarkRadiantMap Editingpublic09.10.2022 16:15
Reporterjoebarnin Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.3.0 
Target Version3.4.0Fixed in Version3.4.0 
Summary0006110: Readable Editor displays "shader not found" in view
DescriptionWhen I select a readable object and do the menu command Entity > Readable Editor, the dialog appears but the right hand side doesn't display the WYSIWYG view of the readable. Instead it displays "shader not found". Any text you add shows up on the WYSIWYG view, but barely readable.

Note, the readable looks fine in the DarkMod, it's only DR that has the problem.
Steps To ReproduceCreate a readable entity in your map. Select it, and do Entity > Readable Editor.
Additional InformationWith the Readable Editor open, select the GUI Definition browser (the little folder icon). Close the dialogs, then check your console log (and darkradiant.log). You'll see a bunch of errors like so:

Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100


Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: rect-100
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: -10
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 500
Unknown token encountered in GUI: ,
Unknown token encountered in GUI: 400
Unknown token encountered in GUI: _inventory_map_code_
Couldn't find include file: guis/readables/rotten_paper_nancy.gui in guis/readables/rotten_paper_nancy_world.gui
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {
Unknown token encountered in GUI: 1
Unknown token encountered in GUI: {

I searched for "rect-100" and found several in *.gui files. For example, book_bamberg_gothic_both_curl.gui has:

    windowDef rightPageBackground {
        WORLD_SCALE
        rect-100, -10, 500, 400
        background "guis/assets/readables/books/book_rightpage_curled_01"
        matcolor 1, 1, 1, 0
    }

Note, no space after "rect" and before the "-100"

TagsNo tags attached.

Activities

joebarnin

joebarnin

27.09.2022 04:40

reporter  

readable.jpg (100,344 bytes)   
readable.jpg (100,344 bytes)   

Related Changesets

DarkRadiant: master cecee3b2

06.10.2022 17:41

greebo


Details Diff
0006110: Add unit test checking the layer configuration of materials constructed from raw texture files Affected Issues
0006110
mod - test/Materials.cpp Diff File

DarkRadiant: master 4bf6abca

06.10.2022 17:51

greebo


Details Diff
0006110: Ensure the shader template is parsed before adding layers Affected Issues
0006110
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File

DarkRadiant: codetokeniser 0039f97b

08.10.2022 07:02

greebo


Details Diff
0006110: Add CodeTokeniser unit test, confirm that the preprocessor is working Affected Issues
0006110
mod - test/CMakeLists.txt Diff File
add - test/CodeTokeniser.cpp Diff File
add - test/resources/tdm/guis/parse_test2.gui Diff File
add - test/resources/tdm/guis/parse_test_include2.guicode Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File

DarkRadiant: codetokeniser 8d4f6504

08.10.2022 07:34

greebo


Details Diff
0006110: Add CodeTokeniser tests, including the problematic scenario "rect-100" Affected Issues
0006110
mod - test/CodeTokeniser.cpp Diff File

DarkRadiant: codetokeniser fb2483f7

08.10.2022 07:41

greebo


Details Diff
0006110: Another (failing) CodeTokeniser test Affected Issues
0006110
mod - test/CodeTokeniser.cpp Diff File

DarkRadiant: codetokeniser 66a86024

08.10.2022 08:00

greebo


Details Diff
0006110: Syntax refactoring Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File

DarkRadiant: codetokeniser 56eea77b

08.10.2022 08:26

greebo


Details Diff
0006110: Add a couple of operator characters to the list of kept delimiters Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File
mod - plugins/dm.gui/gui/GuiManager.cpp Diff File
mod - test/CodeTokeniser.cpp Diff File

DarkRadiant: codetokeniser 5034a6e7

08.10.2022 09:12

greebo


Details Diff
0006110: More CodeTokeniser unit tests checking quotes and quote escaping, plus a large test covering macro expansion Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File
mod - test/CodeTokeniser.cpp Diff File

DarkRadiant: codetokeniser 84d1613c

08.10.2022 12:21

greebo


Details Diff
0006110: Add more CodeTokeniser unit tests Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File
mod - test/CodeTokeniser.cpp Diff File

DarkRadiant: codetokeniser cd01f3fc

08.10.2022 16:12

greebo


Details Diff
0006110: Add operators whitelist to CodeTokeniser, to be supplied in the constructor

Add specialised GuiTokeniser which declares just the supported GUI script operators.
Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File
add - libs/parser/GuiTokeniser.h Diff File
mod - plugins/dm.gui/gui/GuiManager.cpp Diff File
mod - test/CodeTokeniser.cpp Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

DarkRadiant: codetokeniser d388acef

08.10.2022 16:30

greebo


Details Diff
0006110: Pass list of recognised operators to tokeniser function Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File

DarkRadiant: codetokeniser a8efd81d

09.10.2022 04:52

greebo


Details Diff
0006110: First operator matching algorithm Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File
mod - test/CodeTokeniser.cpp Diff File

DarkRadiant: codetokeniser e74873b8

09.10.2022 07:02

greebo


Details Diff
0006110: Improve operator recognition Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File
mod - test/CodeTokeniser.cpp Diff File

DarkRadiant: codetokeniser b4565861

09.10.2022 09:54

greebo


Details Diff
0006110: Improve macro expansion code Affected Issues
0006110
mod - libs/parser/CodeTokeniser.h Diff File
mod - test/CodeTokeniser.cpp Diff File

Issue History

Date Modified Username Field Change
27.09.2022 04:40 joebarnin New Issue
27.09.2022 04:40 joebarnin File Added: readable.jpg
27.09.2022 04:47 greebo Status new => acknowledged
06.10.2022 16:59 greebo Status acknowledged => confirmed
06.10.2022 17:40 greebo Assigned To => greebo
06.10.2022 17:40 greebo Status confirmed => assigned
06.10.2022 17:40 greebo Target Version => 3.4.0
06.10.2022 17:51 greebo Changeset attached => DarkRadiant master cecee3b2
06.10.2022 17:51 greebo Changeset attached => DarkRadiant master 4bf6abca
08.10.2022 09:14 greebo Changeset attached => DarkRadiant codetokeniser 0039f97b
08.10.2022 09:14 greebo Changeset attached => DarkRadiant codetokeniser 8d4f6504
08.10.2022 09:14 greebo Changeset attached => DarkRadiant codetokeniser fb2483f7
08.10.2022 09:14 greebo Changeset attached => DarkRadiant codetokeniser 66a86024
08.10.2022 09:14 greebo Changeset attached => DarkRadiant codetokeniser 56eea77b
08.10.2022 09:14 greebo Changeset attached => DarkRadiant codetokeniser 5034a6e7
09.10.2022 15:14 greebo Changeset attached => DarkRadiant codetokeniser 84d1613c
09.10.2022 15:14 greebo Changeset attached => DarkRadiant codetokeniser cd01f3fc
09.10.2022 15:14 greebo Changeset attached => DarkRadiant codetokeniser d388acef
09.10.2022 15:14 greebo Changeset attached => DarkRadiant codetokeniser a8efd81d
09.10.2022 15:14 greebo Changeset attached => DarkRadiant codetokeniser e74873b8
09.10.2022 15:14 greebo Changeset attached => DarkRadiant codetokeniser b4565861
09.10.2022 16:15 greebo Status assigned => resolved
09.10.2022 16:15 greebo Resolution open => fixed
09.10.2022 16:15 greebo Fixed in Version => 3.4.0