I don't believe there are tools in the chrome tree for doing so but the file format is fairly simple:
4 byte version number
4 byte number of resources
1 byte encoding
For each resource:
2 byte resource id
4 byte resource offset in file
There is an extra resource entry at the end with ID 0 giving the end of the last resource (which is essentially the length of the file).
After these resource entries the raw file data is written for each file. You can see the file ui/base/resource/data_pack_literal.cc in the chromium source tree for a couple commented example resource files.
I want to add something to incognito newtab, so I need to unpack resources.pak. But how to do it?
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
I want to add something to incognito newtab, so I need to unpack resources.pak. But how to do it?
--