|
Replay FPS (Replay FPV)Github |相关wiki |源站链接支持: fabricAn addon to the Replay Mod that is designed to enhance the first-person view experience for Minecraft: Java Edition players. This addon improves the way first-person views are handled during gameplay playback, allowing for a much smoother and more detailed experience.
About
The Mod is a widely used modification for Minecraft: Java Edition, enabling players to record their gameplay for later playback. However, when it comes to first-person gameplay, the standard Replay Mod is lacking in providing a smooth and detailed experience.
When rendering a replay from the first-person perspective, the default view can appear extremely sluggish due to the limited updating of player positions in Minecraft. This results in the game having to interpolate the missing data, leading to a subpar first-person playback experience.
To address these limitations, the Replay FPS addon was developed.
Usage
This addon does not introduce any additional user-facing usage beyond the standard features of the Replay Mod. Users simply need to install the addon alongside the replay mod and use it as they normally would. It\'s important to note that the enhancements provided by this addon will only apply to the player who recorded the replay, and only if that player had this addon installed at the time of recording.
> Note: In the current build (0.2.0), Mod Menu must be installed to access the config menu.
Technical
Client-Capture
The core issue causing the poor quality of first-person movement in the standard Replay Mod is that it only records the game packets transmitted between the server and client. In most cases, this provides an accurate representation of real-time gameplay. However, for first-person views, the server does not send enough data to accurately recreate the original movement, resulting in a lack of smoothness. This issue can also be observed when spectating another player in Vanilla Minecraft.
To address this, an additional stream of data is captured alongside the packet stream. This stream consists of a series of channels, each holding a continuous value at a constant sample rate. By capturing client-side camera data directly at the time of recording, rather than relying solely on server-client communication, the addon can achieve a much higher capture rate and obtain data not normally synced with the server. To manage this substantial amount of data, a custom binary format was developed, resulting in the creation of a \"client-capture\" (`ccap`) file inserted into the replay archive alongside the packet data. The specification of this file can be found in the addon\'s repository.
Packets
Some discrete forms of data, such as changes to the hotbar contents, are not suitable for continuous stream storage and are therefore stored as custom packets injected into the replay packet stream. These \"fake packets\" are serialized to a `PacketByteBuf` at the time of recording and saved locally in the replay file. During playback, the Replay Mod delivers these fake packets back to Minecraft as normal packets, which are then parsed and applied to the world by a custom handler.
Furthermore, \"packet redirectors\" can be registered to override the application of a vanilla packet during playback. This allows multiple packets, which are normally unusable during a replay, to be parsed and applied to reconstruct the original client experience.
Building
Similar to most mods, to build this project, open a console to the root directory and enter `./gradlew build`. However, it\'s important to note that the build may fail due to a missing dependency called \'CraftFX\'. This dependency is part of the `ccap_viewer` subproject, which is currently built alongside the main project. To resolve this issue, clone and build https://github.com/Igrium/CraftFX]CraftFX and publish it to Maven Local.
来自Modrinth所有游戏版本1.20.21.20.1所有类型fabricVersion 0.2.1replayfps-0.2.1.jar下载0.2.1#Release# 1.20.2 UpdateThe replay mod has just updated to 1.20.2, so I\'ve updated ReplayFPS to follow!This update doesn\'t contain any user-facing changes, although the \"fake packet\" system has internally be rewritten to follow the new networking API changes.展开版本: 0.2.1支持游戏: 1.20.2类型:FabricRelease下载次数: 2,391Version 0.2.0replayfps-0.2.0.jar下载0.2.0#Release# First Person UIThis update enables you to render your health, hunger, and hotbar! It also contains major backend changes in order to enable this.To turn on UI rendering, you must install Mod Menu and use it to open the mod\'s config. In the UI tab, there is an option to enable UI rendering. In a future release, the config will be accessible via the Replay Mod\'s menu.展开版本: 0.2.0支持游戏: 1.20.1类型:FabricRelease下载次数: 55,912全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
Replay FPS |
楼主
2025-8-10 19:06:17
回复(0)
收起回复
|