
I have made this library for beginers. it is very easy to use, it works just like IMCSX's ps3lib.
Tutorial:
1: Setting the API
#include "PS3Lib.h"
void SetCCAPI_API_Example()
{
PS3::SetAPI(PS3::API::CCAPI);
}
void SetTMAPIAPI_API_Example()
{
PS3::SetAPI(PS3::API::TMAPI);
}
2. Connecting And Attaching
//CCAPI
const char* ip = "192.168.0.0";
PS3::Connect(ip);
PS3::Attach();
//TMAPI
PS3::Connect(DEFAULT_TMAPI_IP);
PS3::Attach();
3. Using functions
Use EN to access CCAPI function and SN to access TMAPI functions
//CCAPI
EC::RingBuzzer(EC::BuzzerMode:
ouble);
//TMAPI
uint example = SN:
rocessID;
4. memory functions
to write or read memory use the functions in the PS3 namespace the functions will check to see which api you are using so you dont have to worry about it
example:
PS3::WriteString(0x00000,"
");
5: lastly i coded a very basic library for beginers just access the Lib namespace to use it
wchar_t* wstr = Lib::CStrToWStr("
");
you can get my library here: You must login or register to view this content.
virus scan: not needed(headers cant be executed)
and a example project(vs2012) : You must login or register to view this content.
Notes/Bugs:
tested in Visual Studio 2012, 2013 U and Qt Creator 5.2.0
BE SURE TO HAVE CCAPI.dll AND ps3tmapi.dll in you executable directory
thanks to seb5594 for his small library
any suggestions or questions contact milky4444 on nextgenupdate
BUGS:
1: (CCAPI)SetMemory: writes bytes, but adds a 214 byte header to the normal byte array
2: (CCAPI)GetMemory: has somewhat the same problem
3: (CCAPI)Set*********: need to re-create enstones StringToByteArray function
EXTRA: If you receive multiple errors when building a project in Qt (providing you are using it) then try using this revised edition to solve your problem there: You must login or register to view this content.