timfraedrich / OutRun

OutRun is an open-source, privacy oriented, outdoor fitness tracker.
https://outrun.tadris.de
GNU General Public License v3.0
725 stars 64 forks source link

Documentation for orbup format? #88

Open gtwrek opened 1 year ago

gtwrek commented 1 year ago

Can any documentation for the orbup file format be made available? I like to upload my workouts in gpx format. However, for longer activities, OutRun will crash during the conversion to gpx. I can upload the orbup file, but finding/making utilities for this file format seems sparse.
I've downloaded the code, but not being and iOS developer, I'm not easily spotting where the orbup file generation occurs. I can try and reverse engineer the files. But having something documented, or even just a pointer to the specific code would help. Ideally, there would be something available to get an input filter for orbup files into GpsBabel.

timfraedrich commented 1 year ago

Hey, the OutRun Backup (.orbup) files basically follow the internal structure of the database objects. You can find the base structure at /OutRun/Models/Data/Backup/Backup.swift in your case it is probably BackupV3. The data types used in there can be found under /OutRun/Models/Data/Temp/Versions/TempV3.swift. If you need any further assistance don't hesitate to reach out.