EditTMD 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = EditTMD | image = https://dlhb.gamebrew.org/3dshomebrew/EditTMD.jpg|250px | type = PC Utilities | version = v1 | licence = Mixed | author = ce...")
 
m (Text replacement - "Category:PC utilities for 3DS homebrew" to "")
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS Homebrews
| title = EditTMD
|title=EditTMD
| image = https://dlhb.gamebrew.org/3dshomebrew/EditTMD.jpg|250px
|image=3dspc.png
| type = PC Utilities
|description=Edit tmd files.
| version = v1
|author=cearp
| licence = Mixed
|lastupdated=2014/12/18
| author = cearp
|type=PC Utilities
| website = https://gbatemp.net/threads/release-edittmd-edit-tmd-files.376426/
|version=1.0
| download = https://dlhb.gamebrew.org/3dshomebrew/EditTMD.rar
|license=Mixed
| source = https://dlhb.gamebrew.org/3dshomebrew/EditTMD.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/edittmd.7z
|website=https://gbatemp.net/threads/release-edittmd-edit-tmd-files.376426
}}
}}
<youtube>uXu-dHnTiJA</youtube>
This is a simple Python tool that that can change the version and title id stored in tmd files.


Here is just a simple python tool that I created. I could have kept it for myself, but I added some nice error checking to make it more friendly.
==User guide==
�It can change the version and title id stored in tmd files.
You can use this to set the title version:
�You can do this: python EditTMD.py inputtmd -versionH FFFF
* <code>python EditTMD.py inputtmd -versionH FFFF</code> will set the title version to the maximun it can be.
and that will set the title version to the maximum it can be.
* <code>python EditTMD.py inputtmd -versionD 65535</code> if you want in decimal.
You could do the same if you want in decimal: python EditTMD.py inputtmd -versionD 65535
* You cannot try to set a new version using both versionH and versionD options, the program will not let you.
You cannot try to set a new version using both versionH and versionD options, the program will not let you.
�You can also set a new title id, like: python EditTMD.py inputtmd -title 0123456789ABCDEF
The title id must be 16 hexadecimal characters long.
�You can make the tool apply the values for a whole directory of tmd files. (The tool looks for files that end in 'tmd', and files that end in 'tmd.out') The folder is searched recursively, so it will go into sub folders, and their subfolders, etc etc, looking for tmd files and setting the values you specify.
To do this, instead of giving the tool a path to a file, simply give it a path to a folder.
<div class="bbCodeBlock bbCodeCode">


<div class="type">
You can also set a new title id:
* <code>python EditTMD.py inputtmd -title 0123456789ABCDEF</code>
* The title id must be 16 hexadecimal characters long.


Code:
Apply values for specific path/directory:
* You can set the values for a whole directory of tmd files (it looks for files that end in tmd, and files that end in tmd.out).
* The folder is searched recursively, so it will go into sub folders, and their subfolders, etc etc, looking for tmd files and setting the values you specify.
* To do this, instead of giving the tool a path to a file, simply give it a path to a folder.


</div>
usage:     edittmd.py [-h] [-title TITLE]
<pre>usage: edittmd.py [-h] [-title TITLE]
                      [-versionH VERSIONH | -versionD VERSIOND]
���������[-versionH VERSIONH | -versionD VERSIOND]
                      inputfile
���������inputfile
positional arguments:
positional arguments:
  inputfile          Input a TMD file, or a directory that will be
�inputfile�����Input a TMD file, or a directory that will be
                      recursively searched for TMD files with filenames ending
�����������recursively searched for TMD files with filenames ending
                      in 'tmd' and 'tmd.out'
�����������in 'tmd' and 'tmd.out'
optional arguments:
optional arguments:
  -h, --help          Show this help message and exit
-h, --help�����show this help message and exit
  -title TITLE        Enter a new Title ID, which must be 16 hexadecimal
-title TITLE����Enter a new Title ID, which must be 16 hexadecimal
                      characters long
�����������characters long
  -versionH VERSIONH  Enter a new version number in hex. 0 to FFFF/0x0 to
-versionH VERSIONH�Enter a new version number in hex. 0 to FFFF/0x0 to
                      0xFFFF
�����������0xFFFF
  -versionD VERSIOND  Enter a new version number in decimal. 0 to 65535
-versionD VERSIOND�Enter a new version number in decimal. 0 to 65535</pre>
==Known issues==
Tested on mac by the author but several reported getting error message on Windows.


</div>
==External links==
Let me know if there are problems, etc.
* GBAtemp - https://gbatemp.net/threads/release-edittmd-edit-tmd-files.376426
'''This is version 1.0''', I can maybe update it if needed, like editing more values etc. At the moment I only added what I personally wanted.
<div class="messageTextEndMarker">
 
 
</div>

Latest revision as of 04:29, 6 May 2024

EditTMD
3dspc.png
General
Authorcearp
TypePC Utilities
Version1.0
LicenseMixed
Last Updated2014/12/18
Links
Download
Website

This is a simple Python tool that that can change the version and title id stored in tmd files.

User guide

You can use this to set the title version:

  • python EditTMD.py inputtmd -versionH FFFF will set the title version to the maximun it can be.
  • python EditTMD.py inputtmd -versionD 65535 if you want in decimal.
  • You cannot try to set a new version using both versionH and versionD options, the program will not let you.

You can also set a new title id:

  • python EditTMD.py inputtmd -title 0123456789ABCDEF
  • The title id must be 16 hexadecimal characters long.

Apply values for specific path/directory:

  • You can set the values for a whole directory of tmd files (it looks for files that end in tmd, and files that end in tmd.out).
  • The folder is searched recursively, so it will go into sub folders, and their subfolders, etc etc, looking for tmd files and setting the values you specify.
  • To do this, instead of giving the tool a path to a file, simply give it a path to a folder.
usage:     edittmd.py [-h] [-title TITLE]
                      [-versionH VERSIONH | -versionD VERSIOND]
                      inputfile

positional arguments:
  inputfile           Input a TMD file, or a directory that will be
                      recursively searched for TMD files with filenames ending
                      in 'tmd' and 'tmd.out'

optional arguments:
  -h, --help          Show this help message and exit
  -title TITLE        Enter a new Title ID, which must be 16 hexadecimal
                      characters long
  -versionH VERSIONH  Enter a new version number in hex. 0 to FFFF/0x0 to
                      0xFFFF
  -versionD VERSIOND  Enter a new version number in decimal. 0 to 65535

Known issues

Tested on mac by the author but several reported getting error message on Windows.

External links

Advertising: