Skip to main content

Convert TJA chart files into fumen (.bin) chart files

Project description

tja2fumen

tja2fumen is a tool for Taiko no Tatsujin games that allows you to convert TJA files (.tja) to fumen files (.bin).

This project attempts to replace/complement the existing closed-source tja2bin.exe converter packaged alongside TakoTako.

Goals

  • Act as a drop-in replacement for tja2bin.exe in TakoTako.
  • Fix https://github.com/Fluto/TakoTako/issues/16. (The original tjabin.exe doesn't properly handle #BPMCHANGE commands.)
  • Provide open source code to act as a reference for parsing and writing both the TJA and Fumen file formats.
  • Stick to the Python stdlib, i.e. no external dependencies if possible.

Usage

Option 1: Standalone Python installation

If you're familiar with Python, you can install tja2fumen by running:

pip install tja2fumen

Then, you can convert a TJA file by running:

tja2fumen file.tja

Option 2: Using with TakoTako

Note: Before adding tja2fumen to TakoTako, you may want to back up the original tja2bin.exe file, to make sure you can switch back to the old converter if necessary. The easiest way to do this is by renaming the existing file to tja2bin.exe.bak.

To use this converter with TakoTako, head to the Releases page, and download the tja2fumen.exe file attached to the release. Then, rename tja2fumen.exe to tja2bin.exe, and place the file in the TakoTako plugin folder.

TakoTako's plugin folder is inside of the BepInEx folder, which will typically look something like:

C:\XboxGames\T Tablet\Content\BepInEx\plugins\com.fluto.takotako

Attribution

  • The fumen-parsing code in this project is based off of a modified copy of the readFumen() function from the fumen2osu.py found in @KatieFrogs' fumen-tools project.
  • The TJA-parsing code in this project is a Python translation of the parseTJA.js file from @WHMHammer's tja-tools.

Note: To be explicily clear, neither @KatieFrogs nor @WHMHammer have endorsed this project, are affiliated with this project, or have made any direct contributions to this project. I have just modified their existing work.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tja2fumen-0.4.0.tar.gz (97.1 kB view details)

Uploaded Source

Built Distribution

tja2fumen-0.4.0-py3-none-any.whl (92.3 kB view details)

Uploaded Python 3

File details

Details for the file tja2fumen-0.4.0.tar.gz.

File metadata

  • Download URL: tja2fumen-0.4.0.tar.gz
  • Upload date:
  • Size: 97.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for tja2fumen-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3b83fabb0df6cd10c417ac350a6262267f9c6588805410ac3ce5c448e6aaf24d
MD5 6ed75be745e094190b7cdd71e2511d54
BLAKE2b-256 ff1e23cbd0b51cc9bf8c226d70337a19d3b3890dbade2a58447fbbd1798032ce

See more details on using hashes here.

File details

Details for the file tja2fumen-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: tja2fumen-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 92.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for tja2fumen-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aba145f8d3cf413d535768684034dd66ffc3afe7f15bc3e856924c171a96ace9
MD5 5c109d6f60fb4f566364dfed22eebe2f
BLAKE2b-256 ff2144d220a37edd01654946662d728148a2cc560d4d73baba685949bfafb9a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page