Download Latest Version CsharpRipper(exe).zip (31.8 MB)
Email in envelope

Get an email when there's a new version of CsharpRipper

Home
Name Modified Size InfoDownloads / Week
CsharpRipper(exe).zip 2026-07-15 31.8 MB
sourcecode.zip 2026-07-15 9.0 kB
README_DE.txt 2026-07-15 3.3 kB
README_EN.txt 2026-07-15 3.2 kB
Totals: 4 Items   31.8 MB 3
========================================================================
                      CsharpRipper v1.2.0
========================================================================
A lightweight, cross-platform Audio CD Ripper for Windows & Linux 
written in native C# (.NET 10).

This tool interacts directly with native OS hardware boundaries (Win32 
API on Windows / ioctl on Linux) to extract bit-perfect, lossless audio 
tracks without relying on any external CLI utilities.

Features:
---------
- 100% Lossless Ripping: Extracts raw CD audio (PCM, 44.1 kHz, 16-bit, 
  Stereo) and automatically generates standard RIFF-WAV files.
- Zero Dependencies: Pure C# code utilizing low-level OS capabilities.
- Cross-Platform UI: Automatically detects the OS environment at startup.
- Smart Path Routing: Accepts destination paths directly via CLI arguments 
  or launches an interactive user prompt when double-clicked.
- Software Error Correction: Features an integrated 3x retry mechanism 
  for scratched discs. Unreadable sectors are automatically padded 
  with digital silence to keep tracks intact and synchronous.
- Smart Layout Architecture: Automatically creates a unique target 
  folder for each disc based on its track layout to prevent overwriting.

Project Structure:
------------------
- Program.cs         : Main execution workflow, argument checking & UI.
- NativeCdBridge.cs  : Hardware bridge (Win32 API & Linux ioctl / libc).
- CsharpRipper.csproj: .NET 10 project configuration file.

Requirements & Default Drives:
------------------------------
- Windows: x64 OS. Default drive is set to "D:" (adjustable in source).
- Linux  : x64 OS. Default drive is set to "/dev/sr0" (requires root privileges).

How to Build (Cross-Compiling via Linux CLI):
---------------------------------------------
To build for Linux:
   dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true

To build for Windows (.exe):
   dotnet publish -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true

Usage on Windows:
-----------------
Scenario A (Double-click): Double-click 'CsharpRipper.exe'. A command prompt 
will appear and ask you interactively where to save the files.
Scenario B (Command Line): Pass the destination path directly as an argument:
   CsharpRipper.exe C:\Music\MyAlbum

Usage on Linux:
---------------
Copy the compiled Linux binary to /usr/local/bin/. Run it with root 
privileges and an optional target path:
   sudo CsharpRipper ~/Music/MyAlbum

Public Domain & Disclaimer (Unlicense):
---------------------------------------
This program is completely dedicated to the public domain (Unlicense).
It has been released to the general public. Anyone is free to download,
execute, copy, modify, or distribute this tool for any purpose, 
without any conditions or restrictions.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
OR IMPLIED. THE AUTHOR SHALL NOT BE LIABLE FOR ANY CLAIMS OR DAMAGES 
ARISING FROM THE USE OF THIS SOFTWARE. USE AT YOUR OWN RISK.

========================================================================
Created with passion for cross-platform .NET development.

Source: README_EN.txt, updated 2026-07-15