Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

EditTMD 3DS: Difference between revisions

From GameBrew
m (Text replacement - "{{Infobox-3DS-Homebrews" to "{{Infobox 3DS Homebrews")
m (Text replacement - "image = https://dlhb.gamebrew.org/3dshomebrew/" to "image = ")
Line 1: Line 1:
{{Infobox 3DS Homebrews
{{Infobox 3DS Homebrews
| title = EditTMD
| title = EditTMD
| image = https://dlhb.gamebrew.org/3dshomebrew/EditTMD.jpg|250px
| image = EditTMD.jpg|250px
| type = PC Utilities
| type = PC Utilities
| version=v1
| version=v1

Revision as of 01:49, 20 October 2021

EditTMD
File:EditTMD.jpg
General
Authorcearp
TypePC Utilities
Versionv1
Last Updated2014/12/18
Links
Download
Website

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.

It can change the version and title id stored in tmd files.

  • You can do this: python EditTMD.py inputtmd -versionH FFFF and that will set the title version to the maximum it can be.
  • 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 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.

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

Advertising: