Hey there.
So I'm testing out my game and I have to go to a room that has lots of flashing backgrounds. It's a rave, basically. Whenever I try to open the door, however, I get an error saying "Error: !load_room: not enough memory to load room background". This didn't used to happen before, and it's frustrating since I've remade the room once before. Here's a full error log:
Error: !load_room: not enough memory to load room background
Version: AGS 3.3.3.0
AGS.Types.AGSEditorException: !load_room: not enough memory to load room background
at ThrowManagedException(SByte* message)
at load_room_file(SByte* )
at load_crm_file(UnloadedRoom roomToLoad)
at AGS.Native.NativeMethods.LoadRoomFile(UnloadedRoom roomToLoad)
at AGS.Editor.Components.RoomsComponent.LoadNewRoomIntoMemory(UnloadedRoom newRoom, CompileMessages errors)
at AGS.Editor.Components.RoomsComponent.LoadDifferentRoom(UnloadedRoom newRoom)
at AGS.Editor.Components.RoomsComponent.LoadRoom(String controlID)
at AGS.Editor.Components.RoomsComponent.ItemCommandClick(String controlID)
at AGS.Editor.Components.BaseComponentWithFolders`2.CommandClick(String controlID)
at AGS.Editor.ProjectTree.ProcessClickOnNode(String nodeID, MouseButtons button)
at AGS.Editor.ProjectTree.projectTree_NodeMouseDoubleClick(Object sender, TreeNodeMouseClickEventArgs e)
at System.Windows.Forms.TreeView.OnNodeMouseDoubleClick(TreeNodeMouseClickEventArgs e)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Unless your computer actually does not have enough memory for it, that could be a cause of corrupted room file (*.crm).
I may suggest to create a new empty project, and import a copy of that room there. Room file is "roomX.crm" where X is room's number. Just copy that room in new project folder, open the project in Editor, right click on Rooms and choose "Import existing rooms". Then try to open it there.
Also, you may upload room file to some file sharing site and let us try looking into it.
You do not have to share anything else - game, scripts, etc, - just the "crm" file.
I can't even open the room in the editor, so i guess it's definitely corrupt. Damn. I'll have had to have made it thrice. That's moderately annoying.
Quote from: lilinuyasha on Tue 25/08/2015 19:31:49
I can't even open the room in the editor, so i guess it's definitely corrupt. Damn. I'll have had to have made it thrice. That's moderately annoying.
Can you still upload the room file here? I would like to find out what is wrong there. Maybe that will give a hint why it gets corrupted.
Also, it is suggested to make backups of your game, that may help in situations like this.
Here ya go. (http://www.filedropper.com/room22)