ROM Hack [Release] Sm4shCommand

Halvorsen

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
2,060
Trophies
0
Website
halcove.com
XP
1,890
Country
United States
Whenever I want to actually save a file, I get

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

************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'System.Windows.Forms.TabPage' to type 'System.Windows.Forms.TabControl'.
at Sm4shCommand.AcmdMain.saveAsToolStripMenuItem_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.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
AnimCmd
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/kbson_000/Documents/3DS_System_Modding_Package/Release/AnimCmd/AnimCmd.exe
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

What should I do to let this save?
 

Mickey (Undead)

New Member
Newbie
Joined
Jul 4, 2016
Messages
1
Trophies
0
Age
123
XP
42
Country
Canada
I'm curious, does anyone know how do change the FAF (endlag) of a move, without doing silly things like adding IASA or adding a frame speed multiplier?

EDIT: And if it isn't too much trouble, I'd also like to know how to change the autocancel frames on aerials.
 
Last edited by Mickey (Undead),

gryz

Well-Known Member
Member
Joined
May 26, 2016
Messages
407
Trophies
0
Age
22
XP
297
Country
United States
How do I edit landing lag of special moves? I want to make Fox's lasers autocancel like Melee. Also I can't seem to find Fox's shine hitbox.
 

LolGuy

New Member
Newbie
Joined
Aug 10, 2015
Messages
1
Trophies
0
XP
52
Country
Whenever I try to edit a move, and then save the file, nothing changes. The file is the same as it was before. Can someone help me?
 

pixelarcane

New Member
Newbie
Joined
Aug 8, 2016
Messages
1
Trophies
0
Age
27
XP
51
Country
Canada
Whenever I try to use a character I've modded, the game crashes, even though I'm only changing small things like damage and knockback. Is there something I'm missing?
 
D

Deleted User

Guest
Dumb Question. I've tried opening fighter files from my own dump of Smash Wii U but the files cannot load. Is it incorrect to go File > Open > Fighter > Falco, then choose select folder? If i go into either the effect or script folders I find nothing, so that I would assume is wrong.
 
D

Deleted User

Guest
No offense to Sammi Husky, this tool is amazing to have, but it's kind of pathetic that nobody is around to help beginners like myself get themselves situated. I don't expect anybody to be teaching me exactly what means what in the code, but the fact that nobody is around to offer help just to get started; that's preposterous. The FAQ doesn't answer enough to help newcomers either.
 

EmulatorLover

3ds master race
Member
Joined
Apr 26, 2015
Messages
973
Trophies
0
Age
27
Location
Anywhere ;)
XP
523
Country
United States
No offense to Sammi Husky, this tool is amazing to have, but it's kind of pathetic that nobody is around to help beginners like myself get themselves situated. I don't expect anybody to be teaching me exactly what means what in the code, but the fact that nobody is around to offer help just to get started; that's preposterous. The FAQ doesn't answer enough to help newcomers either.
thats gbatemp for yah
 

Daeger

New Member
Newbie
Joined
Aug 20, 2016
Messages
2
Trophies
0
Age
25
XP
42
Country
Gambia, The
I have an issue with the tool, everytime I try to edit a move, every comma and dot seperating 2 numbers disappears making it unusable. I found it out while trying to apply Set_Frame_Duration(0,5) to a move, it changes to Set_Frame_Duration(0), on the other hand when using a dot it goes like this, Damage=11.5 changes to 115. And thats happening to all moves I've tested, totally messing everything up.
I also tried using the Nightly Build but after closing a move, the lines are messed up too.
Is there anything I could do to fix it?
 

wuboy

Well-Known Member
Member
Joined
Sep 11, 2015
Messages
459
Trophies
0
Age
24
XP
1,011
Country
United States
I have an issue with the tool, everytime I try to edit a move, every comma and dot seperating 2 numbers disappears making it unusable. I found it out while trying to apply Set_Frame_Duration(0,5) to a move, it changes to Set_Frame_Duration(0), on the other hand when using a dot it goes like this, Damage=11.5 changes to 115. And thats happening to all moves I've tested, totally messing everything up.
I also tried using the Nightly Build but after closing a move, the lines are messed up too.
Is there anything I could do to fix it?
Well, first off, decimals always use periods in this program, don't use commas. Also, the command Set_Frame_Duration has (Speed=XX) in the parenthesis, XX being the number you want.
Otherwise I don't know what's happening, every time I use AnimCMD it always works fine.
 
  • Like
Reactions: Daeger

Cydget

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
493
Trophies
0
Age
27
XP
260
Country
United States
I have an issue with the tool, everytime I try to edit a move, every comma and dot seperating 2 numbers disappears making it unusable. I found it out while trying to apply Set_Frame_Duration(0,5) to a move, it changes to Set_Frame_Duration(0), on the other hand when using a dot it goes like this, Damage=11.5 changes to 115. And thats happening to all moves I've tested, totally messing everything up.
I also tried using the Nightly Build but after closing a move, the lines are messed up too.
Is there anything I could do to fix it?
It might be that some commands values can only be integers and others can be floating point numbers, but last time I checked damage was able to be set to decimals.
 
  • Like
Reactions: Daeger

Sammi Husky

Well-Known Member
OP
Member
Joined
Jul 6, 2014
Messages
312
Trophies
0
Age
29
XP
498
Country
United States
I have an issue with the tool, everytime I try to edit a move, every comma and dot seperating 2 numbers disappears making it unusable. I found it out while trying to apply Set_Frame_Duration(0,5) to a move, it changes to Set_Frame_Duration(0), on the other hand when using a dot it goes like this, Damage=11.5 changes to 115. And thats happening to all moves I've tested, totally messing everything up.
I also tried using the Nightly Build but after closing a move, the lines are messed up too.
Is there anything I could do to fix it?

Well, first off, decimals always use periods in this program, don't use commas. Also, the command Set_Frame_Duration has (Speed=XX) in the parenthesis, XX being the number you want.
Otherwise I don't know what's happening, every time I use AnimCMD it always works fine.

It has to do with Localization. The code specifically looks for commas to separate parameters in function calls. Im not exactly sure how im going to work around commas as decimal separators to be quite honest.

What i'll most likely do is have the application always spit out values with "." as the digit separator and parse with the assumption that numbers will always use "." as digit separator and comma as parameter separator.
 
  • Like
Reactions: Daeger

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/WOppJ92RgGU?si=KE79L6A_3jESsGQM