Paper Mario Dialog Editing (Full Bank Disassembly)
Users browsing this thread: 1 Guest(s)

With this disassembly, the dialog in Paper Mario can be changed in place without needing to worry about space limitations. This is made possible by removing useless padding data, freeing up 12kB of space for new text! The padding omission has been tested on real N64 hardware (Thanks Davideesk!), and it seems to work without any issues.

[Image: d1017a126e3dc5cb05d9a75ff6c34b36.png]

[Image: b41c2055dae9dad343140bec7906ea53.png]

Download

Version 0.2: http://shygoo.net/pmdlg/paper-mario-dialog-v0.2.zip

Spoiler: Changelog
Version 0.1:
(Initial release)

Version 0.2:
Add accented character support
Use carriage returns in disassembly

This disassembly is for the armips assembler. I recommend using David's armips GUI: http://origami64.net/showthread.php?tid=775.
Spoiler: Quick how to
  1. Always back up your ROM before making changes!
  2. Edit the ASM files in the patch's "pm_dialog" directory to your liking
  3. For the GUI's "ROM" option, select your Paper Mario (U) ROM file. The ROM must be Z64 format.
  4. For the "ASM File" option, select the patch's main ASM file "pm_dialog.asm".
  5. Click "Assemble!"

Decoder Utility

The decoder utility used to generate the disassembly is open source: https://github.com/shygoo/pmdlg.
See the included readme for instructions on how to build the program and generate fresh disassemblies.

Wiki Page

There is a new Origami64 Wiki page available here that covers the intricacies of Paper Mario's dialog system: http://wiki.origami64.net/paper_mario/dialog_system

Todo
  • There are still quite a few commands that have unknown/undocumented purpose, namely command 0x00 which seems to completely change the encoding of the last dialog section.
  • Ideally the disassembly will use macros to wrap commands/styles/effects for easier use and smaller file sizes.
  • Documentation and support for the Japanese and PAL ROMs.

Big thanks to Justin Aquadro for his original dialog system documentation:
http://hocuspocus.taloncrossing.com/rii/pmdiag/pm1docs.txt
(This post was last modified: 06-07-2017, 05:42 AM by shygoo.)

This is fantastic! I will try it!

Can you make a tutorial for how to use this?

The tool works, but there's a bug: accents doesn't work: Here's a screen
[Image: ocEz1yS.png]
(This post was last modified: 05-07-2017, 01:03 PM by ZioMirko_.)

(05-07-2017, 01:02 PM)ZioMirko_ Wrote: The tool works, but there's a bug: accents doesn't work: Here's a screen
[screen]

Just updated with accented character support. See main post for the download. Be sure that your text editor's encoding setting is set to "UTF-8 without BOM" while editing.

(04-07-2017, 11:54 PM)Sagen Wrote: Can you make a tutorial for how to use this?

Download the ZIP archive with the disassembly files and David's armips GUI and try the steps described under "Quick how to" in the main post.
(This post was last modified: 06-07-2017, 05:44 AM by shygoo.)

Paper Mario Dialog Editing (Full Bank Disassembly)
Users browsing this thread: 1 Guest(s)