Jump to content


Photo

.DLG =/= .D files?


  • Please log in to reply
12 replies to this topic

#1 Aliya

Aliya

    Pink-Eyed Menace!

  • Member
  • 1619 posts

Posted 10 March 2010 - 04:50 AM

While skipping through my BG folders, I was bored. Then I thought, maybe read some dialogs from .D files? I opened first folder, that caught my eye, (Damn. ER.) and started to read. Upon stumbling on a 'backup' folder I found some .DLG files. After fruitless attempts to open it, I clicked on 'Open With'. Windows didn't recognize .DLGs and asked with what program should he open. Below I noticed a white space. (I didn't read the instruction attentively). So I entered there 'notepad' words. Then I saw that every .DLG files in the folder turned into 'notepad file'. :blink: There was long string of swearing from me at this point, coz I completely screwed up the whole romance in the game. I honestly thought that the whole text in BG is controlled by Dialog.TLK. Apparently not. Can I undo this? I tried to download files straight from site, but didn't find there any backup files. I tried to force dialogs via CLUA and Globals. I tried to re-install mod (too much freaking time.), but nothing. I'm getting desperate here. :crying: I want to end SoA portion of the BG, already.

#2 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 10 March 2010 - 05:11 AM

The keys to delete are to remove the association are \HKEY_CLASSES_ROOT\.dlg, HKEY_CURRENT_USER\Software\Classes\.dlg, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dlg, HKEY_USERS\*\Software\Classes\.dlg and HKEY_USERS\*\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dlg - make sure to backup your registry before removing anything from there. You might need a full game and mods reinstall because Windows utilities sometimes are so dumb that they corrupt binary files on opening, not even on saving them.

The best program for browsing .dlg files is Infinity Explorer (which gives a nice tree view of the dialogue structure).

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#3 Aliya

Aliya

    Pink-Eyed Menace!

  • Member
  • 1619 posts

Posted 10 March 2010 - 06:24 AM

Ekhm... :ph34r:

Thanks! I'll see to it. But.. Are you sure I need to remove them?

EDIT: Okay, I lost. I can't find them even with search.

Edited by Aliya, 10 March 2010 - 06:30 AM.


#4 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 10 March 2010 - 06:28 AM

I doubt you need to remove the association, but it can't hurt (especially to avoid double clicking .dlg files by mistake again).

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#5 Aliya

Aliya

    Pink-Eyed Menace!

  • Member
  • 1619 posts

Posted 10 March 2010 - 06:39 AM

I'm feeling stupid asking you of this... but can you show a full paths to these associations?

#6 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 10 March 2010 - 08:01 AM

1) Open regedit
2) Edit->Find->type ".dlg"
3) Press F3 to search until you find a folder called ".dlg" in the left pane and delete those folders one by one until the search can't find more :)
4) Restart the PC for changes to take effect (dunno if this is needed though :P)

Edited by Lollorian, 10 March 2010 - 08:03 AM.

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#7 Aliya

Aliya

    Pink-Eyed Menace!

  • Member
  • 1619 posts

Posted 10 March 2010 - 08:09 AM

What now? I deleted two .Dlg folders and back upped regedit.

#8 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 10 March 2010 - 08:16 AM

That should've done the job :unsure: But only 2 folder things?? I have .tp2's set to open with notepad and I have 4 .tp2 folders...

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#9 Aliya

Aliya

    Pink-Eyed Menace!

  • Member
  • 1619 posts

Posted 10 March 2010 - 08:43 AM

Wait, what's with .tp2s? But I'm not sure what those ere .Dlg files anymore, cuz there are still in 'notepad' state. There files are BODHI, BODHIAMB, BVICONI and etc. I attached one of them.
Attached File  BANOMEN.dlg   93.67K   209 downloads

Ok, ok, there are DLGs, but what should I do now?

Edited by Aliya, 10 March 2010 - 08:44 AM.


#10 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 10 March 2010 - 08:45 AM

That was just an example lol :P .tp2's are the files that come with mods :)

Did you restart the system??

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#11 Aliya

Aliya

    Pink-Eyed Menace!

  • Member
  • 1619 posts

Posted 10 March 2010 - 09:00 AM

Restarted. Nope, still notepads.

#12 Aliya

Aliya

    Pink-Eyed Menace!

  • Member
  • 1619 posts

Posted 11 March 2010 - 02:14 AM

Double post, sorry.

Anyway, I tried to copy the same files from the PC, and guess what? NOTEPADS! :angry: Still notepads.

#13 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 11 March 2010 - 03:52 AM

Well, this should help make things easier :)

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod