No description, website, or topics provided.
C Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
samples Add ma3d1view Jul 1, 2016
screenshots Add ma3d1view Jul 1, 2016
.gitignore Add ma3d1view Jul 1, 2016
LICENSE
Makefile ma3d1view: Use GLUT instead Jul 6, 2016
README.md
endian.h Fixes for IRIX Jul 1, 2016
leogeo.c
leogeo.h Less ambiguous licensing Feb 16, 2015
leoimginfo.c Less ambiguous licensing Feb 16, 2015
ma2d1view.c Less ambiguous licensing Feb 16, 2015
ma3d1view.c ma3d1view: Use GLUT instead Jul 6, 2016
mathumbview.c
mfs.c Less ambiguous licensing Feb 16, 2015
mfs.h Less ambiguous licensing Feb 16, 2015
mfsextract.c
psppmview.c Less ambiguous licensing Feb 16, 2015
sha1.c Fix for big-endian systems Jan 1, 2015
sha1.h
yay1.c
yay1.h Less ambiguous licensing Feb 16, 2015

README.md

#leotools 2015-2016 jkbenaim

Work with 64DD disk images and the files contained therein.

  • leoimginfo: Show information about a 64DD disk image.
  • mfsextract: List and extract files stored in the RAM partition of a 64DD disk image, if it has an MFS filesystem.
  • ma2d1view: View MA2D1 files. These are pictures saved by games in the Mario Artist series.
  • ma3d1view: View MA3D1 files. These are 3D models saved by Polygon Studio.
  • mathumbview: View the thumbnail for various Mario Artist files. This is the icon for the file that would be shown in the file browser.
  • psppmview: View PSPPM files. These are animations.

leoimginfo

Show information about a 64DD disk image.

Example run

> leoimginfo NUD-DMTJ-JPN.bin 
SYSTEM AREA
  Disk type     : 0 (retail)
  IPL load address : 80100000
  IPL load size : 43
  ROM end lba   : 1415
  RAM start lba : 1418
  RAM end lba   : 1965
DISK ID
  Initial code  : DMTJ
  Game version  : 0
  Disk number   : 0
  RAM use       : yes
  disk use      : 0
  timestamp     : 2000-02-07 15:39:06
  company code  : 01
  free area     : 4e4d412d4558 (NMA-EX)
SHA1 of ROM area: 22B8E9D3F4E95255AC0FDDCEF4C1BDC073DCE660
MFS (RAM)
  ram start off : 1942a40
  present       : yes (0)
  attr          : 00 (---)
  type          : 0 (match)
  volume name   : MarioArtist
  format date   : 2000-01-12 18:53:12
  renewal count : 29
  destination   : Japan
  checksum      : BB50B310
  max files     : 899

mfsextract

List and extract files stored in the RAM partition of a 64DD disk image, if it has an MFS filesystem.

Example run

> mfsextract NUD-DMTJ-JPN.bin 
     dir:       .
     dir:       ./jrra♪
     dir:       ./★▲●
     dir:       ./にんてんプロ
     dir:       ./マウス企画
     dir:       ./マイク芸能
     dir:       ./64DD劇場
     dir:       ./VCミュージック
     dir:       ./マル福撮影所
     dir:       ./GBテレビ
     dir:       ./★  みる?
 1569864:       ./★  みる?/社長からのごあいさつ.TSBGL
  226832:       ./★▲●/豪  マサル.TSTLT
  209536:       ./★▲●/E〜坊sssss.TSTLT
  209536:       ./にんてんプロ/E〜坊ょょょょょょょ.TSTLT
   38309:       ./★▲●/ムービーの写真.MA2D1
   51116:       ./jrra♪/記念写真 02人.MA2D1
  217040:       ./jrra♪/Obama.TSTLT
  215088:       ./jrra♪/Jimbo.TSTLT
 1569864:       ./jrra♪/SPEED.TSANM

ma2d1view

View MA2D1 files. These are pictures saved by games in the Mario Artist series.

Example run

> ma2d1view samples/ma2d1-compressed.MA2D1 
Format: NCMP, dimensions 320x240, 49948 bytes
Press Q to quit.

Screenshot of ma2d1view

ma3d1view

View MA3D1 files. These are 3D models saved by Polygon Studio.

Example run

> ma3d1view samples/3d/Mario.MA3D1 
Press w for wireframe, or q to quit.

Screenshot of ma3d1view

mathumbview

View the thumbnail for various Mario Artist files. This is the icon for the file that would be shown in the file browser.

Note that the thumbnails are only 24x24 pixels, so the window is quite small.

Example run

> mathumbview samples/ma2d1-compressed.MA2D1
Press Q to quit.

Screenshot of mathumbview

psppmview

View PSPPM files. These are animations. Use the left and right arrow keys to switch frames.

Example run

> psppmview samples/psppm.PSPPM
Dimensions: 216x204, frames: 14, size: 1233792 bytes
Use the left and right arrow keys to switch frames,
or press Q to quit.

Screenshot of psppmview

Building

Just run make.

License

sha1.c and sha1.h are both in the public domain. Other files are GPLv3.