Coder Social home page Coder Social logo

i18nfont4unitygame's Introduction

I18NFont4UnityGame

中文文档

I18NFont4UnityGame is a plugin I made for translate unity game, based on BepInEx.

It can load custom font packages to fix the problem of missing fonts in the game.

How to use

  1. Install BepInEx for the target game
  2. Clone repositories
  3. Open with visual studio 2019
  4. Modify the reference DLL according to the target game
  5. Compile this plugin
  6. Put the plugin into the GameName/BepInEx/plugins/I18NFont4UnityGame/ folder
  7. Put the font package into the GameName/BepInEx/plugins/I18NFont4UnityGame/ folder
  8. Modify the FontName value in the configuration file to the font name (if there is no configuration file, start a game to generate)
  9. Enter the game

Recommended font

How to make font package

  1. Install unity which is the same as the game version
  2. Create a new project and install AssetBundleBrowser in PackageManager
  3. Change the font file name you want to make into a font package to all lowercase
  4. Put the font into unity
  5. Select the font and right-click, select Create->TextSeshPro->Font Asset
  6. Adjust TMP atlas settings, such as sampling rate, to achieve the desired effect
  7. On the Inspector panel, set the AssetBundle name for the imported font and TMP font. The name should be all lowercase and consistent with the file name of the font
  8. Open window - > Asset Bundle Browser to Package Fonts
  9. Put the generated font package into the GameName/BepInEx/plugins/I18NFont4UnityGame/ folder

Translation projects I participated

  1. VRoidChinese
  2. StarmancerChinese

i18nfont4unitygame's People

Contributors

xiaoye97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.