Issue renaming my mod

Ask questions, discuss ideas, get answers
Post Reply
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Issue renaming my mod

Post 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?
Last edited by Diamondback on Tue Oct 14, 2014 10:58 pm, edited 1 time in total.
See my Strasbourg map project here.
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Issue renaming my mod

Post by Diamondback »

Any ideas on what might be causing this guys?
See my Strasbourg map project here.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Issue renaming my mod

Post 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/
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Issue renaming my mod

Post by Diamondback »

Yes that's one of the first things I did.
See my Strasbourg map project here.
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Issue renaming my mod

Post 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.
See my Strasbourg map project here.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Issue renaming my mod

Post 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.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Issue renaming my mod

Post 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.
See my Strasbourg map project here.
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Issue renaming my mod

Post 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!
See my Strasbourg map project here.
Post Reply