Post: PS3 SPRX Key System
04-25-2015, 04:02 PM #1
Passion
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); Hey does anyone know how to add password authentication for SPRX? So it only loads with a Key.txt or Password.txt inside the same folder?
(adsbygoogle = window.adsbygoogle || []).push({});
05-24-2015, 11:24 AM #2
TehMerkMods
I’m too L33T
Originally posted by PassionModz View Post
Hey does anyone know how to add password authentication for SPRX? So it only loads with a Key.txt or Password.txt inside the same folder?


You need it to contact a server so send web requests and you also need it to check/read a text file Smile
07-13-2015, 07:36 AM #3
KAYLEB_HD
Vault dweller
Originally posted by Passion View Post
Hey does anyone know how to add password authentication for SPRX? So it only loads with a Key.txt or Password.txt inside the same folder?


you need a key system like the one tustin gave you on your other thread then you need sockets for your sprx and as for loading the key off a .txt file here is the code for it

Run This Before calling the sockets it will store the return string from the sockets to Key Enjoy :P
    
char* Key;
void GetKey()
{
int fd, ret;
uint64_t pos;
uint64_t nread;

ret = cellFsOpen("/dev_hdd0/tmp/Key.txt", 0, &fd, NULL, 0);
if (!ret)
{
cellFsLseek(fd, 0, CELL_FS_SEEK_SET, &pos);
ret = cellFsRead(fd, Key, sizeof(Engine.Key) /*300*/, &nread);
if (!ret)
{
cellFsClose(fd);
}
else
{
cellMsgDialogClose(5.0);
SleepMM(500);
Dialog::msgdialog_mode = 2;
Dialog::Show("Key failed to Read!");
ExitThisShit();
}
}
else
{
cellMsgDialogClose(5.0);
SleepMM(500);
Dialog::msgdialog_mode = 2;
Dialog::Show("Key failed to load!");
ExitThisShit();
}
}

The following user thanked KAYLEB_HD for this useful post:

Krrish Lobbyman
07-13-2015, 06:27 PM #4
Passion
League Champion
Originally posted by HD View Post
you need a key system like the one tustin gave you on your other thread then you need sockets for your sprx and as for loading the key off a .txt file here is the code for it

Run This Before calling the sockets it will store the return string from the sockets to Key Enjoy :P
    
char* Key;
void GetKey()
{
int fd, ret;
uint64_t pos;
uint64_t nread;

ret = cellFsOpen("/dev_hdd0/tmp/Key.txt", 0, &fd, NULL, 0);
if (!ret)
{
cellFsLseek(fd, 0, CELL_FS_SEEK_SET, &pos);
ret = cellFsRead(fd, Key, sizeof(Engine.Key) /*300*/, &nread);
if (!ret)
{
cellFsClose(fd);
}
else
{
cellMsgDialogClose(5.0);
SleepMM(500);
Dialog::msgdialog_mode = 2;
Dialog::Show("Key failed to Read!");
ExitThisShit();
}
}
else
{
cellMsgDialogClose(5.0);
SleepMM(500);
Dialog::msgdialog_mode = 2;
Dialog::Show("Key failed to load!");
ExitThisShit();
}
}


I already got it working and the sockets :P thanks though

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo