You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In preparation for adding support for dumping raw packets into the ReplayMod file format, I am sharing my brief and uninformed notes. These notes aren't extensive and exist more to just document what I'm thinking and what other people have done.
ReplayMod files use the .mcpr file extension, which is just a zip file with a different extension.
From my limited testing, I was able to unzip an .mcpr file into a folder, re-zip the contents, and play back the re-zipped file (I used the Ark compression utility)--so it looks like compression level isn't hardcoded or anything and it literally is just a zip file.
In fact, it looks like ReplayMod uses a very low amount of compression for higher throughput.
The meat of the ReplayMod recording is the .tmcpr file, which contains a Java DataOutputStream that follows the following pattern until EOF:
"These packet dumps contain all packets sent from the server to the client (except login phase)"
"They may also contain additional packets added by the recording software in order to display the client whose connection is recorded."
There is some removal of redundant packets somehow, not sure what they mean by this. Do they mean that redundant data is reduced because the packets are compressed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In preparation for adding support for dumping raw packets into the ReplayMod file format, I am sharing my brief and uninformed notes. These notes aren't extensive and exist more to just document what I'm thinking and what other people have done.
Format
https://www.replaymod.com/forum/thread/609
.mcpr
file extension, which is just a zip file with a different extension..mcpr
file into a folder, re-zip the contents, and play back the re-zipped file (I used the Ark compression utility)--so it looks like compression level isn't hardcoded or anything and it literally is just a zip file..tmcpr
file, which contains a Java DataOutputStream that follows the following pattern until EOF:https://github.com/ReplayMod/ReplayStudio/
SquashFilter.java
, which drops some packets (e.g. "ConfirmTransaction" packet) and does a lot of translating between versions.The Plan
Forseen Problems
Beta Was this translation helpful? Give feedback.
All reactions