drhacknik / 3dnus Goto Github PK
View Code? Open in Web Editor NEWAn all in one 3DS NUS Downloader and Utility; and it's as Light as Air.
License: GNU General Public License v3.0
An all in one 3DS NUS Downloader and Utility; and it's as Light as Air.
License: GNU General Public License v3.0
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
at _3DNUS_Material_Edition.FormMain.firmwdownload(YLS_Sysver sys, Char region) in C:\Users\Luke\Documents\GitHub\3DNUS\Source\3DNUS_Material_Source\3DNUS Material Edition\3DNUS Material Edition\FormMain.cs:line 165
at _3DNUS_Material_Edition.FormMain.materialFlatButton1_Click(Object sender, EventArgs e) in C:\Users\Luke\Documents\GitHub\3DNUS\Source\3DNUS_Material_Source\3DNUS Material Edition\3DNUS Material Edition\FormMain.cs:line 309
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at 3DNUS_Material_Edition.FormMain.<.ctor>b__13_1(Object dmy_sndr, KeyEventArgs _keyevt) in C:\Users\Luke\Documents\GitHub\3DNUS\Source\3DNUS_Material_Source\3DNUS Material Edition\3DNUS Material Edition\FormMain.cs:line 102
at System.Windows.Forms.Control.OnKeyUp(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 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:
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.
Trying input "0004800F484E4841 v11264" (DS Card whitelist) or "0004800F484E4C41 v0" (Version Data), the old 3DNUS v1.9 by ground works fine for downloading these.
"cant acquire the title list.
you can still download titles, but firmware downloading is not possible,
thus the downloading will be aborted"
please help.
what do I need to do to download firmware?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
at _3DNUS_Material_Edition.FormMain.firmwdownload(YLS_Sysver sys, Char region) in C:\Documents and Settings\MarcusD\Desktop\HacknikNUS\3DNUS\Source\3DNUS_Material_Source\3DNUS Material Edition\3DNUS Material Edition\FormMain.cs:line 163
at _3DNUS_Material_Edition.FormMain.materialFlatButton1_Click(Object sender, EventArgs e) in C:\Documents and Settings\MarcusD\Desktop\HacknikNUS\3DNUS\Source\3DNUS_Material_Source\3DNUS Material Edition\3DNUS Material Edition\FormMain.cs:line 308
at System.Windows.Forms.Button.PerformClick()
at 3DNUS_Material_Edition.FormMain.<.ctor>b__2(Object dmy_sndr, KeyEventArgs _keyevt) in C:\Documents and Settings\MarcusD\Desktop\HacknikNUS\3DNUS\Source\3DNUS_Material_Source\3DNUS Material Edition\3DNUS Material Edition\FormMain.cs:line 100
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 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:
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.
How can I fix this? It just hangs after I press continue.
Everytime i try do download any New3DS Firware i get this error:
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
System.IO.InvalidDataException: Invalid report file!
in _3DNUS.YLS.Import(String wat)
in _3DNUS_Material_Edition.FormMain.materialFlatButton1_Click(Object sender, EventArgs e)
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.
Ad esempio:
Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
3DNUS seems to have been a project that I have not been focusing on as much. Or at all for that matter. I indeed apologize, and I am currently busy with other projects. Although, I am planning on picking the project back up, and improving it's performance further. As well as add any features that may be requested; although, I will not be adding excess amounts of features. Since I am trying my best to keep 3DNUS as lightweight as possible.
Please expect a new Build within this month; it will most likely feature some stability improvements, fixes, and a refined updater.
#16 ... Also, concerning issues such as that; thanks a lot for reporting them. Issues like that can be fatal to how 3DNUS functions, and prevent users from actually downloading new NUS content. D#@! Nintendo for changing things so much!
Anyways, thanks for reading this far; and I hope you continue to use and enjoy 3DNUS.
~Doc
Currently the Updater does not download the Appropriate build. But, this will soon be fixed!
Most likely in the Next Pre-Release!
This is the same issue as #14 . Some system titles do have letters in their IDs as the IDs are HEX numbers.
The fact is, the regex used in your code caused this problem. I want to download 0004800F484E4841 v11264
used in here, but I can't download it use this tool. After looking into the code, I patched a regex you used to ([0-9a-fA-F]{16})([\s_]+v?(\d+))?
and problem solved. Please consider update that regex.
2.0+ Do NOT Download 10.x.x+ Properly or Fully! This will be Fixed as soon as Possible!
I was trying to download 3DS update 11.7.0-40 using 3DNUS (tried both v3.1.11 alpha and v3.2 nightly) but while downloading certain files it'll crash as can be seen below
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'H:\Program\Console\Nintendo 3DS\3DSNUS\tmp\tmd.__SyncDownTMP_52.2114713702298__.bak.tmp' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at MarcusD.at.SyncDown.syncDown(String link, String to)
at _3DNUS_Material_Edition.FormMain.singledownload(UInt64 id, Int32 version)
at _3DNUS_Material_Edition.FormMain.firmwdownload(YLS_Sysver sys, Char region)
at _3DNUS_Material_Edition.FormMain.materialFlatButton1_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.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2671.0 built by: NET471REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
3DNUS Material Edition
Assembly Version: 3.2.0.0
Win32 Version: 3.2
CodeBase: file:///H:/Program/Console/Nintendo%203DS/3DSNUS/3DNUS%20Material%20Edition.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
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.7.2556.0 built by: NET471REL1
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.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MaterialSkin
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/Program/Console/Nintendo%203DS/3DSNUS/MaterialSkin.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2661.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AxInterop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/Program/Console/Nintendo%203DS/3DSNUS/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/Program/Console/Nintendo%203DS/3DSNUS/Interop.WMPLib.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.
on Win10 x64 and plenty of hard disk space
When downloading some Firmware's, you may get an Error such as this:
The directory is not empty (Possibly \Temp);
This may be able to be fixed by adding a "Try & Catch Exception"
DUMPED_JIT_ERROR:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.IOException: The directory is not empty.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at _3DNUS_Material_Edition.FormMain.singledownload(UInt64 id, Int32 version)
at _3DNUS_Material_Edition.FormMain.firmwdownload(YLS_Sysver sys, Char region)
at _3DNUS_Material_Edition.FormMain.materialFlatButton1_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.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
3DNUS Material Edition
Assembly Version: 2.7.0.3
Win32 Version: 2.7.0.3
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
MaterialSkin
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
************** 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:
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.
Below is the Dumped log when downloading FW 7.1 --> 11.0 USA
--Log Dump Start--
SystemOS: Microsoft Windows NT 6.2.9200.0
Program Version: 2.7.0.4
Debug State: Uknown
Time Dumped: 6/30/2016 3:55:49 PM
Console: 6/30/2016 3:54:33 PM
Checking title database, please wait...
Downloading Firmware: 7.1.0-999U
Downloading 0004001000021000 v6157...
Title has 2 contents
Downloading complete
Downloading complete
Packing as .cia ...
Done.
Downloading 0004001000021100 v2051...
Title has 1 content
Downloading complete
Packing as .cia ...
Done.
Downloading 0004001000021200 v2064...
Title has 2 contents
Downloading complete
Downloading complete
Packing as .cia ...
Done.
Downloading 0004001000021300 v2051...
Title has 1 content
Downloading complete
Packing as .cia ...
Done.
Downloading 0004001000021400 v3088...
Title has 2 contents
Downloading complete
Downloading complete
Packing as .cia ...
Lifes a asshole right?
When trying to download the USA region 11.7.0-40U package with the New 3DS option selected, I can't find the new Health & Safety with Title ID of 0004001020021300.
I can find the Health & Safety for the old series that's 0004001000021300. I went and tried deleting the entire 3DNUS folder, extract from archive for fresh program install, go through the startup with RESET SETTINGS, and chose nothing but New 3DS for Default Titlelist.
I also downloaded the 11.7.0-40U for the Old 3DS and crossed compared what I get with New 3DS in hash checks; the two packages are identical file for file. I think my copy of 3DNUS is failing to download for New 3DS stuff.
This was done on both v3.3 Stable and v.3.31 nightly for Windows x64 on my Windows 8.1 64-bit laptop.
Also, the individual title search and download feature doesn't work for me. I'll download the entire firmware package with a log dump and try downloading a single cia.
use title 11.1.0-34J
Is this a pc app? How do I open it? If it is for 3ds (which I doubt it is) how do I make it?
I entered in the system application, because I wanted to get h&s: 00040010
Then I did the h&s titleID: 20021300
And I'm on 11.4.0-37, so I typed in 16
It came out as: 0004001020021300/16
Am I typing in the thing correctly?
l think if the Title ID is purely number, it will be ok. However the Title ID has capital letters, it will has a wrong? Or it's my fault l want to know~
Steps to reproduce: Open 3DNUS, Click "New 3DS" button, type in any update, then hit begin download.
Error:
http://pastebin.com/3PS6fWTg
OS: Windows 8.1 x64
Version of 3DNUS: Any, including the newest nightly and release builds
Cant Launch It, Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at _3DNUS_Material_Edition.FormMain.InitializeComponent()
at _3DNUS_Material_Edition.FormMain..ctor()
at _3DNUS_Material_Edition.main_load.main_load_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
************** 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:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.