brolijah / yacpktool Goto Github PK
View Code? Open in Web Editor NEWYet Another CPK Tool. Tool for the extracting, packing, and patching of CRIWARE CPK files.
Yet Another CPK Tool. Tool for the extracting, packing, and patching of CRIWARE CPK files.
I wanted to dig into Metal Gear Rising to hopefuly replace the XBox key legend with the PlayStation one instead. But before doing so I need to extract it first, so after reading the help prompt, I attempted this:
PS E:\CPKTool> .\YACpkTool.exe -X -d "E:\MGR Modding\out" -i "C:\Program Files (x86)\Steam\steamapps\common\METAL GEAR RISING REVENGEANCE\GameData\data000.cpk"
100% extracted...
Status = Complete
Process finished (hopefully) without issues!
But, my output did not end up in E:\MGR Modding\out
, but in the CPK's directory instead.
Process finished (hopefully) without issues!
PS E:\CPKTool> dir "C:\Program Files (x86)\Steam\steamapps\common\METAL GEAR RISING REVENGEANCE\GameData"
Verzeichnis: C:\Program Files (x86)\Steam\steamapps\common\METAL GEAR RISING REVENGEANCE\GameData
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 23.02.2023 20:27 data000 <-----------
d----- 22.02.2023 20:43 movie
d----- 22.02.2023 20:43 movie_ui
d----- 22.02.2023 20:43 sound
-a---- 22.02.2023 20:10 778408832 data000.cpk
-a---- 22.02.2023 20:10 1102187240 data001.cpk
-a---- 22.02.2023 20:10 3153568 data002.cpk
-a---- 22.02.2023 20:10 3404488 data003.cpk
-a---- 22.02.2023 20:10 7322496 data004.cpk
-a---- 22.02.2023 20:10 22784600 data005.cpk
-a---- 22.02.2023 20:10 24545800 data006.cpk
-a---- 22.02.2023 20:10 4264104 data104.cpk
-a---- 22.02.2023 20:10 3445024 data105.cpk
-a---- 22.02.2023 20:10 104629360 data106.cpk
-a---- 22.02.2023 20:10 368776960 data107.cpk
-a---- 22.02.2023 20:10 323043032 data108.cpk
-a---- 22.02.2023 20:10 2801664 shader.dat
-a---- 22.02.2023 20:43 61440 shader2.dat
-a---- 22.02.2023 20:10 266240 shadereff.dat
I don't mind having to stitch those together later, but I feel like this might be a bug, so I wanted to let you know. Also,m the command line used came directly from the README within the YACT subfolder.
Thanks and kind regards,
Ingwie
Unhandled Exception: System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.Combine(String path1, String path2)
at CriCpkMaker.CBinary.AnalyzeCpkFileSub(CFileData filedata, _criheap_struct* heap)
at CriCpkMaker.CBinary.AnalyzeCpkFile(CFileData filedata, String fpath)
at CriCpkMaker.CpkMaker.AnalyzeCpkFile(String fpath)
at YACpkTool.Program.Main(String[] args)
This happens when I extract a cpk file.
Regenerate the .cpk everytime when you patch many files is a true shit :V
Please, allow 'batch patch'.
There is a cpk file which contains files that have no filenames stored inside the cpk file, and instead, are stored as ID numbers.
As a result, when unpacking the files, they're shown as ID#####
.
When repacking into a new cpk file, the files inside it are stored as filenames rather than ID numbers, and as a result, the game has trouble reading files inside the cpk file.
The game in question is Style Savvy: Styling Star (Nintendo 3DS), and the file I used is character_motion.cpk
, which contain skeletal animations for the character models.
Download file here: https://www.dropbox.com/s/gqpagh7fa311fo7/character_motion.cpk?dl=1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.