Skip to content
#

file-format

Here are 321 public repositories matching this topic...

Evidlo
Evidlo commented Sep 28, 2019

As of update 1.8, the .rm files are in a new format.

It lookes like instead of each file being indexed by the page number, the pages are now assigned a random UUID.

[root@remarkable 6b96d778-b6f5-458e-9b7d-649689706f37] ls
012f4a15-8cdb-4d44-aa02-05fd911873e6-metadata.json
012f4a15-8cdb-4d44-aa02-05fd911873e6.rm
0fe5e46a-51c1-4255-a062-c1333dd7eac9-metadata.json
0fe5e46a-51c1-4255-a
pedro-javierf
pedro-javierf commented Jan 9, 2021

Describe the bug
Method Decompress() at ARM9.java does this:

public static byte[] Decompress(byte[] Data, int _start_ModuleParamsOffset)
	{
		if (IOUtil.ReadU32LE(Data, _start_ModuleParamsOffset + 0x14) == 0) 
			return Data;//Not Compressed!
		
		byte[] Result = CRT0.MIi_UncompressBackward(Data);
		IOUtil.WriteU32LE(Result, _start_ModuleParamsOffset + 0x14, 0); //sets 4 byt

Improve this page

Add a description, image, and links to the file-format topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the file-format topic, visit your repo's landing page and select "manage topics."

Learn more