Giter Site home page Giter Site logo

sdattool's Introduction

SDATTool

By FroggestSpirit Version 0.9.1

Unpack/Pack NDS SDAT Files

Make backups, this can overwrite files without confirmation

Usage: python3 SDATTool.py [SDAT File] [mode] [SDAT Folder] [flags]

Modes:

  -b Build SDAT

  -u Unpack SDAT
  
  -h Show help

Flags:

  -m Calculate MD5 for unpacked files
  
  -o Build Optimized (removes duplicate files by comparing MD5)
  
  -ru Build without unused entries (can break games)
  
  -ns Build without a SymbBlock

If only a SDAT file is provided, the output directory will be the same as the SDAT, with a new folder created. This will unpack to that folder. Similarly, the SDAT can be rebuilt from the same folder name if only the SDAT filename is provided with mode -b

Un-edited rebuilt SDAT files should be 1:1, if an SDAT is ripped from a game, decompiled and rebuilt, without being 1:1, please let me know.

Un-edited rebuilt SDAT files using the -o flag should work normally in-game, if not please let me know.

New in version 0.9.1:

-code cleanup

New in version 0.9.0:

-SBNK files now unpack into a txt file, along with the SBNKs. Building will look for a built SBNK first, then if not found, build the SBNK from the text file with the same name

New in version 0.8.0:

-SWAR files now unpack in their own directory as SWAVs. Building will look for a built SWAR first, then if not found, build the SWAR from the SWAVs

sdattool's People

Contributors

einstein95 avatar froggestspirit avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.