Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikuauahdark/safftracks
FFmpeg decoding support to GTASA User Tracks
https://github.com/mikuauahdark/safftracks
Last synced: 3 months ago
JSON representation
FFmpeg decoding support to GTASA User Tracks
- Host: GitHub
- URL: https://github.com/mikuauahdark/safftracks
- Owner: MikuAuahDark
- License: mit
- Created: 2020-04-11T16:08:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T12:54:05.000Z (almost 2 years ago)
- Last Synced: 2023-10-20T21:49:01.849Z (about 1 year ago)
- Language: C++
- Size: 55.7 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
SAFFTracks
======Do you ever struggle of re-encoding your music to MP3 before putting it to GTA San Andreas?
With this plugin, say goodbye to re-encoding frustration.This plugin replaces the User Tracks decoder engine to [FFmpeg](https://www.ffmpeg.org/)
which supports lots of audio formats. You can simply drop your songs to User Tracks folder
and this plugin will make sure to load your audio using FFmpeg instead of GTASA's own.
Opus audio? AAC? Other non-mainstream audio formats? This plugin can play those as long as
FFmpeg supports it.Building
-----Requirements:
* FFmpeg 5.1 or later, compiled for Windows 32-bit
* CMake 3.1 or later
* GTASA US 1.0 HOODLUM/Compact
Ensure you build FFmpeg first, then use CMake to compile the project.
```cmd
rem assume %FFMPEG% contain path where it has "lib" and "include"
cmake -Bbuild -H. -A Win32 -DLIBAV_LIB_DIR=%FFMPEG%\lib -DLIBAV_INCLUDE_DIR=%FFMPEG%\include -DCMAKE_INSTALL_PREFIX=%CD%\install
cmake --build build --config Release --target install
```You'll found the ASI plugin in `install`.
Protip: You can also set `CMAKE_INSTALL_PREFIX` to your GTASA installation directory.
Installation
-----So you have the ASI plugin compiled or downloaded now. Place all the DLLs into your GTASA directory.
Ensure you have ASI loader beforehand.Special Thanks
-----Special thanks to Code Nulls Discord for guiding me to reverse engineer the underlying User Tracks
code. This would took very long time without them.