Skip to content

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

Choose a tag to compare

@IZH318 IZH318 released this 24 Dec 12:49
· 4 commits to main since this release
17dd12d

📢 개발 상태 안내 / 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.3.0) - GUI Only

이번 업데이트는 시스템 안정성과 대용량 파일 처리 성능을 극한으로 끌어올리는 데 중점을 두었습니다. 내부 아키텍처를 완전히 재설계하여, 수 기가바이트(GB) 단위의 파일 작업 시에도 메모리 부족 없이 안정적인 동작을 보장합니다. (CLI 버전은 변경 사항 없음)

  • 🏗️ 핵심 아키텍처 개선 (Major Refactoring)

    • 서비스 지향 아키텍처 (SOA) 도입: 기존의 거대한 단일 코드 구조를 FMOD 제어, 파일 로딩, 추출 서비스, 리빌드 서비스 등 역할별로 모듈화하여 코드 안정성과 유지보수성을 획기적으로 개선했습니다.
    • 스트리밍 I/O 엔진 전면 교체: 대용량 .bank 파일 처리 시 발생하던 메모리 부족(OOM) 문제를 원천 차단하기 위해, 파일을 메모리에 통째로 올리는 방식에서 스트리밍(Streaming) 방식으로 읽고 쓰도록 변경했습니다.
    • 프로세스 수명 주기 관리 강화: 외부 빌드 도구(fsbankcl.exe) 실행 시 프로세스 상태를 엄격하게 추적하며, 작업 중단이나 강제 종료 시 백그라운드에 좀비 프로세스가 남지 않도록 강제 정리 로직을 추가했습니다.
  • 📊 성능 벤치마크 (v3.2.0 vs v3.3.0)

    • 38,736개의 파일을 포함하는 대용량 컨테이너 처리 테스트 결과, 메모리 사용량은 95% 이상 감소하고 작업 속도는 2배 가까이 향상되었습니다. (단, 측정 결과는 테스트 환경 기준이며, 사용자의 PC 사양 및 환경에 따라 달라질 수 있습니다.)

      구분 항목 v3.2.0 v3.3.0 개선율 및 분석
      시스템 자원 RAM 사용량 (Peak) 6.2 GB 278 MB 메모리 사용량 95.5% 감소
      준비 단계 추출 (38,736 파일) 46분 58초 18분 36초 처리 속도 2.52배 향상
      빌드 단계 1회 빌드 평균 시간 2분 30초 2분 12초 빌드 시간 12.0% 단축
      최적화 단계 최적화 총 소요 시간 20분 03초 17분 53초 프로세스 효율화로 10.8% 단축
      종합 총 소요 시간 1시간 07분 10초 37분 10초 전체 작업 시간 44.7% 단축
  • 🚀 기능 보완 및 최적화

    • 레거시 포맷(FSB3/4) 지원: 최신 FMOD API에서 제대로 인식하지 못하는 구버전(FSB3, FSB4) 파일에 대해, 바이너리 헤더를 직접 분석하는 하이브리드 파싱 엔진을 탑재했습니다. API 로딩 실패 시 자동으로 수동 분석 모드로 전환되어 데이터를 복구하며, 이를 통해 FSB3/4 파일의 구조 분석뿐만 아니라 정상적인 재생 및 추출까지 지원합니다.
    • 상세 정보 패널(Metadata) 강화: 기존의 기본적인 오디오 속성 외에도 3D Sound 설정(Min/Max 거리, 원뿔 각도), Music Channel 속성, Metadata Tags, Sync Points 등 FMOD 내부의 심층적인 메타데이터까지 모두 분석하여 표시하도록 개선했습니다.
    • 데이터 내보내기 확장:
      • 로그 파일 헤더 개편: 추출 및 리빌드 로그 파일의 상단 헤더에 시스템 정보(OS, CPU 코어 수)와 작업 환경 정보가 자동으로 기록되도록 수정하여 문제 해결(Troubleshooting) 용이성을 높였습니다.
      • CSV 데이터 필드 추가: CSV 내보내기 시, 위에서 언급된 확장 메타데이터(3D 설정, 태그 등)와 PCM 데이터 길이, 주파수(Hz) 등의 정보가 추가된 컬럼으로 저장되어 더욱 정밀한 데이터 분석이 가능합니다.
    • 최적화 탐색 로직 개선: 이진 탐색(Binary Search) 과정에서 성공적으로 빌드된 파일을 폐기하지 않고 최종 결과물로 재사용하도록 로직을 개선하여 불필요한 재빌드 과정을 생략했습니다.
    • 메모리 누수 방지 및 최적화: 리빌드 매니저 창을 반복적으로 열고 닫을 때 메모리가 누적되는 현상을 발견하여, 창을 닫을 때 명시적으로 리소스를 해제하고 가비지 컬렉션(GC)을 유도하도록 수정했습니다.
    • 실시간 분석기 화면 깜빡임 해결: 실시간 분석 그래프(파형, 스펙트럼 등)를 그릴 때 발생하던 화면 깜빡임 현상을 제거하기 위해 패널에 더블 버퍼링(Double Buffering) 기술을 강제로 활성화했습니다.
    • 고해상도 디스플레이(High DPI) 지원: 윈도우 디스플레이 배율 설정에 따라 UI가 흐려지지 않고 선명하게 렌더링되도록 개선했습니다.
    • 지능형 오디오 추출 방식 적용: 추출 시 기본적으로 고속 스트리밍 방식을 사용하되, 스트리밍이 불가능한 특수 포맷이 감지되면 자동으로 메모리 기반 디코딩 방식으로 전환하여 속도와 호환성을 모두 확보했습니다.
    • 비동기 임시 파일 삭제: 프로그램 시작 시 잔여 임시 파일을 정리할 때, 기존의 단순 삭제 방식 대신 백그라운드 명령을 통해 삭제하도록 변경했습니다. 이를 통해 파일 잠금(Lock) 문제로 인한 프로그램 실행 지연이나 오류를 원천 차단했습니다.
    • 멀티스레드 처리 안정성 강화: UI 반응성을 유지하면서도 백그라운드 작업(추출, 리빌드)이 동시에 수행될 때 발생할 수 있는 충돌을 방지하기 위해, 내부 엔진의 동기화 처리 로직을 대폭 개선했습니다.
    • 아이콘 리뉴얼: 프로그램의 아이콘이 Google AI Studio의 Gemini 2.5 Flash Image 모델을 사용하여 새롭게 제작되었습니다.

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.3.0) - GUI Only

This update focuses on pushing system stability and large-file processing performance to their limits. The internal architecture has been completely redesigned to ensure stable operation without out-of-memory errors, even when working with multi-gigabyte files. (No changes to CLI versions)

  • 🏗️ Core Architecture Improvements (Major Refactoring)

    • Introduction of Service-Oriented Architecture (SOA): The previous monolithic code structure has been modularized by role—such as FMOD control, file loading, extraction services, and rebuild services—dramatically improving code stability and maintainability.
    • Complete Overhaul of the Streaming I/O Engine: To fundamentally prevent Out-Of-Memory (OOM) issues when processing large .bank files, the method of loading entire files into memory has been replaced with a streaming approach for reading and writing.
    • Enhanced Process Lifecycle Management: When executing external build tools (fsbankcl.exe), the process state is now strictly tracked, and a forced cleanup logic has been added to ensure no zombie processes are left in the background upon task interruption or forced termination.
  • 📊 Performance Benchmark (v3.2.0 vs v3.3.0)

    • In a test processing a large container with 38,736 files, memory usage was reduced by over 95%, and task speed nearly doubled. (Note: Results are based on the test environment and may vary depending on the user's PC specifications and environment.)

      Category Item v3.2.0 v3.3.0 Improvement & Analysis
      System Resources RAM Usage (Peak) 6.2 GB 278 MB 95.5% Reduction in Memory Usage
      Preparation Extraction (38,736 files) 46m 58s 18m 36s 2.52x Faster Processing Speed
      Build Phase Avg. Time per Build 2m 30s 2m 12s 12.0% Reduction in Build Time
      Optimization Total Optimization Time 20m 03s 17m 53s 10.8% Reduction due to Process Efficiency
      Overall Total Time 1h 07m 10s 37m 10s 44.7% Reduction in Total Work Time
  • 🚀 Feature Enhancements & Optimizations

    • Legacy Format (FSB3/4) Support: For older files (FSB3, FSB4) that are not properly recognized by the latest FMOD API, a hybrid parsing engine that directly analyzes the binary header has been implemented. It automatically switches to manual analysis mode if API loading fails, recovering data and enabling not only structure analysis but also proper playback and extraction for FSB3/4 files.
    • Enhanced Details Panel (Metadata): Improved to display not only basic audio properties but also in-depth FMOD internal metadata, such as 3D Sound settings (Min/Max distance, cone angle), Music Channel properties, Metadata Tags, and Sync Points.
    • Expanded Data Export:
      • Revamped Log File Header: The header of extraction and rebuild log files now automatically records system information (OS, CPU cores) and work environment details, improving ease of troubleshooting.
      • Added CSV Data Fields: When exporting to CSV, columns for the extended metadata mentioned above (3D settings, tags, etc.), as well as PCM data length and frequency (Hz), are now included, enabling more precise data analysis.
    • Improved Optimization Search Logic: The logic was improved to reuse successfully built files from the binary search process as the final output, eliminating unnecessary rebuild steps.
    • Memory Leak Prevention and Optimization: Addressed an issue where memory would accumulate when repeatedly opening and closing the Rebuild Manager window. The logic was modified to explicitly release resources and trigger garbage collection (GC) when the window is closed.
    • Resolved Real-time Analyzer Screen Flickering: To eliminate the screen flickering that occurred when drawing real-time analysis graphs (waveform, spectrum, etc.), Double Buffering was forcibly enabled on the panel.
    • High DPI Display Support: Improved UI rendering to be sharp and clear on high-resolution displays, adapting to Windows display scaling settings.
    • Implemented Intelligent Audio Extraction Method: By default, a high-speed streaming method is used for extraction. However, if a special format incompatible with streaming is detected, it automatically switches to a memory-based decoding method, ensuring both speed and compatibility.
    • Asynchronous Temporary File Deletion: Instead of a simple deletion method, the program now uses a background command to clean up leftover temporary files at startup. This completely prevents program launch delays or errors caused by file lock issues.
    • Enhanced Multithreading Stability: Significantly improved the internal engine's synchronization logic to prevent potential conflicts when background tasks (extraction, rebuild) run concurrently while maintaining UI responsiveness.
    • Icon Renewal: The program's icon has been newly created using Google AI Studio's Gemini 2.5 Flash Image model.

Full Changelog: v3.2.0...v3.3.0