{"id":20182445,"url":"https://github.com/luxtorpeda-dev/rbchunk","last_synced_at":"2025-10-30T15:18:31.809Z","repository":{"id":187981713,"uuid":"677906741","full_name":"luxtorpeda-dev/rbchunk","owner":"luxtorpeda-dev","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-13T04:53:42.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-15T00:22:15.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luxtorpeda-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"d10sfan","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-08-13T03:35:51.000Z","updated_at":"2024-04-17T03:04:17.337Z","dependencies_parsed_at":null,"dependency_job_id":"c3848a00-5a5d-40db-905f-7a808efa6295","html_url":"https://github.com/luxtorpeda-dev/rbchunk","commit_stats":null,"previous_names":["luxtorpeda-dev/rbchunk"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxtorpeda-dev%2Frbchunk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxtorpeda-dev%2Frbchunk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxtorpeda-dev%2Frbchunk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luxtorpeda-dev%2Frbchunk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luxtorpeda-dev","download_url":"https://codeload.github.com/luxtorpeda-dev/rbchunk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616678,"owners_count":19991543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T02:38:39.788Z","updated_at":"2025-10-30T15:18:31.708Z","avatar_url":"https://github.com/luxtorpeda-dev.png","language":"Rust","funding_links":["https://github.com/sponsors/d10sfan"],"categories":[],"sub_categories":[],"readme":"# BinChunker in Rust\n\nAs the title says this is basically **bchunk** written\nin Rust, it has all the same features as the original\nand some improvements. Mainly in some cases it's easier\nto use and it's slightly faster (noticable only on RAM\ndisk or fast SSD as storage still remains the biggest bottleneck).\n\nThis adds support for rbchunk to be a library that can be imported by other projects, based on `https://gitlab.com/TheMaxus/rbchunk.git`. An example cli tool can be seen in `examples/cli.rs`\n\n## How to use\n\n### Basic usage (after building example):\n\n```\nrbchunk [-w] [-s] foo.cue\n```\n\nIf only one file is supplied the program will treat it as a CUE file.\n\nThis will extract tracks from the .bin file specified in CUE\nsheet to the current directory with names like foo01.cdr. `-w`\nswitch will extract files in .wav format and `-s` flag will\nswitch byte order (use this if you get white noise or\notherwise corrupted audio in the output files).\n\n\n```\nrbchunk [-ws] foo.bin foo.cue [something]\n```\n\nThis will do the same as above but you can specify the BIN file and output name.\n\nIf two or three files are supplied first will always be treated as BIN file, second as CUE file and third as a filename for the output. Any other arguments will be ignored.\n\n### Basic usage as library:\n\n```\nlet args = read_args(); // Providing your own rbchunk::Args here\nmatch rbchunk::convert(args) {\n    Ok(()) =\u003e println!(\"Conversion complete!\"),\n    Err(err) =\u003e {\n        println!(\"Error on conversion: {}\", err);\n        process::exit(1);\n    }\n}\n```\n\n## Contribution\n\nFeel free to contribute to the project, but try to avoid any external dependencies, as I try to keep this program rather small.\n\n## Compillation\n\n - `git clone https://github.com/luxtorpeda-dev/rbchunk`\n - `cargo build -r`\n\n## Releasing a New Version\n\n* First make sure all pull requests have been merged that are wanted for the release. Then ```git pull``` on the master branch.\n* Make sure cargo-release is installed locally ```cargo install cargo-release``` (https://github.com/crate-ci/cargo-release)\n* Run ```cargo release version major``` to do a dry run of the version update. Can also use minor, patch, etc\n* Run again if dry run successful: ```cargo release version major --execute```. Make sure to commit \u0026 push to git if needed.\n* Run ```cargo release``` to do a dry run of the release.\n* Run ```cargo release --execute``` if dry run successful. This step will push the git tags and a github action will run to publish the new version to crate.\n\n## Credits\n\nThis program is mostly based on bchunk by Heikki Hannikainen \u003chessu@hes.iki.fi\u003e,  \nwhich in turn is based on BinChunker by Bob Marietta \u003cmarietrg@SLU.EDU\u003e\n\nOther contributors to bchunk:\n - Colas Nahaboo \u003cColas@Nahaboo.com\u003e, 1999\n - Godmar Back \u003cgback@cs.utah.edu\u003e, 2001\n - Matthew Green \u003cmrg@eterna.com.au\u003e, 2003\n - Piotr Kaczuba \u003cpepe@attika.ath.cx\u003e, 2009\n - Reuben Thomas \u003crrt@femur.dyndns.org\u003e, 2008\n - Yegor Timoshenko \u003cyegortimoshenko@gmail.com\u003e, 2017\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluxtorpeda-dev%2Frbchunk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluxtorpeda-dev%2Frbchunk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluxtorpeda-dev%2Frbchunk/lists"}