Pocket Plane Group

Miscellany, Inc. => Tutorials => Topic started by: Mobius572 on January 15, 2010, 03:48:59 PM

Title: Mpd Problems Help!
Post by: Mobius572 on January 15, 2010, 03:48:59 PM
I followed Ghreyfain's instructions and I got this. I've done all of the suggestions but that just keeps happening! What's wrong? What should I do?

I run ZaknafeinTheNPC-setup but I get this: [E:\Infinity Engine\BGII-SoA\ZakTheNPC\ZaknafeinTheNPC-setup.exe] WeiDU version 185.
[ZAKNAFEINTHENPC-SETUP.TP2] PARSE ERROR at line 1 colum 0--1
Near Text: syntax error

[ZAKNAFEINTHENPC-SETUP.TP2] ERROR at line 1 colum 0--1
Near Text: Parsing.Parse_error
ERROR: parsing [ZAKNAFEINTHENPC-SETUP.TP2] Parsing.Parse_error
ERROR: problem parsing TP file [ZAKNAFEINTHENPC-SETUP.TP2] Parsing.Parse_error

FATAL ERROR: Parsing.Parse_error

Press ENTER to Quit.

E-mail me for the files, do whatever, and tell me in the e back how you did that and how to prevent it. Please help!
Title: Re: Mpd Problems Help!
Post by: Miloch on January 15, 2010, 09:14:48 PM
You need to post the contents of your .tp2 file (which should probably be called setup-*.tp2 not *-setup.tp2). It's obviously something basic since it errored on the first line (likely a missing BACKUP, AUTHOR or BEGIN statement, all of which you need for any mod).
Title: Re: Mpd Problems Help!
Post by: Jarno Mikkola on January 16, 2010, 08:25:15 AM
I followed Ghreyfain's instructions and I got this. I've done all of the suggestions but that just keeps happening! What's wrong? What should I do?

I run ZaknafeinTheNPC-setup but I get this: [E:\Infinity Engine\BGII-SoA\ZakTheNPC\ZaknafeinTheNPC-setup.exe] WeiDU version 185.
[ZAKNAFEINTHENPC-SETUP.TP2] PARSE ERROR at line 1 colum 0--1
Near Text: syntax error
... Please help!
The file called 'ZaknafeinTheNPC-setup.exe' needs to be in the primary game folder, so move it into E:\Infinity Engine\BGII-SoA\ and rerun it. It's probably extraction foldering error, so you probably need to also remove the whole ZakTheNPC folder from the middle if it has same folder within itself...
Title: Re: Mpd Problems Help!
Post by: Mobius572 on January 30, 2010, 08:56:46 AM
Ouch. I forgot the .tp2
How do I make a .tp2 file (besides just renaming a blank .txt and renaming it like I did)?

I couldn't find theat on Ghrey's tutorial.
Title: Re: Mpd Problems Help!
Post by: Miloch on January 30, 2010, 11:21:13 AM
Well that would definitely cause an error :D. Copy the .tp2 of another mod or download WeiDU and get mymod.tp2 from the examples folder. All you really need in the file is:
Code: [Select]
BACKUP ~mymod/backup~
AUTHOR ~whatever~

BEGIN ~My Mod~

//code for what you want to do, such as:
COMPILE ~mymod/dialog/mydialog.d~

COPY ~mymod/cre/mynpc.cre~ ~override~
  SAY NAME1 ~My NPC~
  SAY NAME2 ~My NPC~
//etc.
Surely this must be covered in some tutorial... I think Ace has one on NPCs too that is probably more recent.