Jump to content


Photo

Creating Mod Package


  • Please log in to reply
24 replies to this topic

#1 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 12 April 2006 - 11:20 PM

I'm doing a little modding for my personal use, but I play online often, and don't like having to move massive files around. I know the easy way is to make a mod package, but I don't know how to do that. I know this has probably been asked a thousand times, but could you please give me step by step directions?

#2 Theo

Theo

    Hey look, im a VIP.

  • Members
  • 222 posts
  • Location:Sheffield, Uk,
  • Projects:Being lazy.

Posted 12 April 2006 - 11:30 PM

u mean using the -mod command so that you can have a mod installed and play online, with the original at the same time?

Edited by J-a-Y, 12 April 2006 - 11:30 PM.


#3 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 13 April 2006 - 01:43 AM

Yes, exactly. How do I do that?

#4 Artifice

Artifice

    title available

  • Members
  • 382 posts
  • Location:Texas

Posted 13 April 2006 - 02:44 AM

I don't think it works as well in BFME2 because of overwriting problems, but I could be wrong.

#5 Deathstrike

Deathstrike
  • Members
  • 11 posts

Posted 13 April 2006 - 06:59 AM

It works perfectly in BFME2. At least it does for me.

Firstly, put all your modded files in a single directory (for example, C:\Mod)which mirrors the BFME2 file structure (INI files in data/ini, etc.). Then, make a new shortcut to the game, and add this to the end of the "Target" field of the shortcut:

-mod "C:\Mod"

Done! Launch your game with that shortcut to play the mod, or use a regular shortcut to launch the unmodded game.

#6 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 13 April 2006 - 10:38 PM

Ok, thanks, I'll try that. Your the only person of the many I have asked that actually gave me a straight answer.

#7 Artifice

Artifice

    title available

  • Members
  • 382 posts
  • Location:Texas

Posted 13 April 2006 - 11:24 PM

This is the problem I was referring to.

#8 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 16 April 2006 - 11:54 PM

I have that problem too. Stupid gamedata.ini.

#9 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 17 April 2006 - 12:04 AM

Ok, I did everything said here, but got a large list of errors, resulting in a crash. All of the errors were game.dat. Help please.

#10 Solinx

Solinx

    .

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

Posted 17 April 2006 - 12:17 AM

Ok, I did everything said here, but got a large list of errors, resulting in a crash. All of the errors were game.dat. Help please.

A screenshot would be helpfull.

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


#11 Fingulfin

Fingulfin

    I Like Pi3. Do you?

  • Hosted
  • 1,752 posts
  • Location:California, USA
  • Projects:Staying Alive.
  •  This place looks familiar. I can't remember why.

Posted 17 April 2006 - 11:16 AM

Question: How do I take a SS of my Desktop?
Posted Image
--------------------------------------
"You look like a ghost of your former self..."

#12 Mullers_11

Mullers_11

    Onlooker

  • Project Team
  • 806 posts
  • Location:England
  • Projects:Visions, The Four Ages
  •  Not active

Posted 17 April 2006 - 11:17 AM

Print Screen on your keyboard, I think if you mean that :blush:

Retired


#13 Solinx

Solinx

    .

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

Posted 17 April 2006 - 11:35 AM

Print Screen on your keyboard, I think if you mean that :blush:

Yup. Then just past it into paint or (insert fav. picture editing program).

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


#14 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 18 April 2006 - 01:40 AM

Here you go. I was going to put it in my last post, but didn't have time.

Posted Image

#15 Solinx

Solinx

    .

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

Posted 18 April 2006 - 10:02 AM

Here you go. I was going to put it in my last post, but didn't have time.

There are two things you could try, starting with copying Createaherogamedata.inc into the right folder.
If you look at the second path you see that the include is expected to be in the Object folder too.

In the event that doesn't work:
The game sees the .inc files as a part of the .ini file that includes them and reads them as if it where in the .ini itself. If you put all the values from the .inc file in the .ini it is bound to and remove the "#include yourinclude.inc" line, then the game won't read the .inc file, but still has all the data it needs.

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


#16 Bart

Bart

  • Network Admins
  • 8,524 posts
  • Location:The Netherlands
  • Division:Revora
  • Job:Network Leader

Posted 18 April 2006 - 01:00 PM

since you're including from a file that's in data\ini\object, you should unclude it as file.inc, not data\ini\object\file.inc

never worked with HTML or something?
bartvh | Join me, make your signature small!
Einstein: "We can’t solve problems by using the same kind of thinking we used when we created them."

#17 Fingulfin

Fingulfin

    I Like Pi3. Do you?

  • Hosted
  • 1,752 posts
  • Location:California, USA
  • Projects:Staying Alive.
  •  This place looks familiar. I can't remember why.

Posted 18 April 2006 - 03:10 PM

Print Screen eh? I thought I tired that. If it simply copies it to your image clipboard then I didnt try that. :)

EDIT: Ya it works ;)

Edited by Fingulfin, 18 April 2006 - 03:11 PM.

Posted Image
--------------------------------------
"You look like a ghost of your former self..."

#18 Solinx

Solinx

    .

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

Posted 18 April 2006 - 03:31 PM

since you're including from a file that's in data\ini\object, you should unclude it as file.inc, not data\ini\object\file.inc

never worked with HTML or something?

File.inc like in #include "CreateAHeroGameData.inc" ?
That is the standard line in gamedata.ini... There is little reason to believe he changed the path of this line, while he didn't moved the .inc file to the path he set it. Add to that he wasn't able to make anything out from the error and it is even more unlikely.

The error states that CreateAHeroGameData.inc could not be found in data\ini\object. That means that the game is directed to that folder. Either move it there, change the path in gamedata.ini or copy everything from CAHgamedata.inc to gamedata.ini.

Solinx

Print Screen eh? I thought I tired that. If it simply copies it to your image clipboard then I didnt try that. ;)

EDIT: Ya it works :p

That's why I added it, everyone tries print screen.
And although it makes sense, I had to be told to use paint too. :)

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


#19 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 18 April 2006 - 07:09 PM

Wow, now really confused.

And I have worked with HTML, but that seemed different.

#20 alfreak1

alfreak1
  • Members
  • 105 posts

Posted 18 April 2006 - 07:29 PM

New error.

Posted Image

I moved Createaherogamedata.inc into the objects folder, and that fixed that problem. Now I have this.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users