Post: C# RTM Tool issue Help?
11-16-2014, 02:08 AM #1
MrToxlcBooty
I defeated!
(adsbygoogle = window.adsbygoogle || []).push({}); so ive been trying and trying to make a .bin injector heres my code

    
try
{

OpenFileDialog dialog = new OpenFileDialog
{
Filter = "BIN files (*.bin)|*.bin|All files (*.*)|*.*"
};
dialog.ShowDialog();
byte[] buffer = File.ReadAllBytes(dialog.FileName);
PS3.SetMemory((uint)Convert.ToInt32(textBox4.Text), buffer);
}
catch
{
MessageBox.Show("Unable To Inject Sorry :/");
}


it requires a textbox for the address input and a button to bring up the file dialog but everytime i press a .bin i keep getting the catch message box its like it doesn't even try to inject help?
(adsbygoogle = window.adsbygoogle || []).push({});
11-16-2014, 10:00 AM #2
iJosh
Quit, Bigger & Better Things
Originally posted by MrToxlcBooty View Post
so ive been trying and trying to make a .bin injector heres my code

    
try
{

OpenFileDialog dialog = new OpenFileDialog
{
Filter = "BIN files (*.bin)|*.bin|All files (*.*)|*.*"
};
dialog.ShowDialog();
byte[] buffer = File.ReadAllBytes(dialog.FileName);
PS3.SetMemory((uint)Convert.ToInt32(textBox4.Text), buffer);
}
catch
{
MessageBox.Show("Unable To Inject Sorry :/");
}


it requires a textbox for the address input and a button to bring up the file dialog but everytime i press a .bin i keep getting the catch message box its like it doesn't even try to inject help?



Hey,

I think ive found the problem.

I dont believe that its reading the bin properly.

By converting the bytes to a string, then getting a message to to show the string I was able to see that the bytes weren't being read at all.

I used:
    try
{

OpenFileDialog dialog = new OpenFileDialog
{
Filter = "BIN files (*.bin)|*.bin|All files (*.*)|*.*"
};
dialog.ShowDialog();
byte[] buffer = File.ReadAllBytes(dialog.FileName);
string s1 = Encoding.UTF8.GetString(buffer);
MessageBox.Show(s1);
PS3.SetMemory((uint)Convert.ToInt32(textBox1.Text), buffer);
label2.Text = "Loaded";
}
catch
{
MessageBox.Show("Unable To Inject");
}


*EDIT*
By using:
    try
{

OpenFileDialog dialog = new OpenFileDialog
{
Filter = "BIN files (*.bin)|*.bin|All files (*.*)|*.*"
};
dialog.ShowDialog();
byte[] buffer = File.ReadAllBytes(dialog.FileName);
string s2 = BitConverter.ToString(buffer);
MessageBox.Show(s2);
PS3.SetMemory((uint)Convert.ToInt32(textBox1.Text), buffer);
label2.Text = "Loaded";
}
catch
{
MessageBox.Show("Unable To Inject");
}


It does infact load the bytes. My apologies.
However, when setting bytes to offsets via rtm, you need to append 10000 to the offset, and 0x to the front of each byte.
The c# func only reads the bytes like this: You must login or register to view this content.
11-16-2014, 11:30 AM #3
MrToxlcBooty
I defeated!
Thanks <3 life saver i have been trying all day lol
11-16-2014, 01:15 PM #4
iJosh
Quit, Bigger & Better Things
hey dude, after playing a bit and getting a lot of help, I got it working.

You must login or register to view this content.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo