Skip to content

FSB/BANK Extractor & Rebuilder (GUI) (v3.0.0)

Choose a tag to compare

@IZH318 IZH318 released this 10 Dec 15:07
· 43 commits to main since this release
b2ef818

📢 개발 상태 안내 / Development Status

현재 C++ (CLI) 버전과 C# (CLI) 버전의 개발은 임시 중단되었습니다.
만약 CLI 환경에서의 사용이 필요하시다면 v1.1.0 을 사용해 주시기 바랍니다.

Development of the C++ (CLI) and C# (CLI) versions is currently paused.
If you require usage in a CLI environment, please use v1.1.0.


한국어 (Korean)

⚠️ 중요: 파일 누락 및 설치 안내

저작권 및 라이선스 정책 준수를 위해, 배포 파일에는 FMOD 관련 파일이 포함되어 있지 않습니다.
프로그램을 정상적으로 실행하려면 아래 내용을 참고하여 사용자가 직접 파일을 준비해야 합니다.

  1. FMOD Engine API v2.03.11 다운로드: 이 프로그램은 FMOD Engine API v2.03.11 버전을 기반으로 빌드되었습니다. 반드시 해당 버전의 FMOD 파일을 FMOD 공식 다운로드 페이지에서 다운로드하여 사용 해주시기 바랍니다. (FMOD 계정 필요)
  2. 필수 파일 복사: 다운로드한 FMOD 폴더에서 fmod.dll, fmodstudio.dll, fsbankcl.exe 등 실행에 필요한 파일들을 프로그램 폴더로 복사해야 합니다.
  • 자세한 설치 및 파일 복사 방법은 README.md 파일을 참고해주시기 바랍니다.

🔄 업데이트 내역 (v3.0.0) - GUI Only

v3.0.0 업데이트는 핵심적인 신규 기능 추가와 함께, 내부 코드 구조를 대대적으로 개선하는 데 중점을 두었습니다. (CLI 버전은 변경 사항 없음)

  • ✨ 신규 기능

    • 오디오 리빌드 & 리패킹 시스템:
      • .bank 또는 .fsb 파일 내의 특정 오디오를 사용자가 제공한 다른 오디오 파일(WAV, MP3 등)로 교체하는 기능을 추가했습니다.
      • FMOD 공식 명령줄 도구인 fsbankcl.exe를 사용하여 원본과 호환되는 FSB 파일을 생성합니다.
      • 이진 탐색(Binary Search) 알고리즘으로 원본 데이터의 크기 제한에 맞는 최적의 압축 품질(Vorbis)을 자동으로 찾아내, 파일 손상을 방지합니다.
      • (참고) 용량이 작을 경우 자동으로 제로 패딩(Zero-Padding)을 적용하여 원본 파일 구조를 완벽히 유지합니다.
    • 실시간 오디오 분석기:
      • 재생 중인 사운드를 상세히 분석할 수 있는 도구를 추가했습니다. (Tools 메뉴)
      • 시각화 도구: 파형, 스펙트럼, 스펙트로그램, 벡터스코프, 오실로스코프를 실시간으로 표시합니다.
      • 채널 측정: RMS/Peak 레벨, 클리핑 카운터, DC 오프셋을 포함한 채널별 상세 통계를 제공합니다.
      • 라우드니스 분석: EBU R 128 등 주요 방송 표준에 기반한 Integrated/Short-term/Momentary LUFS 및 True Peak(dBTP)를 측정합니다.
  • 🚀 편의성 개선

    • 추출 경로 옵션 추가: 추출 위치를 '원본 파일과 동일한 경로', '사용자 지정 고정 경로', '매번 묻기' 중에서 선택할 수 있는 옵션을 추가했습니다.
    • 오디오 길이 검증 추가: 리빌드 시, 교체할 오디오의 재생 시간이 원본보다 길 경우 게임 내에서 발생할 수 있는 동작 오류(이벤트 끊김, 루프 깨짐 등)를 사전에 경고하는 기능을 추가했습니다. 용량 초과 시 경고와 함께 독립 파일(.fsb)로 강제 저장할 수 있는 옵션을 제공합니다.
    • 컨텍스트 메뉴 개선: 우클릭 시, 선택한 항목의 종류에 따라 '추출', '리빌드', 'GUID 복사' 등 관련된 메뉴만 표시되도록 변경했습니다.
  • 🛠️ 내부 구조 개선

    • 비동기 처리(Async/Await) 적용: 파일 로딩, 추출, 리빌드 등 시간이 오래 걸리는 I/O 작업을 비동기 방식으로 전환하여, 대용량 처리 시에도 UI가 멈추지 않도록 개선했습니다.
    • 코드 모듈화: 관련 UI 로직을 별도 폼(IndexToolForm 등)으로 분리하고 NodeData 클래스에 다형성을 적용하는 등, 향후 기능 추가 및 유지보수가 용이하도록 코드 구조를 개선했습니다.
    • 타이머 로직 변경: 고정밀 백그라운드 타이머(System.Threading.Timer)를 사용하도록 변경하여, FMOD 엔진 업데이트와 UI 갱신 로직을 최적화하고 시스템 부하를 줄였습니다.
  • ⚡️ 성능 및 안정성 향상

    • 저수준 바이너리 파싱 도입: FMOD API에만 의존하지 않고 FSB 헤더를 직접 읽어, 일부 압축 포맷에서 더 정확한 오디오 데이터 오프셋과 길이를 가져오도록 수정했습니다.
    • 오류 처리 및 로깅 개선: 예외 발생 시 스택 트레이스를 포함한 상세 오류 로그를 자동으로 생성하고, 추출 및 리빌드 과정의 로그를 더욱 체계적으로 기록하도록 변경했습니다. (작업 중 오류 발생 시 Verbose 옵션과 관계없이 상세한 에러 로그 파일이 자동으로 생성됩니다.)

English

⚠️ IMPORTANT: Missing Files & Installation Guide

Due to copyright and licensing policies, FMOD-related files are NOT included in the distribution files.
To run the program correctly, you must manually prepare the files by following the instructions below.

  1. Download FMOD Engine API v2.03.11: This program was built using FMOD Engine API v2.03.11. You must use files from this specific version, downloadable from the official FMOD download page. (FMOD account required)
  2. Copy Required Files: From the downloaded FMOD folder, you must copy the necessary files (e.g., fmod.dll, fmodstudio.dll, fsbankcl.exe) into the program's folder.
  • For detailed installation and file copying instructions, please refer to the README_EN.md file.

🔄 Update History (v3.0.0) - GUI Only

The v3.0.0 update focuses on adding key new features and significantly improving the internal code structure. (No changes to CLI versions)

  • ✨ New Features

    • Audio Rebuild & Repacking System:
      • Added functionality to replace specific audio in .bank or .fsb files with user-provided audio files (WAV, MP3, etc.).
      • Uses the official FMOD tool fsbankcl.exe to generate FSB files compatible with the original.
      • Binary Search Algorithm: Automatically finds the optimal compression quality (Vorbis) that fits within the original data size limit, preventing file corruption.
      • (Note) Applies Zero-Padding automatically if the new file is smaller, perfectly maintaining the original file structure.
    • Real-time Audio Analyzer:
      • Added a tool to analyze playing sounds in detail. (Tools menu)
      • Visualizations: Displays Waveform, Spectrum, Spectrogram, Vectorscope, and Oscilloscope.
      • Channel Metering: Provides detailed statistics per channel, including RMS/Peak levels, Clipping counter, and DC Offset.
      • Loudness Analysis: Measures Integrated/Short-term/Momentary LUFS and True Peak (dBTP) based on major broadcast standards (e.g., EBU R 128).
  • 🚀 Convenience Improvements

    • Extraction Path Options: Added options to choose extraction location: 'Same as original', 'Custom fixed path', or 'Ask every time'.
    • Audio Length Validation: Added a warning feature during rebuild if the replacement audio is longer than the original, which could cause playback errors (cutting off, loop breaking) in-game. Provides an option to force save as a standalone file (.fsb) if size is exceeded.
    • Context Menu Improvements: Reorganized the right-click menu to show only relevant options (Extract, Rebuild, Copy GUID, etc.) based on the selected item type.
  • 🛠️ Internal Structure Improvements

    • Async/Await Implementation: Converted time-consuming I/O operations like file loading, extraction, and rebuilding to asynchronous methods, preventing UI freezes during large tasks.
    • Code Modularity: Separated UI logic into distinct forms (IndexToolForm, etc.) and applied polymorphism to the NodeData class to improve code structure for future maintenance.
    • Timer Logic Update: Switched to a high-precision background timer (System.Threading.Timer) to optimize FMOD engine updates and UI refreshing, reducing system load.
  • ⚡ Performance & Stability

    • Low-level Binary Parsing: Modified to read FSB headers directly instead of relying solely on the FMOD API, ensuring more accurate audio data offsets and lengths for certain compression formats.
    • Error Handling & Logging: Improved exception handling to automatically generate detailed error logs with stack traces. Detailed error log files are now automatically created upon error, regardless of the Verbose option.

Full Changelog: v2.1.0...v3.0.0