Giter VIP home page Giter VIP logo

Comments (8)

cursey avatar cursey commented on August 14, 2024

fp

from kanan.

Poshwosh avatar Poshwosh commented on August 14, 2024

The correct mod seems to be 00 or change the 74 to eb. Not sure if I should pull, you probably already did it

Edit: To add to the facepalm, it does the exact same thing as HideNPCCurtains.js 😆

from kanan.

milktao avatar milktao commented on August 14, 2024

xD I went the 74 to jmp method but should I even make a pull? Seeing as its redundant with HideNPCCurtains functioning, hmm regardless I'll make a pull, Kanan you decide xD

from kanan.

Coziestest avatar Coziestest commented on August 14, 2024

The transcription error was mea culpa. Sorry about that!
It was indeed supposed to 00 be instead:

// Hide NPC Curtains During NPC Conversations And Cutscenes (Step29)

var pattern = scan('8B 8E F8 00 00 00 85 C9 74 07 6A 01 E8 ?? ?? ?? ?? 8B 0D');

patch(pattern.add(11), 0x00);

On a somewhat related note, was this one ever released here? Maybe under a different guise?:

// Disable Anamorphic Widescreen in Cutscenes (Step29)

var pattern1 = scan('38 06 74 1B');
var pattern2 = scan('0F B7 ?? ?? 50 57 57 57 E8 ?? ?? ?? ?? 84 C0 0F 84');

patch(pattern1.add(2), 0xEB);
patch(pattern2.add(15) [0x90, 0xE9]);

Either way, I imagine it would be difficult to notice when all the cutscenes are skipped anyway.

NoMatteBox.js.zip

from kanan.

cursey avatar cursey commented on August 14, 2024

So, we have two scripts that do essentially the same exact thing. HideNPCCurtains.js patches the function that gets called, and NoBlackBars.js patches one of the six places that function gets called...

Since HideNPCCurtains.js patches the actual function I think it's the one we should keep.

Thoughts?

from kanan.

Rydian avatar Rydian commented on August 14, 2024

Function:
(+) Works for all cases using that function.
(+) More likely to survive updates in general.
(-) May cause issues where it's called when not intended.

Call:
(+) Works for just one specific use case instead of all.
(-) Less likely to survive updates.

So if all cases are desired and there's no graphical issues with it always being the modified copy, I vote stick with the function patch for people who want this removed in general.

from kanan.

Poshwosh avatar Poshwosh commented on August 14, 2024

I thought to myself maybe HideNPCCurtains only applies it to NPCs and skips over the ones in cutscenes, nope, looks like they do the same thing.

I'd go for function too based on Rydian's facts.

from kanan.

cursey avatar cursey commented on August 14, 2024

Went with removing the script that patched the call and kept the script that patched the function.
Let me know if this causes any issues but I don't think it will.

from kanan.

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.