Code Monkey home page Code Monkey logo

bcsextractor's Introduction

BcsExtractor

Extracts scripts from Tanuki Soft and Kaeru Soft visual novels, specifically .bcs files.

Script extraction should work for every Tanuki Soft, Kaeru Soft, and Rune visual novel. The folder replacement described here to put the extracted csv scripts back in the games should work for all Tanuki Soft and Kaeru Soft visual novels, but it is not guaranteed to work for all Rune visual novels.

Replacing the original scripts

  1. Extract the .bcs files from the archives, generally they are in datascn.tac, scenario.g2, or scenario.g. I recommend using GARBro for this, but other tools will work and might be necessary depending on how old the game is.
  2. Run bcsextractor.exe using extract and point it to the .bcs files.
bcsextractor.exe extract bcs_files -o put_csvs_here
  1. Delete or move the original scenario archive(ie. datascn.tac) in the visual novel's main directory.
  2. Make a new folder with the same name as the scenario archive(ie. datascn.tac) as replacement.
  3. Place the csvs generated by bcsextractor.exe into the new folder created.

Translating text

To translate the text, all you need to do is replace the japanese text in the csvs with other text. The game should automatically pick them up and work without issue. Mostly you will replace text under the %text% fields, but names and choices can also be translated.

Note that since this is a csv, you MUST wrap text that contains a comma in quotation marks like so:

10900 ,,,,,,,,,,,,,,,,,,,,"Text that has, a comma"

Be careful not to change a command or variable, the game might break if it can't find those.

bcsextractor.exe also has a format command that adds word wrapping for ease of use. See bcsextractor.exe format -h.

Troubleshooting

  • Q: GARBro extracts the .bcs files as garbled strings instead of something like 04haruna.bcs.

  • A: Due to how the .tac extraction works, unless GARBro knows what the name is going to be before it extracts it, it can't determine the name. It keeps a file in GameData/tanuki.lst in its installation directory that is a list of all the known Tanuki Soft/Kaeru Soft .bcs filenames. If you extract _project.csv, it should tell you all the .bcs filenames for the scripts in that game. Add them to GARBro's GameData/tanuki.lst and GARBro should recognize it after. I've added an expanded tanuki.lst in this repo as well.

  • Q: All the emote sprites disappeared.

  • A: _emote.csv is currently broken, just place the original _emote.bcs in the datascn.tac folder instead. There is nothing to translate in _emote.bcs anyway. The extractor should refuse to extract emote.bcs due to this.

  • Q: The game doesn't work after replacing the scripts.

  • A: Make sure the folder has the exact same name as the scenario archive like datascn.tac or scenario.g2. If the game is a Rune visual novel, see the linked documentation as it's not guaranteed to work.

Documentation

.bcs format

Differences with Rune visual novels

bcsextractor's People

Contributors

nel1391 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.