Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
wav to wa2 convert

 
Post new topic   Reply to topic Printable version
 View previous topic  lan server help Post :: Post .blo  View next topic  
Author Message
Guest



Offline

PostPosted: Thu Dec 15, 2005 11:12 pm    Post subject: wav to wa2 convert Reply to topic Reply with quote

How can I convert My WAV file to wa2 format?
Back to top
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Thu Dec 15, 2005 11:30 pm    Post subject: Reply to topic Reply with quote

Rename the file.
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Dec 15, 2005 11:58 pm    Post subject: Reply to topic Reply with quote

I've been considering making a wav to wa2 converter. As an added bonus, I'd probably throw in bmp to bm2.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
wEaViL
Don't make me turn this forum around!


Age:45
Gender:Gender:Male
Joined: Feb 17 2003
Posts: 829
Location: nc usa
Offline

PostPosted: Fri Dec 16, 2005 1:36 am    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
I've been considering making a wav to wa2 converter. As an added bonus, I'd probably throw in bmp to bm2.


that would take what? 10 mins max? You probly should then we can stickie it and maybe the dreded wav to wa2 convert question will perish forever icon_biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address Yahoo Messenger MSN Messenger
Guest



Offline

PostPosted: Fri Dec 16, 2005 8:10 am    Post subject: Reply to topic Reply with quote

how do you save it as a differ file name? And what reallly is the diffrence between da 2? (do you need a program editor to save differ?)
Back to top
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Fri Dec 16, 2005 10:14 am    Post subject: Reply to topic Reply with quote

Heres a converter you can use to take those wav files and make wa2 files out of them...
_________________
There are 7 user(s) ignoring me right now.




WAVtoWA2.zip - 4.75 KB
File downloaded or viewed 49 time(s)
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Dec 16, 2005 11:40 am    Post subject: Reply to topic Reply with quote

Nice job, cerium.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Fri Dec 16, 2005 12:23 pm    Post subject: Reply to topic Reply with quote

source?

The real question is why would you want to convert from wav to wa2?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Fri Dec 16, 2005 6:09 pm    Post subject: Reply to topic Reply with quote

Didnt you know? wa2 files are compressed, have superior sound quality, and cannot be read by the RIAA. These are the files of the future bak; MP3s are soon to be replaced.

Also, the source is so complicated I was forced to delete it as soon as I compiled the project, for fear it might fall into the wrong hands (like the RIAA).
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Dec 16, 2005 7:34 pm    Post subject: Reply to topic Reply with quote

/me laughs
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Love.Dog.
Newbie


Gender:Gender:Male
Joined: Dec 14 2005
Posts: 8
Location: Toronto, Ontario, Canada
Offline

PostPosted: Fri Dec 16, 2005 8:02 pm    Post subject: Reply to topic Reply with quote

Cerium wrote:
Didnt you know? wa2 files are compressed, have superior sound quality, and cannot be read by the RIAA. These are the files of the future bak; MP3s are soon to be replaced.

Also, the source is so complicated I was forced to delete it as soon as I compiled the project, for fear it might fall into the wrong hands (like the RIAA).


Yes, well done. I really like your part in where you say they have ;superior sound quality; ;cant be read by the RIAA; (I mean, do they care)
Note: If you think this is a unnecessary post please don't be scared to talk to me.
_________________
Warning: This signature is not large and tolerated. It isn't bigger than a banner ad either (or am I supposed to say 'neither'?)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Sat Dec 17, 2005 4:26 pm    Post subject: Reply to topic Reply with quote

Cerium wrote:
Heres a converter you can use to take those wav files and make wa2 files out of them...


I am making a batch file for this (only tested under Win XP SP2)

And I am having difficuties to why it won't rename properly.

Code: Show/Hide
@echo off
cls
::Author: Donkano
::E-Mail: god.donkano@gmail.com
::Domain: http://digital-vortech.ath.cx/

echo WARNING!
echo Only press a button when prompted to.
echo If you are prompted, this program will explain what it is asking for.
echo.
:start
echo -- Options --
echo 1 = Wav to Wa2
echo 2 = Wa2 to Wav
echo 3 = Bmp to Bm2
echo 4 = Bm2 to Bmp

:: [Start] Get Converstion Method Option
SETLOCAL
SET action_vbs=%TEMP%\~tmp.VBS
SET action_cmd=%TEMP%\~tmp.cmd

ECHO Set oFS=CreateObject("Scripting.FileSystemObject")>%action_vbs%
ECHO oFS.OpenTextFile("CON",2).Write "Input an operation integer: ">>%action_vbs%
ECHO S=%1(Trim(oFS.OpenTextFile("CON",1).Readline))>>%action_vbs%

ECHO oFS.CreateTextFile("%action_cmd%",2).Write "set action_input=">>%action_vbs%
ECHO oFS.OpenTextFile("%action_cmd%",8).Write S>>%action_vbs%

cscript.exe //nologo %action_vbs%
CALL %action_cmd%

DEL %action_vbs%
DEL %action_cmd%

SET action_input
ENDLOCAL & SET action_input=%action_input%
:: [End] Get Converstion Method Option

echo.
pause
echo.

echo Set "dir_input" as [directory]
echo WITHOUT the filename. Make sure it has a trailing "\".
echo Ex: C:\Program Files\Continuum\Edit\Convert\WB-Converter\
echo Ex: [C:\Program Files\Continuum\Edit\WB-Converter]\
echo Ex: C:\Program Files\Continuum\WB-Converter\
echo Ex: [C:\Program Files\Continuum\Convert\WB-Converter]\
:: [Start] Get Directory Name
SETLOCAL
SET dir_vbs=%TEMP%\~tmp.VBS
SET dir_cmd=%TEMP%\~tmp.cmd

ECHO Set oFS=CreateObject("Scripting.FileSystemObject")>%dir_vbs%
ECHO oFS.OpenTextFile("CON",2).Write "Input directory of file: ">>%dir_vbs%
ECHO S=%1(Trim(oFS.OpenTextFile("CON",1).Readline))>>%dir_vbs%

ECHO oFS.CreateTextFile("%dir_cmd%",2).Write "set dir_input=">>%dir_vbs%
ECHO oFS.OpenTextFile("%dir_cmd%",8).Write S>>%dir_vbs%

cscript.exe //nologo %dir_vbs%
CALL %dir_cmd%

DEL %dir_vbs%
DEL %dir_cmd%

SET dir_input
ENDLOCAL & SET dir_input=%dir_input%
:: [End] Get Directory Name

echo.
pause
echo.

echo Do NOT include the extension of the file.
:: [Start] Get Filename
SETLOCAL
SET file_vbs=%TEMP%\~tmp.VBS
SET file_cmd=%TEMP%\~tmp.cmd

ECHO Set oFS=CreateObject("Scripting.FileSystemObject")>%file_vbs%
ECHO oFS.OpenTextFile("CON",2).Write "Input name of file to be converted: ">>%file_vbs%
ECHO S=%1(Trim(oFS.OpenTextFile("CON",1).Readline))>>%file_vbs%

ECHO oFS.CreateTextFile("%file_cmd%",2).Write "set file_input=">>%file_vbs%
ECHO oFS.OpenTextFile("%file_cmd%",8).Write S>>%file_vbs%

cscript.exe //nologo %file_vbs%
CALL %file_cmd%

DEL %file_vbs%
DEL %file_cmd%

SET file_input
ENDLOCAL & SET file_input=%file_input%
:: [End] Get Filename

if %action_input%==4 (goto four)
if %action_input%==3 (goto three)
if %action_input%==2 (goto two)
if %action_input%==1 (goto one)
cls
echo WARNING!
echo Only press a button when prompted to.
echo If you are prompted, this program will explain what it is asking for.
echo.
echo Error!
echo You have input an unexpected value for "action_input".
echo Program restarted.
echo.
goto start

:one
:: Wav to Wa2
if exist %dir_input%%dir_input%.Wav (ren "%dir_input%%file_input%.Wav" %file_input%.Wa2) else echo %dir_input%%file_input%.Wav is not a file.
if exist %dir_input%%file_input%.Wa2 (echo File converted successfully.) else echo Program failed to convert %dir_input%%file_input%.Wav
goto end

:two
:: Wa2 to Wav
if exist %dir_input%%file_input%.Wa2 (ren "%dir_input%%file_input%.Wa2" %file_input%.Wav) else echo %dir_input%%file_input%.Wa2 is not a file.
if exist %dir_input%%file_input%.Wav (echo File converted successfully.) else echo Program failed to convert %dir_input%%file_input%.Wa2
goto end

:three
:: Bmp to Bm2
if exist %dir_input%%file_input%.Bmp (ren "%dir_input%%file_input%.Bmp" %file_input%.Bm2) else echo %dir_input%%file_input%.Bmp is not a file.
if exist %dir_input%%file_input%.Bm2 (echo File converted successfully.) else echo Program failed to convert %dir_input%%file_input%.Bmp
goto end

:four
:: Bm2 to Bmp
if exist %dir_input%%file_input%.Bm2 (ren "%dir_input%%file_input%.Bm2" %file_input%.Bmp) else echo %dir_input%%file_input%.Bm2 is not a file.
if exist %dir_input%%file_input%.Bmp (echo File converted successfully.) else echo Program failed to convert %dir_input%%file_input%.Bm2

:end
echo You have reached the end of the program. Press any key to exit.
pause
exit
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sat Dec 17, 2005 4:55 pm    Post subject: Reply to topic Reply with quote

no
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sat Dec 17, 2005 6:31 pm    Post subject: Reply to topic Reply with quote

Haha, even for a .bat script that is badly written.
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Dec 18, 2005 10:59 am    Post subject: Reply to topic Reply with quote

emot-wtf.gif. If you're going to run a batch, you might as well just use REN...
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Sun Dec 18, 2005 12:01 pm    Post subject: Reply to topic Reply with quote

Cyan~Fire, I am.

if exist %dir_input%%file_input%.Bmp (ren "%dir_input%%file_input%.Bmp" %file_input%.Bm2) else echo %dir_input%%file_input%.Bmp is not a file.
Back to top
View users profile Send private message Add User to Ignore List
Love.Dog.
Newbie


Gender:Gender:Male
Joined: Dec 14 2005
Posts: 8
Location: Toronto, Ontario, Canada
Offline

PostPosted: Sun Dec 18, 2005 12:02 pm    Post subject: Reply to topic Reply with quote

Cerium wrote:
Didnt you know? wa2 files are compressed, have superior sound quality, and cannot be read by the RIAA. These are the files of the future bak; MP3s are soon to be replaced.

Also, the source is so complicated I was forced to delete it as soon as I compiled the project, for fear it might fall into the wrong hands (like the RIAA).


Ok wait.... If you are saying wa2's are better.
That means:
bm2 files are more compressed than bmp files
and bm2s have more picture quality than bmp.s?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Sun Dec 18, 2005 12:04 pm    Post subject: Reply to topic Reply with quote

Love.Dog. wrote:
[..]



Ok wait.... If you are saying wa2's are better.
That means:
bm2 files are more compressed than bmp files
and bm2s have more picture quality than bmp.s?


He was sarcastic. WA2s and BM2s are exactly the same as WAVs and BMPs.
Back to top
View users profile Send private message Add User to Ignore List
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Sun Dec 18, 2005 12:04 pm    Post subject: Reply to topic Reply with quote

......

He was being SARCASTIC.

BM2 = BMP
BMP = BM2

WA2 = WAV
WAV = WA2

It is just a different alias. Exact same format.
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sun Dec 18, 2005 3:12 pm    Post subject: Reply to topic Reply with quote

He was being sarcastic...

bm2=bmp

wa2=wav
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Dec 18, 2005 4:30 pm    Post subject: Reply to topic Reply with quote

He was being sarcastic...

BM2 = BMP = BM2 = BMP
WA2 = WAV = WA2 = WAV



Donkano wrote:
Cyan~Fire, I am.

Sorry, I meant manually. Somehow I don't think avoiding a single command is worth a VBS.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Sun Dec 18, 2005 6:15 pm    Post subject: Reply to topic Reply with quote

How else do I find out what directory/file it is that is to be renamed?
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Mon Dec 19, 2005 12:04 pm    Post subject: Reply to topic Reply with quote

YOU DON'T USE A BATCH FILE. You are already having the user type in the filename and directory, it is so much easier to just cd to the proper directory and type "ren blah.wa2 blah.wav".

And that still isn't the easiest way to do it. Control Panel -> Folder Options -> View -> Uncheck "Hide extensions for known file types".
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Mon Dec 19, 2005 2:59 pm    Post subject: Reply to topic Reply with quote

you don't even need to do that, since bm2 and wa2 is not a known type it should show up anyway
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Dec 20, 2005 10:23 am    Post subject: Reply to topic Reply with quote

True, but it's less confusing my way since the extension doesn't just disappear.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 51 page(s) served in previous 5 minutes.

phpBB Created this page in 0.569080 seconds : 52 queries executed (92.6%): GZIP compression disabled