Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13-09-2015, 00:48
DarkSoul19 DarkSoul19 is offline
Registered User
 
Join Date: Sep 2015
Location: Australia
Posts: 18
Thanks: 12
Thanked 21 Times in 6 Posts
DarkSoul19 is on a distinguished road
WaveInjector

Hey Packers First time Thread from me. Ive been Doing Repacks for a very very long time, but took Years off too raise my children. Now that the youngest is two i feel i can have a little time to spend on Repacks
I notice Most people use Arc/Precomp/Srep/Reflate/Msc combinations, and for good reason, if used properly they are fantastic.
I saw MadMax compressed to 4.5 g which is pretty cool, and inspecting it found they used Arc//Srep/Msc and precomp.
I have noticed nearly no one use`s WaveInjector, So im wondering if this is because

1. You never heard of it
2. Cant be bothered with the effort it takes to use it(A lot)
3. Dont know how to use it

If you are wondering what it is, let me tell you
WaveInjector is a program that allows you to inject waves into a container, For example you might have a .pak file that contains lots of wave files. You would extract the waves with a program like DragonPacker, at the same time you would record in text file each waves address eg 433234D-4334543E located in the .pak file(Automated). You will then delete all data from the .pak at those addresses( Its automated) So you are left with a Wave folder and a highly compressable .Pak file(for example, but could be any container)
You then use a lossless compression on the wave files you extracted( must be lossless,bit-bit identical)and delete the waves
Now you will have a highly compressed sound files in whatever format you chose
Thats where WaveInjector come in, it allowes you to, (after you convert back to wave) inject your waves back into the .pak(container) using the text file as a reference to where each wave goes. The result can be staggering
Anyone interested? or ....

Okay i promised a tutorial so here it is
Moderators feel free to alter this guide to be more gramaticly correct or just plain old spelling errors

Tools you will need
Total Commander
Dragon Unpacker
Dummy.exe (from first page)
inject.exe (from first page)

Instal Total Commander and Dragon Unpacker
Open the file that contains the raw audio in dragon unpacker, use the hyper ripper, then under advanced tab paste this %f.%x_%h_%l
Then click the search button, after it`s finished export all the sounds to a new folder
Now open Total Commander and navigate to the folder containing the exported audio, then selecting all the files, use the muli-file rename tool. Enter 8 zero`s in the search for box and click start
Next make a copy of your extracted Audio folder, then open Total Commander again. Navigate to the Audio_copy folder and press Ctr+A then navigate to the multi-file rename tool.Paste this, without the commas "dummy.exe [N].[E] [=tc.size.bytes] 0" in Rename mask File Name box
Make sure extention box is blank and click start
Open cmd and type pushd followed by folder location of Audio_copy eg. Pushd C:\Audio_Copy
Now type dir /b *.*>_first.txt then enter
Open file _first.txt and delete last line "_first.txt" , then save
Cut and past _first.txt file to folder containing dummy.exe and rename it to _first.bat
double right click on _first.bat and wait until it`s finished proccesing
Now copy the original File containing the raw audio into the folder containing the dummy files, past the inject.exe into the same folder then open cmd and type pushd followed by inject (and the name of the Audio_archive)
eg inject sound.pak press enter
done, the Archive has been injected
Cut this injected Archive to the folder Audio_folder (original extracted waves)
The Archive can be zipped or Rared to a tiny size
The waves can be compressed with a lossless bit to bit identical compresser(your choice)
then the original waves deleted
Now to inject the original waves back into the Archive follow these steps
Make sure inject.exe is in the folder
Extract the commpressed sound Achive
Convert the compressed waves back to wave format (method depends on your choice of lossless compresser used
create a bat file and type inject "name of your Archive, without commas"
done save it
To reinject All the waves back in simple launch that bat. All the waves will be injected back in
Final Words.. you would delete All irrelevent folders and files if your creating a rip
Basicly you would have dummy Archive/inject.exe and your compressed waves in the same folder. I create a bat file to delete the compressed waves after they are restored to wave files, there is no reson to delete the actual waves as they will be deleted as they are injected
Hope this Helps, feel free to ask questions
Attached Files
File Type: rar Tools For Wave Injector.rar (36.1 KB, 180 views)

Last edited by DarkSoul19; 27-09-2015 at 08:33.
Reply With Quote
The Following 13 Users Say Thank You to DarkSoul19 For This Useful Post:
buttignol (14-09-2015), ChronoCross (13-09-2015), gozarck (14-09-2015), Gupta (09-03-2017), Jiva newstone (30-11-2017), JRD! (28-09-2015), mikey26 (13-09-2015), oltjon (13-09-2015), RamiroCruzo (13-09-2015), Razor12911 (13-09-2015), Simorq (13-09-2015), Stor31 (13-09-2015), y_thelastknight (27-09-2015)
Sponsored Links
  #2  
Old 13-09-2015, 01:48
Bilawal's Avatar
Bilawal Bilawal is offline
Registered User
 
Join Date: Apr 2014
Location: Pakistan
Posts: 127
Thanks: 176
Thanked 175 Times in 51 Posts
Bilawal is on a distinguished road
I used for a year or two(When I don't know about Inno Setup).
Reply With Quote
  #3  
Old 13-09-2015, 06:00
truerepacks truerepacks is offline
Registered User
 
Join Date: Jul 2015
Location: New Delhi, India
Posts: 78
Thanks: 42
Thanked 46 Times in 28 Posts
truerepacks is on a distinguished road
I also use wave injector for sometime but left it because it becomes complicated sometime.
and about the wave file I think you can achieve same results by using msc on containers without even extracting them.(only if you use loseless compression but if you use others such as ogg then story may be different). you may found some group using wave injector and provide us game which are awesomely compressed.

Last edited by truerepacks; 13-09-2015 at 06:05.
Reply With Quote
  #4  
Old 13-09-2015, 06:39
DarkSoul19 DarkSoul19 is offline
Registered User
 
Join Date: Sep 2015
Location: Australia
Posts: 18
Thanks: 12
Thanked 21 Times in 6 Posts
DarkSoul19 is on a distinguished road
Yes TrueRepacks, this is so. Although im new to Msc and cant compare yet
Its very true that some "Groups" are using it. Funny too cos it was created by a warz group. But i think its still of great importance, or more too say useful. I only wish i had access to the sourse code. because it could be adapted for almost any file format
Reply With Quote
  #5  
Old 13-09-2015, 08:18
truerepacks truerepacks is offline
Registered User
 
Join Date: Jul 2015
Location: New Delhi, India
Posts: 78
Thanks: 42
Thanked 46 Times in 28 Posts
truerepacks is on a distinguished road
I don't think you can get wave injector's source code anywhere becoz majority of warez groups are now closed.
I know this becoz I do a lot of research on such oldschool compression topics and one more thing sometimes extracted wave file also don't supported by oggenc2 at its best compression level.

Last edited by truerepacks; 13-09-2015 at 08:21.
Reply With Quote
The Following User Says Thank You to truerepacks For This Useful Post:
DarkSoul19 (15-09-2015)
  #6  
Old 13-09-2015, 09:14
DarkSoul19 DarkSoul19 is offline
Registered User
 
Join Date: Sep 2015
Location: Australia
Posts: 18
Thanks: 12
Thanked 21 Times in 6 Posts
DarkSoul19 is on a distinguished road
Pretty sure oggenc2 isnt lossless,
I know of one group that claims to have source code to it, but they werent willing to part with it. Dissasembling was another option, but the hell im going to code with asm/masm
Anyway ill write up a tutorial "Soonish" maybe it will inspire someone to program their own
Reply With Quote
  #7  
Old 13-09-2015, 09:37
truerepacks truerepacks is offline
Registered User
 
Join Date: Jul 2015
Location: New Delhi, India
Posts: 78
Thanks: 42
Thanked 46 Times in 28 Posts
truerepacks is on a distinguished road
There is already one on youtube.(by some one who called himself 'vikki')

Last edited by truerepacks; 13-09-2015 at 09:50.
Reply With Quote
  #8  
Old 13-09-2015, 10:53
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
now the only issue I see with lossless compression, is if the files don't match CRC exactly after unpacking, any future updates will not install as the CRC's don't match original files
before extracting/ repacking etc ). This is a big concern, & a major issue with lossless compression repacks.
Reply With Quote
  #9  
Old 13-09-2015, 13:48
DarkSoul19 DarkSoul19 is offline
Registered User
 
Join Date: Sep 2015
Location: Australia
Posts: 18
Thanks: 12
Thanked 21 Times in 6 Posts
DarkSoul19 is on a distinguished road
Thats true pakrat2k2, thats why it needs to be bit identical. There are a few that will do the job
Truepacks, Vikki is a woman, but it was upped by a dude from india :-P
Ill say this much, Most of the tightest repacks use lossless compression of dds, wave etc
Just depends on what your goals are. With the precompresors avalible today there`s less reason too use programs like waveinjector, especially concidering the time taken for the job, but in games that have very large amounts of wave data you can endup with an even smaller file. As i mentioned it`s still been used by groups suck as Blac$B@x who end up with the smallest rips, actually Blac$B@x also have 1 for texture related achives that works the same. Gone are the days of lossy
Quote:
Originally Posted by truerepacks View Post
There is already one on youtube.(by some one who called himself 'vikki')
Do you think you can post a link, might save me lots of time :-)
Update: I mentioned Blackbox, but ment KaOs although Blackbox have used it

Last edited by DarkSoul19; 15-09-2015 at 08:58.
Reply With Quote
  #10  
Old 14-09-2015, 03:01
CoreGames CoreGames is offline
Banned
 
Join Date: Jun 2013
Location: Jharkhand
Posts: 14
Thanks: 1
Thanked 10 Times in 5 Posts
CoreGames is on a distinguished road
Quote:
Originally Posted by DarkSoul19 View Post
As i mentioned it`s still been used by groups suck as Blac$B@x who end up with the smallest rips, actually Blac$B@x also have 1 for texture related achives that works the same. Gone are the days of lossy
Smallest rips ? LOL, I hardly see them with smallest rips these days. Also, I have never ever seen any of their repacks using WaveInjector.
Reply With Quote
  #11  
Old 14-09-2015, 04:14
truerepacks truerepacks is offline
Registered User
 
Join Date: Jul 2015
Location: New Delhi, India
Posts: 78
Thanks: 42
Thanked 46 Times in 28 Posts
truerepacks is on a distinguished road
yes no one uses it nowadays but it is very useful
and about the tutorial then you can easily get it from YouTube.
Reply With Quote
  #12  
Old 14-09-2015, 06:09
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 163
Thanks: 254
Thanked 495 Times in 114 Posts
gozarck is on a distinguished road
Your contribution is very useful, everyday more people show interest in learning different compression techniques. you put your ideas and information, but users must choose which method is best for them.(they only need read and test)
Quote:
Anyone interested? or ....
don't ask, ofcourse we are interested.
__________________
-the science of the useless-
Reply With Quote
The Following 2 Users Say Thank You to gozarck For This Useful Post:
DarkSoul19 (15-09-2015), Grumpy (14-09-2015)
  #13  
Old 14-09-2015, 06:40
Mini Mini is offline
Registered User
 
Join Date: Nov 2013
Location: -
Posts: 125
Thanks: 171
Thanked 76 Times in 43 Posts
Mini is on a distinguished road
Quote:
Originally Posted by truerepacks View Post
yes no one uses it nowadays
KaOs
Reply With Quote
  #14  
Old 15-09-2015, 08:01
DarkSoul19 DarkSoul19 is offline
Registered User
 
Join Date: Sep 2015
Location: Australia
Posts: 18
Thanks: 12
Thanked 21 Times in 6 Posts
DarkSoul19 is on a distinguished road
Quote:
Originally Posted by CoreGames View Post
Smallest rips ? LOL, I hardly see them with smallest rips these days. Also, I have never ever seen any of their repacks using WaveInjector.
Yes your right, it wasnt Blackbox that use it, It was KaOsKrew.(Autually Blackbox did use it in their Fifa 2014 repack, i could provide proof if needed) The File (That KaOsKrew use) has been Resource edited or they have source code, Im going on 2 year old memory though. I do remember when i disasembled it i found lots of Class/Backslash reference, which is why i think it was resource hacked. I actually chatted about it, they said it was their`s until i pointed out the obvious, at which time, i was told they obtained the source on some old now dead site, but i doubted that story :-)
Okay ive searched you-tube and i find nothing on its use in English, Apparently its been taken down so i will write one as soon as i can( give me a few weeks as i have a big couple of weeks )
But i will promise you will have this tutorial :-) here`s a list of tools you will need
tools to use wave injector:-
=-=-=-=-=-=-=-=-=-=-=-=-=
+ -Wave Injector (Inject.exe)
+ -Dragon Unpacker
+ -Total Commander
+ -dummy file creator
Ive included Inject.exe and Dummy file creator in my first post- The rest to be continued

Last edited by DarkSoul19; 15-09-2015 at 08:35.
Reply With Quote
  #15  
Old 15-09-2015, 08:32
truerepacks truerepacks is offline
Registered User
 
Join Date: Jul 2015
Location: New Delhi, India
Posts: 78
Thanks: 42
Thanked 46 Times in 28 Posts
truerepacks is on a distinguished road
I already have a tutorial on it and may post it here by coming monday with some updates.
Reply With Quote
The Following User Says Thank You to truerepacks For This Useful Post:
DarkSoul19 (15-09-2015)
Reply

Tags
compressing method, waveinjector


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 02:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com