Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: KAKAN on Feb 11, 2016, 10:36 AM

Title: [serber]zip problem
Post by: KAKAN on Feb 11, 2016, 10:36 AM
Well, today I compressed all my maps, spirites and sounds. 1st nothing worked, then I installed 7z and did it, then the sprites and maps worked. The sounds aren't working with the 7z file.
My file name is: sounds_unp.7z
It has about 3 files in it. Am I doing something wrong? If so, please do tell me
Title: Re: [serber]zip problem
Post by: Thijn on Feb 11, 2016, 05:05 PM
You don't have to zip the sounds. Just put the wav files in the folder.
Title: Re: [serber]zip problem
Post by: Stormeus on Feb 11, 2016, 06:30 PM
Does your 7z structure look like this?
sounds/
   -- file1.wav
   -- file2.wav
   -- file3.wav

Quote from: Thijn on Feb 11, 2016, 05:05 PMYou don't have to zip the sounds. Just put the wav files in the folder.

People might be underestimating just how large even a short but uncompressed WAV is. If compression works, I'd rather server owners use it.
Title: Re: [serber]zip problem
Post by: KAKAN on Feb 12, 2016, 05:53 AM
Quote from: Stormeus on Feb 11, 2016, 06:30 PMDoes your 7z structure look like this?
sounds/
   -- file1.wav
   -- file2.wav
   -- file3.wav
Yezz

Quote from: Thijn on Feb 11, 2016, 05:05 PMYou don't have to zip the sounds. Just put the wav files in the folder.
I don't want someone downloading 3MB from VCMP browser :D
Title: Re: [serber]zip problem
Post by: Murdock on Feb 12, 2016, 05:34 PM
Quote from: KAKAN on Feb 12, 2016, 05:53 AMI don't want someone downloading 3MB from VCMP browser :D

The VCMP browser does not download anything besides VCMP updates. Also 3 MB was considered big in 1998
Title: Re: [serber]zip problem
Post by: KAKAN on Feb 12, 2016, 06:05 PM
Quote from: Murdock on Feb 12, 2016, 05:34 PM
Quote from: KAKAN on Feb 12, 2016, 05:53 AMI don't want someone downloading 3MB from VCMP browser :D

The VCMP browser does not download anything besides VCMP updates. Also 3 MB was considered big in 1998
This clearly shows that you haven't joined any server yet.

EDIT: Still I want to know the reason why the sounds doesn't work when zipped.
Anyone having/facing the same problem?
Title: Re: [serber]zip problem
Post by: MacTavish on Feb 12, 2016, 06:55 PM
Try this prepare your sounds

s50000_file1.wav
s50001_file2.wav

Now use 7zip  and compress file in cSounds1_unp.7z archieve then open your archieve then again put your files in archieve with mouse and replace them


Some times when we compress an archieve then most of files doesnt have packed size in archieve i faced these problems much times when i compressed custom objects i noticed if .txd not have packed size then server was unable to extract that file


Sorry for the bad english i am on a trip
Title: Re: [serber]zip problem
Post by: ysc3839 on Feb 12, 2016, 07:06 PM
Quote from: Kusanagi on Feb 12, 2016, 06:55 PMTry this prepare your sounds

s50000_file1.wav
s50001_file2.wav

Now use 7zip  and compress file in cSounds1_unp.7z archieve then open your archieve then again put your files in archieve with mouse and replace them


Some times when we compress an archieve then most of files doesnt have packed size in archieve i faced these problems much times when i compressed custom objects i noticed if .txd not have packed size then server was unable to extract that file


Sorry for the bad english i am on a trip
Your English isn't so bad. I just hope you can use "," and "." correctly. :)
Title: Re: [serber]zip problem
Post by: KAKAN on Feb 13, 2016, 05:36 AM
Quote from: Kusanagi on Feb 12, 2016, 06:55 PMTry this prepare your sounds

s50000_file1.wav
s50001_file2.wav

Now use 7zip  and compress file in cSounds1_unp.7z archieve then open your archieve then again put your files in archieve with mouse and replace them


Some times when we compress an archieve then most of files doesnt have packed size in archieve i faced these problems much times when i compressed custom objects i noticed if .txd not have packed size then server was unable to extract that file


Sorry for the bad english i am on a trip
Tried, doesn't help. Can anyone try this unp sounds and tell me the result? If it works, then tell me, I'll try some other sounds
Title: Re: [serber]zip problem
Post by: ysc3839 on Feb 13, 2016, 07:02 AM
I tried on my server. However VC:MP showed "[FILES] Failed to retrieve 'sounds/s50000_name.wav' from archive 'sounds_unp.7z'.". I found that new 7-zip version uses "Delta LZMA2:192k" method to compress files and old version uses "LZMA:16". VC:MP only supports "LZMA:16". Then I use old version to campress, it works well.
Title: Re: [serber]zip problem
Post by: KAKAN on Feb 13, 2016, 08:30 AM
Quote from: ysc3839 on Feb 13, 2016, 07:02 AMI tried on my server. However VC:MP showed "[FILES] Failed to retrieve 'sounds/s50000_name.wav' from archive 'sounds_unp.7z'.". I found that new 7-zip version uses "Delta LZMA2:192k" method to compress files and old version uses "LZMA:16". VC:MP only supports "LZMA:16". Then I use old version to campress, it works well.
I used the new version to compress objects and sprites, how did it work then?
Title: Re: [serber]zip problem
Post by: MacTavish on Feb 13, 2016, 09:07 PM
I tested as @ysc3839 says newer versions archieves are not working with i am using this version to compress it works fine 7Zip v920 (https://sourceforge.net/projects/sevenzip/files/7-Zip/9.20/)
Title: Re: [serber]zip problem
Post by: KAKAN on Feb 14, 2016, 08:04 AM
Quote from: Kusanagi on Feb 13, 2016, 09:07 PMI tested as @ysc3839 says newer versions archieves are not working with i am using this version to compress it works fine 7Zip v920 (https://sourceforge.net/projects/sevenzip/files/7-Zip/9.20/)
Can you give me the zip file you tested?
Title: Re: [serber]zip problem
Post by: [Elv]Woodland on Feb 19, 2016, 06:51 AM
same problem with me :(

EDIT
@KAKAN   Try this version of 7Zip http://www.7-zip.org/a/7z920.exe
7z your all sound files and name it as sounds_unp, it works :)
Title: Re: [serber]zip problem
Post by: MacTavish on Feb 25, 2016, 01:56 PM
Quote from: vito on Feb 25, 2016, 12:37 PMI want to add "mission complite" sound. I've converted it from mp3 to wav and compress with 7zip but 700kb it's on border of evil. Is it possible to play mp3 sounds?

No only wave files are supported yet. try decreasing sound quality and bitrate it will help to decrease the file size
Title: Re: [serber]zip problem
Post by: DizzasTeR on Feb 25, 2016, 02:48 PM
Yeah and ruin the fuck out of every thing because you can't hear shit if you move a little away from the Vectors you produce it at. Seriously why is there a goddamn Vector necessary in the first place, it should support a 'null' parameter so its played for all.
Title: Re: [serber]zip problem
Post by: MacTavish on Feb 25, 2016, 03:30 PM
Like i already say here http://forum.vc-mp.org/?topic=2046.msg15559#msg15559
Title: Re: [serber]zip problem
Post by: ysc3839 on Feb 25, 2016, 03:33 PM
Quote from: vito on Feb 25, 2016, 12:37 PMI want to add "mission complite" sound. I've converted it from mp3 to wav and compress with 7zip but 700kb it's on border of evil. Is it possible to play mp3 sounds?
I think this custom audio uses vice city's built-in sound system so it only supports wavs.
Title: Re: [serber]zip problem
Post by: ysc3839 on Feb 25, 2016, 03:36 PM
Quote from: Kusanagi on Feb 25, 2016, 03:30 PMLike i already say here http://forum.vc-mp.org/?topic=2046.msg15559#msg15559
The custom radio uses bass audio library. And I hope there will be stream outside the vehicles in next version. :)
Title: Re: [serber]zip problem
Post by: DizzasTeR on Feb 25, 2016, 03:39 PM
from the past half hour, I'm trying to add 1 sound, the rest would work but that particular sound won't. The name is totally correct, the format is wav, compressed with the same 7zip which was used for previous ones and yet it just won't play. It would have been better to implement custom sounds by taking more time but atleast something which could turn out better for instance only wav files... not mp3
Title: Re: [serber]zip problem
Post by: ysc3839 on Feb 25, 2016, 03:47 PM
I think I could write a program that auto zip the files in correct method. Just drag files in. :)
Title: Re: [serber]zip problem
Post by: MacTavish on Feb 25, 2016, 04:25 PM
@Doom_Kill3R are you using 7zip v920 because only that versions works fine
Title: Re: [serber]zip problem
Post by: KAKAN on Feb 25, 2016, 04:47 PM
Well, guys stop. Compressing music files won't help ya. A 2mb music stayed at 2mb( or say 1.98mb ). 7zip can compress other files, but not music.
Title: Re: [serber]zip problem
Post by: Finch Real on Mar 09, 2016, 10:05 AM
you must not zip that put wav files if you think size is bigger for downloading use KGB Archieve to resize files
Title: Re: [serber]zip problem
Post by: Thijn on Mar 09, 2016, 05:14 PM
Quote from: Finch Real on Mar 09, 2016, 10:05 AMyou must not zip that put wav files if you think size is bigger for downloading use KGB Archieve to resize files
What?
Title: Re: [serber]zip problem
Post by: . on Mar 09, 2016, 05:16 PM
Quote from: Finch Real on Mar 09, 2016, 10:05 AMyou must not zip that put wav files if you think size is bigger for downloading use KGB Archieve to resize files

Sh!t man, there are Russian people around here. Be careful with that.
Title: Re: [serber]zip problem
Post by: MacTavish on Mar 09, 2016, 05:42 PM
VC-MP Won't Support KGB archieves. Stick with 7zip
Title: Re: [serber]zip problem
Post by: Finch Real on Mar 10, 2016, 02:01 AM
Kgb can resize the size of any file