vmu-tools

Place for discussing homebrew games, development, new releases and emulation.
User avatar
Slurmking
lithium
Posts: 45

vmu-tools

Post by Slurmking »

Hey guys, I have been hard at work creating some tooling for manipulating VMS/VMI files. I finally have it in a good enough state to show.

https://github.com/slurmking/vmu-tools

It is called vmu-tools and it is a Python package that will let you:
  • Save icons from VMS files
  • Generate VMI files
  • Calculate crc for for VMS files
  • Read VMI/VMS file info in a human readable format
  • Manipulate and edit VMS/VMI files
Here is some outputs from the example files on the github
Image
test_files.zip
(22.45 KiB) Downloaded 161 times
As far as other features go I already have a working prototype to dump and pull files from VMU memory dumps that I will implement in the future.

Please check it out and let me know what you think, it is still in an alpha stage and needs a lot more work but I figured this could be helpful for someone.

User avatar
Xiden
Developer
Posts: 2229
Dreamcast Games you play Online: All the DC games!!

Re: vmu-tools

Post by Xiden »

Slurmking wrote:Hey guys, I have been hard at work creating some tooling for manipulating VMS/VMI files. I finally have it in a good enough state to show.

https://github.com/slurmking/vmu-tools

It is called vmu-tools and it is a Python package that will let you:
  • Save icons from VMS files
  • Generate VMI files
  • Calculate crc for for VMS files
  • Read VMI/VMS file info in a human readable format
  • Manipulate and edit VMS/VMI files
Here is some outputs from the example files on the github
Image
test_files.zip
As far as other features go I already have a working prototype to dump and pull files from VMU memory dumps that I will implement in the future.

Please check it out and let me know what you think, it is still in an alpha stage and needs a lot more work but I figured this could be helpful for someone.
Awesome work!

User avatar
Ian Micheal
Developer
Posts: 6064
Location: USA
Contact:

Re: vmu-tools

Post by Ian Micheal »

could you make this generate the info for this

Code: Select all

static const unsigned short vmu_savestate_icon_pal[16] = {
	0xFFFF, 0xFABA, 0xF343, 0xF444, 0xFEEE, 0xFDDD, 0xFAAA, 0xF555, 0xFBCB, 0xF777, 0xF999, 0xF888, 0xF666, 0xFCCC, 0xF222, 0xF222, 
};

static const unsigned char vmu_savestate_icon_data[512] = {
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x43, 0x00, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x76, 0x87, 0x04, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xA9, 0x9A, 0x05, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x84, 0xAA, 0xA6, 0x05, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xB9, 0xAA, 0xA6, 0x04, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0xAB, 0x66, 0x66, 0x89, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0xBA, 0x6A, 0x66, 0x16, 0x8C, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0xBC, 0xAB, 0x66, 0x61, 0x89, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCD, 0xCA, 0xBC, 0x61, 0x66, 0x8B, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x98, 0xEA, 0xB2, 0x66, 0x61, 0xDA, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xBB, 0xE7, 0xB3, 0x66, 0x61, 0xD6, 0x04, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xBB, 0xDE, 0xD4, 0x16, 0x66, 0x7A, 0x0A, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA8, 0x3B, 0x5E, 0xD0, 0x66, 0x66, 0x76, 0x0B, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xBB, 0x2C, 0x01, 0xD0, 0x6A, 0xA6, 0x7A, 0x0A, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0xB8, 0x9A, 0x6C, 0x00, 0x80, 0x6A, 0xAA, 0x7A, 0x0A, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x40, 0xB9, 0x7B, 0x0C, 0x00, 0x10, 0xA9, 0xBA, 0xCB, 0x06, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x50, 0xA9, 0x29, 0x0C, 0x00, 0xB5, 0xAC, 0x9B, 0xC9, 0x5A, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0xCD, 0x6A, 0x79, 0x4A, 0x04, 0x79, 0xB9, 0x99, 0x79, 0xC3, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x95, 0xB6, 0x99, 0xB9, 0x99, 0xCC, 0x99, 0xC9, 0xCC, 0x73, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0xD0, 0xAB, 0x29, 0x56, 0x55, 0x55, 0x55, 0xC1, 0xC9, 0x7C, 0xC3, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0xB8, 0xAB, 0xE2, 0x01, 0x00, 0x00, 0x00, 0x78, 0xCC, 0xCC, 0xC3, 0x00, 0x00, 
  0x00, 0x00, 0x80, 0x99, 0x9B, 0x9F, 0x0D, 0x00, 0x00, 0x00, 0x38, 0xCC, 0xC7, 0x73, 0x01, 0x00, 
  0x00, 0x00, 0x90, 0xB7, 0x2B, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x38, 0x7C, 0xCC, 0x37, 0x07, 0x00, 
  0x00, 0x00, 0xC5, 0xA9, 0xF7, 0x53, 0x00, 0x00, 0x00, 0x00, 0x31, 0xC7, 0xCC, 0x7C, 0x0C, 0x00, 
  0x00, 0x44, 0xC3, 0xBA, 0xE2, 0x45, 0x00, 0x00, 0x00, 0x00, 0x38, 0xC7, 0xCC, 0x79, 0x47, 0x00, 
  0x80, 0x33, 0x69, 0xB6, 0xF7, 0xF2, 0x06, 0x00, 0x00, 0x00, 0x78, 0xCC, 0x99, 0x99, 0x9C, 0x05, 
  0xC7, 0xB9, 0x66, 0x66, 0xCB, 0xE7, 0x01, 0x00, 0x90, 0x99, 0xCC, 0x9C, 0xB9, 0xAB, 0xBB, 0xDA, 
  0x2E, 0x73, 0x77, 0x37, 0x37, 0xF2, 0x06, 0x00, 0x30, 0x22, 0x22, 0x23, 0x23, 0x33, 0x77, 0x73, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  };
?

  • Similar Topics
    Replies
    Views
    Last post