Coder Social home page Coder Social logo

Comments (3)

Inori avatar Inori commented on July 3, 2024

Well emm..... to be honest, I haven't operated on these old games, my first targeted game is <ソレヨリノ前奏詩>, so I don't have too much information to share with you....

But since the goal is to replace text and pictures, I think it shouldn't be to much difficult.

For text, the tool fuckpaz can unpack and repack resource from those old games (except for Steam version though :( ), you can translate these scripts just like new ones. It's easy.

For pictures, I guess the old games also use libpng to parse png files, just old versions. And for libpng, it provides a way to custom it's io function about how to read from png data, using png_set_read_fn. You must first learn how to use libpng.. After that, your goal is to find png_read_info in the compiled exe, hook it and get png_structp pointer, then just reset io function with your own.

from fuckgalengine.

Inori avatar Inori commented on July 3, 2024

Hook CreateFontA and CreateFontIndirectA, change lplf->lfCharSet to your location should work.

Another thing is that you may need to modify some params of EnumFontFamiliesExA's lpEnumFontFamExProc routine, to enable some special font

from fuckgalengine.

Inori avatar Inori commented on July 3, 2024

This is exactly what I said about EnumFontFamiliesExA, see the comments here.

from fuckgalengine.

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.