Mario Kart Wii: Custom Community

Mario Kart Wii: Custom Community

The #1 Hacking and Customization Resource!
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Welcome To Mario Kart Customs!
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Similar topics
Control Panel

Your profile

Information

Preference

Signature

Avatar

Social

Friends and Foes

Memberlist

Groups

Private messages

Inbox

PM sent

 Other

Topic is being watched


Share | 
 

 How to do THP edits

View previous topic View next topic Go down 
Go to page : 1, 2  Next
AuthorMessage
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: How to do THP edits   Fri Jul 23, 2010 4:52 pm

xmanfit0 originally posted at http://www.smashboards.com/showthread.php?t=271087 wrote:
The original guide (created by Nerd With An Afro) can be found in these links:
http://themugiwarakaizoku.wordpress....o-making-thps/
http://www.smashboards.com/showthread.php?t=267337

What you'll need:
SUPER converter (freeware): Get it here (the download link is near the bottom of the page.) Alternatively, you can use any converter you'd like, as long it can convert to a series of images, but SUPER has a load of convenient functions, and is free.
*It's also worth noting that SUPER can convert from THP to any video file it supports. Just drag and drop or browse for any THP file (custom or Nintendo made) and specify an output file, and then hit convert. Thanks to Nerd for discovering this.

THPConv.exe and DSPTool.dll (Cannot discuss here, they're from the Revolution SDK. Google is your friend)

Your video file(s) you want to convert.*Important- DO NOT replace a video in Brawl with a video that is longer than the original , or else it will freeze. To check a video's length, play it on your computer with thpplay, and it will show you the length of the video in seconds on the top. Brawl's opening video is 119.75 seconds.
On the other hand, if the video is shorter than the original, once it reaches the end the video will hang, but you can hit start and go to the menu if you have replaced the opening movie. Other movies I'm not so sure about*

THP Player for windows (thpplay) - To play a THP, drag it and drop it onto the .exe, or set THP files to open with it.

Free Youtube Downloader- *optional*This is a free program to download videos from youtube to your hard drive. There are similar programs like this all over the net.

THPConv GUI- *optional*A simple tool I wrote for THPConv for those unfamiliar with CMD

Before starting: Open SUPER and set Output folder
The first thing you'll want to do, if this is your first run of SUPER, is to set up where SUPER will save converted files.

Simply right click anywhere in the GUI and select "Output File Saving Management" and select where you want the encoded files to be saved.

*Optional* It is a good idea to set your output files to a folder near C:\ or wherever your hard drive root is. I've often had programs have errors on my computer when I've tried to use them on files that are buried really deep into folders.


Step 1: Getting the audio from the video.
Open the video file you want to convert in SUPER by either dragging and dropping a file or right clicking and selecting "Add Multimedia File(s)" from the menu.

Select "WAV (Audio Only)" from the Output Container tab on the top left. The settings here don't really matter too much, just select 2 channels and 44100 hz from the options below. It is important, however, that in the Output Audio Codec tab on the top right you must select "WAV-(pcm 16 little-endian)"

Click on "Encode (Active Files)" near the bottom of the GUI. *If you cannot see the bottom of the GUI, you have to set your screen resolution to 1024 x 768 or larger.* For the sake of simplicity, you may want to rename the encoded file to something like "Sound.wav".

*Optional* If the sound is too quiet, you can use a sound editor like Audacity and amplify the .wav by several decibels, which should make the volume level much more adequate in-game.

Step 2: Converting the video to a series of JPG's.
In the section of SUPER where it displays the file being encoded, the video you selected in step one will be unchecked (if it was encoded without any problems). Check in the box again.

Select "Sequence of Images" from the Output Container Tab. For the Output Video Codec, select JPG. (I'm believe THPConv only works with JPG's, but I may be wrong)

Now here you'll have to pay close attention to the settings. *Important- In the "video scale size", the width/height of the video both have to be multiples of 16, or else the THP will not be able to be created*

*Nerd has discovered that the native resolution for a brawl THP is 576 x 416 (both are divisible by 16). Use this resolution when converting with SUPER to ensure that the video fits on the screen when you play it.

In this tutorial I have picked 640:480 for my video. If the video doesn't look right on your tv screen when the THP plays, use 576:416 as stated above. You can specify that as a custom video scale size when you click "More" on the Video Scale Size box until the 3 custom scale size boxes appear.

*If unsightly white spots/graphical glitches occur in the outputted JPG's, choose "NoChange".

Now double click the filename of the video file near the bottom of the GUI so that the SUPER "Multimedia Analysis Box Appears" What you're looking for is the FPS (frames per second of the video)


In the example, the FPS is 30. So in the Frame/Sec option part, you can pick either 30 or 29.97. (By default, THPConv makes THP's in 29.97, but there really won't be that much of a difference between 30 and 29.97) The Bitrate and Misc options don't really matter too much, you can leave those as default. Here's an example of what all the options will look like once selected:

Click on Encode. When it's done, there will be several thousand JPG's in a folder called "JPG" inside whatever folder you set SUPER to save to. Put your wav sound in here, as well as THPConv.exe and DSPTool.dll

Step 3: Using THPConv to create THP's
*Double clicking THPConv will result in FAELURE. Do not double click it, it won’t work. What you need to do is use CMD.*
*If you get any errors and you're on Vista, try running cmd as admin, especially if your jpg's are located in a folder with a read-only attribute.*

*Optional* If the command prompt really confuses you, or if you just would prefer a graphical interface, try this GUI for THPConv that I`ve written in AutoIT. All instructions and help are in the actual GUI and readme file.


Go to the folder where you have saved all the jpgs, your sound, and THPConv and DSPTool. Check the number of digits in your jpg's. SUPER should have outputted the jpg's in 5 digits (unless you have 100000 frames or more, which is unlikely unless you have like a 8 minute video at 60 fps, or 16 minute 30 FPS). For example, if there are 3000 total frames, SUPER will have outputted the JPG's from 00001.JPG all the way to 03000.JPG. The number of digits is important.

Now start windows command prompt, and use the cd command to navigate to the directory where you saved all your stuff. (Or if you're lazy, just copy cmd.exe into the directory, and then double click it to start cmd in that directory. This might only work in Vista though, that's the OS I use) Anyways, type in THPConv into the command prompt and hit enter. If you're in the right directory, a list of commands will pop up. Take a few minutes to read through them and see what they do. Anyways, this is the command you will need:

THPConv -j [number of *'s here = digits in your JPG's].jpg -d [What you want to be the finished THP name].thp -s [your sound file].wav

To clarify, you literally put "*****.jpg" into the command prompt. You do not put any numbers. You just need to put in asterisks (*) equal to the number of digits in your jpg's.

When working with cmd, try not to use too much spaces or symbols like "!@#$%^&*()" when putting in filenames, because errors often occur that way. I usually just put something like "THP.thp" for the name and rename it after to avoid errors

For the example below, it would be "THPConv -j *****.jpg ThisIsPatrick.thp -s Sound.wav"
As a default, THPConv makes THP's in 29.97 FPS. If in Step 2 you encoded the file to any other FPS than 30 or 29.97, you will need to specify this, or else there may be video/audio desyncing in the finished THP. To change the framerate, simply add "-r [framerate]"
to the end of the command. However, THPConv does not support encoding in a perfect 60 FPS, but it can do it in 59.94. So if you want to encode to 60 FPS, put "-r 59.94" at the end of the command. After putting your command, hit Enter.

-or-

Spoiler:
 

IN OTHER WORDS (aka and easier way)

Download Super
Download THPConv, DSPTool, and THPPlay
Movie wanting to convert to THP

1. Open up SUPER and right-click anywhere and click Output File Save Management and choose where you want to save your files.
2. In the first drop-down menu, select WAV (Audio Only).
Drag your Video to the Box at the bottom of SUPER and press Encode (Active Files).
3. Once done, go to the drop-down menu again and click Sequence of Images. In the box you dragged you file to earlier, you should see your file, unchecked. Check it again and press Encode.
4. After you are done, double-click your file on the bottom and scroll down until you see Frame Rate. It's under Video. It should be 29.70 to 30.00.
5. Go to where you set the Output file save management. There should be many pictures. Put THPConv and DSPTool in the same directory. And the Audio should be there too.
6. Open up THPConv via command prompt.
7. Write: THPConv -j [number of *'s here = digits in your JPG's].jpg -d [What you want to be the finished THP name].thp -s [your sound file].wav
8. There you have it! Your THP.

EDIT: DarkyBenji made a video tutorial 2 months before this was posted, and you could find links *cough**cough* in the description :O

http://www.youtube.com/watch?v=7CGQvQIIRCA&feature=player_embedded


Last edited by Johnny on Sat Aug 28, 2010 11:53 am; edited 12 times in total
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Sat Jul 24, 2010 4:49 pm

An alternative page that explained it easier was on the smash forums, which is linked in one of my THP threads.
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Sat Jul 24, 2010 5:57 pm

was it this?

http://www.smashboards.com/showthread.php?t=271087
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Sat Jul 24, 2010 6:01 pm

Yes. It was. :3
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Sat Jul 24, 2010 7:18 pm

Ok, good Very Happy
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Sun Jul 25, 2010 7:48 pm

You learned didn't you Razz
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Sun Jul 25, 2010 8:05 pm

What? I don't understand. I learned it from that site, yes.
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Sun Jul 25, 2010 8:09 pm

That's all I needed to know Razz
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Mon Jul 26, 2010 3:15 pm

Ok XP
Looking at it, that site is much easier!
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Mon Jul 26, 2010 4:41 pm

yes, it was. No denial on our ends. Razz
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Mon Jul 26, 2010 4:55 pm

Yeah, I just tried to get the "original' one.
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Wed Jul 28, 2010 3:26 pm

But most of the people won't understand so we have to make it easier for all the people here.
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Wed Jul 28, 2010 5:53 pm

Ok, working on it...
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Wed Jul 28, 2010 8:20 pm

I really hope this becomes easier to users than making BRSTMs.
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
AlexanderHD

avatar

Posts : 268
Join date : 2010-07-08
Age : 24
Location : Fort Smith, NWT, Canada

PostSubject: Re: How to do THP edits   Thu Jul 29, 2010 7:11 pm

I going to learn how to make THPs. To make my own custom intros for MKW.
Back to top Go down
View user profile http://www.youtube.com/user/AlexanderHarrold
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Thu Jul 29, 2010 8:34 pm

k
Make sure to read the post. And I can also let you go on my files to get what you need for making THPs. Getting cmd is extremely easy though. It's on System32 on your PC.
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Fri Jul 30, 2010 9:47 am

Or just type cmd in the star menu. Anyways, all the files you need (except SUPER) are in the first post.

_________________
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Sun Aug 01, 2010 12:57 pm

oh... Don't worry I already have Super
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Sun Aug 01, 2010 2:09 pm

I was talking to AlexanderHD XP

_________________
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Mon Aug 02, 2010 4:52 pm

Umm... He's my bro, so he definitely has it. Razz
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Mon Aug 02, 2010 6:47 pm

O rly? I didn't know that XD

_________________
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Mon Aug 02, 2010 7:41 pm

It's on YouTube though, I'm his big bro.
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Johnny

avatar

Posts : 1537
Join date : 2010-07-10
Age : 105
Location : Miles and Miles away...

PostSubject: Re: How to do THP edits   Wed Aug 04, 2010 9:10 am

Oic. Let's get back on topic Wink

_________________
Back to top Go down
View user profile http://youtube.com/user/qwertyuiop82465
ALPHAMARIOX

avatar

Posts : 2030
Join date : 2010-07-06
Age : 24
Location : Fort Smith, Northwest Territories, Canada

PostSubject: Re: How to do THP edits   Wed Aug 04, 2010 11:33 am

We'll hopefully try to find a solution to this problem for the Intro thp. Razz
Back to top Go down
View user profile http://www.youtube.com/ALPHAMARIOX
Sealseal

avatar

Posts : 3
Join date : 2010-08-17
Location : Texas

PostSubject: Re: How to do THP edits   Tue Aug 17, 2010 4:24 pm

hmm that makes things easier...i thot u had to take a bunch of frames to make 1...

ty for posting this Wink
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: How to do THP edits   

Back to top Go down
 
How to do THP edits
View previous topic View next topic Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» Best Actors and Actresses
» Colby's Charcters *Edits*
» Christmas Tree

Permissions in this forum:You cannot reply to topics in this forum
Mario Kart Wii: Custom Community :: Mario Kart Riivolution Hacking Support :: THP Hacking Support-
Jump to: