[WeiDU Mod] NPC Renamer
Erg
Member Posts: 1,756
BG Version: This mod works with BG:EE and BGII:EE (credit and thanks for the BGII:EE component go to @CrevsDaak )
Languages: English only
Version: 3
Mod Description:
This mod allows to rename NPCs through an (hopefully) easy to use textual menu. It will work for both new and ongoing games.
Using the textual menu, one can rename several NPCs, or several times the same NPC (e.g. to fix a typo), by just selecting their corresponding number(s), until one is fully satisfied with the changes and ready to proceed with the installation.
However, once the mod has been installed, further name changes are only possible by uninstalling or re-installing. In both cases all NPCs will revert to their original names (e.g. if the mod has been installed, one can't just rerun the installer and rename only one NPC while retaining custom names for the others).
Installation instructions:
See the enclosed ReadMe file.
This mod has been inspired by this discussion.
Many thanks to @CrevsDaak (for writing) and to @TheFanxza (for testing) the BGII:EE component of this mod.
Edit: this is how the textual menu looks like
Languages: English only
Version: 3
Mod Description:
This mod allows to rename NPCs through an (hopefully) easy to use textual menu. It will work for both new and ongoing games.
Using the textual menu, one can rename several NPCs, or several times the same NPC (e.g. to fix a typo), by just selecting their corresponding number(s), until one is fully satisfied with the changes and ready to proceed with the installation.
However, once the mod has been installed, further name changes are only possible by uninstalling or re-installing. In both cases all NPCs will revert to their original names (e.g. if the mod has been installed, one can't just rerun the installer and rename only one NPC while retaining custom names for the others).
Installation instructions:
See the enclosed ReadMe file.
This mod has been inspired by this discussion.
Many thanks to @CrevsDaak (for writing) and to @TheFanxza (for testing) the BGII:EE component of this mod.
Edit: this is how the textual menu looks like
Post edited by Erg on
12
Comments
I can't make a version of this mod for BG2:EE as I don't have BG2:EE, so I would not be able to properly test it.
However, if someone else wants to do it, without starting from scratch, they are free to use the code in my tp2 file and change it and/or improve it as they see fit.
Edit: I took a look and updated it, I haven't tested it but it *should* work. [spoiler=modified tp2] [/spoiler]
I am unfortunatelly not as good as you guys are with mods... but i can test it, just tell me how and i will
Also, you should add yourself as AUTHOR (if you want to).
"ERROR: problem parsing TP file [ERG_NPC_RENAMER_V1.TP2]: Failure ("No rule to identify BG2EE")
FATAL ERROR: Failure ("No rule to identify BG2EE")
If I divide the script, starting from just the part for BG2EE it unfortunately does not work either.
The reason is the same.
If you need a quicker reply I can send you my Skype or email.
In fact, I haven't updated the WeiDU file in my mod in a while.
I will upload soon an updated version. Alternatively, if you don't want to wait, you can download the most recent version of WeiDU and replace the exe file yourself.
Edit: uploaded the new version.
The first part of the tp2 made the program not work, i cut the reference to BGEE and left just the one on the BG2EE. (Update: Using the corrected Crevs part in full it works)
The program works but somehow it changes the name to selected NPC (Korgan and imoen got renamed, Yoshimo, Minsc and Keldorn couldn't ).
For the ones that it did not change the name, this is what happens:
It just poses the question on which character is to be changed again, skips the proper question on how to name it.
I thought it could have been something related on the fact that imoen is in both games...but then why Korgan got renamed and minsc didn't?
I will try again without the changes on the p2 file but we are getting close!
That probably refers to the first part of the script with the reference backup folder.
@CrevsDaak can you please update erg_npcs_array, in the BG2:EE component, with valid file names? It should be something like You can choose freely one name among the existing ones, i.e. you can use either AERIE7 or AERIE6, if the corresponding CRE files are both present.
In case I could go look for it if you tell me how to do it and post them here below, I guess they may be needed not just for us.
Update: I may have found the files, for now the program is working with this correction in that part:
~~ ~AERIE10~ ~ANOMEN6~ ~CERND10~ ~NEERA8~ ~DORN8~
~JAN8~ ~EDWIN7~ ~KORGAN8~ ~HAER10~ ~OHHFAK11~
~IMOEN~ ~JAHEIR8~ ~KELDOR8~ ~OHHEX8~ ~WILSON13~
~MINSC7~ ~RASAAD8~ ~VICONI8~ ~VALYG8~ ~YOSHI7~
~MAZZY8~
I took the .cre of the lower number since I remember they were connected on the levels.
Tried it and it works like a charm... for now, I need double check from someone who can actually do these stuff
I updated them all, added Sarevok and Nalia (that were missing).
Thanks for all the help. I really appreciate it.
I've updated the first post and uploaded version 3 of the mod. It contains slightly modified tp2 and ReadMe files.
WeiDU v 23600 Log
C:\Program Files (x86)\Steam\SteamApps\common\Baldur's Gate Enhanced Edition\setup-Erg_NPC_Renamer.exe
[./chitin.key] loaded, 498152 bytes
[./chitin.key] 197 BIFFs, 35164 resources
[.\weidu.conf] loaded, 17 bytes
[lang\en_us/dialog.tlk] loaded, 4582838 bytes
[lang\en_us/dialog.tlk] 32302 string entries
WARNING: parsing log [WeiDU.log]: Sys_error("WeiDU.log: No such file or directory")
Using lang\en_us/dialog.tlk
BIFF may be in hard-drive CD-path [./lang/en_us/DATA/AREAS.BIF]
BIFF may be in hard-drive CD-path [./cache/DATA/AREAS.BIF]
[./DATA/AREAS.BIF] 2279736 bytes, 457 files, 0 tilesets
BIFF may be in hard-drive CD-path [./lang/en_us/DATA/EXPAREAS.BIF]
BIFF may be in hard-drive CD-path [./cache/DATA/EXPAREAS.BIF]
[./DATA/EXPAREAS.BIF] 310040 bytes, 47 files, 0 tilesets
BIFF may be in hard-drive CD-path [./lang/en_us/DATA/OH1000.BIF]
BIFF may be in hard-drive CD-path [./cache/DATA/OH1000.BIF]
[./DATA/OH1000.BIF] 1000 bytes, 1 files, 0 tilesets
To do it, you can either attach SETUP-ERG_NPC_RENAMER.DEBUG here, but it must be zipped (or rared or 7zipped, etc.) first or you can simply copy paste the whole content, preferably under a spoiler tag.
Can I mod this mod, so I can rename all NPC's. I want to rename commoners !
The game always checks for death variables, which are unaffected. So no.
I have run into a problem with this mod. When I try to change Keldorn's name it just enters into a loop of asking me to select an interger between 1-23 or 0 to confirm changes already made.
Not sure if serious or not, but the death variable is essentially the internal script name for the creature. You can name the creature whatever you want, but its death variable will always be CORAN.