Post: TMAPI Library C++
01-09-2016, 05:40 AM #1
Jim Halpert
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); milky4444's PS3Lib was released as a beta version. I have basically went in, cut out CCAPI (which was incomplete), and turned the rest into a completed (not beta) library. This has made it neater, cleaner, and gotten rid of many compiler warnings. Not to say anything against milky's work though... this is still mostly his work but polished up. The intentions of this are mostly to be used in conjunction with Enstone's CCAPI C++ library. They are similar and have turned out to work cleanly together.

Works well with Qt 5.2.0

Edit: This is now version 1.1. I have gone back and cleaned up the code a lot more and made it even more efficient.

Credits:

    milky4444 (creating library, most of work)


    seb5594 (credited by milky)


    Enstone (Inspiration from a coding standpoint; his CCAPI library in C++)


    Me (Hacked Tutorials) (Putting this together)


How to Use:

    Include tmapi.h and tmapi.cpp in your project


    Put ps3tmapi.dll in the program's directory


A few features:
    
//First make an instance of class TMAPI:

TMAPI tmapi;

//Check if library is loaded

if(!tmapi.getLibraryState()) { //put error message here }
else { //put success message here }

//Connect:

if(!tmapi.connect()) { //put error message here }
else { //put success message here }

//Attach

if(!tmapi.attach()) { //put error message here }
else { //put success message here }

//Write to memory (1 byte)

tmapi.writeByte(0x133337, 0xFF); //Address, Byte

//Write to memory (multiple bytes)

BYTE bytes = { 0x01, 0xFF };
tmapi.setMemory(address_goes_here, bytes, sizeof(bytes));
//Address, array, size of array

//Write other data (e.g. int, float)
tmapi.writeData<int>(address_goes_here, int_goes_here);
tmapi.writeData<float>(address_goes_here, float_goes_here);



Download:
You must login or register to view this content.

Virus Scan:
You must login or register to view this content.
Last edited by Jim Halpert ; 03-11-2016 at 12:05 AM. Reason: Updated library

The following 7 users say thank you to Jim Halpert for this useful post:

Boliberrys, Tears, John, OpGreece.!, Pianist Prodigy, RTE, thahitcrew modz
01-09-2016, 06:48 AM #2
Vote
I am error
#first
01-09-2016, 07:33 AM #3
Boliberrys
^^ Sexy ^^
Originally posted by arka00 View Post
milky4444's PS3Lib was released as a beta version. I have basically went in, cut out CCAPI (which was incomplete), and turned the rest into a completed (not beta) library. This has made it neater, cleaner, and gotten rid of many compiler warnings. Not to say anything against milky's work though... this is still mostly his work but polished up. The intentions of this are mostly to be used in conjunction with Enstone's CCAPI C++ library. They are similar and have turned out to work cleanly together.

Works well with Qt 5.2.0

Credits:

    milky4444 (creating library, 90% of work)


    seb5594 (credited by milky)


    Enstone (Inspiration from a coding standpoint; his CCAPI library in C++)


    Me (Hacked Tutorils) (Putting this together)


How to Use:

    Include tmapi.h and tmapi.cpp in your project


    Put ps3tmapi.dll in the program's directory


A few features:
    
//First make an instance of class TMAPI:

TMAPI tmapi;

//Check is library is loaded

if(!tmapi.GetLibraryState()) { //put error message here }
else { //put success message here }

//Connect:

if(!tmapi.Connect()) { //put error message here }
else { //put success message here }

//Attach

if(!tmapi.Attach()) { //put error message here }
else { //put success message here }

//Write to memory (1 byte)

tmapi.WriteByte(0x133337, 0xFF); //Address, Byte

//Write to memory (multiple bytes)

BYTE bytes = { 0x01, 0xFF };
tmapi.SetMemory(0x33337, &bytes, sizeof(bytes));




Download:
You must login or register to view this content.

P.S.:
If anyone is uncool with this I'll take it down Smile


Bro, i love your C++ Videos.

Can you make one using this library, and one making/using a theme ?

Cause form is kinda ugly xD
01-09-2016, 11:31 AM #4
OpGreece.!
Do a barrel roll!
Tnx Tokin
01-09-2016, 04:39 PM #5
Jim Halpert
Bounty hunter
Originally posted by Boliberrys View Post
Bro, i love your C++ Videos.

Can you make one using this library, and one making/using a theme ?

Cause form is kinda ugly xD


Thanks man! I'll see what I can do. The series has gotten a bit far with Seb's library but I guess I can put this new one in instead.
02-27-2016, 06:43 PM #6
Jim Halpert
Bounty hunter
bump 4 update
03-18-2016, 09:43 AM #7
Can you please publish : C++ RPC Class ?
03-29-2016, 04:39 PM #8
Jim Halpert
Bounty hunter
Originally posted by iVanTura
C++ RPC Class ? to use with this


I have made an RPC class with someone, however he doesn't want to release it right now, sorry.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo