Battlecraft 42 Map Testing Help

Ask questions, discuss ideas, get answers
Post Reply
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Battlecraft 42 Map Testing Help

Post by discocreeper101 »

Hi,
I was creating a mod map for BF1942. My Battlecraft is the latest version (2.0 I think) and I have BF1942 on Origin (version is 1.6.1). Battlecraft shows me no errors when I am making my map, however when I try to test my map, BF1942 launches and after a few seconds it crashes. I have tried launching via Battlecraft and going into BF1942 and selecting the map manually. I have Windows 7 64Bit, 8Gb Of Ram, Nvidia Geforce GTX 750 and Intel Core i5 (cant remember the model of the top of my head) with 3.2 GHz per core with 4 cores. I hope this is enough info!

Happy Modding!
Last edited by discocreeper101 on Fri Jun 17, 2016 5:29 pm, edited 3 times in total.
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Battlecraft 42 Map Testing Help

Post by Diamondback »

Try running the BF1942 Debugger, it's a program that was made to pin point errors in your map or mod. You have to run your game with the debugger executable (BF1942_r.exe) and in windowed mode. Then you select your map in the "Create Game" menu and while your map loads, there will be an error dialog/window that says what causes the crash. Just copy that error message back to the forums and we can tell you where to go from there.

The BF1942 Debugger download should be somewhere on the BFMods forums (just search for it); if it's not, then Google "BF1942 Debug Executable". Hope that solves your problem.
See my Strasbourg map project here.
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Battlecraft 42 Map Testing Help

Post by discocreeper101 »

Thanks for the info!
I am facing many errors and they are as follows:
1.PNG
2.PNG
2.PNG (15.24 KiB) Viewed 21775 times
errors.jpg
I am starting to think this is a menu problem. Would this be solved by copying files from the default (bf1942) mod folder?
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Battlecraft 42 Map Testing Help

Post by Diamondback »

Hmm, you get all those errors one after the other? How do you have your map setup in your game directory? It seems you are missing a bunch of files, but I don't understand why you would get all those errors if you are just making a new map that is loaded on top of all the BF1942 vanilla files.

Also, make sure your map's game ID is set to "BF1942" (in your init.con file), a file which is located in the Menu folder @ your map's root folder.
See my Strasbourg map project here.
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Battlecraft 42 Map Testing Help

Post by discocreeper101 »

Ok, here is my directory setup:
This is the mods folder.
dir1.PNG
This is inside my mods folder.
dir2.PNG
(Also the archive folder did no contain a game.rfa)

When comparing my mod to the standard game, A lot of files were missing (refer to the picture)
sd.PNG
I assume one core file is missing from my mod directory. I tried copying the missing files from the bf1942 directory (I knew it most likely wouldn't work, but worth a shot) but it did not work.

EDIT:
Init.con files is as follows:

rem *********************************************
rem Created by Battlecraft 1942. Copyright (c)2003,2004 Digital Illusions CE
rem *********************************************
game.setCustomGameName All_Out_War
game.addModPath Mods/BF1942/game.addModPath Mods/All_Out_War
game.setCustomGameVersion 1.0http://www.battlefield1942.comGame.setMenuMusicFilename "music/slaughter4.bik"Game.setLoadMusicFilename "music/vehicle4.bik"Game.setWinMusicFilename "music/vehicle3.bik"Game.setLoseMusicFilename "music/menu.bik"Game.setCampaignLoseMusicFilename "music/theme2.bik"Game.setDebriefingMusicFilename "music/briefing.bik"
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Battlecraft 42 Map Testing Help

Post by discocreeper101 »

Does anyone have a solution?
It would really help. Thanks.
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Battlecraft 42 Map Testing Help

Post by discocreeper101 »

Ok, I guessed this is kinda solved...
I coped the files from a mod that I had called BF:HD and now I can test my map!
If anyone has a better solution it would help.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Battlecraft 42 Map Testing Help

Post by Swaffy »

I'm pretty lost as to the actual problem ... just make sure you are loading BF1942 first then your mod over it.

For example, for my mod:
(init.con)
game.CustomGameName Swaffy'sMod
game.addmodPath Mods/Swaffy'sMod/
game.addModPath Mods/Bf1942/


[edit] Your map should be in Archives/bf1942/levels/

[edit] What does your map's directory look like? Take a screenshot when you open the RFA because I wonder if the map is missing some files such as init.
"Level init.con file not found" so something is really wrong here. Look in the map's RFA.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
discocreeper101
Posts: 40
Joined: Fri Dec 18, 2015 2:21 am
Location: Australia
Contact:

Re: Battlecraft 42 Map Testing Help

Post by discocreeper101 »

My init.con had this (game.addModPath Mods/All_Out_War/) which meant it was looking for core files in my mod directory instead of the default directory....*Face Palm*

Thanks Swaffy and Classical Modder for helping to solve my problem.
Post Reply