Daniele 4 Posted April 27, 2017 Hi, it seems I can't run KAurora editor on my 64 bit system ("is not a valid 32 bit application"). I don't understand why it wouldn't. Do someone know a workaround for this? Quote Share this post Link to post Share on other sites
Kexikus 994 Posted April 27, 2017 We'll need some more information than that. I've been running KAurora without issues on my Windows 7 64bit computer for quite some time, so it's definetly not a pure 64bit issue. I've not tested it on my new Windows 10 64bit computer though. Quote Share this post Link to post Share on other sites
VarsityPuppet 1,085 Posted April 27, 2017 There is a fix for this which I made... and I can't remember what it is :/ something about a .config file Quote Share this post Link to post Share on other sites
Daniele 4 Posted April 28, 2017 It throws See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) at KAuroraEditor.KAuroraMain.loadFromAsciiFileToolStripMenuItem1_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(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) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- KAuroraEditor Assembly Version: 0.2.0.0 Win32 Version: 0.2.0.0 CodeBase: file:///C:/Users/daniele/Documents/kotor%20tools/KAuroraEditor/KAuroraEditor.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Quote Share this post Link to post Share on other sites
Fair Strides 509 Posted April 29, 2017 Drop the file inside this archive into the folder where KAurora is located: KAuroraEditor.exe.config.7z 1 Quote Share this post Link to post Share on other sites
Daniele 4 Posted May 2, 2017 Drop the file inside this archive into the folder where KAurora is located: KAuroraEditor.exe.config.7z Thanks! I've put it in the same folder as the .exe. However the error persists. I'm sure that .net 2.0 is installed (I'm on Win7) and is also enabled in the control panel. like before, It actually starts the .exe, but when I try to import whatever ascii or binary, it throws that error. Quote Share this post Link to post Share on other sites
DarthParametric 3,777 Posted May 2, 2017 Are you running this from Program Files? Tried running it from somewhere else? Running as an Admin? Quote Share this post Link to post Share on other sites
Daniele 4 Posted May 2, 2017 Are you running this from Program Files? Tried running it from somewhere else? Running as an Admin? Yeah I always run it as admin. Quote Share this post Link to post Share on other sites
djnugent 34 Posted May 2, 2017 Try reinstalling to C:\Program Files (x86)\ -- I've seen this in the past. This will tell Windows it is a 32-bit application. Doesn't always work, but I've seen this same issue when installing older games made for 32-bit platforms. Quote Share this post Link to post Share on other sites
Daniele 4 Posted May 3, 2017 Try reinstalling to C:\Program Files (x86)\ -- I've seen this in the past. This will tell Windows it is a 32-bit application. Doesn't always work, but I've seen this same issue when installing older games made for 32-bit platforms. Well thanks, however the program is not installed, is just a standalone .exe I've put it in x86 but nothing happens Quote Share this post Link to post Share on other sites
Daniele 4 Posted May 8, 2017 I've just solved the problem. I'll write it there, if someone may need. It was due to the program running with .NET Framework on 64 bit. To force the application to run on 32 bit there is the following workaround: http://stackoverflow.com/questions/1108137/how-to-run-a-32-bit-net-application-in-a-64-bit-environment If you have a 64 bit machine and want to run a .NET application that only works with the 32 bit CLR you would have to make changes to the .NET framework on your machine Set the .NET framework to load the CLR in WOW mode through this command Open up command prompt and type this command C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe SetWow Now you should be able to run apps that use only the .NET 32 bit CLR. To revert back to the default 64 bit framework run C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe Set64 2 Quote Share this post Link to post Share on other sites