ROM Hack 3DS Mii Modifier (Computer Utility)

  • Thread starter Deleted User
  • Start date
  • Views 91,712
  • Replies 400
  • Likes 24

HagiBlacker

Member
Newcomer
Joined
Sep 2, 2015
Messages
10
Trophies
0
Age
31
XP
80
Country
Cote d'Ivoire
You should probably click on details and post what it says in there.

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: count
at System.String.RemoveInternal(Int32 startIndex, Int32 count)
at _3DSMiiModifier.Form1.saveButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
3DSMiiModifier
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/casa/Desktop/Homebrew/3DSMiiModifier.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.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.
 

duwen

Old Man Toad
Member
Joined
Sep 6, 2013
Messages
3,275
Trophies
2
Location
Bullet Hell
Website
www.exophase.com
XP
4,555
Country
United Kingdom
I got that same error the first time I tried to save my modified dat... closed it, reopened it, modified dat again, but this time when I tried saving I got an error telling me I'm missing msvcr120.dll
I'm going to download and install the dll - I'll post back if it fixes the issue.

edit

If anyone else has the same issue, I suggest downloading and installing the Visual C++ Redistributable from here: http://www.microsoft.com/en-US/download/details.aspx?id=40784
...that fixed the dll issue, and MiiModifier no longer errors when saving.
 
Last edited by duwen,

fmkid

Just another GBATemp's random guy
Member
Joined
Apr 23, 2015
Messages
1,911
Trophies
0
XP
1,426
Country
Colombia
Well, looking into my 'CFL_DB.dat' dumped file (via Hex editor), I can see that file saves also Streetpass only Mii's info... Am I right?... If yes, will be possible edit that info? (Only for asking!)
 

fmkid

Just another GBATemp's random guy
Member
Joined
Apr 23, 2015
Messages
1,911
Trophies
0
XP
1,426
Country
Colombia
I can't edit my Mii, when I try to save and apply the changes on MiiModifier, this error appears :c

mii.png


I have .NET Framework 4.0, and I'm really don't know what is the problem.
I also get same error, even after (re)installing VC Redist (running on XP). However, it seems that changes take effect on file, because I reopen it and shows me changes realized before...

On the other hand, in my particular case, I can't restore the modified CFL_DB.dat on my console. I follow all steps: "extdata" program shows me successful restore file message, but really nothing happens (I tried several times!)... Something seems to prevent any external change on my Mii's Editor (IDK if NNID association or what), as if there was a sort of "Only Read Memory Protection".
 
D

Deleted User

Guest
OP
Sorry everyone, I've been a bit busy recently.

I see you guys seem to have fixed an issue yourselves, but hopefully in the next update (coming soon), I'll have some things working better.

As for restoring it fmkid, it is most likely loading the backup stored on the 3DS, this is likely because there was an issue with the file. What changes were you making?

When the next version is done fmkid, I don't think there will be issues with your CFL_DB.dat file, as I am using that to test :)
 
  • Like
Reactions: fmkid
D

Deleted User

Guest
OP
Nintendo Fanboy , did you follow the usage instructions in the spoiler of the main post?

If so, just checking if you remembered to unzip the .zip file first.

Also, make sure that .NET Framework 4.0 is installed.

If all of those are true, I'm unsure why it is not working, but hopefully the new update should fix it.
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
OP
Nintendo Fanboy , did you follow the usage instructions in the spoiler of the main post?

If so, just checking if you remembered to unzip the .zip file first.

Also, make sure that .NET Framework 4.0 is installed.

If all of those are true, I'm unsure why it is not working, but hopefully the new update should fix it.
Is .NET Framwork 4.0 a internet thing..? I can't do much as the pc I use is my dads and I don't want to mess anything up.
 
D

Deleted User

Guest
OP
So, I just fixed up the parser and I updated my first post with an edit regarding how I surround filenames and directories with (').

One question though, would you guys rather have the updated parser now or wait for me to add the ability to change creator names as well?

If 2 people would like to wait for the ability to change creator names, then I will add that before releasing the update.
Otherwise, I will release the updated parser.
 
D

Deleted User

Guest
OP
So, I just fixed up the parser and I updated my first post with an edit regarding how I surround filenames and directories with (').

One question though, would you guys rather have the updated parser now or wait for me to add the ability to change creator names as well?

If 2 people would like to wait for the ability to change creator names, then I will add that before releasing the update.
Otherwise, I will release the updated parser.
I'd rather have the updated parser now.
 
D

Deleted User

Guest
OP
Yep!
Updated parser is now attached to first post (It's called 3DSMiiModifierV1.1.zip).

Please let me know how it works because the most testing I've done on it is modifying two different files, reloading them in the program, and publishing one to my 3DS.

Otherwise, enjoy!

P.S. Check out the first post, I added Update Logs, Feature Requests, and an edit about my instructions!
 

fmkid

Just another GBATemp's random guy
Member
Joined
Apr 23, 2015
Messages
1,911
Trophies
0
XP
1,426
Country
Colombia
Sorry everyone, I've been a bit busy recently.
As for restoring it fmkid, it is most likely loading the backup stored on the 3DS, this is likely because there was an issue with the file. What changes were you making?
Well, indeed, 2 kind of changes: a file modified with your program (changing names, enabling gold pants) and one modified with Hex editor (only changing names). In any of both cases, restore extdata seems to be not working for me.... Later, I delete directly from Mii's editor some of my created Miis, and try to restore original dumped CFL_DB.dat, and nothing happens: Miis deleted are not restored!... Maybe problem is only on my console, IDK! (Sorry, edit some bad writing)

When the next version is done fmkid, I don't think there will be issues with your CFL_DB.dat file, as I am using that to test :)
OK, thanks for all!... I hope something good will be come!... Keep up your good work! :yaynds:
 
Last edited by fmkid,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Votes are starting to get counted hail your new female wife