Giter Site home page Giter Site logo

Comments (10)

BinToss avatar BinToss commented on August 9, 2024

https://drive.google.com/file/d/1aOVTIJPRjI09TposPqRs6g8xJJZyAsUl/view?usp=sharing
A rundown of the Custom Edition 1.0.10 strings.dll
Every string is stored as a Resource.

from chimera.

BinToss avatar BinToss commented on August 9, 2024

Possible solutions:

A - Copy resources during compiletime

Compile strings and bitmap resources into Chimera binary during compile-time.

B - Copy resources during runtime

Modify Chimera binary during runtime. Copy resources from strings-old.dll/strings.gearbox.dll to chimera's strings.dll

C - Patcher

Provide patcher app to users. Patch Chimera into stock strings.dll (!!! may violate Microsoft code sig). What if user's strings.dll is older Chimera? Do we patch stock resources into it?


I'd have suggested a DllImport/LoadLibrary, but I don't recall this working correctly in my tests. However, it's been a long time since I last tried it, so I may have forgotten if it works. If it doesn't work, then the client, dediserver, and update applications require the resources be in "strings.dll".

Side note: I still haven't given up on OpenSauce giving other mods priority for hooks and redundant features, despite it having been on the backburner for a very long time.

from chimera.

MangoFizz avatar MangoFizz commented on August 9, 2024

Interesting, I think solution A is the right way to go, I'll take a look at it later. Thank you!

from chimera.

BinToss avatar BinToss commented on August 9, 2024

I tested the theory via ResourceHacker tonight.
Transplanting the string resources does work. I used an SPV3 strings.dll as the donor and a Monolith 1.0.5 as the recipient.
image

from chimera.

Aerocatia avatar Aerocatia commented on August 9, 2024

I see.

from chimera.

Aerocatia avatar Aerocatia commented on August 9, 2024

If you include the halo bitmap, the original splash screen works too.

from chimera.

BinToss avatar BinToss commented on August 9, 2024

Speaking of the loading screen bitmap, could we consider loading an external bitmap for loading screen customization that doesn't require modifying patching a DLL with a new bitmap?

from chimera.

Aerocatia avatar Aerocatia commented on August 9, 2024

Fixed in 00d2fa7

from chimera.

Aerocatia avatar Aerocatia commented on August 9, 2024

@BinToss A custom bitmap loaded at runtime could be possible, but it would be a low priority to implement this I'd say.

from chimera.

BinToss avatar BinToss commented on August 9, 2024

That's fine with me. I can't imagine anyone using it other than for memes or for stuff like SPV3.

from chimera.

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.