ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Jun 28, 2017 10:33 am

All times are UTC




Post new topic  Reply to topic  [ 218 posts ]  Go to page Previous 17 8 9 10 11
Author Message
PostPosted: Sun Mar 05, 2017 12:56 am 

Joined: Sun Feb 07, 2016 10:48 pm
Posts: 35
RedCarDriver wrote:
Additionally - is there any obvious procedure for getting looping extracted copies of the samples in the .gin files, or would that have to be done with editing by hand?


You'll have to splice them by hand. It's better to use sounds from NFS Carbon since the samples are really long and easier to loop.


Top
   
PostPosted: Tue May 16, 2017 1:01 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
id-daemon wrote:
Here's a GIN encoder for you. Includes new decoder too, that will also print RPM values used.

Encode with 3 parameters: wav, rpm1, rpm2

All cars use different tables, so I just made an average, that starts on sample 480 and ends on sample 900 from the end and breaks it into small loops 900 samples each with an average curve line. I can make this all as parameters if you find it useful.

If you set rpm1>rpm2 it will try making GIN file for deceleration, in which the first table values are decreasing instead of increasing. (but i never found these _DCL.GINs audible in this game). Maybe it will be useful for others.


Your gin_encode.exe won't launch in my pc anymore.When trying to open it.It will close itself.....I have Windows 7 64bit as OS.Please Help me with encoding my wav file! :(


Top
   
PostPosted: Tue May 16, 2017 2:52 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 618
It must work on Win 7 64 bit. Something must be wrong with your files.


Top
   
PostPosted: Wed May 17, 2017 8:42 am 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
id-daemon wrote:
It must work on Win 7 64 bit. Something must be wrong with your files.

Is it a .net framework problem or something?
Or I should put it in a specific directory?


Top
   
PostPosted: Fri May 19, 2017 11:33 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
id-daemon
Is there any other program to encode gin files?and if there is no other one can I send you my 2 wav files to encode them? :?
Thank you so much


Top
   
PostPosted: Sat May 20, 2017 5:29 am 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 618
Describe what are you doing and how you run gin_encode.


Top
   
PostPosted: Sat May 20, 2017 11:48 am 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
id-daemon wrote:
Describe what are you doing and how you run gin_encode.

I've followed all your posts in this topic then recorded and created my own wav and exported as the same length and frequency as the original one.
So....I am running it by double clicking and/or by executing as administrator.And suddenly the program close it self(I'm not dragging wav files).


Top
   
PostPosted: Sat May 20, 2017 5:32 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 618
you have to run it from command line with 3 parameters: wav, rpm1, rpm2


Top
   
PostPosted: Sat May 20, 2017 5:33 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 618
id-daemon wrote:
You need to run it with 3 parameters. Example:

gin_encode some.wav 1500 8500


Top
   
PostPosted: Sat May 20, 2017 6:48 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
when typing my commands: Gin_encode Aventador.wav 1000 9000
It will writes this:
Usage:
GIN_encode [wav file] [rpm1] [rpm2] [elements]
So.What do elements mean?


Top
   
PostPosted: Sun May 21, 2017 5:38 am 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 618
Moussa Bayou wrote:
when typing my commands: Gin_encode Aventador.wav 1000 9000
It will writes this:
Usage:
GIN_encode [wav file] [rpm1] [rpm2] [elements]
So.What do elements mean?


oh, looks like one more parameter added for better format support. That's number of elements in GIN file, also present in output of gin_decode. Or you can specify your own value.


Top
   
PostPosted: Sun May 21, 2017 12:03 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
id-daemon wrote:
Moussa Bayou wrote:
when typing my commands: Gin_encode Aventador.wav 1000 9000
It will writes this:
Usage:
GIN_encode [wav file] [rpm1] [rpm2] [elements]
So.What do elements mean?


oh, looks like one more parameter added for better format support. That's number of elements in GIN file, also present in output of gin_decode. Or you can specify your own value.

Now.It writes Unknown Wav Format.I am still getting a corrupted GIN file with 0kb.My wav file has the same length and frequency......What am I doing wrong?


Top
   
PostPosted: Sun May 21, 2017 4:19 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 618
It must be 16-bit mono wav file


Top
   
PostPosted: Mon May 22, 2017 3:01 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
id-daemon wrote:
It must be 16-bit mono wav file

It is on 22050Hz 16bit mono wav format.I still don't know why this is happening to me.


Top
   
PostPosted: Mon May 22, 2017 4:41 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
Here is the file.I will ensure you that the WAV file is in 22050Hz 16Bit Mono format with the same lenght as the murcielago(2.505 sec).Also I've tried annother one with 32000Hz sample format.But this problem still happening.CMD writes unknown wav format and the result is a 0kb Gin file. :(
Attachment:
SoundMod.rar [157.53 KiB]
Downloaded 14 times


Top
   
PostPosted: Tue May 23, 2017 11:30 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
Another thing.The original one has 282kb and mine has 285kb size.


Top
   
PostPosted: Wed May 24, 2017 3:09 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 618
File can be any length and any frequency.

Standard WAV has format header 16 or 40 bytes. Your is 18. I have no time to look into this and support your format. Use any other WAV editor to make normal WAV files.


Top
   
PostPosted: Thu May 25, 2017 2:02 pm 

Joined: Tue May 16, 2017 12:52 pm
Posts: 11
id-daemon wrote:
File can be any length and any frequency.

Standard WAV has format header 16 or 40 bytes. Your is 18. I have no time to look into this and support your format. Use any other WAV editor to make normal WAV files.


What is yours?Because I 'm using WavePad.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 218 posts ]  Go to page Previous 17 8 9 10 11

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited