https://github.com/olillin/rmfixer
"Fix" the packet timestamps of .tmcpr files
https://github.com/olillin/rmfixer
Last synced: 11 months ago
JSON representation
"Fix" the packet timestamps of .tmcpr files
- Host: GitHub
- URL: https://github.com/olillin/rmfixer
- Owner: olillin
- License: mit
- Created: 2024-04-26T22:10:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T22:11:32.000Z (about 2 years ago)
- Last Synced: 2025-01-29T15:34:01.228Z (over 1 year ago)
- Language: Kotlin
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RMFixer
Fix the packet timestamps of `.tmcpr` [Replay Mod](https://www.replaymod.com/) Recordings.
See also [RMReader](https://github.com/olillin/RMReader).
## What does it do?
- Compares each timestamp to previous timestamp, if timestamp is less than previous set it to previous + 1
- Ensures that following timestamps keep the same difference to minimize cuts in recording
## Output files
**RMFixer** creates several files in the current directory as its output.
These are outlined below:
| filename | description |
|--------------------|-------------------------------------------------------|
| `fixed.tmcpr` | the replay recording with fixed timestamps. |
| `fixed_timestamps` | binary array of integers of all timestamps after fix. |
## Usage
```bash
# Build (jar file is created in build/libs)
> ./gradlew build
# Run
> java -jar "RMFixer-1.0-SNAPSHOT.jar" "<.tmcpr file path>"
```