Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
DSlash, a Nintendo DS rom tool based on ndstrim by recover89@gmail.com Copyright (C) 2008 hyplex@gmail.com Homepage: http://code.google.com/p/dslash This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Code Code started as a fork from ndstrim. Rafael Vuijk (ndstool) The crc16 calculations and Maker table was taken from ndstool. ------------------------------------------------------------------------------- About DSlash ------------------------------------------------------------------------------- DSlash is a "Swiss Army Knife" for dealing with Nintendo DS (.nds) ROM files. It was originally created as a fork of ndstrim. ------------------------------------------------------------------------------- Features ------------------------------------------------------------------------------- - Trim. DSlash trims .nds files down to the size specified in the ROM header. - In-place trimming. When trimming in place, the rom file passed in is the rom file that is modified. Since no copying is involved this has the advantage of very fast (nearly instantaneous) operation. - Detailed Header information. Extracts internal names, game titles, etc. from the ROM header. - Works on both little-endian (verified on x86) and big-endian (verified on MIPS) architectures. ------------------------------------------------------------------------------- Usage ------------------------------------------------------------------------------- (Usage is provided tersely on the command line as well with the -h option) Usage: ./dslash [-hpdvi] [-t <icon_file>] ndsfile [trimmed_ndsfile] e.g. $ ./dslash [options] nds_file.nds new_nds_filename.nds OR $ ./dslash -i nds_file.nds OPTIONS: -h : show help -p : print ROM information -i : trim ROM in place (very fast) -d : print debug output -v : verbose output (NOT YET WORKING:) -t <filename> : extract icon from ROM into filename (bmp format)