Hello,
I searched whole google for a solution, but the sad thing is that nothing of it works with gecko together.
What I did is this:
But I want to use the poke as a Textbox with String.
So for example;
I am doing a Maploader for Wind Waker and I want to load the Map "DmSpot0" so I input "DmSpot0" into the Textbox and its getting converted to Hex so that the game will load the map.
So it should something like this in the end
DmSpot0 is btw longer than 32 Bits, so do I have to do something special for it, or does it write auto. to the address "109763F4"?
Sources I tried:
http://stackoverflow.com/questions/16999604/convert-string-to-hex-string-in-c-sharp
https://www.easycalculation.com/ascii-hex.php
http://stackoverflow.com/questions/18627304/convert-ascii-in-a-byte-array-to-string
http://stackoverflow.com/questions/15920741/convert-from-string-ascii-to-string-hex
http://string-functions.com/string-hex.aspx
https://dotnet-snippets.de/snippet/string-in-hex-wandeln/59
I'm pretty new into C# so don't blame me please.
I searched whole google for a solution, but the sad thing is that nothing of it works with gecko together.
What I did is this:
Code:
private void button3_Click(object sender, RoutedEventArgs e)
{
this.tcpGecko.poke32(0x109763F0, 0x73656100);
}
But I want to use the poke as a Textbox with String.
So for example;
I am doing a Maploader for Wind Waker and I want to load the Map "DmSpot0" so I input "DmSpot0" into the Textbox and its getting converted to Hex so that the game will load the map.
So it should something like this in the end
Code:
private void button3_Click(object sender, RoutedEventArgs e)
{
this.tcpGecko.poke32(0x109763F0, blablablabla(textBox.Text); // Converted String to Hex
}
DmSpot0 is btw longer than 32 Bits, so do I have to do something special for it, or does it write auto. to the address "109763F4"?
Sources I tried:
http://stackoverflow.com/questions/16999604/convert-string-to-hex-string-in-c-sharp
https://www.easycalculation.com/ascii-hex.php
http://stackoverflow.com/questions/18627304/convert-ascii-in-a-byte-array-to-string
http://stackoverflow.com/questions/15920741/convert-from-string-ascii-to-string-hex
http://string-functions.com/string-hex.aspx
https://dotnet-snippets.de/snippet/string-in-hex-wandeln/59
I'm pretty new into C# so don't blame me please.