GotGoose? Posted January 18, 2005 Share Posted January 18, 2005 Hello. I have started modding and have already done the Module and Dialog in-depth tutorial located in the tutorial thread. I am creating a module based off of that tutorial and want to compile a .mod file from the files I have. However, when I add all the files in KOTOR Tool's ERF Builder and press the Build ERF button, the program generates a index out of bounds error, as if there are too many files, and will not build the .mod file. Any help would be appreciated. EDIT: If I use less files, it will build successfully, but I still need the other files. Link to comment Share on other sites More sharing options...
Darth333 Posted January 18, 2005 Share Posted January 18, 2005 Never had such an error before . Perhaps you could Pm or e-mail Fred_tetra with the exact error message you are getting. Link to comment Share on other sites More sharing options...
Darkkender Posted January 19, 2005 Share Posted January 19, 2005 Originally posted by GotGoose? Hello. I have started modding and have already done the Module and Dialog in-depth tutorial located in the tutorial thread. I am creating a module based off of that tutorial and want to compile a .mod file from the files I have. However, when I add all the files in KOTOR Tool's ERF Builder and press the Build ERF button, the program generates a index out of bounds error, as if there are too many files, and will not build the .mod file. Any help would be appreciated. EDIT: If I use less files, it will build successfully, but I still need the other files. Well there is a couple of things have you tried building the erf with fewer files and then adding the extra ones in one at a time? If not I would try this and see if it works if it works then I would wager to guess that there is a file limit on the initial building of the erf. If it does not since Fred has been really quite of late. I might suggest building what you can of the erf and then using something like NWNeditor to add the rest of the files in to you erf. If you need this utility pm me and I can email it to you. Link to comment Share on other sites More sharing options...
GotGoose? Posted January 19, 2005 Author Share Posted January 19, 2005 Hmmm, I seem to have solved my problem. I made the name of a script I compiled smaller, and it seems to work now. I'm betting that KOTOR Tool doesn't support very large file paths or something, but I doubt it. I'm just glad it works now! Link to comment Share on other sites More sharing options...
tk102 Posted January 19, 2005 Share Posted January 19, 2005 Yes, the Resources in the .mod file specification must be 16 characters or less (not including the extension)... didn't think of that. KotOR Tool is just following the rules that Bioware made. See the specification yourself here if you are curious (under ERF Key List section). Link to comment Share on other sites More sharing options...
GotGoose? Posted January 19, 2005 Author Share Posted January 19, 2005 Thanks for the info tk102, I'll remember that. Just in case anyone was interested, my mod is called Greedo's Palace and has a merchant named Greedo who describes it in a sentence saying,"everyone's favorite place for guns, armor, and supplies!" Also, if you call Greedo a frozen tadpole (best I could think of for a rodian), he'll attack. Link to comment Share on other sites More sharing options...
tk102 Posted January 19, 2005 Share Posted January 19, 2005 Hey no problem GotGoose? Welcome to the forums. Already making a merchant and a .mod expansion: most auspicious. Link to comment Share on other sites More sharing options...
Fred Tetra Posted January 19, 2005 Share Posted January 19, 2005 I should add a check to make sure the names are compliant, just to reduce user grief.... Link to comment Share on other sites More sharing options...
GotGoose? Posted January 19, 2005 Author Share Posted January 19, 2005 Good idea Fred, I know how much trouble debugging and programming can be as I have programmed in different language such as VB, Java, and C# for years. I compliment you on your KOTOR Tool! Link to comment Share on other sites More sharing options...
Darkkender Posted January 19, 2005 Share Posted January 19, 2005 Good to hear that you got it working. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.