Last updated: (11-14-14) Download:You must login or register to view this content.
[Older 4.4.9.0 Removed due to wrong upload]
-----------------------------------------------------------------------------------------\
*Also, special thanks to: njuijosh, for helping with testing*
*FIXED DOWNLOAD*
#) Added "public void" for: PS3.CCAPI.ConnectTarget();
#) Fixed code up, should work fine.
#) added bool for topmost
#) Fixed a few bugs. Officially works with all projects.
#) No issues, except bool will always return true for connecting.
#) Just replace this PS3Lib.dll with any PS3Lib.dll used in a project and it will work fine
-----------------------------------------------------------------------------------------
PS3Lib 4.4.8 + What changed.
PS3Lib v4.4.8 Release
Last updated: (10-31-14)
PS3Lib v4.4.8.6
-----------------------------------------------------------------------------------------
#) Changed PS3.CCAPI.Consoles(); to PS3.CCAPI.ConnectTarget("");
#) Changed PS3.ConnectTarget() for CCAPI. //Bool doesn't return correctly, it will always return true (runs through tread)
#) Just replace this PS3Lib in with a tool and the Consoles window will show... (Find PS3 IP through MAC on Network)
Download: You must login or register to view this content.
PS3Lib Source: (4.4.8.6) ...
-----------------------------------------------------------------------------------------
************************************************** ****************
* YOU MUST HAVE THE CCAPI2.dll in the same folder as the
* program your making that uses ANY of these functions/calls
* to LVL1/LVL2 Memory.
************************************************** ****************
*What is CCAPI2.dll? It is CCAPI Library Version 2.00 is all.
*Why use CCAPI.dll version 2.00? Because it still has the ability
*to make a call to the functions without the added entrypoints
*which were added in the release of CCAPI.dll Version 2.50.
************************************************** ****************
[/code]
How to use GetConsoleI
///////////////////////////////////////////////////
string CID = PS3.CCAPI.GetConsoleID();
MessageBox.Show(CID);
//-----------------------------------------------//
How to use GetPSI
///////////////////////////////////////////////////
string PSID = PS3.CCAPI.GetPSID();
MessageBox.Show(PSID);
//-----------------------------------------------//
How to use SetPSI
///////////////////////////////////////////////////
string PSID = PS3.CCAPI.SetPSID(yourTextBox.Text);
MessageBox.Show(PSID);
//////////////////////////
//Credits: BuC-SHoTz
private byte[] HexStringToByteArray(string hex)
{
return (
from x in Enumerable.Range(0, hex.Length)
where x % 2 == 0
select Convert.ToByte(hex.Substring(x, 2), 16)).ToArray<byte>();
}
private void SetPSID(string PSID)
{
if (IsValidHexString(PSID) && PSID.Length == 32)
{
byte[] array = this.HexStringToByteArray(PSID);
SetLv2Memory(9223372036859580196uL, array);
}
else
{
MessageBox.Show("Check Your PSID. Wrong Length or Hex Chars.");
}
}
Updates and Older versions:
----------------------------------------------------(10/29/14)---------------------------------------------------- PS3Lib v4.4.8.6
Download: You must login or register to view this content.
PS3Lib Source: (4.4.8.5) ...
UPDATE for 4.4.8.5:
#) Fixed the problem when trying to use: PS3.Consoles(); //Length error...
#) Fixed the problem when using: PS3.QuickConnect(); //Connects almost instantly to first console on Network
#) Re-coded a few things. (minor tune ups)
#) Everything is working and fully functional
#) Added ConnectConsole Form
-) Choose your IP-Address of your Playstation over wifi with MAC-FINGERPRINT *FIXED BUGS
-) Added PS3.CCAPI.GetConsoles(); //or PS3.GetConsoles(); *) Changed CCAPIConnect() to PS3.CCAPI.QuickConnect(); //or PS3.QuickConnect(); depends on what you declare as PS3
-) Fixed QuickConnect() code. Faster response time on connection. #) List All PS3 devices on the network and get their IP + MAC, and choose to connect to one of the devices found
Added Demo Project for those who want to test it out! :p
TUTORIAL:
CCAPI PS3 = new CCAPI();
PS3.QuickConnect(); //= Find first PS3 on network and connect to it.
PS3.Consoles(); //= Opens up ConnectConsole window and allows you to select your CONSOLE (IP - MAC) (combobox)
Download: You must login or register to view this content.
PS3Lib SOURCE: You must login or register to view this content.
#) Added ConnectConsole Form
-) Choose your IP-Address of your Playstation over wifi with MAC-FINGERPRINT *FIXED BUGS
-) Added PS3.CCAPI.GetConsoles(); //or PS3.GetConsoles(); *) Changed CCAPIConnect() to PS3.CCAPI.QuickConnect(); //or PS3.QuickConnect(); depends on what you declare as PS3
-) Fixed QuickConnect() code. Faster response time on connection. #) List All PS3 devices on the network and get their IP + MAC, and choose to connect to one of the devices found
----------------------------------------------------(10/22/14)----------------------------------------------------
PS3Lib v4.4.6 Released
UPDATE* Version: PS3Lib 4.4.6 Download: You must login or register to view this content.
#) Added Connect CCAPI, No IP Needed! -) Gets IP Automatically via your Network using MAC Fingerprinting (OUI Fingerprint)
RAW PS3 MAC Fingerprint LIST: You must login or register to view this content.
PS3API PS3 = new PS3API(SelectAPI.ControlConsole);
PS3.CCAPI.CCAPIConnect();
Why not try updating this to 2.60? I really don't want to unistall the CCAPI Package, downgrade my PS3 again, and reinstall 2.50 just to test this out with my program.
If you have the source code and your updating the dll, why not make an install package for the ps3 and making it runnable for the firmwares 4.60/4.65/4.66?
I really love the idea of the Console ID and all, but doing all this just to make a tool, and the only way of using the tool is by downgrading your firmware, Uninstall CCAPI 2.60, Re-Install CCAPI 2.50. It's too much work to do.
Besides that, the new firmwares support Cobra to a new level and downgrading isn't gonna help with the Cobra situation.
Nice work!
but i have a big problem, it always gives me 0000000000000000000000000000000, even the tool in the thread gives 0's. Is it outdated? And if it is, how can I get/set my console id?