Repository navigation
Port: display HD movie replacements at full resolution - #93
Closed
carrdylan52 wants to merge 1 commit into
Closed
carrdylan52 wants to merge 1 commit into
carrdylan52 wants to merge 1 commit into
Conversation
Larger movie pictures were cropped to the retail texture. Scale the texture for 2x/4x replacements, fit other sizes and queue threaded decoding.
Contributor
|
Thanks! |
millerscout
added a commit
to millerscout/ChronicleTwo
that referenced
this pull request
Oct 17, 2026
Adubbz
pushed a commit
that referenced
this pull request
Oct 18, 2026
A replacement movie of 2 or 4 times the retail picture size fills the movie texture at that many host texels per retail texel, so the game's quad shows the whole picture over the original screen area. Other sizes are resampled to the largest multiple they cover. Streams larger than the retail size decode on FFmpeg's threads, and pictures are converted only when shown. Changing a texture's physical scale rebuilds its image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: larger replacement movies were cropped to the retail texture.
After: 2x and 4x movies fill the original screen area at full resolution.
How: scale the texture, fit other sizes and queue threaded decoding for larger pictures.
Tests: MovieTextureGpu, resampling and distinct B-frame threaded/single-threaded comparisons.