Giter Site home page Giter Site logo

symsimmy / umamusume-voice-text-extractor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chinosk6/umamusume-voice-text-extractor

0.0 1.0 0.0 3.22 MB

Extract the voice and corresponding text

License: MIT License

Python 49.05% C# 50.75% Batchfile 0.20%

umamusume-voice-text-extractor's Introduction

umamusume-voice-text-extractor

Install

Use binary files

Run from code

pydantic~=1.8.2
colorama~=0.4.4
pythonnet~=3.0.1
UnityPy~=1.9.21
requests~=2.28.1
tqdm
PyQt5~=5.15.4

Usage

With GUI

  • Run binary file from Releases : run.bat
  • Run source code: python gui_main.py
  • Empty any of the Wave Format sections, the output will follow the original format.

Extract Single Character

  • Extract result example: xxx/xxx.wav|こんにちは
  • Click the target character, and then click Start.

Extract Multi Characters

  • Extract result example: xxx/xxx.wav|0|こんにちは
  • Double-click the target character to add to the list, you can modify the SaveID.

Live Music Extract

  • Click the target music, then click the target character.

Live Music Mixer

  • Right-click on the target character and add it to the target position. Parts greater than Singing Pos Count will be ignored.

No GUI

  • Edit and run main.py: python main.py
import voiceex

# set save folder, download when missing awb/acb files, get voice from all character stories (takes a long time), use cache (Save in "umacache" folder. You need to delete the cache file yourself after the game update.)
ex = voiceex.VoiceEx(save_path="save", download_missing_voice_files=True, get_voice_from_all_stories=False, use_cache=True)

# set wave sampling rate, bits, channels (optional)
ex.set_wav_format(22050, 16, 1)

# set download proxy (optional)
ex.set_proxies("http://127.0.0.1:10087")
  • Single Character Mode
# Single Character Mode
# start extract character No.1024 (MayanoTopgun)
ex.extract_all_char_text_single(1024)
  • Multi Character Mode
# Multi Character Mode
# Set character output id (Union[int, str])
ex.set_multi_char_out_ids([
    (1024, "0"), (1046, 1)
])
# start extract character No.1024 (MayanoTopgun) and No.1046 (SmartFalcon)
ex.extract_all_char_text_multi([1024, 1046])
  • The voice-text file is in {your save_path}/output.txt.

Extract Result

  • Voice files

  • Single character mode

  • Multi character mode

Special Thanks

umamusume-voice-text-extractor's People

Contributors

chinosk6 avatar

Watchers

 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.