Jump to content


Photo

my problems of where to install my mod


  • Please log in to reply
20 replies to this topic

#1 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 29 April 2006 - 06:09 PM

i have abit of a problem. i have made an installtion prgram for my mod, but where should i set it up to install the .big?
i cant set it up to install into the my bfme folder, cus i dont know their user name. I cant set it to intall into the main bfme folder, cus it does not read the .str.
so how should i do this?

i noticed that in bfme1 the elvenstar mod installed into the main bfme folder, and still kept the strings, how did they do that?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#2 zimoo

zimoo

    Ecthelion of the Fountain

  • Project Team
  • 2,009 posts
  • Location:Devon, England
  • Projects:Lurking until the off topic begins...
  •  Guardian of the Books

Posted 29 April 2006 - 06:14 PM

I'd recommend extracting your .big file to a folder somewhere (C:\BFME 2.5 for example) and then set up the shortcut so it reads "C:\Program Files\Electronic Arts\The Battle for Middle-earth ™ II\lotrbfme2.exe" -mod "C:\Bfme 2.5"
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

Playing games? Ah, you'll never be a good modder if you get involved in actually playing them!


#3 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 29 April 2006 - 07:46 PM

yes i knew of this way, but i presume u havent made an installtion program, cus that way can be a pain to do.
Does anyone know how the elvenstar mod team did it?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#4 King of Universe

King of Universe

    It is in our most dire needs, that we do our greatest deeds...

  • Hosted
  • 878 posts
  • Location:Norway
  • Projects:Hero Mod

Posted 29 April 2006 - 11:25 PM

i have abit of a problem. i have made an installtion prgram for my mod, but where should i set it up to install the .big?
i cant set it up to install into the my bfme folder, cus i dont know their user name.?

%appdata% takes you to Applicationdata. Just place %appdata%\My Battle for Middle-earth™ II Files
in the install

Posted Image


Frodo: I wish the Ring had never come to me... I wish none of this had happened...
Gandalf: So do all who live to see such times, but that is not for them to decide. All you have to decide, is what to do with the time that is given to you...

Click me

#5 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 29 April 2006 - 11:47 PM

ah thanks u all my problems solved :p
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#6 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 04 May 2006 - 05:59 PM

ive now tried that and it doesnt work, when installing it says could not install %appdata%\My Battle for Middle-earth™ II Files or something like that.

perhaps i wasnt claer about how im trying to do this. i uploaded the ini.big and bfme2.exe. i then set the sefualt path for installation to be the main bfme2 folder (C:\Program Files\Electronic Arts\The Battle for Middle-earth ™ II).
I then set up the installer to make a shortcut of the .exe file with the command -mod bfme2.5.big .
i then put other under installtion paths under the ini.big file, and set it to install in %appdata%\My Battle for Middle-earth™ II Files.

have i dont this right> or is there a better way? if not then what is the solution to my problem?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#7 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 04 May 2006 - 11:08 PM

i knew elven start mod had managed this so ive had alook at how it installs. They have done all their files like this.
_EM2__norespawn ------
contains some cah data
_EM2_data -----
contains the ini
_EM2_english ---
contains all the audio and strings
_EM2_textures ---
contains all the art

they ahve then made a .exe file. im not sure how .exe files work. Have they made the .exe read all the files with _EMT_ at the beginning of the name? can someone wal me through how it works, and how to make one please?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#8 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 05 May 2006 - 08:28 AM

That's an interesting question that i've never had to ask, because our webmaster bsemf always took care of it. But it can't be that hard. My guess is that the exe-file reads the entry in the registry where it tells you the location of the installed game. I have to ask him. To let the program priority-read the lotr.str file (and anything else for that matter) you need to give the new big-files a name starting with '_'. And make sure there is no big file containing the file lotr.str or lotr.csf in the 'lang' folder. If that is the case, you have to move those bigs into the main folder (via installer or by hand) or they get priority-read. For an idea of how the starter exe works take a look at the batch files of Elvenstar-Mod 1 (still available for download). It's primarily a renaming procedure. All files that are not to be used in the game are tagged with a .bak or .mod at the end.

I hope i could already help you. ;)

Edited by Sulherokhh, 05 May 2006 - 08:28 AM.

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."


#9 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 05 May 2006 - 11:38 AM

i think i use a diferent install creator to what they used, im using clickteam install creator. i cant see anything that can move files around, or i may be a bit blind. if someone told me how to make a .exe would this work. I put everything into a .big, and put the .big into a folder in D:\bfme2.5 .

Then could i set the .exe to read bfme2.5.big?

im not sure if this way is possible but could i create a shortcut and put -mod "D:\bfme2.5\bfme2.5.big" would that work? or would it have to not be in .big?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#10 Feanor

Feanor

    Knight of Heaven

  • Project Team
  • 582 posts
  • Location:scotland
  • Projects:Valarian mod studios, Kingdom of heaven mod co-leader
  •  Modeller & skinner

Posted 05 May 2006 - 01:01 PM

I've got that one you have to create the same file structure as where you want to put the files it only works then I'll talk to you about it on msn ;)
'I can harness the very energy within the walls of this place, and bind them too me, I can turn the air in your lungs to fire, and you....you are nothing more than leaves in a storm, did you really think you could face me here and survive'

- Ammon Jerro, Court Warlock of Neverwinter, lord of Haven

#11 Kelso

Kelso

    BFME Admin

  • Project Team
  • 1,467 posts
  • Projects:Rise of Rome, Rise of Rome 2
  •  AWD and T3A Team Chamber Leader
  • Division:BFME
  • Job:Designer: Rise of Rome 1 and 2

Posted 05 May 2006 - 04:52 PM

Our installer for Rise of Rome simply ran a search for lotrbfme.exe and then store where it was located. It then read the registry to find where the users app data folder was located and installer the .big there. We then installed a file called ini.ror into the main game directory and when the user launched Rise of Rome, we renamed ini.big to something else and replaced it with ini.ror. We then ran the game using the -mod switch which pointed to our other .big file, which contained mostly artwork.
Posted Image
Posted Image

#12 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 05 May 2006 - 11:15 PM

what install crator did u use, i cant see anything like that in this one?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#13 Kelso

Kelso

    BFME Admin

  • Project Team
  • 1,467 posts
  • Projects:Rise of Rome, Rise of Rome 2
  •  AWD and T3A Team Chamber Leader
  • Division:BFME
  • Job:Designer: Rise of Rome 1 and 2

Posted 05 May 2006 - 11:58 PM

Don wrote it himself.
Posted Image
Posted Image

#14 Argolis

Argolis

    Big Crazy Modder.

  • Project Team
  • 337 posts
  • Location:London
  • Projects:The Wars of Arda
  •  The modding jack-of-all-trades

Posted 07 May 2006 - 09:05 PM

Why cant you install to the main directory.

And clickteam install maker can pick up values from the registry.

To install to Main Directory.

Options --? install directory.

root key HKEY_LOCAL_MACHINE
key: SOFTWARE\Electronic Arts\Electronic Arts\The Battle for Middle-earth II
subkey: InstallPath

for application data it would be install directory: %appdata%\My Battle for Middle-earth™ II Files

If you have any trouble, email me, Ive set up a clickteam installer for my mod and it works fine.

Edited by Argolis, 07 May 2006 - 09:15 PM.

I do not kill with my hand.
He who kills with his hand has forgotten the face of his father.
I kill with my heart.
-The Gunslingers Catechism
Posted Image
NEEDED: Modeller/skinner and 2D artist for Wars of Arda. PM me. Please.

#15 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 08 May 2006 - 04:25 PM

i cant install to the main directory, cus it does not read the strings.



and next time im gonna try the aplication data thing.
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#16 Argolis

Argolis

    Big Crazy Modder.

  • Project Team
  • 337 posts
  • Location:London
  • Projects:The Wars of Arda
  •  The modding jack-of-all-trades

Posted 08 May 2006 - 07:02 PM

why doesnt it read the strings in the main directory.

Hold on...Thats probably why MY strings arent working.
I assume they work in the appdata then?
I do not kill with my hand.
He who kills with his hand has forgotten the face of his father.
I kill with my heart.
-The Gunslingers Catechism
Posted Image
NEEDED: Modeller/skinner and 2D artist for Wars of Arda. PM me. Please.

#17 Solinx

Solinx

    .

  • Undead
  • 3,101 posts
  • Location:The Netherlands
  • Projects:Real Life
  • Division:Revora
  • Job:Retired Leader / Manager

Posted 08 May 2006 - 07:09 PM

why doesnt it read the strings in the main directory.

Hold on...Thats probably why MY strings arent working.
I assume they work in the appdata then?

If you put your big file in the main game folder, it will still use the old strings, because the big files in the "lang" subfolder are loaded first.

Edit: Maybe this works: Put the big files from "lang" in the main folder and add an underscore ( _ ) in front of your big file. While the full paths are stored in the big files from the "lang" subfolder, they shouldn't cause any trouble while in the main folder. And adding an underscore will give your big file priority.

Solinx

Edited by Solinx, 08 May 2006 - 07:13 PM.

Posted Image

"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr


#18 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 08 May 2006 - 07:16 PM

thats what the elvenstar mod does, id do it that way, but it makes it harder for other people to install
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.

#19 Solinx

Solinx

    .

  • Undead
  • 3,101 posts
  • Location:The Netherlands
  • Projects:Real Life
  • Division:Revora
  • Job:Retired Leader / Manager

Posted 08 May 2006 - 07:59 PM

thats what the elvenstar mod does, id do it that way, but it makes it harder for other people to install

Write a simple batch file. That could copy the files from the "lang" map to the main map. You can also use a batch file to rename your big file each time you want to play with the mod. The same batch file could also start the game and rename the big file again after the game is closed.

Solinx
Posted Image

"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr


#20 Stealthsnake

Stealthsnake

    Battles of Gondor mod leader

  • Hosted
  • 976 posts
  • Location:United Kingdom
  • Projects:Battles of Gondor
  •  coder, skinner, mapper, graphics

Posted 08 May 2006 - 08:21 PM

u use notepad and to make 1 dont u? can u tell me what commands id need for that?
Posted Image
Posted Image
a mod for rotwk, includes Harad, Rhun, Rohan and Southern Fiefdoms Factions, beta released, site/forums for the mod is here.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users