I placed a sound in the right path and folders "/heroes/helldemon/ability_04/sounds/cast3.ogg"
and zipped it renamed the file to resources999.s2z but it didn't work like others mods, The only way that seemed to work was to place is in my Document folder unzipped inside the game folder.
Is there any tips to how to do it?
Okay well, next time use the search feature, but here's a quick guide.
Firstly, as long as it's heroes/helldemon/ and not /heroes/helldemon/, that all looks fine. Here's what you should do:
In something like WinRAR, select all the files you want to zip, and click "Add to Archive". On the left, there are two options, "RAR" and "ZIP". Click "ZIP'". For the method of compression, don't use Normal, but instead change that to "Store". Now, re-examine the file-name. If at first you wrote, "resourcesMogaCast3.s2z", it will now say "resourcesMogaCast3.s2z.zip", which is not what you want. This is why I suggest changing the file name last, just delete the entire line and write in "resourcesMogaCast3.s2z", and then create the archive.
Then, place the .s2z file within C:\Program Files\Heroes of Newerth\game\
Then it should work.
Thank you, I will try again. I use linux by the way, I can tell the sound detected because the ultimate sound when I tested it didn't load, instead it just ignored "your soul is mine" so my guess was something was wrong.
I will give you the file that I made, when you have free time, please try it
Thanks again for the tips.
I think i had the same problem, and a guy on IRC helped me fix it.
Take a copy of resources0.s2z, paste it anywhere, delete all the contents except one folder/file then add the folders/files from the archive you allready made and delete the left over stuff. rename it resourcesanything and it should work.
I'll have a look for you and try to get it to work
EDIT: I refer to Windows locations because *MOST* (I know, not all) people use Windows, and it's the OS that I use, so I find it easier to refer to. I don't know the location for Linux, sorry
Is there any reason you want to put it in a s2z btw?
zip -rX resourcesX.s2z heroes/helldemon/cast3.ogg
should do it I think
Your issue was that it was a cast3.ogg and not a cast3.wav
The resources0.s2z automatically converts .dds files into .tga files when it unpacks from resources0.s2z, but it also converts .ogg into .wav files when it unpacks from the resources0.s2z
For some reason, I don't know why, it doesn't do that by default for other resource files, so from now on just make .wav files and all should be good
Tested and it works now.