Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Steven_Wagner on Sat 19/12/2009 20:00:09

Title: Error: Load_room: old room format.
Post by: Steven_Wagner on Sat 19/12/2009 20:00:09
So I got this error before and doing a forum search lead me to the solution of deleting the room and starting over. I've gotten it a second time so now I figured it was worth posting about.

Here is the error:



Error: Load_room: old room format. Please upgrade the room.
Version: AGS 3.1.2.82

AGS.Types.AGSEditorException: Load_room: old room format. Please upgrade the room.
   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.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)



Now I'm using dropbox but every version of AGS is the same. I'm wondering what caused this error. I can't be 100% but it seems to happen after adding a new object in a room.
Title: Re: Error: Load_room: old room format.
Post by: monkey0506 on Sat 19/12/2009 20:13:23
I can't be 100% certain but it seems to me that perhaps your room template is out of date. Did you by chance upgrade your project from an older version of AGS? If there is one try deleting the file "_blank.crm" from your project folder and see if that makes a difference.
Title: Re: Error: Load_room: old room format.
Post by: Steven_Wagner on Sun 20/12/2009 00:31:50
I have only used one version of AGS and that is the latest available version.
Title: Re: Error: Load_room: old room format.
Post by: monkey0506 on Sun 20/12/2009 05:34:23
Does your game project folder have a file named "_blank.crm"? If it does try deleting that from your project folder and see if the issue persists.
Title: Re: Error: Load_room: old room format.
Post by: Pumaman on Tue 05/01/2010 22:29:52
If this is happening with a room that you created with the latest version, then it sounds like the file is corrupt. When this happens next, could you upload the CRM file for the room that's not working?

What's dropbox and what does it do to your files?