SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: DCMetro2834 on April 06, 2010, 02:59:02 PM

Title: Unusal error in FiSHMAN
Post by: DCMetro2834 on April 06, 2010, 02:59:02 PM
Hey,

I was following screamingman12's automata tutorial (http://sc4devotion.com/forums/index.php?topic=233.0 (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?
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg176.imageshack.us%2Fimg176%2F8%2Ferrorxc.jpg&hash=17546d5a630e49c5fd6a650a9ea34d178c6a0e44)

Thanks for any insight.
-DC
Title: Re: Unusal error in FiSHMAN
Post by: geoffhaw on April 07, 2010, 03:12:52 PM
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 (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=2250)

It may solve the problem, but no promises!

Title: Re: Unusal error in FiSHMAN
Post by: DCMetro2834 on April 08, 2010, 04:21:38 PM
Yes, it did! Wow, thanks a bunch!  &apls

-DC
Title: Re: Unusal error in FiSHMAN
Post by: thingfishs on November 08, 2010, 02:35:58 PM
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:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimgur.com%2FXs6M8.png&hash=75e07345c8ca22e0dc75191c808acaa2c92856ef)

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

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimgur.com%2Fc6hj9.png&hash=48c3bda69a61fcc40b8464e827c1ad88999f5cfb)

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:



Title: Re: Unusal error in FiSHMAN
Post by: thingfishs on November 08, 2010, 02:50:35 PM
thanks Girafe, although the tutorial specifically says DXT 3 and shows a photo of it as well...  ()what()


(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg259.imageshack.us%2Fimg259%2F2846%2F108ec.png&hash=b1fc168d87bc76ca999572a90dcfa8170c9a00aa)
Title: Re: Unusal error in FiSHMAN
Post by: Girafe on November 08, 2010, 02:53:16 PM
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
Title: Re: Unusal error in FiSHMAN
Post by: null45 on November 09, 2010, 02:10:18 PM
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.   ::)



Title: Re: Unusal error in FiSHMAN
Post by: thingfishs on November 09, 2010, 02:22:51 PM
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