Welcome, Guest. Please Login or Register    
 
smk mk64 mksc mkdd mkds mkwii mk7 mk8
general   mafia   smk   mk64   mksc   mkdd   mkds   mkw   mk7   mk8   |   problems   |   discord   irc
 
  Home Search Members Login Register
 
Pages: 1
Send Topic Print
How to Record Runs with Dolphin on a Potato (Read 268 times)
Mango Man
Ninja
*****
Offline

Living fast, well...
trying to.   
   DUCK SQUAD

worships 1878 kartgods
Your Local Mango Tree
Gender: male
How to Record Runs with Dolphin on a Potato
05/11/20 at 23:35:40
 
So you're faced with a problem Shocked

You just got a sick time, and you want a video of it to show with the world, but nobody wants to record your run Embarrassed

You could always record it yourself with dolphin, you've seen people do that, but you're rocking a hot potato as your PC and can barely hit 10fps...

Well its your lucky day, because in this elaborate or maybe not so elaborate guide (idk I haven't written it yet) I'm going to introduce you to the wonderful world of frame/audio dumping and sexy ass TT's on a shitty ass PC Grin

First of all, shoutouts to Bynt for teaching me like 99% of this dolphin recording stuff and shoutouts to Invincible and FoxAmexion for introducing me to frame/audio dumping Smiley

So this is cool and all, but what is dumping? Well it works a little bit like this:
  • You download your ghost
  • You use live replay to record your ghost in dolphin
  • Your PC sucks ass, so its now playing in 10fps
  • After waiting for 10 minutes for your run to finish playing extremely slowly, out pops the final video and audio, except the audio is great, and the video looks hot af


So enough chit-chat, on to the tutorial

Step 1 - The Setup
1) Install Dolphin
2) Download WiiScrubber
3) Get a .iso of the game
4) Download the ghost (or ghosts) you want to record

Step 2 - Preparing the Ghost File
1) Find the corresponding track ID for the ghost you're recording here
2) Rename your ghost file to ghost1_comp_<trackid> (so for example for DDR, ghost1_comp_13)
3) Create a copy of your renamed ghost file and name it ghost2_comp_<trackid>

Step 3 - Wiiscrubber
1) Unzip WiiScrubber
2) Open up the folder and run MakeKey.bin following the instructions it gives you
3) Run WiiScrubber
4) Click the "Load ISO" button in the top left and select your totally legit and legal MKWii.iso
5) Navigate to Partition 1 > Race > Time Attack > Ghost 1, and replace the ghost that matches your track ID with your own ghost1 file from step 1
6) Repeat the previous step but instead of Ghost 1, select Ghost 2

Step 4 - Using Dolphin
1) Launch dolphin
2) Double click the center where it says No Directory
3) Select the ISO and a banner should pop up that says Mario Kart WIi (if the game opens simply close it)
4) Click the graphics button in the top right and chose the graphics settings you want
5) Click the config button in the top right and enable cheats
6) Right click the Mario Kart Wii banner and click properties, then go to Gecko Codes and click Edit Config on the bottom left
7) Copy + Paste the contents of your iso regions gecko codes into the config file
Gecko Codes:
PAL
NTSC-U
NTSC-J
NTSC-K
8) Enable all the gecko codes (uncheck no music if you dont want custom music later in editing)
9) Run the game and select the track you want to record, your ghost should have replaced the staff ghost (make sure to pick the same character/vehicle combo)

Step 5 - Frame/Audio Dumping
1) First of all, navigate to the ghost you want to record and select "Race this Ghost"
2) After about .2 seconds you can go out back to the ghost selection. We want to record with "Solo Time Trials" so we dont have "+0:00.000" appear on our screen
3) Before you actually start the replay, pause dolphin
4) Click "Movie" on the menubar and select "Dump Frames" and "Dump Audio"
5) Press play and continue with the replay, its now recording
6) Once the replay is done, repause dolphin and uncheck both "Dump Frames" and "Dump Audio"

And that's it! You're almost done! Grin

All that's left to do is to put the audio and video files together and you'll have your own high quality recording

On Linux you can find the video at ~/.local/share/dolphin-emu/Dump/Frames/framedump0.avi and find the audio at ~/.local/share/dolphin-emu/Dump/Audio/dspdump.wav

On Windows you can find the video at C:\Users\Owner\Documents\Dolphin Emulator\Dump\Frames\framedump0.avi and find the audio at C:\Users\Owner\Documents\Dolphin Emulator\Dump\Audio\dspdump.wav

For Mac users, it should be in a similar folder but I don't have access to one atm so I can't check (someone please reply to this with the file locations) however I would imagine that you could find the dolphin folder in ApplicationSupport/

I should probably mention now that there is also a dtkdump.wav audio file but you can just ignore it

Edit: The video that will be output will not be in 1080p Smiley
If you want 1080p you need to do that with your video editor, for example I used to use kdenlive so I would set my preset to "1080p 60fps"

Edit 2: Ignore the above edit, that only happened because I didnt actually have dolphin open in fullscreen. Make sure you have it open in fullscreen  Tongue

Hope this helped Smiley
Back to top
 
« Last Edit: 07/03/20 at 01:55:34 by Mango Man »  

Mango Man, Speedrunning Extraordinaire!
View Profile WWW   IP Logged
Kjeld
Karter
**
Offline

DUCK SQUAD FOR LIFE!

1836 days karting
Netherlands
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #1 - 05/12/20 at 00:56:30
 
Those rumours were true, he really is the saviour of the mkw community.

Thanks dude!
Back to top
 
 
View Profile   IP Logged
Mango Man
Ninja
*****
Offline

Living fast, well...
trying to.   
   DUCK SQUAD

fell 1878 times for marty
Your Local Mango Tree
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #2 - 05/12/20 at 01:13:55
 
Kjeld wrote on 05/12/20 at 00:56:30:
Those rumours were true, he really is the saviour of the mkw community.

Thanks dude!

Cool
Back to top
 
 

Mango Man, Speedrunning Extraordinaire!
View Profile WWW   IP Logged
flanders
King
****
Offline

Trying her best

2271 days karting
Ohio
Gender: female
Re: How to Record Runs with Dolphin on a Potato
Reply #3 - 05/12/20 at 05:11:32
 
Wow, this Mango Man dude is like, a community legend and the 3rd coming of Christ.
Back to top
 
 

Kouider_Benarioua wrote on 08/26/12 at 14:51:00:
So instead of acting like a coward saying bla bla it's impossible, you better play if you want to beat me instead of that kiddy mentality.
And to those guys, you have to find another way to beat me, I don't need to fake to crush you. Wink


MKDD #145 / Former #1 Ohio
View Profile   IP Logged
Mango Man
Ninja
*****
Offline

Living fast, well...
trying to.   
   DUCK SQUAD

seen 1878 mj vids
Your Local Mango Tree
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #4 - 05/12/20 at 05:14:49
 
flanders wrote on 05/12/20 at 05:11:32:
Wow, this Mango Man dude is like, a community legend and the 3rd coming of Christ.

Yeah he sounds like kind of a big deal Grin
Back to top
 
 

Mango Man, Speedrunning Extraordinaire!
View Profile WWW   IP Logged
Aaron M
Karter
**
Offline

DUCK SQUAD

fell 2132 times for marty
Cleveland, Ohio, USA
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #5 - 05/12/20 at 06:25:55
 
A few things.

1. The safest way to obtain a mkw ISO is through CleanRip. Follow this tutorial here: http://youtu.be/Q16AEBispTY?a

[NOTE] To join the files at the end I would recommend doing this instead

If you instead choose to pirate the game I will be very disappointing in you.

2. Depending on where you're from your iso will either be NTSC-K (Korea), NTSC-J (Japan), NTSC-U (USA and I think canada also has NTSC-U), and PAL (everywhere else).

Here are the links for where you can find the codes
No Music: https://mkwii.com/showthread.php?tid=45 (you only need the 1-line code at the top of the page. You can get the more complicated one but I don't recommend it.)
Live Replay: https://mkwii.com/showthread.php?tid=1035
Ultimate License Unlocker: https://mkwii.com/showthread.php?tid=65&highlight=Ultimate+License+Unlocker

Now when you have to put in the gecko codes, put the one's that correspond to your ISO in the the config file. Mango man is dumb.

3. Use Wiimm's ISO Tools instead of WiiScrubber
Watch this video on how to install it and then just replace the nintendo ghost with your ghost2_comp_<trackid> file. Make sure the new ghost has the same file name.https://www.youtube.com/watch?v=Ij1yG2HGDzI&t=516s

4. When recording on dolphin you should check "Dump Frames" and "Dump Audio" before launching your games. This is so the 2 files will sync up easily.

NOTE: Dolphin is loud as hell so you better make sure you set the audio to liek 15% or something if you don't want to have a crackily video (example: https://www.youtube.com/watch?v=UVc3D93WXeM)

5. On windows the directory for the dumps is C:\Users\Owner\Documents\Dolphin Emulator\Dump\Frames or C:\Users\Owner\Documents\Dolphin Emulator\Dump\Audio. Why the hell are you using linux in 2020.

Besides that Everything Mango wrote is what you should do.

DONUS: Do you want to be like Bynt and correct errors at the end of runs!?!?! Then I recommend TAS code. It's just like live replay but you can turn it off if you want to change the ghost just like ruso https://www.youtube.com/watch?v=zpbo7mNgyaQ

If you want this epic code then go to https://mkwii.com/showthread.php?tid=1036&highlight=TAS+code

you will be banned if you submit a run that uses it though
Back to top
 
 

11 No Glitch Legends (4D, 6C, 1B)
Top 200 since November 2019, Top 150 since June 2020.
View Profile   IP Logged
Mango Man
Ninja
*****
Offline

Living fast, well...
trying to.   
   DUCK SQUAD

hit 1878 moles
Your Local Mango Tree
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #6 - 05/12/20 at 06:58:09
 
Quote:
Now when you have to put in the gecko codes, put the one's that correspond to your ISO in the the config file. Mango man is dumb.

Excuse me? I said to use an NTSC ISO and gave NTSC codes. I’m offended Grin
Edit: NTSC is also the most common .iso and because it’s emu, iso region doesn’t matter

Quote:
Why the hell are you using linux in 2020.

Because it’s objectively the best OS Cool

Quote:
When recording on dolphin you should check "Dump Frames" and "Dump Audio" before launching your games. This is so the 2 files will sync up easily.

If you follow my instructions, you enable both when the game is paused, so they’re going to be synced up anyways Smiley

I’ll update the original post with the windows directory and the other notes when I’m back home
Smiley
Back to top
 
« Last Edit: 05/12/20 at 07:34:04 by Mango Man »  

Mango Man, Speedrunning Extraordinaire!
View Profile WWW   IP Logged
Aaron M
Karter
**
Offline

DUCK SQUAD

2132 days karting
Cleveland, Ohio, USA
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #7 - 05/12/20 at 07:11:52
 
Mango Man wrote on 05/12/20 at 06:58:09:
If you follow my instructions, you enable both when the game is paused, so they’re going to be synced up anyways Smiley

Never knew about that. Cheers  Smiley
Back to top
 
 

11 No Glitch Legends (4D, 6C, 1B)
Top 200 since November 2019, Top 150 since June 2020.
View Profile   IP Logged
Arvo57
Ninja
*****
Offline

#1 degen

punched 2662 kiddies
Finland
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #8 - 05/12/20 at 07:31:31
 
Mango Man wrote on 05/12/20 at 06:58:09:
Quote:
Why the hell are you using linux in 2020.

Because it’s objectively the best OS Cool


this
Back to top
 
 

Timesheet

Discord: arvo57
View Profile WWW   IP Logged
Mango Man
Ninja
*****
Offline

Living fast, well...
trying to.   
   DUCK SQUAD

fell 1878 times for marty
Your Local Mango Tree
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #9 - 05/12/20 at 07:53:12
 
Arvo57 wrote on 05/12/20 at 07:31:31:
Mango Man wrote on 05/12/20 at 06:58:09:
Quote:
Why the hell are you using linux in 2020.

Because it’s objectively the best OS Cool


this

"Linux, the web, and everyone else uses forward slashes because they think forwards. Windows uses backslashes because they think backwards" - Some guy whos name I do not remember
Back to top
 
 

Mango Man, Speedrunning Extraordinaire!
View Profile WWW   IP Logged
Omar
Elite
***
Offline



missed 4046 mts

Re: How to Record Runs with Dolphin on a Potato
Reply #10 - 05/31/20 at 10:13:03
 
What video editor do you guys recommend?
Back to top
 
 
View Profile   IP Logged
Mango Man
Ninja
*****
Offline

Living fast, well...
trying to.   
   DUCK SQUAD

worships 1878 kartgods
Your Local Mango Tree
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #11 - 05/31/20 at 12:13:01
 
Omar wrote on 05/31/20 at 10:13:03:
What video editor do you guys recommend?

I just use ffmpeg which is a command line tool

Code:
ffmpeg -i ~/.local/share/dolphin-emu/Dump/Frames/framedump0.avi -c:v h264_nvenc -profile:v high -preset slow -rc vbr_2pass -qmin 17 -qmax 22 -2pass 1 -c:a:0 copy -b:v 100000k -filter:v fade=in:0:90,fade=out:${FADE_OUT_START}:90,scale=2560:1440:flags=neighbor ~/Videos/upscaled_no_audio.avi

ffmpeg -i ~/Videos/upscaled_no_audio.avi -i ~/.local/share/dolphin-emu/Dump/Audio/dspdump.wav -c copy ~/Videos/output.avi 



Top line upscales the video to 1440p for better youtube quality, and adds fade in/fade out (you need to manually found out when to start the fade out)

Bottom line combines the video and audio

It renders the video in like 20 seconds Grin
Back to top
 
 

Mango Man, Speedrunning Extraordinaire!
View Profile WWW   IP Logged
InnovΔ
Legend
*****
Offline



punched 3008 kiddies
Milky Way Galaxy
Gender: both
Re: How to Record Runs with Dolphin on a Potato
Reply #12 - 05/31/20 at 13:29:22
 
Mango Man wrote on 05/31/20 at 12:13:01:
Omar wrote on 05/31/20 at 10:13:03:
What video editor do you guys recommend?

I just use ffmpeg which is a command line tool

Code:
ffmpeg -i ~/.local/share/dolphin-emu/Dump/Frames/framedump0.avi -c:v h264_nvenc -profile:v high -preset slow -rc vbr_2pass -qmin 17 -qmax 22 -2pass 1 -c:a:0 copy -b:v 100000k -filter:v fade=in:0:90,fade=out:${FADE_OUT_START}:90,scale=2560:1440:flags=neighbor ~/Videos/upscaled_no_audio.avi

ffmpeg -i ~/Videos/upscaled_no_audio.avi -i ~/.local/share/dolphin-emu/Dump/Audio/dspdump.wav -c copy ~/Videos/output.avi 



Top line upscales the video to 1440p for better youtube quality, and adds fade in/fade out (you need to manually found out when to start the fade out)

Bottom line combines the video and audio

It renders the video in like 20 seconds Grin


https://www.youtube.com/watch?v=kWIqP0dURvQ
Back to top
 
 

Ketchup wrote on 07/08/21 at 07:33:13:
if you anonymize the names of mkw predators eventually the whole leaderboard will be anonymous


Puddings wrote on 03/11/23 at 19:31:52:
mkdd gayass mf game, y'all tried playing bitches?
View Profile   IP Logged
InnovΔ
Legend
*****
Offline



punched 3008 kiddies
Milky Way Galaxy
Gender: both
Re: How to Record Runs with Dolphin on a Potato
Reply #13 - 06/07/20 at 09:11:50
 
Edit: do you have a version of the code for Windows?
Back to top
 
 

Ketchup wrote on 07/08/21 at 07:33:13:
if you anonymize the names of mkw predators eventually the whole leaderboard will be anonymous


Puddings wrote on 03/11/23 at 19:31:52:
mkdd gayass mf game, y'all tried playing bitches?
View Profile   IP Logged
Mango Man
Ninja
*****
Offline

Living fast, well...
trying to.   
   DUCK SQUAD

1878 days karting
Your Local Mango Tree
Gender: male
Re: How to Record Runs with Dolphin on a Potato
Reply #14 - 06/07/20 at 09:33:55
 
InnovΔ wrote on 06/07/20 at 09:11:50:
Edit: do you have a version of the code for Windows?

As far as I'm aware, ffmpeg works the same on all OS's. Only difference is on windows you would need your file paths to use backslashes (because microsoft thinks backwards)

Code:
ffmpeg -i PATH\TO\DOLPHIN\FRAMEDUMP -c:v h264_nvenc -profile:v high -preset slow -rc vbr_2pass -qmin 17 -qmax 22 -2pass 1 -c:a:0 copy -b:v 100000k -filter:v fade=in:0:90,fade=out:${FADE_OUT_START}:90,scale=2560:1440:flags=neighbor PATH\TO\SAVE\NEW\VIDEO

ffmpeg -i PATH\TO\NEW\VIDEO -i PATH\TO\DOLPHIN\AUDIODUMP -c copy PATH\OF\FINALFILE 



You want to replace ${FADE_OUT_START} with the frame number you want the fadeout to start at. For me the fadeout lasts 150 frames so thats 150 frames before the video ends. I find the video length with the following ffprobe command
Code:
ffprobe -i PATH\TO\VIDEO -show_entries stream=codec_type,duration -of compact=p=0:nk=1 



If you need any help with getting it working and stuff just DM me on discord
Back to top
 
 

Mango Man, Speedrunning Extraordinaire!
View Profile WWW   IP Logged
Pages: 1
Send Topic Print