Hacking Uwizard: All-In-One Wii U PC Program

  • Thread starter Thread starter Mr. Mysterio
  • Start date Start date
  • Views Views 556,129
  • Replies Replies 675
  • Likes Likes 40
Uwizard 1.1.3 is here!

I have added added German and Spanish, and fixed some bugs in the Sound Manager! You may either manually download Uwizard 1.1.3 here, or if you've already downloaded Uwizard, click the "Check For Updates" button in the "Settings" tab and it will automatically update while keeping your entered keys and settings!

Changes:
- German language added.
- Spanish language added.
- Minor bug fixes.

The features I hope to add in the next version are:
- BFRES Decoder
- BFLIM Decoder
- BFSTM (and/or BFWAV) Compiler
- Arabic Language

I welcome any questions, suggestions, or comments! (or any other form of feedback that doesn't fall into one of those three categories :P)

So question; what does BFRES decode to?
 
So question; what does BFRES decode to?

In it's most basic form, it will open a BFRES model and export a model in a standard format. (Like DAE or OBJ.) However, it would look really stupid and unprofessional if the entire BFRES Decoder page was filled with one button saying "Decode BFRES". To fix that, I'm going to add a nice 3D preview window. I've made some progress. It may be a week before the next update, but it'll be a big one! It won't be 1.1.4, it'll be 1.2.0! :yayu:
 
In it's most basic form, it will open a BFRES model and export a model in a standard format. (Like DAE or OBJ.) However, it would look really stupid and unprofessional if the entire BFRES Decoder page was filled with one button saying "Decode BFRES". To fix that, I'm going to add a nice 3D preview window. I've made some progress. It may be a week before the next update, but it'll be a big one! It won't be 1.1.4, it'll be 1.2.0! :yayu:

Will the 3DS Max script that views BFRES files help you?
 
  • Like
Reactions: Margen67
Will the 3DS Max script that views BFRES files help you?

It is very helpful! :lol: That plus a hex editor is what I've been using!

EDIT: I'm also going to work on a BFRES compiler, but that will take longer because I would need to send the files to NWPlayer123 for testing. (Or, after June 16, I can test them myself! :D)
 
  • Like
Reactions: Margen67
(Or, after June 16, I can test them myself! :D)

YEAH BABY!! :lol:

Well, NWPlayer123 said that it's the predicted release day, but it's not confirmed that it IS the release date.... :(
Also NWPlayer123, shouldn't you take permission from ChadderZ to release cafiine with the exploits since it's not released yet?
 
  • Like
Reactions: Margen67
Found a bug while doing the update. Was not thinking to screenshot, sorry.

I was doing the update to 1.1.3, while I also had WinRAR unpacking some files for me. Both tasks were very close to finishing, when they both freeze. Uwizard crashes and tells me some sort of exception occured. WinRAR finishes up.

Sorry if that's really vague.
 
Found a bug while doing the update. Was not thinking to screenshot, sorry.

I was doing the update to 1.1.3, while I also had WinRAR unpacking some files for me. Both tasks were very close to finishing, when they both freeze. Uwizard crashes and tells me some sort of exception occured. WinRAR finishes up.

Sorry if that's really vague.

I can't do anything to directly fix the problem from your description, but I will look into the code more thoroughly. Next time you get an exception window, just copy and paste the "Details" info into a notepad document and send it to me. That would let me to find the exact line of code the caused the crash. The next version of Uwizard will have exception handlers that save crash logs! :)

BTW, I just tested Uwizard on my grandparents' 32-bit Windows XP computer, and it worked just as well as on my Windows 7 computer!
 
I can't do anything to directly fix the problem from your description, but I will look into the code more thoroughly. Next time you get an exception window, just copy and paste the "Details" info into a notepad document and send it to me. That would let me to find the exact line of code the caused the crash. The next version of Uwizard will have exception handlers that save crash logs! :)

BTW, I just tested Uwizard on my grandparents' 32-bit Windows XP computer, and it worked just as well as on my Windows 7 computer!



Yeah, sorry about the bad description. I'll try to replicate the bug. That's smart to include handlers that save crash logs, for moments exactly like these.

That's great news! My teacher gave me the No-Go for me to test it, so it's good that you were able to. He said something along the lines of "IT people wouldn't like you running something like this [referencing programs written by developers such as you], and it'd be more trouble than it's worth to explain it all to them."
 
  • Like
Reactions: Mr. Mysterio
Yeah, sorry about the bad description. I'll try to replicate the bug. That's smart to include handlers that save crash logs, for moments exactly like these.

That's great news! My teacher gave me the No-Go for me to test it, so it's good that you were able to. He said something along the lines of "IT people wouldn't like you running something like this [referencing programs written by developers such as you], and it'd be more trouble than it's worth to explain it all to them."

Which version were you updating from? If you don't have the old Uwizard.exe, I can get you the old version ZIP for any version.

PS: Don't feel like you gave a bad description. You're description is very helpful. It tells me that an error can occur in the updater function. That's easier to figure out than just "An error can occur in Uwizard.".
 
  • Like
Reactions: Crazc
Which version were you updating from? If you don't have the old Uwizard.exe, I can get you the old version ZIP for any version.

PS: Don't feel like you gave a bad description. You're description is very helpful. It tells me that an error can occur in the updater function. That's easier to figure out than just "An error can occur in Uwizard.".


I was updating from 1.1.2. I'll gladly attempt to re-create the error for you if you can get me the ZIP of it. I'll even unzip the same file as to replicate it even more exactly.
 
I attached the exact same files that were on http://wiiubrew.net, but in a 7z. (Just rename it to Uwizard_112.7z.)


Why should I rename it to a 7z? I was able to extract it just fine as a RAR with WinRAR.

Edit: I noticed this earlier but forgot to ask. Why is the settings file listed as a Snes9x ROM? It's probably because I've installed Snes9x, but what about the settings file makes it listed as that?
 
Found another bug. Lol. I opened up Uwizard 1.1.2, and opened the Games folder (where my SM3DW WUD is). Games folder is in the main folder where I store Uwizrad 1.1.3.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Uwizard.Form1.openWUD(String wudpath, Boolean verbose)
at Uwizard.Form1.wudlist_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ListBox.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.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Uwizard
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/maryalice/Desktop/Uwizard_112/Uwizard.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
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.5485 (Win7SP1GDR.050727-5400)
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.5491 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------


This bug was in 1.1.2, so it may not be in 1.1.3.
 
I believe I have gotten the bug I referenced at first. The one about unpacking a RAR file at the same time.


************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'Updater.exe' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String path, Boolean recursive)
at Uwizard.Form1.Form1_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.ContainerControl.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Uwizard
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/maryalice/Desktop/Uwizard_112/Uwizard.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
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.5485 (Win7SP1GDR.050727-5400)
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.5491 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
 
Sorry I couldn't get back to you sooner, I was REALLY busy over the last two days. :angry:

- The reason I said you should rename it to a 7z is because that's the actual file format. WinRAR just happens to be smart enough to read it as a 7z. It you open it in Notepad, you'll see that the first two characters are "7z".

- I encountered that when I installed Snes9x too. The reason it re-assigns those files is because .bin files sometimes contain SNES ROMs. However, .bin files usually just contain binary data for any purpose. I reassigned then to a hex editor right after I installed Snes9x.

- That's yet another real bug. It is in 1.1.3 also, but it only occurs randomly. It'll be fixed in the next version.

- Aha! You're right, it only happens when WinRAR is running. What is happening is that it expects the Updater.exe to be finished in less than 3 seconds, but WinRAR uses so much of the processor time that Updater.exe takes longer. When Uwizard tries to delete it, the file is still in use. That bug will also be fixed in the next version.

- I actually found one more subtle bug in the wud folder list. Every 100 milliseconds, it allocates memory for the names, but it never frees that memory. As you can probably guess, that would get pretty ugly if Uwizard is left open long enough.
 
-Ah. Well, then it's good I use a good unpacking program.

-I did the same thing you did. Just reassigned it to a hex program and poof.

-That's good. It was the first and only time I experienced it, but it's good that you have fixed it (or will).

-Makes sense. How did you go about fixing it? Did you change the allotted time to a larger number if WinRAR is running, or what?

-I experienced that one myself but not in such a large manner I thought I should report it to you. I left it running overnight, and when I checked in on it, my computer was kind of slow. I figured it was due to my computer being a piece of crap.
 
-Ah. Well, then it's good I use a good unpacking program.

-I did the same thing you did. Just reassigned it to a hex program and poof.

-That's good. It was the first and only time I experienced it, but it's good that you have fixed it (or will).

-Makes sense. How did you go about fixing it? Did you change the allotted time to a larger number if WinRAR is running, or what?

-I experienced that one myself but not in such a large manner I thought I should report it to you. I left it running overnight, and when I checked in on it, my computer was kind of slow. I figured it was due to my computer being a piece of crap.

- I fixed it with something a little fancier than just increasing the time. It retrieves the handle of Updater.exe and then waits for it to be de-allocated. (Meaning the the process is done.)

- If you had checked Uwizard's memory usage in Task Manager, it would've shown something like 4GB or whatever your RAM capacity is. Here's a more detailed explanation if you're interested:
- Uwizard gradually allocated memory without freeing it.
- The operating system doesn't detect a problem because the memory usage is increasing so gradually and Uwizard hasn't crashed.
- The operating system uses all it's tricks to keep the memory elsewhere. (paging, caching, etc.)
- The operating system slowly grinds to a halt as the processor is busy manipulating massive amounts of memory instead of running the user's programs.
 
  • Like
Reactions: Crazc
- I fixed it with something a little fancier than just increasing the time. It retrieves the handle of Updater.exe and then waits for it to be de-allocated. (Meaning the the process is done.)

- If you had checked Uwizard's memory usage in Task Manager, it would've shown something like 4GB or whatever your RAM capacity is. Here's a more detailed explanation if you're interested:
- Uwizard gradually allocated memory without freeing it.
- The operating system doesn't detect a problem because the memory usage is increasing so gradually and Uwizard hasn't crashed.
- The operating system uses all it's tricks to keep the memory elsewhere. (paging, caching, etc.)
- The operating system slowly grinds to a halt as the processor is busy manipulating massive amounts of memory instead of running the user's programs.



Yep, that's exactly what it felt like. I turned on my monitor, noticed nothing was moving (didn't assume it was it was the fault of Uwizard), restarted my tower, and voila.

Edit: Right on the money with that 4GB RAM allocation guess, FYI.
 
  • Like
Reactions: Mr. Mysterio

Site & Scene News

Popular threads in this forum