Gecko dotNET Bugs and Requests

Started by Mal1t1a, January 19, 2010, 12:08:54 AM

Previous topic - Next topic

dcx2

Sorta?  The thread runs, but it doesn't do anything unless the watch list tab is active.

Arudo

Weird, because I hardly ever use that function.
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.

Bully@Wiiplaza

#437
Quote from: dcx2 on May 08, 2011, 08:08:31 PM
I noticed today that if Gecko.NET attaches to the game while at the loading screens, it would cause a crash.
That´s what I wanted to tell you recently...!
"Switching to the Mem Viewer during a loading screen crashes the game" <- like this
Would it be possible to both, the crash and the C2 codes issue in one geckodotnet version?

---

However, I would like to have an option to "add current value to the search box" when an adress in the mem viewer is left-clicked with held control button (in my opinion better than right click and choose the option "add to search box" from the list)

[spoiler]
[/spoiler]

Hope it´s possible to understand what I´m requesting.
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

dcx2

It didn't crash for all my games.  Wii Play worked, Tales of Symphonia did not.

---

Hold shift when left clicking a memory cell and it will automatically change MemView Search to Hex mode and add the cell you clicked on.  This was added in 0.64.5 http://wiird.l0nk.org/forum/index.php/topic,4886.msg67656.html#msg67656

Bully@Wiiplaza

#439
kk thanks!

Little bugs:
- Ticking a memory range in the pointer search tab crashes the application, since it is intended to press the dump button instead (after the dump, it´s ticks the box by itself). However, using the pointer search button (when at least 2 dumps + adress were made) in the GUI doesn´t work, should I use Dr.Pepper´s app then?
- If you start a search and notice that you want to cancel it, the app still searches through the results and gives the list, which takes about 5-10 secs. Instead, there should be possible to "instant cancel"
- GCT Code Undo with invalid adresses crashes the game (already mentioned)

Requests:
- A new tab, where you can put e.g. button activator values, codes templates and stuff you want to take some looks at when hacking which can be saved there and always used, no matter which game you "debug" (other than the notepad that saves your notes game specific)
- It would be great, if you can directly start a pointer in pointer search, that´s what you can neither do on geckodotnet nor on Dr.Pepper´s app (as far as I know) if normal Pointer results were found... (WiiRdGUI does the job then, but it´s unhandy and slow)

Hope these things seem useful ;)
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

dcx2

I don't get a crash when I tick a memory range.  I get what is supposed to appear - an open file dialog that asks you what dump you want to load.  Checking those checkboxes allows you to load arbitrary dumps that you have collected at any time.

You might want to try putting a valid pointer into the textbox before clicking the dump buttons.

What do you mean, "pointer search button in the GUI doesn't work"?

You'll have to get Dr. Pepper to update his app with some command-line switch to force pointer-in-pointer.  I saw you posted in his thread; try PMing him.

I will fix GCT Code Undo with invalid address in the next build.

---

I might do the instant cancel thing, but I doubt it.  The combined time it takes for everyone to wait for canceled searches is likely greater than how much time it would take for me to make it faster.

As far as the notes thing...why not just use regular old Notepad?  I have about 5-10 instances of Notepad open during any hacking.  I copy and paste a LOT of stuff; disassembly, memview, notes, step logs, etc.  I don't even use the built-in Notepad feature.

Bully@Wiiplaza

Quote from: dcx2 on May 21, 2011, 03:54:16 PM
You'll have to get Dr. Pepper to update his app with some command-line switch to force pointer-in-pointer.  I saw you posted in his thread; try PMing him.
done!
And thanks for the tips with notepad and stuff.
You were right, I didn´t put a pointer in the box before trying to load a file.
Maybe you could fix this, though...
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

Arudo

Okay... here's something odd that came up using the latest build of Gecko OS and Gecko dotNET

I put three addresses I was searching for on the watchlist and when I clicked on the watchlist to go mem-view for that address, it reset my game and gecko dotNET froze.

For information's sake I was checking for an AP address in Xenoblade (JP) version.
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.

Bully@Wiiplaza

#443
Tools Tab:
From the 3 utility links, PyiiASMH gives a crash message.
The other 2 link to the main WiiRd thread(s).

[spoiler]Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
Parametername: index
  bei System.Collections.ArrayList.get_Item(Int32 index)
  bei System.Windows.Forms.LinkLabel.LinkCollection.get_Item(Int32 index)
  bei GeckoApp.MainForm.linkLabelPyiiASMH_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e)
  bei System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
  bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  bei System.Windows.Forms.Control.WndProc(Message& m)
  bei System.Windows.Forms.Label.WndProc(Message& m)
  bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4959 (win7RTMGDR.050727-4900).
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
Gecko dNet
   Assembly-Version: 1.0.0.0.
   Win32-Version: 1.0.0.0.
   CodeBase: file:///C:/Users/Admin/Documents/Wii%20Hacking%20Tools/gecko.net/Gecko%20dNet.exe.
----------------------------------------
System.Windows.Forms
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   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.4927 (NetFXspW7.050727-4900).
   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.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Windows.Forms.resources
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Configuration
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
mscorlib.resources
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4959 (win7RTMGDR.050727-4900).
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.[/spoiler]

If you deny the USB Gecko Connection at fire up of the app (without one connected) gives this extention:

[spoiler]Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.DllNotFoundException: Die DLL "FTD2XX.DLL": Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden.
  bei D2XXDirect.D2XXWrapper.FT_Close(UInt32 ftHandle)
  bei D2XXDirect.D2XXWrapper.Close()
  bei FTDIUSBGecko.USBGecko.Disconnect()
  bei GeckoApp.MainForm.CUSBGecko_Click(Object sender, EventArgs e)
  bei System.Windows.Forms.Form.OnShown(EventArgs e)
  bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
  bei System.Threading.ExecutionContext.runTryCode(Object userData)
  bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
  bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Geladene Assemblys **************
mscorlib
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4959 (win7RTMGDR.050727-4900).
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
Gecko dNet
   Assembly-Version: 1.0.0.0.
   Win32-Version: 1.0.0.0.
   CodeBase: file:///C:/Users/Admin/Documents/Wii%20Hacking%20Tools/gecko.net/Gecko%20dNet.exe.
----------------------------------------
System.Windows.Forms
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   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.4927 (NetFXspW7.050727-4900).
   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.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Windows.Forms.resources
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Configuration
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
mscorlib.resources
   Assembly-Version: 2.0.0.0.
   Win32-Version: 2.0.50727.4959 (win7RTMGDR.050727-4900).
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.[/spoiler]

If no USB is connected, the app sometimes freezes when switching tabs.
"Geckodotnet doesn´t work anymore. Searching for problems" (directly translated sentence)
And it closes itself.

Note that I discovered these on a Win7 laptop.
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

Bully@Wiiplaza

Wouldn´t it be great to set a breakpoint read/write/execute on multiple adresses at the same time? (Similar to multi poke)
It should then display the adress that broke first...
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

dcx2

Yes, it would be great, if it were possible.  Unfortunately, the PowerPC architecture only really allows one data or execute BP at a time.

In theory, if you wanted to do multiple execute BP, you could set up a series of C2's that write to a reserved area of memory and set a Write breakpoint on that.  It would in effect create multiple execute BP, because nothing else but your C2's will write to that address.

Arudo

Nothing on any known bugs that has gecko force-reset/crash games?
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.

dcx2

Were you doing anything in particular?  I've had a few issues with sending codes to the game, probably because of the C2 patches.  Though I don't mess with the Watch List and it might cause some problems too.

Deathwolf

Hmm I'm just asking again for fixing this freez error. Everytime if the latest version of Gecko dNET have an error, I have to restart my PC to connect to the USB Gecko. This error comes when Gecko dNET dumps the game. For some reason WiiRd have the same bug but then I'm still able to connect once again. So really please fix this bug because I need Gecko dNET for porting the file patch code.

Thanks...
lolz

Arudo

Quote from: dcx2 on June 04, 2011, 09:50:45 PM
Were you doing anything in particular?  I've had a few issues with sending codes to the game, probably because of the C2 patches.  Though I don't mess with the Watch List and it might cause some problems too.

I was searching for the EXP or AP addresses, and I found them. So I stuck them into the Watchlist so I could remember what they were. So when I wanted to Right-click on it, Gecko went boom and the game/wii reset itself. This was before I had applied any GCT codes however.
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.