Jump to content


Photo

need some help regarding ini initialising


  • Please log in to reply
2 replies to this topic

#1 gansnudel

gansnudel
  • Members
  • 25 posts

Posted 15 June 2006 - 04:54 PM

So my balance/bugfix polish mod is finished, but I seem to be unable to make it a convenient install.

I modded a lot of files in ini.big, the lotr.str in patch1.03.big and music_musicscripts_single.map in libraries.big.

Everything is working fine in my modded bfme2 folder, where I extracted the original .big files and renamed them afterwards to .bac .
Getting the modded ini.big to work in a vanilla bfme2 install is no problem, I just name it abcini.big and it takes precedence over the ini.big file that is already there.

However I have found no way to get the Lotr.str and the musicscripts.map to work without replacing the original. big files where they come from. That´s not very practical for people who just want to play my mod, so is there a way to give my modified files priority over the existing ones without removing them?

I can´t use the -mod command, because I made a lot of changes in gamedata.ini and I don´t really want to track down all those numbers in the object files.

#2 Sûlherokhh

Sûlherokhh

    Sagacious Engineer

  • Project Team
  • 3,754 posts
  • Location:Central Germany
  • Projects:S.E.E., Sage A.I., Code Advisor
  •  'Axe'er of the Gordic Knot

Posted 15 June 2006 - 08:06 PM

The problem is that the lotr.str/csf files are located in the 'lang'-folder, at least the current one from the last patches. If you remove them, or better yet, move them (all) to the main folder, they will not take precedence anymore.

Btw., if you modify the strings, you probably should use these new lotr.str-files (from the last patches) as the basic one, not the one in the main folder.

The file the lotr.str is located in is called 'englishpatch103.big'


So, effectively your installer should rename these englishpatch-files (add the bac), so they will simply not be read.

Edited by Sulherokhh, 15 June 2006 - 08:08 PM.

bannerreal01mittelit3.jpg
Axed Head and A.I. Coder for S.E.E. and ... stuff

".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."


#3 gansnudel

gansnudel
  • Members
  • 25 posts

Posted 15 June 2006 - 10:02 PM

Nevermind, I had accidentally broken my music triggers, but still had a working version in one of the ini.files. This confused me totally. Now everything is fine and installation is easy :excl: .




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users