Git Product home page Git Product logo

ps3xport's People

Contributors

derekturtleroe avatar hclander avatar kakaroto avatar pmmlabs avatar thp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ps3xport's Issues

Directory contents not being pulled and files not being re-imported

Trying to extract the contents of USRDIR (Including EBOOT.BIN, etc) from the backup.
Running this command gives me a very nice little USRDIR folder, but nothing inside of it.
(%cd% = current directory, contains backup archives)
ps3xport.exe [set IDPS & keys] ExtractPath "%cd%" dev_hdd0/game/%gameid%/USRDIR USRDIR

Also, still cannot delete or re-import files.
Running this gives me Error: Unknown command :

ps3xport.exe [set IDPS & keys] DeleteFile %cd% /dev_hdd0/game/BLUS30527/USRDIR/TDU2DLC2v027.big

ExtractFile creates bad files.

I have a couple 100KB-3MB files I'm pulling from a game. Using Dump I'm able to get perfectly working files however I started using ExtractFile and it's producing oddly malformed files with large portions of null bytes. This image is the same file, the left pulled using ExtractFile and the right with Dump.

image

The weird thing is that it's only these specific sets of files. The other ones I'm working with are SDATA files that I'm able to grab using ExtractFile, run them through make_npdata and use the output files later.

Good file
Bad file

I don't really have enough of an understand of the tool to really add much more.

Unable to read index archive

When ever I go to load something into my backup I get this error "Unable to read index archive" and I've tried different backups, everything. I can't seem to find a solution to fix this issue.

exception handling for wrong file and directory paths

in my backup are serveral files which have a "" seperator instead of "/", this produce an error for creating directories and files. (Don't know why this inside my backup)

I have added a "replace_str" function which can replace any "" with "/".

You can call this function in archive.c [function: archive_dump]

"snprintf (buffer, sizeof(buffer), "%s/%s", output, replace_str(dir->path, "" , "/"));"
and
"snprintf (buffer, sizeof(buffer), "%s/%s", output, replace_str(file->path, "" , "/"));"

Is it possible to add this functionality to the "correct" positions in the code.

Thanks

Artificial backups with modified encrypted archives are impossible to restore; Read-Write Permissions of artificial backups are incorrect

When the PS3 creates a backup, certain files are given certain permissions to define which usergroups(?) on the system can edit the files. When ps3xport dumps the same backup and re-compiles it in an "artifical" backup, the usergroups are all changed so that only the first one has read-write access.
Also, I do believe there is something wrong with the encryption of files added back into the backup.
This is the root problem in restoring any backup dumped and re-compiled in ps3xport; every time, you will receive an error at 99% restoration on the PS3 (80010037).
This will result in a forced format of the hard drive (yikes!)
I think that decrypting an archive_XX without actually DUMPING it into the computer's filesystem is the best way to go right now, because this (hopefully) will not change the file permissions that the PS3 has set for specific files. I will check up on this soon.
Edit: I don't think there's an "encrypt archive_XX.dat" command, but I could be wrong.
Edit 2: I tried simply adding a file to the original archive without dumping the filesystem of the backup and still got an error. Had to reformat the PS3. Something is still wrong somewhere else in the PS3' reading of the artificial backup, and ot looks like it's regardless of the file permissions, although the file permissions changing could still be an issue.

My suggestions for a fix, any of you devs out there?

  • Create a virtual filesystem reader. That is to say, you have a GUI that displays the contents of the backup, and allows for deletion, copying, moving, and creating of more files in the backup. This could be achieved without changing the file permissions of the file system by keeping record in the RAM (or a temp folder) of the original file permissions.
    Or...
  • make ps3xport maintain file permissions by saving a copy of the original index, and then reading from it when it's time to recompile. This would ensure the permissions are not skewed.

Tool Is Non-Functioning

None of the commands work. Both CMd & PowerShell tell me there are no ".configure" or "./ps3xport" commands. Absolutely none of the commands work. This program is defunct. :( I was really hoping to be able to finally decrypt some Archive.dat files so I can get my game data but man... None of these PS3 Backup/Extract/Decryption tools work. They are ALL broken.

:'(

Using the latest build, unfortunately.

image

image

Dump command error [Windows]

When using the dump command on Windows the binary returns“Error making directories” and creates an empty folder where the freshly decrypted .dat files should be placed.

Unable to open game dir

Hi, when I try to include a new folder on my backup I have this error: " ERROR Unable to open game dir "

I try on differents PC and I don't know how to fix this, thanks!

Windows port: ExtractFile pulls out the wrong data

Using the windows version, with the ExtractFile command and a proper idps / psid.

Command line example:

%1=path to the hdd backup.

ps3xport.exe ExtractPSID %1 psid.bin SetPSID ./psid.bin SetDeviceID ./idps.bin ExtractFile %1 /dev_hdd0/home/00000027/exdata/UP0555-NPUB30067_00-NECTARISPURCHASE.edat UP0555-NPUB30067_00-NECTARISPURCHASE.edat

ps3xport.exe ExtractPSID %1 psid.bin SetPSID ./psid.bin SetDeviceID ./idps.bin ExtractFile %1 /dev_hdd0/home/00000027/exdata/UP0006-NPUB30454_00-GATLINGGEARSUNLK.edat UP0006-NPUB30454_00-GATLINGGEARSUNLK.edat

This pulls out two files of 352 bytes, with the exact same content.
The 352 bytes are from the same 'object'
If you pull out a larger file, say act.dat, you get 4152 bytes from the same object.
(Meaning the first 352 bytes match with any of the previously pulled edat files.)
It seems the content from the encrypted dump is not read correctly, or not written correctly.

The object it is reading might be history file, or pushlist, i cannot tell for sure, i am not an expert.
It starts with a list of tiles (33 titles, example NPEB00515), then the title followed by the version (NPEB00515 01.00 for example) and then a few links of media files from poseidon.dl.playstation.net.

I will not post the entire file because of privacy reasons.

Duplicate the issue:

  1. Use windows
  2. Dump a small file from idps-encrypted archive
  3. Dump a big file from the idps-encrypted archve.
  4. Compare content, notice the matching data, and invalid contents of the files.

ps3exportgui error how to fix?

ERROR :
PS3xport v0.2
Usage: ps3xport.exe command [argument ...] [command ...]
Commands :
SetKeysFile filename:
Set the path to the keys.conf file (default: keys.conf)
SetDeviceID (HEX|filename):
Set the DeviceID needed for decrypting archive2.dat
SetPSID (HEX|filename):
Set the OpenPSID needed for creating new backups
ExtractPSID backup_dir output:
Extract the OpenPSID from a backup directory
ReadIndex archive.dat:
Parse the specified index file and print info
ReadData archive_XX.dat:
Parse the specified data file and print info
Decrypt archive[_XX].dat decrypted.dat:
Decrypt the given .dat file
Dump backup_dir destination_dir:
Extract the whole backup to the destination directory
ExtractFile backup_dir filename destination:
Extract from a backup a specific file
ExtractPath backup_dir path destination_dir:
Extract from a backup all files matching the specified path
DeleteFile backup_dir filename:
Delete from a backup a specific file
DeletePath backup_dir path:
Delete from a backup all files matching the specified path
DeleteProtected backup_dir
Deletes the copy-protected files from the backup
Add backup_dir directory:
Add the given directory and subdirs to the backup
AddProtected backup_dir directory:
Add the given directory and subdirs to the copy-protected backup
CreateBackup backup_dir content protected_content
Create a new backup with a content dir and a copy-protected content
Set the content path to '-' to ignore it

Error: Unknown command

Unable to read index archive

When ever I go to load something into my backup I get this error "Unable to read index archive" and I've tried different backups, everything. I can't seem to find a solution to fix this issue.

Issue with documentation

Hi!

The readme mentions a "keys.conf" file, but it doesn't give much information as to how we can get the file. Do we need another tool to create the file, or is it somewhere in the PS3? I already have MultiMAN in my PS3, so maybe this can help.

I think I got that I need to create the file. (I read that: https://kakaroto.ca/2014/12/ps3xport-released/) In that case, what does that sentence mean: "The keys.conf file needs to have a key of type 'sc' with revision 3." I never wrote a ".conf" file before.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.