Page 1 of 1

Issue renaming my mod

Posted: Sat Sep 27, 2014 5:55 pm
by Diamondback
This is really beyond me... for some reason, when I simply rename my mod from "battleinf_42" to "raised_fist" I get a bunch of errors when testing my newly named mod.

The process of renaming the mod itself was as follows: first, I renamed the main mod folder to "raised_fist". Then, in that folder, edited the init.con to rename everything referencing to "battleinf_42" to "raised_fist". I close the CON file after saving it. Didn't touch any of the RFA's in the Archives folder since a new mod name doesn't affect them. Then, I move on to all my mod's maps, and change the custom mod name located in Menu/Init.con to that of my mod, with the following command:

Code: Select all

game.setMapId "raised_fist"
I repeat the process for each map making sure not to forget any. Save the RFA's, and fire up the newly named mod to see if everything works well, and then, when loading one of my mod's maps (in windowed mode), I get a bunch of errors such as the fact that some Object Spawn Templates are missing or that some info regarding flags isn't correct.

I really don't understand what I did wrong here, I didn't add any content from "battleinf_42" to "raised_fist"; I simply renamed the mod. I also tried making a copy of "battleinf_42" then renaming it to see if I had the same issue and I still get the same errors.

Have any of you come across this problem?

Re: Issue renaming my mod

Posted: Sun Oct 05, 2014 5:28 pm
by Diamondback
Any ideas on what might be causing this guys?

Re: Issue renaming my mod

Posted: Sun Oct 05, 2014 6:07 pm
by Swaffy
This might be a dumb question, but did you order your init.con file corrcetly?

Code: Select all

game.CustomGameName raised_fist
game.addmodPath Mods/raised_fist/
game.addModPath Mods/Bf1942/

Re: Issue renaming my mod

Posted: Sun Oct 05, 2014 11:09 pm
by Diamondback
Yes that's one of the first things I did.

Re: Issue renaming my mod

Posted: Tue Oct 14, 2014 10:58 pm
by Diamondback
I fixed the problem by renaming my mod to "raised_fist" in the init.con however the mod folder is still "battleinf_42" and cannot be changed without having a bunch of errors. So I guess my problem is partially solved.

Re: Issue renaming my mod

Posted: Wed Oct 15, 2014 1:58 am
by Swaffy
Hmm. What other files do you have in your mod's main directory? Maybe there's some sort of debugging file somewhere (or file checking) that got borked when you renamed your mod's main directory.

Did you run your mod using a shortcut? Maybe the shortcut's file path got borked.

If that doesn't work, make sure BF1942's main directory doesn't have something that is loading/checking stuff in your mod.

Re: Issue renaming my mod

Posted: Thu Oct 16, 2014 12:01 am
by Diamondback
Swaffy wrote:Hmm. What other files do you have in your mod's main directory? Maybe there's some sort of debugging file somewhere (or file checking) that got borked when you renamed your mod's main directory.

Did you run your mod using a shortcut? Maybe the shortcut's file path got borked.

If that doesn't work, make sure BF1942's main directory doesn't have something that is loading/checking stuff in your mod.
Logically my mod should load up just fine. Those errors simply don't make any sense. There's no other file that might interfere with my mod also.

Re: Issue renaming my mod

Posted: Wed Oct 29, 2014 4:55 am
by Diamondback
It's a very weird mistake... I will try creating a new mod with the Create Mod menu in BC42 and see what happens with that. Thanks for your suggestions!