Code Monkey home page Code Monkey logo

osu-replay-connector's Introduction

osu replay connector

A tool for stitching (connect) multiple players' replay files when relaying beatmaps.

中文说明

Usage

PS: Note that composite playback requires manual correction of count_300 and other data (but using DANSER export can avoid this problem).

usage: main.py [options]

osu replay connector by SpaceSkyNet

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  the config file path, defaults to `./config.toml`
  -o OUTPUT, --output OUTPUT
                        the output replay path, defaults to `./merged.osr`

Example

# use default config file path and output replay path
./main.py 

# use `settings.toml` as config file and `replay.osr` as output replay name
./main.py -f settings.toml -o replay.osr

Configuration file

Default filename is config.toml.

The list of replay file paths is arranged in the chronological order of playing. It is recommended to use tools such as Circleguard to view the overlapped parts of the replay near the time node as the time node for stitching (it is recommended that the distance between the cursors of the two replays should not exceed one note. diameter, it is also best to choose a time period without key press)

Circleguard

The format of time node supports HH:MM:SS.MS, MM:SS.MS, SS.MS, HH:MM:SS, MM:SS, SS, as above The time for Circleguard can be written as 00.116125.

PS:The number of replay file path lists is one more than the number of stitched time nodes (naturally)

Template for configuration file:

# Username in the output replay file
REPLAY_USERNAME = "ALL"
# Mods of the output replay file (HDNF, etc.)
REPLAY_MODS = "NF"
# Replay file path list
REPLAY_PATH_LIST = [
	"./test/0.osr",
	"./test/1.osr", 
	"./test/2.osr",
	"./test/3.osr",
	"./test/4.osr",
	"./test/6.osr",
	"./test/7.osr",
	"./test/8.osr",
	"./test/9.osr",
	"./test/10.osr", 
]
# Offset of the replay files(same as Global Offset)
REPLAY_OFFSETS = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
# Stitched time node list
CUT_TIME_LIST = [
	'0:30.208', 
	'1:11.511', 
	'1:33.545', 
	'1:55.877',
	'2:16.469', 
	'2:53.918',
	'3:10.000',
	'4:13.195',
	'4:35.800', 	
]

osu-replay-connector's People

Contributors

spaceskynet avatar

Stargazers

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