VOGONS


First post, by antrad

User metadata
Rank Member
Rank
Member

I need to convert a MIDI file to HMI. HMI is like a bit different MIDI format used in some older games like Abuse.

https://antonior-software.blogspot.com

Reply 1 of 8, by bristlehog

User metadata
Rank Oldbie
Rank
Oldbie

Here's MIDI to HMP conversion tool, as of MIDI to HMI, I couldn't find one.

Attachments

  • Filename
    mid2hmp.rar
    File size
    23.88 KiB
    Downloads
    109 downloads
    File comment
    MID2HMP
    File license
    Fair use/fair dealing exception

Hardware comparisons and game system requirements: https://technical.city

Reply 2 of 8, by antrad

User metadata
Rank Member
Rank
Member
bristlehog wrote on 2020-02-23, 13:10:

Here's MIDI to HMP conversion tool, as of MIDI to HMI, I couldn't find one.

Anyone have a HMP to HMI converter ?

I guess I should have mentioned what I actually need is a HMI file that plays nothing, complete silence. If anyone has that it would be enough.
I want to mute the in game music by replacing the original HMI music with silent HMI files, because the volume controls are broken, and deleting the files doesn't work on some computers.

https://antonior-software.blogspot.com

Reply 3 of 8, by derSammler

User metadata
Rank l33t
Rank
l33t
antrad wrote on 2020-02-28, 22:47:

I want to mute the in game music by replacing the original HMI music with silent HMI files, because the volume controls are broken, and deleting the files doesn't work on some computers.

Selecting no music device in the game's setup is no option..? 🤣

Reply 4 of 8, by antrad

User metadata
Rank Member
Rank
Member
derSammler wrote on 2020-02-29, 08:00:
antrad wrote on 2020-02-28, 22:47:

I want to mute the in game music by replacing the original HMI music with silent HMI files, because the volume controls are broken, and deleting the files doesn't work on some computers.

Selecting no music device in the game's setup is no option..? 🤣

There is some bug that causes the game to not play other sounds if the music is disabled.

https://antonior-software.blogspot.com

Reply 7 of 8, by antrad

User metadata
Rank Member
Rank
Member
bristlehog wrote on 2020-03-02, 10:21:

What game is it?

It says in the first post, it is Abuse:
https://www.moddb.com/games/abuse/downloads/a … sdl-09a-windows

derSammler wrote on 2020-03-02, 12:18:

Then try an empty file or one that has the HMI header only (compare two files to figure out how long the header is).

Thanks for a clever suggestion. I tried it and it almost worked, but the game crashes when loading a save file. I deleted everything and left only "HMI-MIDISONG061595" in the file.

I think I will have to mess around with the code again.

https://antonior-software.blogspot.com

Reply 8 of 8, by bristlehog

User metadata
Rank Oldbie
Rank
Oldbie

Another option to try is selecting a MIDI output that technically works (so that SOS engine won't return an error or crash), but produces no sound. Like a MPU-401 interface with no MIDI module connected to it.

If everything else fails, here's HMI loader of foo_midi plugin: https://g.losno.co/chris/midi_processing/src/ … ocessor_hmi.cpp. I quickly looked through it, tried setting INTRO.HMI's track count to zero but the game crashes this way. So one must devise a more cunning way to create an empty HMI.

Hardware comparisons and game system requirements: https://technical.city