Giter VIP home page Giter VIP logo

Comments (5)

Atvaark avatar Atvaark commented on August 23, 2024

That one of the ffnt files can't be unpacked with the default settings is a known issue which can only be fixed by adding width and height options. All but the arabic ffnt files are squares, so by simply hard coding 1024x512 you could extract it.
arabia_0.png

I can't help you with that stacktrace. It clearly says that it fails to convert a string to a number which probably happens because you're using an incompatible xml schema.

from foxengine.translationtool.

abuali129 avatar abuali129 commented on August 23, 2024

So could you just give me the command line for unpacking the file with the width and height to write on CMD? sorry i'm a beginner and don't know how hard coding is done.
and also suggest a way to edit the xml that's compatible with the unpacked one.

from foxengine.translationtool.

abuali129 avatar abuali129 commented on August 23, 2024

well I found the problem of repacking the .ffnt
It caused by a value of HorizontalShift that I adjusted comparing with BMfont , it shows below zero
some -1 -2 -3 values, that's what is not accepted by FfntTool to repack

from foxengine.translationtool.

Atvaark avatar Atvaark commented on August 23, 2024

You should just fork the repository and

  • If you want to unpack the font then edit the line I linked previously and use the constant dimensions for the arabic font. Or just use the image I provided.
  • If you want to use negative numbers then change the unsigned int properties to signed int properties. I can't guarantee that the game can read theae values.

from foxengine.translationtool.

Atvaark avatar Atvaark commented on August 23, 2024

Since I didn't hear anything from you in two weeks I'm going to close this issue for now.

from foxengine.translationtool.

Related Issues (17)

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.