Commit Graph

930 Commits

Author SHA1 Message Date
johni0702
c8126edbb2 Merge '1.8' into 1.8.9
64898ce Fix NPE when saving recorded resource pack
70e3e54 Fix AbstractMethodError caused by FG2.0 not supporting lambdas (fixes #58)
3f2b3d6 Fix replacing source file in Replay Editor (fixes #57)
d2def94 Fix duration of replays corrupted because of JVM/OS crash
4deb374 Enable validation on focus change for all number input fields
5302bca Fix id and text of Replay Editor button in docs
057edcc Manually inject root cert for cross-signed LetsEncrypt cert in requests
2017-01-24 13:25:53 +01:00
johni0702
64898ce288 Fix NPE when saving recorded resource pack 2017-01-24 13:08:55 +01:00
johni0702
70e3e54038 Fix AbstractMethodError caused by FG2.0 not supporting lambdas (fixes #58)
Lambdas are not properly re-obfuscated prior to FG2.2 causing said errors
when used. This is the only instance of such a lambda.
FG2.2 only supports MC 1.8.8 and up as such the lambda was replaced with
an anonymous inner class to solve the problem.
2017-01-24 13:07:50 +01:00
johni0702
3f2b3d62f7 Fix replacing source file in Replay Editor (fixes #57) 2017-01-24 09:43:14 +01:00
johni0702
d2def94fc1 Fix duration of replays corrupted because of JVM/OS crash
A JVM or OS crash can lead to incomplete packets at the end of a recording.
The duration of a corrupted replay file is not restored properly if that file
contains an incomplete packet. Furthermore, the entity tracker does not load
properly with such an incomplete packet. Both bugs are fixed with this commit.

To fix these bugs for replays that have already been recovered, simply open
them in the Replay Viewer, modify them somehow (save a new path) and force
the game to quit forcefully. The replays will be recovered the next time the
game starts and both bugs will be fixed.
2017-01-23 18:00:38 +01:00
johni0702
4deb374a7f Enable validation on focus change for all number input fields 2017-01-20 16:16:01 +01:00
johni0702
057edccf26 Manually inject root cert for cross-signed LetsEncrypt cert in requests
JREs prior to 8u101 do not ship with the root certificate that cross-signed
the LetsEncrypt X3 CA used to sign server certificates.
As the standard native Minecraft launcher for Windows and OSX ship with an
older Java version, this commit imports the required root cert and uses it
wherever communication with the replaymod.com server is established.

Effectively reverts 682fb4b
2017-01-19 17:07:14 +01:00
johni0702
01acbc6f1f Update to 1.8.9 2017-01-14 22:52:53 +01:00
CrushedPixel
d9b796db5e Mixin'd the Shader's mods ShadersRender class to only render hands if the Forge event isn't cancelled
This fixes player hands being rendered while spectating an entity in a replay while having Shaders enabled
2017-01-14 16:30:15 +01:00
CrushedPixel
6bbff3bba7 Updated Mixin to 0.6.4-SNAPSHOT and set mixin target level 2017-01-14 16:30:15 +01:00
johni0702
b0a1cdfce2 Search for ffmpeg executable in common locations to simplify setup 2017-01-02 14:22:47 +01:00
CrushedPixel
d46589193e Fixed GuiEditPositionKeyframe's width to fit on all screen sizes
Centered all rows of GuiEditPositionKeyframe's VerticalLayout
2017-01-02 14:13:39 +01:00
johni0702
1b099f9ef6 Add render queue 2016-12-31 16:29:17 +01:00
johni0702
4388d6977d Only try to create the downloads folder if it does not yet exist 2016-12-30 12:11:53 +01:00
johni0702
7ad19aa025 Add mod version and accepted MC version directly to the @Mod annotation 2016-12-30 12:10:43 +01:00
johni0702
655bea0b2d Replace @Mod.Instance with direct static references 2016-12-30 12:10:13 +01:00
johni0702
eb5ccb2fd5 Add Replay Editor (for now, trimming only) 2016-12-26 20:35:50 +01:00
johni0702
6498d625ad Fix server game data snapshot being restored in singleplayer (fixes #44) 2016-12-24 11:22:01 +01:00
johni0702
2c898a8192 Prevent rendering without sufficient keyframes (fixes #45) 2016-12-24 01:44:51 +01:00
johni0702
5d520a5a3c Fix deserialization of chroma key color (fixes #43) 2016-12-24 01:24:55 +01:00
CrushedPixel
fbf165e618 Added Anti-Aliasing to the Render Settings 2016-12-17 03:22:37 +01:00
CrushedPixel
030c71c868 Automatically disable and re-enable Optifine's Fast Render setting before rendering a video 2016-12-09 12:47:30 +01:00
johni0702
1fef12d2bd Include FML handshake in recording 2016-12-09 12:23:47 +01:00
johni0702
61d6fd4162 Close replay file zip after recording (fixes #32) 2016-11-26 13:43:38 +01:00
johni0702
00bcc9e65e Fix paths of files that are supposed to be in the mc data dir (fixes #40) 2016-11-26 13:26:53 +01:00
johni0702
e6a789d4f8 Fix camera rotation when jumping in time (fixes #39) 2016-11-26 12:56:23 +01:00
johni0702
50b53fc6a3 Add a way to register key bindings triggered every render tick (fixes #31) 2016-11-24 21:31:21 +01:00
johni0702
a817c7367a Prevent GUIs of other mods from opening during replay 2016-11-16 18:18:55 +01:00
johni0702
d64ef8b2e1 Hide NPCs in the Player Overview GUI (fixes #29)
NPCs are now by default removed from the Player Overview GUI unless CTRL
is held while the GUI is opened. NPCs are identified my their v2 UUID.
2016-11-13 21:44:11 +01:00
johni0702
1f2c05e696 Fix spectating player entities past death and respawn (fixes #36)
While spectating, a special camera controller should be active. However after
a world change (which happens when the player dies), the camera is recreated
with the default controller, same when the controller setting is changed.

Also fixes the spectated entity if the player respawns in the same dimension
2016-11-13 20:43:09 +01:00
johni0702
ad2893bf4e Fix vanilla bug caused by unremovable entities in the entityList of ClientWorld (fixes #29) 2016-11-13 20:43:09 +01:00
johni0702
c934cb9694 Fix spawn player packet being sent twice
The vanilla server sends the player list packet with ADD action twice to the
joining player, however we must only send the spawn player packet once.
This also fixes semi-dead player entities in replays that just existed at
spawn but never did anything.
2016-11-13 17:07:34 +01:00
johni0702
6efbf919db Handle F1 properly while mouse is visible in the replay overlay (fixes #30) 2016-11-12 18:51:41 +01:00
johni0702
9add2afec1 Deselect keyframe when pressing "V" aka. sync timelines (fixes #27) 2016-11-12 17:31:29 +01:00
johni0702
682fb4bfdc Download OpenEye via http because of outdated java versions
The Java version shipped with the default Minecraft launcher for Windows and
OSX, is quite old and does not contain the necessary root certificates for
properly accepting LetsEncrypt's certificates.
This can be reversed once the Minecraft launcher ships at least 1.8.0_101.
2016-11-11 18:12:07 +01:00
johni0702
0c48d6a1dd Make ShaderReflection init fail fast, not printing out unneeded exceptions 2016-11-11 18:10:19 +01:00
johni0702
0ba5b0aaad Merge branch '1.8-shaders' into 1.8 2016-11-10 21:22:08 +01:00
johni0702
0db1b9ef5a Fix opening a replay multiple times by quickly double clicking (fixes #25) 2016-11-10 20:52:07 +01:00
CrushedPixel
e5eb982b98 Add Optifine compatibility to rendering by disabling their separate chunk loading queue
Add compatibility to shaders that utilize the Shadow Map by manually setting displayListEntitiesDirty to false
Call Shaders.beginRender in an Event Handler to avoid calling all of EntityRenderer#renderWorld
2016-11-09 21:11:28 +01:00
CrushedPixel
3a28c5ba6f Draw the GuiVideoRenderer on a separate framebuffer that has the actual size of the window instead of MC's framebuffer which may have a different size 2016-11-09 20:07:43 +01:00
CrushedPixel
636ce7bdd4 Add compatibility for GLSL Shaders 2016-11-09 19:50:36 +01:00
johni0702
92eb11a617 Change video preview to be compatible with Optifine 2016-11-09 19:04:46 +01:00
johni0702
9ff767b054 Fix spectated player having the arm model of the camera player 2016-11-09 10:23:58 +01:00
johni0702
d82cef3687 Make sure video folder exists before rendering (fixes #24) 2016-11-06 13:43:28 +01:00
johni0702
cc65b26c31 Replace custom update system with forge update checker 2016-10-23 15:52:51 +02:00
johni0702
c8b71dc2cc Add tooltips to ingame buttons 2016-10-23 15:07:24 +02:00
johni0702
b240f8a276 Fix camera path always playing from the beginning regardless of ctrl key 2016-10-23 14:45:14 +02:00
johni0702
4805e5e9f5 Fix crash when setting two keyframes to the same time via the edit keyframe gui
The save button is now disabled if the configured time is already occupied.
2016-10-23 14:06:17 +02:00
johni0702
fcd4c0788e Add error popup when trying to play path with reversed time keyframes
Update jGui
2016-10-23 13:46:00 +02:00
johni0702
9c605baa7e Update jGui
Fix handling of ESC key in popups (fixes #17)

This commit changes the behavior of the escape key from closing the current
gui screen to only closing the current layer of the gui screen. E.g. pressing
ESC closes the popup but not the gui screen, it used to close both
2016-10-22 23:15:20 +02:00