Hacking Gaming Misc ROM Hack Project Need help extracting individual files in PSARC

  • Thread starter Thread starter bonkmaykr
  • Start date Start date
  • Views Views 1,782
  • Replies Replies 2

bonkmaykr

Tooling Programmer for Canithesis Interactive
Member
Head In The Clouds 🪽
Joined
Jul 30, 2021
Messages
526
Reaction score
710
Trophies
2
Location
Corneria, Lylat
Website
bonkmaykr.xyz
XP
1,607
Country
United States
Hello. I'm the lead developer of a mod manager for WipEout 2048/HD called Firestar. Up until this point, we ran mod installations by dumping the entire game and just rebuilding it with the custom assets. However, this is very inconvenient for users with slower CPUs who have to wait several minutes to decompress the assets, and the full size of the final PSARC file ends up being large and difficult to transfer.

The solution until now was to simply remove all but the DLC. Version 1.3 of Firestar introduces a patching system though, so this won't work anymore. We are trying to implement a system to pull files from larger PSARCs on a per-file basis when they are required. But the tool we use, psp2psarc (from the official Vita SDK) does not have a way to do this without sending the commands in an XML.

When I tried to do this using an XML as instructed by the PS3 hacks wiki, it complained that it didnt understand the command. (I don't have the exact error message on hand right now but it was something like that). We tried reimplementing part of the format in our own Java library but couldn't make any progress on the zlib compression.

According to the PS3 hacking wiki page for psarc, I did find one open source tool that has a CLI option to list files by ID and extract a range of ID numbers, but I could not find a copy because of link rot.

This single roadblock has delayed the next Firestar update by 2+ months. I'm desperate right now and calling on any experts here for help. Many thanks in advance.
 
I have some experience with PSARC repacking that required a specific XML. It was because only some files in the archive required compression. I got the info from the PS3 hacks wiki that you mentioned. But if you're putting in custom files, I'm not sure how the repacking goes. In any case, I think it's best to keep trying to repack with psp2psarc and use the XMLs.
 
I have some experience with PSARC repacking that required a specific XML. It was because only some files in the archive required compression. I got the info from the PS3 hacks wiki that you mentioned. But if you're putting in custom files, I'm not sure how the repacking goes. In any case, I think it's best to keep trying to repack with psp2psarc and use the XMLs.
I don't believe you understand what I am asking.
Rebuilding a PSARC was never the goal. We already figured that out ages ago.
 

Site & Scene News

Popular threads in this forum