D won't turn into DLG
Started by Kiki, May 08 2003 11:12 PM
8 replies to this topic
#1
Posted 08 May 2003 - 11:12 PM
I feel quite stupid for even asking this question, but this problem has been baffling me.
A few months ago, I made a simple NPC and installed it on my computer. No problem, she approached my party, asked to join, I said yes, and she was in and functional. Since then, I've gotten a new computer and decided to install her. Using the same files (except the CRE file, which I changed), nothing happens. She approaches my PC and is unable to initiate any dialog. Upon inspection, her DLG file seems to be blank.
I've been using a TP2 file with no results. I tried to manually compile her D file (weidu reyna/reyna.d --out override --tlkout dialog.tlk) and still the DLG file is blank. WeiDU seems able to parse the file but notes that there are 0 states, 0 trans, etc.
I am using WeiDU 122. And reyna.d is not blank. OK, so tell me what stupid mistake I'm making, please.
A few months ago, I made a simple NPC and installed it on my computer. No problem, she approached my party, asked to join, I said yes, and she was in and functional. Since then, I've gotten a new computer and decided to install her. Using the same files (except the CRE file, which I changed), nothing happens. She approaches my PC and is unable to initiate any dialog. Upon inspection, her DLG file seems to be blank.
I've been using a TP2 file with no results. I tried to manually compile her D file (weidu reyna/reyna.d --out override --tlkout dialog.tlk) and still the DLG file is blank. WeiDU seems able to parse the file but notes that there are 0 states, 0 trans, etc.
I am using WeiDU 122. And reyna.d is not blank. OK, so tell me what stupid mistake I'm making, please.
Placetne, magistra?
#2
Posted 09 May 2003 - 02:20 AM
Perhaps Wes knows the answer instantly, but let me make a few suggestions for a bug hunt while we wait for the sensei.
Go to the `reyna' directory and try `weidu reyna.d --log reyna.log --tlkout reyna.tlk' and see what that gives. Is there anything in the logfile that looks odd?
Try the `--nogame' option (WeiDU may complain about not finding things, but at least it complains. :-)
Give us the beginning of the .D file. Flying blind is very hard. If it looks anything like
Incidentally, ignorance is only stupid if it's not acknowledged. There is such a thing as a stupid question, but asking questions is itself never stupid.
Go to the `reyna' directory and try `weidu reyna.d --log reyna.log --tlkout reyna.tlk' and see what that gives. Is there anything in the logfile that looks odd?
Try the `--nogame' option (WeiDU may complain about not finding things, but at least it complains. :-)
Give us the beginning of the .D file. Flying blind is very hard. If it looks anything like
BEGIN ~rayna~ IF ~NumTimesTalkedTo(0)~ THEN BEGIN first_meeting SAY "I saw a ship a-sailing, a-sailing on the sea." ... ENDWeiDU should at least produce *something*. Warnings, errors, anything?
Incidentally, ignorance is only stupid if it's not acknowledged. There is such a thing as a stupid question, but asking questions is itself never stupid.
#3 -jcompton-
Posted 09 May 2003 - 08:23 AM
Post the debug you get from using the TP2.
#4
Posted 09 May 2003 - 08:45 AM
Perhaps a forgotten or wrong BEGIN statement in the d file? At least this is my usuall mistake
#6
Posted 09 May 2003 - 09:21 AM
It looks like your example. When I manually ran the compile, WeiDU said something like "Successfully parsed ... 0 states, 0 trans, 0 triggers." No error messages, like lexing: empty token or what-have-you.Give us the beginning of the .D file.
I don't think so. I got ConTEXT and loaded the syntax highlighter, and every block has a big blue (or is it green?) BEGIN. But I'll double-check. Definitely it starts with BEGIN ~Reyna~.Perhaps a forgotten or wrong BEGIN statement in the d file?
Alas, no. Only Syn or ConText and Windows Explorer were open the 5,000 times I tried running the setup.Another possibility is that you ran the setup file while BGII or some other "tlk-locking" program was open.
OK, I'll do that tonight.Post the debug you get from using the TP2.
Well, at least it seems like I'm not missing anything simple. So far.
Placetne, magistra?
#8
Posted 09 May 2003 - 03:02 PM
Post the D (shrink the strings if you like).
The "0 states, 0 transitions" thing means that WeiDU for some reason thinks you are not defining anything in your file. Is the whole thing commented out by any chance? Another possibility is that there is an empty D file with a similar name lying around somewhere that WeiDU is loading instead.
The "0 states, 0 transitions" thing means that WeiDU for some reason thinks you are not defining anything in your file. Is the whole thing commented out by any chance? Another possibility is that there is an empty D file with a similar name lying around somewhere that WeiDU is loading instead.
#9
Posted 09 May 2003 - 05:36 PM
Well, it seems like the 5,001st time is the charm. I compiled it just one more time, just in case, and this time it worked. I *know* I didn't do anything differently this time, and I know that I didn't have NI, Shadowkeeper, or the game open the other 5,000 times.
Unfortunately the debug file has been overwritten by the successful install, but when I looked at it prior to that, it said:
Note that it did not know there was a ReynaP section, which it is now aware of.
I won't bother posting the D file, as apparently there weren't any problems with it.
Unfortunately the debug file has been overwritten by the successful install, but when I looked at it prior to that, it said:
[reyna/reyna.d] parsed Processing 1 dialogues/scripts ... Adding REYNA to internal list of available DLGs [REYNA.DLG] saved 0 states, 0 trans, 0 strig, 0 ttrig, 0 actions
Note that it did not know there was a ReynaP section, which it is now aware of.
I won't bother posting the D file, as apparently there weren't any problems with it.
Placetne, magistra?