• Welcome to SC4 Devotion Forum Archives.

Unusal error in FiSHMAN

Started by DCMetro2834, April 06, 2010, 02:59:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DCMetro2834

Hey,

I was following screamingman12's automata tutorial (http://sc4devotion.com/forums/index.php?topic=233.0) and got to step "IIIa"; that's where I had some trouble.

Here is a screen shot of the error when trying to open this FSH file in FiSHMAN. My OS is Win XP, so I am not exactly sure why this is happening. Any ideas?


Thanks for any insight.
-DC

geoffhaw

This is a complete shot in the dark, but have you got null45's XP fix for fishman?

http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=2250

It may solve the problem, but no promises!



thingfishs

My problem starts the same way so I thought it appropriate to add to this thread.

I am following the same tutorial by screamingman and am fine until I get to the last part of step IV:

"Select the elipsis next to the "bitmap file" box and search for the skin, you will need to change the "files of type" drop-down menu to Portable Network Graphics (PNG) file format, this will display only the PNG files, (repeat this for the "alpha map file" menu). Once you have done this change the "FSH bitmap type" drop-down menu to DXT3 Compressed, with alpha, like this:

Then save this as the new skin, make sure to save it as a FSH file:"


I do all of that:



but then when I try to save it I get this error dialog:



and the following log:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(String filename)
   at FiSHMan.frmFSH.mnuStrucInsBmp_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItem.MenuItemData.Execute()
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Command.DispatchID(Int32 id)
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
FiSHMan
    Assembly Version: 0.1.4.25070
    Win32 Version: 0.1.4.25070
    CodeBase: file:///C:/Program%20Files/Ilives/FiSHMan_Beta1_v0/FiSHMan.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    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.42 (RTM.050727-4200)
    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.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SynapticEffect.Forms
    Assembly Version: 0.2.0.24171
    Win32 Version: 0.2.0.24171
    CodeBase: file:///C:/Program%20Files/Ilives/FiSHMan_Beta1_v0/SynapticEffect.Forms.DLL
----------------------------------------
SynapticEffect.Forms.HexEd
    Assembly Version: 0.5.6.24172
    Win32 Version: 0.5.6.24172
    CodeBase: file:///C:/Program%20Files/Ilives/FiSHMan_Beta1_v0/SynapticEffect.Forms.HexEd.DLL
----------------------------------------
SynapticEffect
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Ilives/FiSHMan_Beta1_v0/SynapticEffect.DLL
----------------------------------------
FSHLib
    Assembly Version: 0.3.1.6735
    Win32 Version: 0.3.1.6735
    CodeBase: file:///C:/Program%20Files/Ilives/FiSHMan_Beta1_v0/FSHLib.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.




Can anyone shed any light on what's going wrong here?

Cheers :thumbsup:




thingfishs

thanks Girafe, although the tutorial specifically says DXT 3 and shows a photo of it as well...  ()what()



Girafe

#5
Yep sorry you right, a mistake from me long time ago I didn't use this tool   &Thk/(

I tried it few minutes ago and it works still fine, no idea about your problem  &mmm
The Floraler

This is the end, hold your breath and count to ten, feel the earth move, and then...

*   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *    *   *   *   *   *    * 

null45

The Parameter is not valid message seems to be a somewhat generic error that GDI+ throws when it does not like one of its parameters, unfortunately it does not say what it has a problem with.   ::)




thingfishs

Thanks null, fortunately I was able to solve my problem. For some reason the file I saved just didn't work, like it was corrupt, yet the image opened and looked normal. I did notice it seemed a bit too large (500kb) and I tried saving it again from PS and it saved at 150kb and now works fine... ()what() ;D