Commit Graph
100 Commits
Author SHA1 Message Date
Jonas Herzig dba085c700 Move translations into separate repo 2017-04-21 16:36:47 +02:00
Jonas Herzig 3f0e3e725e Fix NPE when receiving Replay|Restrict messages (fixes #16 GH) 2017-04-21 13:38:08 +02:00
johni0702 40e1d850da Fix crash when saving the last keyframe in the edit gui (fixes #61) 2017-04-14 17:31:16 +02:00
johni0702 03aada1f5f Update Mixin to 0.6.8 (fixes #9 GH) 2017-04-14 17:31:16 +02:00
johni0702 0c1dc658ad Fix interpolator being lost when moving keyframe to the end (fixes #62) 2017-04-14 17:31:16 +02:00
johni0702 fcbbbc9ea1 Add integration test. Run with ./gradlew runIntegrationTest 2017-04-14 17:31:15 +02:00
johni0702 fe6ded0143 Fix movement of keyframe via GuiEditKeyframe not updating selected keyframe
Selecting a keyframe, double clicking it to open the gui, changing the
timestamp, saving and then clicking the Add/Remove Keyframe button used to
crash the client. This is fixed by updating the selection whenever the time is
changed.
2017-04-13 18:18:17 +02:00
johni0702 f58fa8f9c2 Fix Login GUI not respecting other GUIs opened on startup
Previously the Login GUI would simply replace the currently active GUI.
Now the currently active GUI is stored and then re-opened after login.
2017-04-13 18:12:07 +02:00
johni0702 4fc3a3166c Fix OpenEye being installed into working dir instead of mcDataDir 2017-04-13 18:06:21 +02:00
johni0702 1ffeb010d5 Update jGui 2017-01-29 11:14:54 +01:00
johni0702 c122d30065 Merge branch '1.8-path-segments' into 1.8 2017-01-29 11:12:06 +01:00
johni0702 27fd25ae84 Fix crash when server responds with garbage to language query (fixes #51) 2017-01-28 13:18:36 +01:00
johni0702 db6b0ff5a6 Fix / by 0 when two spectator keyframes are closer than 50ms (fixes #60) 2017-01-28 13:12:28 +01:00
johni0702 d61d0ac670 Fix hand of invisible spectated player being visible (fixes #59) 2017-01-28 12:54:42 +01:00
johni0702 f7460f9bf5 Re-enable time path after path playback (fixes #55) 2017-01-28 11:46:11 +01:00
johni0702 bdbffd5c33 Add Catmull-Rom spline interpolator to simplepathing 2017-01-28 11:03:59 +01:00
johni0702 5cbfd2884e Generate interpolator settings from InterpolatorType enum 2017-01-28 10:51:24 +01:00
johni0702 6095aef3d1 Fix loading and storing of default interpolator with settings 2017-01-28 10:33:45 +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 2c64030459 Refactor simple pathing timeline logic into dedicated class with unit tests
Fix logic for user-set interpolators
2017-01-21 13:30:47 +01:00
johni0702 4deb374a7f Enable validation on focus change for all number input fields 2017-01-20 16:16:01 +01:00
johni0702 5302bcaed4 Fix id and text of Replay Editor button in docs 2017-01-20 16:02:42 +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 1c606874ff Update ReplayStudio and jGui
ReplayStudio:
2344abe Fix OOM when saving large EntityPositionTrackers (fixes #46)

jGui:
94e4b4c Fix render offset in text area and field being out of bounds after resize
2017-01-14 22:33:44 +01:00
johni0702 6f3ac71a8b Add CustomMainMenu compatibility info to docs 2017-01-13 18:30:00 +01:00
johni0702 b0a1cdfce2 Search for ffmpeg executable in common locations to simplify setup 2017-01-02 14:22:47 +01:00
johni0702 1b099f9ef6 Add render queue 2016-12-31 16:29:17 +01:00
johni0702 03534c6515 Update docs 2016-12-30 14:29:07 +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
johni0702 c681742a69 Use caching maven proxy for faster and more stable drone builds 2016-12-23 20:40:23 +01:00
johni0702 6163585fe5 Update ReplayStudio to fix dependencies 2016-12-16 20:48:43 +01:00
johni0702 fb39a06ad2 Add drone ci config 2016-12-10 15:39:58 +01:00
johni0702 1fef12d2bd Include FML handshake in recording 2016-12-09 12:23:47 +01:00
johni0702 e86c66d874 Move README.md, LICENSE.md and user docs from master branch to 1.8 2016-12-09 12:10:48 +01:00
johni0702 5b3284f8f7 Update jGui and ReplayStudio (fixes #33) 2016-11-29 22:24:54 +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
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 18f83039af Fix crash when moving the last keyframe 2016-10-23 13:49:56 +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
johni0702 721fdc4d86 Allow moving the keyframe timeline cursor by dragging (fixes #18) 2016-10-22 22:52:27 +02:00
johni0702 1851e97346 Allow deletion of selected keyframes by pressing the DELETE key (fixes #19) 2016-10-22 22:33:11 +02:00
johni0702 d547098ce8 Fix markers not being removed
Markers were saved in a (Hash)Set even though they are mutable. Reducing the
exposed interface to Collection allows changing the interal implementation to
ArrayList which solves the problem.
2016-10-22 22:14:16 +02:00
johni0702 b2c7faac6f Fix marker not being deselected when clicking anywhere else 2016-10-22 21:22:36 +02:00
johni0702 4e6b387f97 Update jGui
Fix popups being drawn outside of the actually visible element (fixes #21)
2016-10-22 21:11:23 +02:00
johni0702 21bbeb2235 Fix bitrate field always being active regardless of selected preset (fixes #20) 2016-10-22 21:11:06 +02:00
johni0702 b5a6d8b307 Fix camera player head being visible while in third person 2016-10-22 16:10:03 +02:00
johni0702 dd0537b8fd Center star between resolution fields in render settings gui 2016-10-19 13:45:19 +02:00
johni0702 e35bfcaa58 Increase spacing between rows in the render settings gui 2016-10-19 13:43:03 +02:00
johni0702 6d0cdfbcb4 Update jGui (fixes #15) 2016-10-18 11:02:46 +02:00
johni0702 a804d6b8a3 Properly register replay restrictions plugin channel 2016-10-16 11:16:20 +02:00
johni0702 45191daad4 Add GUI that offers the user to install OpenEye 2016-10-07 22:55:58 +02:00
johni0702 9de63ce9b1 Add gradle tasks for automating the release process 2016-10-06 19:56:25 +02:00
johni0702 2a7542aeb8 Update jGui
Never use decimal point regardless of user locale (fixes #13)
Make popups disable user input and show the mouse when opened on an overlay (fixes #11)
Fix de-focusing of text fields when focusing another text field (fixes #14)
2016-10-06 15:19:20 +02:00
johni0702 c93a3e384c Open Replay on double click (fixes #9) 2016-09-23 21:51:22 +02:00
johni0702 8bb5d11cb4 Update ReplayStudio
Fix wrap around of interpolated property parts (fixes #4)
2016-09-20 13:38:37 +02:00
johni0702 f3142a714c Pause replay after path playback (fixes #5) 2016-09-19 18:01:01 +02:00
johni0702 3abaa1bcbb Cleanup deleted corrupted replays after two days (fixes #1) 2016-09-19 17:49:30 +02:00
johni0702 4b47f2cbf8 Add compatibility checking to ReplayViewer and ReplayCenter (fixes #7) 2016-09-19 17:24:47 +02:00
johni0702 ada460c384 Deselect keyframe when left clicking empty space on timeline (fixes #6) 2016-09-18 13:20:28 +02:00
johni0702 ad62060368 Apply render settings only when their checkbox is enabled (fixes #3) 2016-09-18 12:53:29 +02:00
johni0702 82246a5f48 Deselect Keyframe when timeline is changed (fixes #2) 2016-09-18 11:37:36 +02:00
johni0702 3f0f1752ae Parse version from git-describe 2016-09-17 21:36:46 +02:00
johni0702 f001522991 Add copySrg gradle task for easier mixin annotation processor setup in IntelliJ 2016-09-17 21:36:46 +02:00
johni0702 d8e9f621bd Completely hide invisible entities during replay
Fixes invisible entities when in spectator mode during recording
2016-09-17 21:36:46 +02:00
johni0702 0cf413c0e5 Update ReplayStudio to use the preshadowed netty version
Directly include jGui source files to avoid classpath issues
2016-09-17 21:36:38 +02:00
johni0702 5544e1300e Add missing license headers in ReplayStudio 2016-09-04 20:23:53 +02:00
johni0702 46467dc861 Unbind PBO after binding it for initial setup 2016-09-04 19:26:52 +02:00
johni0702 a6bee7c223 Store networking mods in replay file and compare installed versions on replay 2016-09-04 19:20:37 +02:00
johni0702 39834ce6b4 Allow marker removal using the DELETE key 2016-09-03 20:59:30 +02:00
johni0702 e2bf7503b6 Add direct upload to YouTube support 2016-09-03 19:10:13 +02:00