
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();
}
}

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();
}
}
thanks though
Copyright © 2026, NextGenUpdate.
All Rights Reserved.