Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

Parsing errors with Weidu

$
0
0
Hi everyone.

I've been trying my first attempts at modding, now I want to compile my dialog file using weidu.

I used the command prompt from Japheth, seems to work, but i always have some issues, I don't see where my problem is in my coding. Here's an example :

C:\GOG Games\Baldurs Gate II - Enhanced Edition> weidu C:\Users\Vince\Desktop\CCAlaunNPC\Dialog\ccalaun.d --tlkout dialog.tlk --out override
[weidu] WeiDU version 24000
[.\chitin.key] 187 BIFFs, 62160 resources
[.\lang\en_us\dialog.tlk] 104482 string entries
[.\DATA\DEFAULT.BIF] 2838812 bytes, 507 files, 0 tilesets

[C:\Users\Vince\Desktop\CCAlaunNPC\Dialog\ccalaun.d] PARSE ERROR at line 19 column 1-3
Near Text: SAY
syntax error

[C:\Users\Vince\Desktop\CCAlaunNPC\Dialog\ccalaun.d] ERROR at line 19 column 1-3
Near Text: SAY
Parsing.Parse_error
ERROR: parsing [C:\Users\Vince\Desktop\CCAlaunNPC\Dialog\ccalaun.d]: Parsing.Parse_error

FATAL ERROR: Parsing.Parse_error

C:\GOG Games\Baldurs Gate II - Enhanced Edition>

I was wondering if it was my triggers that's making the errors. I have errors at BEGIN, SAY or whatever. I encoded my script in UTF8-without BOM, used Notepad++ and the Languages highlighters for Weidu.d.

Here's my script. I know I might have other errors, I'm trying to learn.

Thanks for your time !


Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images