samp-rec-to-csv
File format converter from .rec
to .csv
and vice versa, which NPCs use in SA-MP to play back recordings.
This tool can be used to edit .rec
files after recording the data:
- convert to
.csv
usingrec2csv
- edit the
.csv
in something like Microsoft Excel or Google Spreadsheets - convert back to
.rec
usingcsv2rec
Special thanks to Mauzen for his work on figuring out and documenting the .rec
file structure and Y_Less for YSI in which these structures are also defined.
Building
mkdir build
cd build
cmake ..
make
Running
./rec2csv -h
./csv2rec -h