Sign in to follow this  
AmanoJyaku

Editing dialog conditionals

Recommended Posts

TSLRCM is awesome, but it's changed the game from what I remember 15 years ago. One example is the "Naming of the Gand" quest, which requires a minimum awareness of 16  to complete. Since I first encountered this with Mira, I had to restart from a save prior to Nar Shadaa and complete it with the Exile.

However, before this I tried to modify the conditional to lower the awareness check. This failed badly:

  • I navigated to the Steam workshop directory and found 304nar.mod in the modules directory
  • I used ERF Editor 0.5 to extract gandwar.dlg
  • I used DLGEditor v2.3.2 to lower the awareness to any value (1, 5, 10, etc...)
  • I use ERF Editor to replace the original gandwar.dlg with the modified version

When I played the game with Mira entering the Jekk-Jekk Tarr for the first time, it crashed. So, what am I doing wrong? I want to get expert advice before I try TSLPatcher next. :)

Share this post


Link to post
Share on other sites

There doesn't appear to be any problem with the DLG. And even if there was, that shouldn't cause a crash on loading the module. The MOD seems fine. Doesn't look like anything is missing.

The crash is repeatable I take it? If you temporarily remove the MOD from the modules folder, do the crashes stop?

Share this post


Link to post
Share on other sites

I'll try again with another save (and maybe another computer) just to confirm, but it crashed on me each time last night. Replacing the modified file with the original fixed everything.

I do see something odd regarding the mod file sizes. Since I'm modifying an integer, the file sizes should be the same. But they aren't. The original file (1,033,186 bytes) is 32 bytes smaller than the modified file (1,033,218 bytes)!

So, there is either a bug in one of the programs, or I screwed up my edits... Thanks again!

Share this post


Link to post
Share on other sites

No, they will never be the same because DLGEditor adds a bunch of extraneous crap to every node it edits, plus it adds a custom field that says the file was modified by it and what the time/date was (KTool does the same thing, but across three fields).

  • Thanks 1

Share this post


Link to post
Share on other sites

Yeah, I just checked and the DLG files are different. I probably could have achieved the fix if I had used a hex editor...

Ah, well. I'll worry about DLGEditor another time, probably when I write my own utilty to replace all the existing utilities. (I have reasons, and I'm crazy.)

Thanks again!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this