Game Crashing After Load Screen [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Game Crashing After Load Screen [Solved]

Post by Cleb »

Hi I'm new here, but I have modded Battlefront for about 5 months but about a month ago my game started crashing every time I started it right after all of the loading bubbles all fill up, before it shows all of the companies and the menu. Here's my error log:
Hidden/Spoiler:
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(634)
Allocating 410540 bytes attempt failed - no free blocks left in Heap 5 (Runtime)

Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(538)
Allocating 410540 bytes failed - no free blocks left in Heap 5 (Runtime)
I know that that means that I'm out of memory or something, but I don't know where or what to do about it. I also tried to do a search, but it didn't really help me too much. Please help me!
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Game Crashing After Load Screen

Post by razac920 »

Just to clarify, the game crashes BEFORE you even select your mod map? Have you tried taking out your mod map from your addon folder? And if that doesn't work, check how much RAM and disk space you have free on your computer; maybe that is the problem?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Game Crashing After Load Screen

Post by Fiodis »

Are you near the mission limit, and do you have the v1.3 patch installed?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Game Crashing After Load Screen

Post by lucasfart »

Hmm. As Fiodis said, try removing your addon folder and see if it still crashes. If it still does, try re-installing the game.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Game Crashing After Load Screen

Post by Fiodis »

lucasfart wrote:As Fiodis said,
:?

I don't think there's any need to take out your entire addon folder, just one or two maps, and that's only if taking out the OP's own custom map doesn't resolve the issue first.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Game Crashing After Load Screen

Post by lucasfart »

That works too, but if you just rename/move the whole addon folder you'll know for sure if it's got to do with your maps. Just removing 1 or 2 maps might not be enough to reduce the mission count. That's just to make sure it's not in any way related to any external maps/mods.
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: Game Crashing After Load Screen

Post by Cleb »

Well, I've reinstalled the game like 3 times, so I don't have an add-on folder anymore, and also the game does crash before I get to select my mod map, but one problem is that I don't now which map is even out of memory, because the last one i made had less than 20 objects and the default number of reinforcements and units.

EDIT:

Also what does "OP" mean?
Last edited by Cleb on Mon Jun 18, 2012 1:00 pm, edited 1 time in total.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Game Crashing After Load Screen

Post by razac920 »

Those error messages don't come from too many objects or units, I don't think. I've seen them before when I am setting the memory pools in the LUA and go overboard... but I don't know how you'd get that message before even selecting your mod map
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Game Crashing After Load Screen

Post by THEWULFMAN »

Cleb wrote:Also what does "OP" mean?

Original Poster. Meaning the person who started the thread. In this case, you, Cleb.
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: Game Crashing After Load Screen

Post by Cleb »

So then how do I remove my own map because i did that before (deleting their data_ABC folder) a while ago to a few maps I didn't like before I got this problem but the maps stayed in the game and just crashed when I tried to play them. :shock:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Game Crashing After Load Screen

Post by Fiodis »

The data_*** folder isn't connected to what you see in-game; it just holds the source files you use to compile your map. You need to delete the map's three-letter folder from your addon folder to get it off your Instant Action list. The addon folder is usually found here:
LucasArts\Star Wars Battlefront II\GameData\addon

If you have Vista/Win7, it may be found here instead:
Users\Username\AppData\Local\VirtualStore\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: Game Crashing After Load Screen

Post by Cleb »

Fiodis wrote:The data_*** folder isn't connected to what you see in-game; it just holds the source files you use to compile your map. You need to delete the map's three-letter folder from your addon folder to get it off your Instant Action list.
I don't have an addon folder anymore, I think it got deleted sometime when I uninstalled the game, but anyways the only folders that were in my addon folder were from maps that I downloaded. Besides, all of my custom maps worked fine without an addon folder.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Game Crashing After Load Screen

Post by AQT »

Cleb wrote:I don't have an addon folder anymore, I think it got deleted sometime when I uninstalled the game
The uninstaller will leave the addon folder untouched, so this is most likely not the case.
Cleb wrote:Besides, all of my custom maps worked fine without an addon folder.
This is only possible if you had edited your custom maps' addme.luas to have your custom maps added on to the game from a different directory, which I'm sure you did not do. So check the following location:
Fiodis wrote:If you have Vista/Win7, it may be found here instead:
Users\Username\AppData\Local\VirtualStore\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: Game Crashing After Load Screen

Post by Cleb »

AQT wrote: This is only possible if you had edited your custom maps' addme.luas to have your custom maps added on to the game from a different directory, which I'm sure you did not do. So check the following location:
Fiodis wrote:If you have Vista/Win7, it may be found here instead:
Users\Username\AppData\Local\VirtualStore\Program Files (x86)\LucasArts\Star Wars Battlefront II\GameData\addon
I checked it again, and it's still not there, and I definately didn't do anything to the addme.lua, so I'm not sure how I'm going to delete any maps. :runaway:

EDIT:

Wha- I just did a computer search again and suddenly the add-on folder-another one that was completely hidden and inaccessible just appeared out of seemingly thin air! And it had all of my custom maps in it too! :faint: Why did I not think of a search all along? So wait, now do I just delete some of them or what?

EDIT 2:

Ok, so I went out and deleted a random map I didn't care about anymore and poof! My game worked again! :maulsaber:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Game Crashing After Load Screen

Post by Fiodis »

It sounds like you were above the mission limit, but if you had the v1.3 patch installed you should've gotten a popup message saying so. That invisible folder was probably your VirtualStore location, files will be munged into there if you run VisualMunge without administrator priviledges.
Post Reply