Giter Club home page Giter Club logo

Comments (6)

herenow avatar herenow commented on August 16, 2024

It should be unicode (utf-8)? Are the names incorrect or the file contents?

I'm not sure we touch the file contents (we export the binary file as is from the grf), but the file name may be being corrupted, I could check that.

from grf-extractor.

gandhyonly avatar gandhyonly commented on August 16, 2024

did you know how to make it utf-8?
I already extract it to your binary lang but it works fine..
I think that binary language have same mean with korean language..
but I need korean language because its more readable. I see your source code but I never to set something like korean language too. so I don't know how to fix it..
and If I know I will learn all your code before doing it T.T

your source code just about extract right? did you know how to repack it to be .grf?

from grf-extractor.

herenow avatar herenow commented on August 16, 2024

Yep, this package only extracts files from grf.

Are you extracting from linux or windows (although I'm not sure this matters).

I believe you are having problems with the file names, right? When you open the file, the encoding is correct (assuming your text editor has the right encoding set)?

Currently, when we parse the file name from the grf, here:

https://github.com/herenow/grf-extractor/blob/master/lib/Loaders/GameFile.js#L196

We are reading byte by byte, and translating each byte to an ascii character, so we don't support unicode/utf-8.

I could try to write a fix for this this week, if you are willing to test this out :)

from grf-extractor.

gandhyonly avatar gandhyonly commented on August 16, 2024

wow I really want to test it out..
is there a way to repack it too?
so my plan is I want to create automatic website for custom grf :D
then I need your script to repack automatically..

but I guess we can't do that..
there's so much work to make it grf repack hahaha..

thanks anyway :)

from grf-extractor.

cmbasnett avatar cmbasnett commented on August 16, 2024

The text encoding of the file names is not UTF-8, it is EUC-KR.

from grf-extractor.

cmbasnett avatar cmbasnett commented on August 16, 2024

Apologies, it's actually CP949!

from grf-extractor.

Related Issues (2)

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.