MP3 to DSP? by ePiX at 5:50 AM EDT on June 28, 2011
I want to convert MP3 files to a DSP file, please help me.

Thank you :)
by bxaimc at 6:07 PM EDT on June 28, 2011
MP3 -> 2 mono WAVs first
by ePiX at 6:27 PM EDT on June 28, 2011
OK, two wave files, but how can I convert it to a DSP file? :) thanks for the help! :D

by bxaimc at 7:34 AM EDT on June 29, 2011
dspadpcm.exe ;)
by ePiX at 9:28 AM EDT on June 29, 2011
Thank you very much :)
by ePiX at 10:23 AM EDT on June 29, 2011
I can not open the dspadpcm.exe? :(
by bxaimc at 8:07 PM EDT on June 29, 2011
command prompt
by ePiX at 6:57 AM EDT on June 30, 2011
the command does not work, I think i have the wrong exe, can you give me please a download link? that would be really nice! :)

ePiX
by kenshiro at 5:23 PM EDT on June 30, 2011
ePIX, I just uploaded an archive with dspadpcm, the user guide and 2 simple batch I create to simplify the task:
one to convert your WAV files to DSP and the second to convert DSP files to WAV.
You can download it here: http://www.mediafire.com/?su86u1w6rmtu6dp.

As mentioned above by bxaimc your audio files have to be 16 bit Monaural WAV or AIF files otherwise it won't work.
So first convert them (you can use soundforge), put all you wav files in the same directory as dspadpcm.exe and execute WAVtoDSP.bat.

I never used dsp files but hope it can help you.

Edit: I didn't include any options in the batch so if you want to add more options just edit them with notepad.

edited 6:06 PM EDT June 30, 2011
by ePiX at 6:07 PM EDT on June 30, 2011
It works!

Thank you!!! :)
by kenshiro at 7:33 AM EDT on July 1, 2011
You're welcome, glad to know it helped you.
by ePiX at 12:59 PM EDT on July 1, 2011
I have another question, is it possible to convert a avi to thp?

ePiX.

Edit: Sorry for my many questions

edited 1:01 PM EDT July 1, 2011

edited 1:07 PM EDT July 1, 2011
by kenshiro at 8:45 AM EDT on July 3, 2011
To do this you will need superconverter or any video editor able to extract audio track from a video and to save video to jpeg, THPConv.exe, dsptool.dll and thpplay.

If you want to use superconverter, take care to decline the installation of the meteo application and the pdf reader proposed (useless as always).

Superconverter: http://www.erightsoft.org/GetFile.php?SUPERsetup.exe
Thp tools containing THPCon and thpplay: http://www.mediafire.com/?ame8j1j4rn5hvhe

The process below is based on this excellent tuto http://www.smashboards.com/showthread.php?t=271087 and the THP Library guide I advise you strongly to read.

1) Extract audio track from your video.
Use any soft you like which is able to do that (vlc, virtualdub, Avidemux...). I use Avidemux but you can use superconverter as well. You can adjust the volume audio with a sound editor if you think it's too low.

The most important is to save the audio in WAV 16 bit PCM Mono or Stereo or THPconv will output an error.

2) Convert your video to a series of jpeg files.
Before to start it is important to know what is supported by THPconv.
Sequential JPEG files.
The width/height of the image must be a multiple of 16.
The maximum number of pixels in the horizontal direction is 672, there is no restriction in vertical direction.

After taking care of these recommendations, use superconverter or your favourite video editor.

With superconverter, right click, add multimedia files, select your video. Double click on the file name, "The multimedia Analysis box" appear, it shows informations related to your video. The information that interested us is the frame rate.
Note this value, you will use it later with THPConv and the -r option.

In select the output container, choose sequence of images.
In select the ouput Video Codec,choose JPG.
In video scale size select 640*480. It seems that a lot of Wii games use this resolution for PAL but I really don't know.
Frame/sec use preferably the same as your video.
Click encode

3) Using sequential JPEG files and wav file to create your THP movie data.
At this point you should have the wav file, and a huge amount of sequential jpeg files.
Put in the same directory:
THPconv.exe and dsptool.dll, the wav file and the series of images (make sure you have .jpg or .jpeg extension).

In command line use:

THPconv.exe -j *.jpg -d video.thp -s sound.wav -r 24 (this last value should be based on your video source)

-j specifies the input jpeg files (keep *.jpg)
-d specifies the output thp file
-s specifies the audio file (wav) you extracted from your video
-r specifies the movie framerate, the default value is 29,97.
To avoid an out-of-sync audio/video, use the same frame rate as your video source. This value can be found in the multimedia analysis box or in any video editor.

4) Check the quality of your thp movie with thplay.
Open thpplay and drag and drop your new thp file to check the final result. I converted a short video and the quality was not bad.

I am not a video specialist and I never used this method to replace video on Wii games, so experiment and look what is the best.

Hope it can help.

edited 10:08 AM EDT July 3, 2011
by ePiX at 3:41 PM EDT on July 4, 2011
thanks for the help :)


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source