FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
551 stars 109 forks source link

[delete] #425

Closed necros2k7 closed 5 years ago

necros2k7 commented 5 years ago

subj

a1batross commented 5 years ago

Use TGA for that.

GIMP for example can generate TGA with RLE.

necros2k7 commented 5 years ago

you mean i can just simply convert for example valve\gfx\shell\btns_main to TGA and engine will run fine?

mittorn commented 5 years ago

yes, it already converted in xash-extras

a1batross commented 5 years ago

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.

necros2k7 commented 5 years ago

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

lewa-j commented 5 years ago

renamed mp3 to wav

AHAHAHAHA

necros2k7 commented 5 years ago

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."

nekonomicon commented 5 years ago

Lol. You must change file extensions into engine and sdk. Engine will detect file format by extension.

lewa-j commented 5 years ago

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

necros2k7 commented 5 years ago

ok, thanx now i see , just thought binaries in Release section supported wav and mp3 already