Editing General instructions

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 70: Line 70:
  
 
To run a modified <code>.3ds</code> file with [[Citra]], simply open the emulator and choose the <code>.3ds</code> file with your changes.
 
To run a modified <code>.3ds</code> file with [[Citra]], simply open the emulator and choose the <code>.3ds</code> file with your changes.
 
== Scripts ==
 
Some articles in the wiki may provide helpful '''scripts'''. These can either be Windows bash scripts, or Linux shell scripts. Normally, when you want to, for instance, convert a [[GTX file]] to a DDS file, you'd have to go to the command line and run the tools necessary for it. But with scripts, after you set everything up, you can just double-click a GTX file and get a DDS file right away!
 
 
First comes the actual script creation. Copy whatever is inside the code blocks provided in the page, but remember to replace any placeholder bits inside less than and greater than signs. For instance, in a code block like so:
 
:<code>python &lt;path to abc.py&gt; $1</code>
 
 
You would replace <code>&lt;path to abc.py&gt;</code> with the full path to where you've placed a Python script called <code>abc.py</code>. Anyway, after you've made any necessary replacements, save the file on your disk somewhere, preferably on a "scripts" folder in your documents so you can keep everything organized. The name of your script should end with the extension <code>.bat</code> in Windows, and <code>.sh</code> in Linux.
 
 
Then, you'll have to set up your system to run the script when you double click a file of the given type. Or at least when you right-click and choose "Open with".
 
 
The instructions depend on your system, so you should search online on how to associate a program (or script) with a file extension. But in general, you can right-click a file of the type you want to operate on, choose "Open with", and use the dialog box to add a new program (or in our case, script) to the file type.
 
  
 
[[Category:Instructions]]
 
[[Category:Instructions]]

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: