Skip to content

Releases: intns/mapdas

mapdas v1.2.1 - Hotfix for .IDC exportation!

15 Dec 00:25
Compare
Choose a tag to compare

This release removes a feature and, by doing so, fixes .idc file exports not correctly being read by IDA.

Full Changelog: 1.2...1.2.1

mapdas v1.2 - Common FS Cleaner

14 Dec 11:26
Compare
Choose a tag to compare

This update fixes various issues to do with reading an invalid .dol file, symbol demangling issues and gives the user options when exporting the filesystem.

The user is given a choice to use .cpp or .c when exporting, and whether to invert the order of functions or not.

Common FS Cleaner

This is a "multi-tool" of sorts, the tool is only made for mapdas generated projects.

Features:

  • Asks the user for known namespaces, for scope correction of functions
  • Fixes constructor / destructor functions (would have "void" prefixed)
  • Fixes certain improper const implementations from earlier versions of mapdas
  • Recognises simple ASM patterns and fills the code in automatically, such as:
    • "blr" functions (an empty function)
    • "li" -> "blr" functions that reference r3, so as to simply return a numeric value (automatically sets return value to u32 or s32)
    • "stw", "sth", "stb" functions where it can a) set a single member variable to an argument OR b) setting a single member variable to a constant

Full Changelog: 1.2...1.3

mapdas v1.1 - Improved MAP support

09 Dec 21:26
Compare
Choose a tag to compare

Third update of mapdas!

I was alerted to a newer version of the .map format by (@wowjinxy), and added support to it.
Furthermore, I also added a last resort for failing to demangle function symbols, it will just ignore the demangle altogether and continue.

Full Changelog: 1.1...1.2

mapdas v1.0

08 Sep 22:45
Compare
Choose a tag to compare

Requirements / Dependencies:

Features

  • Loading multiple symbol map files
  • Displays map files in a sorted tree
  • Parses and demangles symbols (thanks to arookas for this feature)
  • Can export symbol maps to .idc files (IDA's scripted language)
  • Can export every referenced file inside the symbol map to get a 1:1 recreation of the original developer's directory and file layout
  • Can extract every type found in function arguments into an easily-compiled C++ header (see Extract Types when right clicking on the symbol map when it's loaded)
  • Extracting symbols and converting it to a linker map easily for use in a decompilation project / modding project
  • Loading DOL files to extract the PowerPC assembly for functions to get a better base for decompiling
  • Viewing the hex and the PowerPC assembly of a function side by side

How To Use

You must first load the symbol map by going to File -> Open -> MAP.
At this point you can traverse the directories and files of the project; even the functions inside of the files.
You can optionally load a DOL file to decompile individual functions and add even more features to the tool when exporting to a filesystem by right-clicking the symbol map file, and opening the DOL.
All of the features after this will be obvious, by right clicking on the various entries in the symbol map you are presented with different options.

Menu Entries that can be seen with a right click

On a Symbol Map

  • Open DOL
  • Export Filesystem
  • Export To Linker Map
  • Convert To IDC
  • Export Types
  • Close

On a file within a Symbol Map

  • Export File
  • Export Types

On a function within a file

  • Export Types
  • Decompile

Full Changelog: https://github.com/intns/mapdas/commits/1.0