Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hello, i have a problem, this shows in error log, i cant open my projects, when i try, efps closes showing me: fatal error! something went horribly wrong and an unhandled exception has been caught. the editor will close now. Log was saved to error.log.

Source: System.Drawing

Reason: El parámetro no es válido.

Stack trace:    en System.Drawing.Bitmap..ctor(String filename)

   en EasyFPSEditor15.ResourceTexture.Load(String path)

   en EasyFPSEditor15.Resources.LoadSinglelineResource(String path, Int32 type)

   en EasyFPSEditor15.Resources.LoadAllResources(String dataPath)

   en EasyFPSEditor15.Editor.OpenProject()

   en EasyFPSEditor15.MainForm.OpenProjectToolStripMenuItemClick(Object sender, EventArgs e)

   en System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

   en System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

   en System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   en System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   en System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

   en System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

   en System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   en System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   en System.Windows.Forms.Control.WndProc(Message& m)

   en System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   en System.Windows.Forms.ToolStrip.WndProc(Message& m)

   en System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

it looks like you changed the filename (or deleted) of one of your images.

I had this error yesterday. Luckily I knew which image was causing the problem as it happened just after I added a new enemy. I removed the maps from the project files that I knew had the enemy. Then reloaded the project without the maps and it worked! Then added the maps back to the project folder.

yes this method is best for debugging screw ups. i do it the same way if i have these errors.

even if you don't know which image is wrong, you can trial and error it by backing up the relevant dat file (and maps.dat) and deleting the stuff in the dat. so you can try getting rid of the stuff in maps.dat, then get rid of stuff in textures.dat. if the project opens, you know it is a texture that is named wrong and can compare the backed up textures.dat to the actual images in the textures folder. if it still doesnt open, then it is a misnamed image in decorations or enemies.

Thanks, i made backups before adding something, so i know what file is corrupted o doesnt works