!!!Required tools:

Tools/programs you need before we continue further in the tutorial:


||Tools/programs
| Mktoolbox   
| Nitropaint   
| Wine   
| Steam   
| g3dcvtr   
| Blender   
| NNS plugins   
| melonds   


__Note: i will not be teaching you how to acquire or the basics of using your Linux distribution, that is up to the user to figure out or how to install blender, wine, Melonds or steam as the installation can completely vary from the distribution you are using, i simply will be teaching you how to generally use these programs within the environment. I will also not provide on how to acquire a MKDS rom, it is up to you to dump the game or find it.__

!!!Getting started:

With all tools installed, what first you will want to do is launch steam and enter in your steam account, if you don't then create your steam account. After that is done you will be greeted to the main screen. What you will want to do is go to the settings located here:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970379717888852008/Screenshot_from_2022-05-01_13-37-27.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

You the will be greeted with this window, go to beta participation, for you it would be set to none, change it to __Steam beta update__:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970380516790526054/Screenshot_from_2022-05-01_13-37-35.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

Afterwards just let steam restart and let it update to steam beta. Once you are back to the main screen again go to settings again and click on steam play:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970381740562591814/Screenshot_from_2022-05-01_13-38-15.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

After you are there, Enable steam play for all other titles and set it to proton experimental.

Now that you have access to steam proton and will be able to run Mktoolbox and Nitropaint. But first we will need to add Mktoolbox and Nitropaint as non-steam games in our library. So go to the library tab in steam and click on __Add A Game__, then select __Add a non-steam game__:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970383766566608956/Screenshot_from_2022-05-01_13-58-03.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

you will be greeted with a window to select any non steam game you have available, click on browse:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970384088303300648/Screenshot_from_2022-05-01_13-59-27.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

__Note: Remember to have Mktoolbox and Nitropaint downloaded and extracted.__

Now simply select the mktoolbox executable and click open:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970385596155580456/Screenshot_from_2022-05-01_14-04-48.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

Now that mktoolbox is selected, simply do the same thing with nitropaint. After that is done, simply click on add selected program:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970386173107245066/Screenshot_from_2022-05-01_14-07-27.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

Now that we have the programs added to the steam library, right click on the program and select properties:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970387469293994044/Screenshot_from_2022-05-01_14-11-14.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

You will be greeted with a new window, select compatibility and after that click on __Force the use of specific steam play compatibility tool__:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970387669588779078/Screenshot_from_2022-05-01_14-11-22.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

__Note: you must do this with both mktoolbox and nitropaint.__

After that is done, you are finally done and can launch mktoolbox and nitropaint!!!

!!!Extracting the MKDS file system:

The goal here now is to extract the entire Mario kart DS file system and have every file accessible to us to mess with. First lets launch Mktoolbox in steam. We should be greeted with something like this:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970389650738925609/Screenshot_from_2022-05-01_14-20-13.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

In this window all you have to do is simply search for your Mario kart ds rom and open it. After you did that you should be greeted with the main program. Now what we will want to do is simply hover to file and select export > export project:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970392032478629918/Screenshot_from_2022-05-01_14-30-17.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

After that then simply select the folder you wish to save the project file on:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970393669788127232/Screenshot_from_2022-05-01_14-33-21.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

__You will have a prompt asking you to unpack the files, select yes:__

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970395806496616488/Screenshot_from_2022-05-01_14-33-29.png' width='..' height='..' align='left|center|right' style='..' class='..' }]


After you are done with that simply go to the directory you have your files saved:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970395825333231636/Screenshot_from_2022-05-01_14-34-57.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

Now that is done you have access to the entire mkds file system!!!

Now you can open the .nkproj file in mktoolbox and edit the game from the extracted files:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970404632394334248/Screenshot_from_2022-05-01_15-19-30.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

When you are ever done editing anything in the game, all you will have to do is simply export as NDS and save it on the directory of your choice:

[{Image src='https://cdn.discordapp.com/attachments/910541946014011462/970404646038417478/Screenshot_from_2022-05-01_15-19-45.png' width='..' height='..' align='left|center|right' style='..' class='..' }]

With this we conclude this and now on to the next section...