What's new

[PS3] Basics of creating C# RTM Tools

  • Thread starter Vessel
  • Start date
  • Views 10,263
V

Vessel

Enthusiast
Messages
30
Reaction score
9
Points
55
Sin$
0
Sup, today i'm making a quick tutorial on how to make a modding tool for the PS3 Modding Scene. These can be very helpful and I have made tons of them myself. So firstly what you want to do is find offsets and which game you want to make a tool for.

Next, You should open up whatever visual studio you are using. It should look like this but without all of those recent projects. Gyazo - 6d4c32981d1452dcc736894c2ba7505c.png Now that you have Visual Studios opened you can go ahead and start your new project, I will be using 'Tutorial' for the sake of this tutorial, but you can choose a name of your choice. It should then come up with your basic tool with nothing on it. Which would look like so. Gyazo - d00b7784286e5d3e76ec8fbe5c63bf34.png to start off you can edit the size of your tool. But before we get into detail, we are going to enter the coding for the PS3Lib and your style of layout.

So double click the tool. Your coding should appear, which will look like so. Gyazo - cf03fc6f77ccbea61e4d78f16a879e5d.png the top left hand corner of Visual Studios there will be a lot of options.

At this point you want to click on Project, and then Add reference. Here's where it should be located. Gyazo - 9e1047aab733f5ed639776f17e7aa33a.png to get into business. We are going to enter PS3Lib and your choice of layout for your tool. The layout makes your tool look much more clean and professional, so without further due, you want to add your PS3Lib as a reference. Here is what will appear when you click on add a reference. Gyazo - 6941e0f27c7783dbde46b6f39557c8b6.png

However, your PS3Lib won't automatically be there, so you have to go to browze, then to your desktop and select PS3Lib from there like so. http://gyazo.com/53cc2ee29c4f621b06fe076b03afdf8a After you are done adding that, now you can also add another reference while you're in that stage, this will of course be your layout. I prefer to use metroframworks, but whatever suits you best is what you can use. Simply repeat the previous step and add your layout. Now lets move on. These can't be activated to the tool until you get the programming for them, so where you see :

Code:
using System; 
using System.Collections.Generic; 
using System.ComponentModel; 
using System.Data; 
using System.Drawing; 
using System.Linq; 
using System.Text; 
using System.Threading.Tasks; 
using System.Windows.Forms;

You want to add:

Code:
using PS3Lib; 
using MetroFramework.Forms;


So it should look like this: http://gyazo.com/647982c2598c1e9d3094f424870bdbed After that, you want to add MetroFramework.Forms.MetroForm here: http://gyazo.com/a9842ce2eda141ca4614a3b761d73a84 So it will look like this: http://gyazo.com/6b416f84c69dccc0e0ef4527b8f9cce9

Now you are officially ready to start the coding. YOu have your tool set up with professionalism. It should now look like this: http://gyazo.com/1503fddbc6fe90ba1d88c3006faa3ecc

Okay, so now your work is nearly done, that is before we can start the coding. There's one more step. You want to go to the toolbox and make a new list. Like so: http://gyazo.com/14fab9b084145e231e0edb8604da0501 All you have to do is right click on the toolbox and select the option 'add tab' At this point, you can right click on the tab you just made and select the option 'Choose Items'. This will allow you to have the Metro Framework features.

Once it is successfully loaded, you need to click 'Browse' Then go to where you have the Metroframework.dll stored and select it. After it successfully loads, click ok. You are done and ready to code. Okay, so first things first, we are going to make a Connect and Attach button. So drag a button from the toolbox to the tool. It should pop up nice and easy like this: http://gyazo.com/d89cc832ef5f38e426215c569a5ebabf

Now that you have that on there, double click it. Your coding should come back up. Now you want to copy and paste this into that button.

Code:
if (PS3.ConnectTarget() && PS3.AttachProcess()) { MessageBox.Show("Connected and attached!", "Success"); } else { MessageBox.Show("Connection Failed!", "Failed"); }

Now it should look like this: http://gyazo.com/de630fb36c661ee94e9331a7d098ad7d So as you can see, you have a few errors. All you have to do to fix that is to scroll back up and past this in the exact spot you see it at. So paste this:

Code:
public static PS3API PS3 = new PS3API(SelectAPI.TargetManager);
here:
http://gyazo.com/5de4a31909458465d806c8682ff96f4c

Now as you can see the errors have went away. http://gyazo.com/cb75ce5267945433b35b31ddc0e401a3 That's it your connect and attach button was created successfully.

Now I'm going to teach you how to create a checkbox. So drag your checkbox onto your tool now. Double click it. All you do is paste this into the checkbox coding. And as you can see this coding is a little bit different.

Code:
if (checkBox1.Checked == true) { PS3.SetMemory(OFFSET+ (client * 0x5808), new byte[] { BYTE }); } else if (checkBox1.Checked == false) { PS3.SetMemory(OFFSET+ (client * 0x5808), new byte[] { BYTE }); }

Now where you see I have the word OFFSET, you simply copy and paste the offset into that spot. Same for where I have BYTE. These can be found on multiple threads and around many forums.

Now, you're basically done. There's nothing left but to add more options and arrange your tool the way you want it. And maybe if you get better it will turn out a bit like this. http://gyazo.com/be4eee431d0408560e80270145423ec4 Good luck to you all and your accomplishments. I believe in you, you are ALL smart people. I'd appreciate a Thanks below for this long and detailed tutorial lol.
 
rzsm

rzsm

Enthusiast
Messages
123
Reaction score
20
Points
70
Sin$
0
This is a great tutorial bro! This will definitely help out many who wish to start making tools. Great job and keep it up!
 
V

Vessel

Enthusiast
Messages
30
Reaction score
9
Points
55
Sin$
0
This is a great tutorial bro! This will definitely help out many who wish to start making tools. Great job and keep it up!
Thanks! I will also be releasing some of my great RTM Tools here on the site as well.
 
V

Vessel

Enthusiast
Messages
30
Reaction score
9
Points
55
Sin$
0
Let me know if you guys want to see more tutorials and programs released. :smile:
 
MegatronDemon25

MegatronDemon25

All Hail Megatron
Messages
1,712
Reaction score
403
Points
215
Sin$
0
the same thing i do to add ccapi i can do it to add tmapi right?
 
Top Bottom
Login
Register