You are viewing our Forum Archives. To view or take place in current topics click here.
[C#] [XRPC] How to start a RTE with XRPC with a JTAG!!
Posted:

[C#] [XRPC] How to start a RTE with XRPC with a JTAG!!Posted:

XeX_Golden
  • New Member
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 34
Reputation Power: 1
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 34
Reputation Power: 1
XRPC Coding!!!
XRPC Stands for Xbox Remote Procedure Call.
You can do RTE or Real Time Editing with it and XBDM
You will need xbdm.xex, xrpc.xex, xrpc.dll!
You can get all three here [ Register or Signin to view external links. ]


Now You will need to have xbdm.xex and xrpc.xex on your jtag root set as a dashlaunch plugin!!

In Visual Studios make a new C# Application and add xrpc.dll as a reference!!!
Then You can import XDevkit and XRPCLib
Here are the imports you should have if you are following this tutorial

How to make setup a XRPC
XRPC Golden = new XRPC();

That will make a new XRPC to call on called Golden
You can name it what ever you want though

How to connect Computer to Jtag using XRPC
Golden.Connect();

Usually you would have a button for this but im just showing how to do it

Check if Jtag is Connected or Vice Versa
if(Golden.activeConnection)
{
//Do Your Code here
}

Or if you want to check if its not connected
if(!Golden.activeConnection)
{
//Do Code Here
}

How to Set Memory and Call on Offsets
Golden.SetMemory(offset, parameters);
Golden.Call(offset, parameters);

XNotify in XRPC
Golden.Notify(XRPC.XNotiyLogo.FLASHING_XBOX_CONSOLE, TEXT FOR NOTIFY THINGY);
//XRPC.XNotiyLogo.FLASHING_XBOX_CONSOLE is just the logo example you can use others found in the xrpc dll

Debugging and normal XBDM Stuff
Golden.xbCon.//Stuff for normal devkit functions

How to handle exceptions or error messages
try
{
//Code like Jtag.Connect() or other things
Golden.Connect();
}
catch(Exception exception)
{
//Do something with the Exception string or gulp the exception
}

How to make new threads to handle things like hud elements that take longer time to spawn and freeze the main ui or main thread
//This is an example from my app
private void enableNews_Click(object sender, EventArgs e)
{
Thread newsBarThread = new Thread(newsBar);
//Funciton or method here to use in thread
newsBarThread.IsBackground = true;
//Sets thread so it plays in background to main thread
newsBarThread.Start();
//Starts thread for newsBar
//You can also add THREADNAME.Abort(); but thats choppy
}

Hope this was Helpful here is a example of putting some of it together
IK this ant PROPER Syntax but deal with it :|
XRPC Jtag = new XRPC();

Jtag.Connect();

Jtag.SetMemory(laseroffsets, new byte[] { 01 });
Jtag.Call(mw2sv, "c \"***** it WORKS"\");

if(Jtag.activeConnection)
{
while(true)
{
Jtag.Notify(XRPC.XNotiyLogo.FLASHING_XBOX_CONSOLE, "XeXGolden <3");
}
}

Thats all folks!!


If You Liked this post please show it and give it a thanks!!
THIS IS MY POST I MADE THIS!!
#2. Posted:
Mastication
  • Wise One
Status: Offline
Joined: Jul 19, 201311Year Member
Posts: 528
Reputation Power: 26
Status: Offline
Joined: Jul 19, 201311Year Member
Posts: 528
Reputation Power: 26
this is pretty cool bro, i was going to make one but my visual studio trial expired
#3. Posted:
Alberici
  • Comment King
Status: Offline
Joined: Jun 26, 201212Year Member
Posts: 2,533
Reputation Power: 68
Status: Offline
Joined: Jun 26, 201212Year Member
Posts: 2,533
Reputation Power: 68
Dude make a tutorial video WITH a voice. That would get tons of views and easyer to follow.
*9dj9*
#4. Posted:
Dumb_Modz
  • TTG Addict
Status: Offline
Joined: Mar 19, 201113Year Member
Posts: 2,206
Reputation Power: 10
Status: Offline
Joined: Mar 19, 201113Year Member
Posts: 2,206
Reputation Power: 10
I find it pretty simple as it is really learn a little html and javascript then this will make lots more sense
#5. Posted:
XeX_Golden
  • New Member
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 34
Reputation Power: 1
Status: Offline
Joined: Jun 10, 201311Year Member
Posts: 34
Reputation Power: 1
Dumb_Modz wrote I find it pretty simple as it is really learn a little html and javascript then this will make lots more sense

Ummm? idk about that dont make sense bc this is C# has nothing to do with html or web based langueges
#6. Posted:
Insanitize
  • Resident Elite
Status: Offline
Joined: Jul 02, 201311Year Member
Posts: 214
Reputation Power: 7
Status: Offline
Joined: Jul 02, 201311Year Member
Posts: 214
Reputation Power: 7
Mastication wrote this is pretty cool bro, i was going to make one but my visual studio trial expired

It's free if you get the express.
And you just helped me upgrade myself from a skid, to a noob. <3
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.