Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.
Moderator: GZDoom Developers
Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
James Flasch
Posts: 42 Joined: Tue Dec 13, 2016 5:32 pm
Post
by James Flasch » Mon Aug 01, 2022 7:48 pm
Why does GZDoom think this fontdefs file has 69 lines when it only has 68???????????????????????????? (And why is it thinking that now when it didn't think that last night?)
Code: Select all
// SmallFont
SMALLFNT
{
! FONTA01
" FONTA02
# FONTA03
$ FONTA04
% FONTA05
& FONTA06
' FONTA07
( FONTA08
) FONTA09
* FONTA10
+ FONTA11
' FONTA12
- FONTA13
. FONTA14
/ FONTA15
0 FONTA16
1 FONTA17
2 FONTA18
3 FONTA19
4 FONTA20
5 FONTA21
6 FONTA22
7 FONTA23
8 FONTA24
9 FONTA25
: FONTA26
; FONTA27
< FONTA28
= FONTA29
> FONTA30
? FONTA31
@ FONTA32
A FONTA33
B FONTA34
C FONTA35
D FONTA36
E FONTA37
F FONTA38
G FONTA39
H FONTA40
I FONTA41
J FONTA42
K FONTA43
L FONTA44
M FONTA45
N FONTA46
0 FONTA47
P FONTA48
Q FONTA49
R FONTA50
S FONTA51
T FONTA52
U FONTA53
V FONTA54
W FONTA55
X FONTA56
Y FONTA57
Z FONTA58
[ FONTA59
\ FONTA60
] FONTA61
^ FONTA62
_ FONTA63
NOTRANSLATION 109 // don't touch the shadow color!
}
Graf Zahl
Lead GZDoom+Raze Developer
Posts: 49071 Joined: Sat Jul 19, 2003 10:19 am
Location: Germany
Post
by Graf Zahl » Mon Aug 01, 2022 11:42 pm
Your problem is the quotation mark. Since this is used to start a string literal it needs to be escaped, i.e. "\"". This is a limitation of the parser and cannot be changed.
James Flasch
Posts: 42 Joined: Tue Dec 13, 2016 5:32 pm
Post
by James Flasch » Tue Aug 02, 2022 12:08 am
tried "\"" and "/"" and neiither worked so until I figure out what does I'll have to comment out those lines.
Graf Zahl
Lead GZDoom+Raze Developer
Posts: 49071 Joined: Sat Jul 19, 2003 10:19 am
Location: Germany
Post
by Graf Zahl » Tue Aug 02, 2022 12:49 am
What does "neither worked" mean?
James Flasch
Posts: 42 Joined: Tue Dec 13, 2016 5:32 pm
Post
by James Flasch » Tue Aug 02, 2022 1:00 am
That I placed a slash before the quote marks (and then a backslash) and still got the same error message as before about an unexpected end of file on a 69th line that doesn't exist.
Graf Zahl
Lead GZDoom+Raze Developer
Posts: 49071 Joined: Sat Jul 19, 2003 10:19 am
Location: Germany
Post
by Graf Zahl » Tue Aug 02, 2022 1:17 am
That essentially means you have an unterminated string constant. Can you paste your entire code with the '\' present? The normal forward slash / won't do anything at all here - this is not a path separator,
James Flasch
Posts: 42 Joined: Tue Dec 13, 2016 5:32 pm
Post
by James Flasch » Tue Aug 02, 2022 11:17 am
Here it is.
Code: Select all
// SmallFont
SMALLFNT
{
! FONTA01
\" FONTA02
# FONTA03
$ FONTA04
% FONTA05
& FONTA06
\' FONTA07
( FONTA08
) FONTA09
* FONTA10
+ FONTA11
, FONTA12
- FONTA13
. FONTA14
/ FONTA15
0 FONTA16
1 FONTA17
2 FONTA18
3 FONTA19
4 FONTA20
5 FONTA21
6 FONTA22
7 FONTA23
8 FONTA24
9 FONTA25
: FONTA26
; FONTA27
< FONTA28
= FONTA29
> FONTA30
? FONTA31
@ FONTA32
A FONTA33
B FONTA34
C FONTA35
D FONTA36
E FONTA37
F FONTA38
G FONTA39
H FONTA40
I FONTA41
J FONTA42
K FONTA43
L FONTA44
M FONTA45
N FONTA46
0 FONTA47
P FONTA48
Q FONTA49
R FONTA50
S FONTA51
T FONTA52
U FONTA53
V FONTA54
W FONTA55
X FONTA56
Y FONTA57
Z FONTA58
[ FONTA59
\ FONTA60
] FONTA61
^ FONTA62
_ FONTA63
NOTRANSLATION 109 // don't touch the shadow color!
}
Graf Zahl
Lead GZDoom+Raze Developer
Posts: 49071 Joined: Sat Jul 19, 2003 10:19 am
Location: Germany
Post
by Graf Zahl » Tue Aug 02, 2022 11:26 am
Yeah, that's not correct. I said "\"", not \". you can use escapes only in quoted strings.
James Flasch
Posts: 42 Joined: Tue Dec 13, 2016 5:32 pm
Post
by James Flasch » Tue Aug 02, 2022 1:02 pm
Now have this, STILL giving me that error message!
Code: Select all
// SmallFont
SMALLFNT
{
! FONTA01
'\"' FONTA02
# FONTA03
$ FONTA04
% FONTA05
& FONTA06
"\'" FONTA07
( FONTA08
) FONTA09
* FONTA10
+ FONTA11
, FONTA12
- FONTA13
. FONTA14
/ FONTA15
0 FONTA16
1 FONTA17
2 FONTA18
3 FONTA19
4 FONTA20
5 FONTA21
6 FONTA22
7 FONTA23
8 FONTA24
9 FONTA25
: FONTA26
; FONTA27
< FONTA28
= FONTA29
> FONTA30
? FONTA31
@ FONTA32
A FONTA33
B FONTA34
C FONTA35
D FONTA36
E FONTA37
F FONTA38
G FONTA39
H FONTA40
I FONTA41
J FONTA42
K FONTA43
L FONTA44
M FONTA45
N FONTA46
O FONTA47
P FONTA48
Q FONTA49
R FONTA50
S FONTA51
T FONTA52
U FONTA53
V FONTA54
W FONTA55
X FONTA56
Y FONTA57
Z FONTA58
[ FONTA59
\ FONTA60
] FONTA61
^ FONTA62
_ FONTA63
NO
Graf Zahl
Lead GZDoom+Raze Developer
Posts: 49071 Joined: Sat Jul 19, 2003 10:19 am
Location: Germany
Post
by Graf Zahl » Tue Aug 02, 2022 1:32 pm
Because you used single quotes. I said "\""
Graf Zahl
Lead GZDoom+Raze Developer
Posts: 49071 Joined: Sat Jul 19, 2003 10:19 am
Location: Germany
Post
by Graf Zahl » Tue Aug 02, 2022 1:39 pm
Works for me when I take your file, replace the single quotes and the missing closing brace at the end.
Code: Select all
SMALLFNT
{
! FONTA01
"\"" FONTA02
# FONTA03
$ FONTA04
% FONTA05
& FONTA06
"\'" FONTA07
( FONTA08
) FONTA09
* FONTA10
+ FONTA11
, FONTA12
- FONTA13
. FONTA14
/ FONTA15
0 FONTA16
1 FONTA17
2 FONTA18
3 FONTA19
4 FONTA20
5 FONTA21
6 FONTA22
7 FONTA23
8 FONTA24
9 FONTA25
: FONTA26
; FONTA27
< FONTA28
= FONTA29
> FONTA30
? FONTA31
@ FONTA32
A FONTA33
B FONTA34
C FONTA35
D FONTA36
E FONTA37
F FONTA38
G FONTA39
H FONTA40
I FONTA41
J FONTA42
K FONTA43
L FONTA44
M FONTA45
N FONTA46
O FONTA47
P FONTA48
Q FONTA49
R FONTA50
S FONTA51
T FONTA52
U FONTA53
V FONTA54
W FONTA55
X FONTA56
Y FONTA57
Z FONTA58
[ FONTA59
\ FONTA60
] FONTA61
^ FONTA62
_ FONTA63
}