Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to reMarkable 3.0 #58

Open
ErikaRS opened this issue Feb 12, 2023 · 9 comments
Open

Upgrade to reMarkable 3.0 #58

ErikaRS opened this issue Feb 12, 2023 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ErikaRS
Copy link

ErikaRS commented Feb 12, 2023

The upgrade to reMarkable 3.0 has broken this extractor. The first issue I found was that the pages are now more structured and nested in a "cPages" field. I was able to add a local fix for that but the more fundamental issue is that the binary .rm file seems pretty fundamentally different.

Are there any plans to modify remarks to work with 3.0? Is there any information I can provide which would help? (Also, if there are pointers to how the binary format was reverse engineered in the past, then I am happy to help do so for 3.0.)

@ErikaRS
Copy link
Author

ErikaRS commented Feb 12, 2023

This is the furthest along updated parsing code I've been able to find for reMarkable 3.0: https://github.com/ricklupton/rmscene

@lucasrla
Copy link
Owner

lucasrla commented Mar 6, 2023

Hi @ErikaRS, I haven't delved into the new v6 .rm format myself. But I am very open to merging any contributions related to reMarkable >= 3.0.

A potentially useful pointer is "Updates regarding reverse engineering ReMarkable version 3/ .rm v6 files" that has been posted by u/Combinatorilliance at r/reMarkableTablet. The person mentions they're working on the scrybble sync tool – so they might be Laura (@Azeirah).

@lucasrla lucasrla added the enhancement New feature or request label Mar 6, 2023
@Azeirah
Copy link
Contributor

Azeirah commented Mar 6, 2023

I wrote that, yes. It's my understanding of how ddvk's parser as well as ricklupton's more readable parser work.

I have a private branch of remarks that depends on rmscene to parse v3 files, using remarks to perform the pdf manipulation and drawing. It still has a couple of glaring issues and definitely needs more testing, but it does have the basics down.

Ricklupton also has an exporter tool for v3 specifically, I haven't checked that one out yet. Though afaik he hasn't made any additional progress in that tool compared to what's otherwise publicly available.

Some considerations for adding v6 .rm file support

  • The v6 .rm format is vastly more complicated than the previous versions.
  • RMScene handles this in an excellent way, it's excellently written and structured, well-maintained, open-source and is written in Python just like Remarks.

Given this, I don't think it's a good idea to implement a custom parser for remarks, and instead depend on rmscene to do the parsing and writing an interface/adapter for it like I did in my private branch.

I'll link my private branch as well. It's not ready for merging whatsoever, but it can definitely serve as a good starting point for v3/.rmv6 support

@lucasrla
Copy link
Owner

lucasrla commented Mar 6, 2023

Hey, Laura! That's some good news! Yes, let's rely on ricklupton's rmscene parser.

I'm more than happy to merge your interface/adapter into this repo, just let me know.

Also, I might be able to help a bit (and maybe Erika as well).

Thanks again!

@Azeirah
Copy link
Contributor

Azeirah commented Mar 6, 2023

@ErikaRS I opened a pull request which serves as an entry point to work towards merging my v6 implementation to master. I made a checklist to split up the code into individual pull-requests as well.

#59

@lucasrla lucasrla added the help wanted Extra attention is needed label Mar 8, 2023
@jakeisnt
Copy link

Has any progress been made here? Would like to take this on if not!!

@iacore
Copy link

iacore commented Jun 8, 2024

Has any progress been made here? Would like to take this on if not!!

See https://github.com/ricklupton/rmc/. It's usable.

@Azeirah
Copy link
Contributor

Azeirah commented Jun 8, 2024

Has any progress been made here? Would like to take this on if not!!

I think the main maintainer of this repository is not active. I'm still maintaining a fork of remarks that is mostly compatible with v6: https://github.com/Azeirah/remarks/tree/v6_with_rmscene

YMMV

@iacore
Copy link

iacore commented Jun 9, 2024

@Azeirah can you update the project readme to mention that it supports .rm v6? You can also use the main branch and enable Issues so people can contribute to your repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants