Coder Social home page Coder Social logo

Resident Evil 2 Video bug about jpsxdec HOT 17 CLOSED

m35 avatar m35 commented on May 24, 2024
Resident Evil 2 Video bug

from jpsxdec.

Comments (17)

m35 avatar m35 commented on May 24, 2024 1

Thank you for thoroughly testing the change, that helps a lot :)

from jpsxdec.

m35 avatar m35 commented on May 24, 2024 1

New release should include the change. Comment here if you have any issues.
https://github.com/m35/jpsxdec/releases/tag/v1.05

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

Thanks for reporting this issue. Unfortunately I won't be able to really look into it until January.

from jpsxdec.

gledson999 avatar gledson999 commented on May 24, 2024

No problem, anything I am available to give more details or possibly help.

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

I see you attached R108L.STR that is identical to the video on the disc. Could you share the version of the video you modified?

from jpsxdec.

gledson999 avatar gledson999 commented on May 24, 2024

Yeah, sure, sorry for mistake
R108L_Edited.zip

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

I'm assuming you're extracting the R108L.STR file, modifying the frames with jPSXdec, the re-inserting the file back into the original disc image. Can you instead try replacing the frames directly on the original disc and see if that helps?

from jpsxdec.

gledson999 avatar gledson999 commented on May 24, 2024

The same thing happens regardless of the method!

I'm sending the frame images for you, if you want to test
ZMOVIE.zip

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

Thanks. I'm trying to find the issue with the jPSXdec encoded frames, but can't find anything yet. Maybe it's just frame 189 that's bad and the rest are fine? Could you try not replacing frame 189 but start replacing at frame 190?

<str-replace version="0.2">
	<!-- <replace frame="0189">F:\PLAYSTATION_1_ISO\RE2-Repatch\ZMOVIE\R108L\R108C0189.png</replace> -->
	<replace frame="0190">F:\PLAYSTATION_1_ISO\RE2-Repatch\ZMOVIE\R108L\R108C0190.png</replace>
	<replace frame="0191">F:\PLAYSTATION_1_ISO\RE2-Repatch\ZMOVIE\R108L\R108C0191.png</replace>
...

If frame 190 also causes an error, can you try skipping that and start at 191? Could you try that a few times and see if any frames are working right? It would be extremely helpful to know if it's a general issue, or an issue with only specific frames.

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

I think I found the issue. All the frames seem to have a max size of 8064 bytes.

image

I tweaked jPSXdec to limit frames to 8064 bytes and encoded a new version. Can you try if it works?

R108L_8064.zip

If that works, I'm left to figure out how to make jPSXdec detect this automatically...

from jpsxdec.

gledson999 avatar gledson999 commented on May 24, 2024

Answering the previous questions, almost all frames are problematic, so no solution.

Answearing this question and this file that you sent me, I make a test and really you solved solve the issue successfully, but the quality was bad, but I believe that you purposely do this for testing purposes.

This image are from you R108L_8064.zip that you send
image

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

but the quality was bad, but I believe that you purposely do this for testing purposes.

I'm not seeing a quality issue. Can you show me a comparison of the quality you expect?

from jpsxdec.

gledson999 avatar gledson999 commented on May 24, 2024

but the quality was bad, but I believe that you purposely do this for testing purposes.

I'm not seeing a quality issue. Can you show me a comparison of the quality you expect?

Ah, it's nothing important, I just got confused

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

To support limiting the size of the encoded frame, I'm thinking of adding a new attribute to the xml, for example

<?xml version="1.0"?>
<str-replace version="0.3">
	<replace frame="0189" size-limit="original non-zero">C:\Temp\2020-12-09_18.51.30_rebug\ZMOVIE\R108L\R108C0189.png</replace>
...

That will check the number of non-zero bytes in the existing frame and only generate a new frame within that size limit. That should fix this issue with Resident Evil, and any other game that does this, without the user needing to know what that value is. It's something a user can try if a game doesn't like the frames jPSXdec generates by default.

from jpsxdec.

m35 avatar m35 commented on May 24, 2024

@gledson999
Can you try this attached version of jPSXdec with the modified replace .xml file?
jpsxdec_v1-04_replace-size-limit_rev4019_bin_src.zip
videos_frames_replace_R108L.xml.zip
If everything works right then I can make a proper release with the changes.

from jpsxdec.

gledson999 avatar gledson999 commented on May 24, 2024

Right, I'll test now, thanks

from jpsxdec.

gledson999 avatar gledson999 commented on May 24, 2024

Hi, I'm here again!

Good news, It worked perfectly, in my definitive test, I did it with all the videos of Claire and Leon’s Discss, they all worked perfectly.

This was the most brilliant solution I have ever seen, congratulations!

from jpsxdec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.