Skip to content

Conversation

@ShanuDey
Copy link

<system_new_file> should be in .dat format. If the new file in brotli(.br) format then there should be an error to break the process.
Signed-off-by: ShanuDey [email protected]

@mirh
Copy link

mirh commented Dec 23, 2019

Mhh, and maybe if it isn't .br.. a warning could be emitted if the file doesn't have a .dat extension?
(too bad this also doesn't have any kind of header or magic number either)

@davwheat
Copy link

If anyone needs to know how to convert the .new.dat.br to .new.dat...

  1. sudo apt install brotli
  2. brotli --decompress xxx.new.dat.br
  3. Done!

rcky844 pushed a commit to rcky844/sdat2img that referenced this pull request Jun 3, 2025
Removes the requirement to decompress the data file manually.
Closes xpirt#29, supersede xpirt#30

Signed-off-by:: Ricky Cheung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants