Closed necros2k7 closed 5 years ago
Use TGA for that.
GIMP for example can generate TGA with RLE.
you mean i can just simply convert for example valve\gfx\shell\btns_main to TGA and engine will run fine?
yes, it already converted in xash-extras
MP3 is already compressed enough. You can use MP3 instead of WAV files.
However, OPUS will be supported, because voice chat.
MP4 is just a container, as well as AVI.
how can i use mp3 instead of wav? tried to convert 1st dialogue in train to mp3, renamed mp3 to wav - still silence in game when dialogue should be
renamed mp3 to wav
AHAHAHAHA
what so funny, who knows how engine reads these files by content/extension still no luck 1. c0a0_tr_gmorn.mp3 2. c0a0_tr_gmorn.wav (mp3 inside) "MP3 is already compressed enough. You can use MP3 instead of WAV files."
Lol. You must change file extensions into engine and sdk. Engine will detect file format by extension.
who knows how engine reads these files
The one who saw the code. https://github.com/FWGS/xash3d/blob/ab7c3848f85571a3f86817a2ced3fb87371ea560/engine/common/soundlib/snd_main.c#L75 https://github.com/FWGS/xash3d/blob/ab7c3848f85571a3f86817a2ced3fb87371ea560/engine/common/soundlib/snd_utils.c#L33
ok, thanx now i see , just thought binaries in Release section supported wav and mp3 already
subj