MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Questions and Discussion >> convert .txm map file to .oxm for older version?
(Message started by: stanwebber on Nov 28th, 2023, 9:36pm)

Title: convert .txm map file to .oxm for older version?
Post by stanwebber on Nov 28th, 2023, 9:36pm
the newest version of midiox is very unstable (causing unrecoverable crashes) on my win98se system; however, v6.2 works flawlessly. i'd like to use a .txm mapping file with the older version, but it's not a supported format. i tried loading the .txm file in the newest version of midiox, where it is supported, and then saving it in the .oxm format, but i get a 'map file version not understood' error when i try to load it in the older midiox version. oxm is not a text editable format for trying to manually edit the version. i'm a complete novice with this stuff. is there something else i can try?

Title: Re: convert .txm map file to .oxm for older versio
Post by stanwebber on Nov 29th, 2023, 12:12am
midiox v6.5.1 also seems to be problem free and also supports .txm map files; however, only up to moxmap version 4. the map file i have is moxmap version 5 and editing the file manually is a no-go as the formats are too different. txm is a text editable format so maybe someone here on the forum can convert it for me.


Code:
MOXMAP Version 5

[Map]
*,ProgChg,0,0,*,*,N,0,*,*,0,0,*,*
*,ProgChg,1,1,*,*,N,0,*,*,1,1,*,*
*,ProgChg,2,2,*,*,N,0,*,*,0,0,*,*
*,ProgChg,3,3,*,*,N,0,*,*,2,2,*,*
*,ProgChg,4,4,*,*,N,0,*,*,4,4,*,*
*,ProgChg,5,5,*,*,N,0,*,*,4,4,*,*
*,ProgChg,6,6,*,*,N,0,*,*,5,5,*,*
*,ProgChg,7,7,*,*,N,0,*,*,3,3,*,*
*,ProgChg,8,8,*,*,N,0,*,*,16,16,*,*
*,ProgChg,9,9,*,*,N,0,*,*,17,17,*,*
*,ProgChg,10,10,*,*,N,0,*,*,18,18,*,*
*,ProgChg,11,11,*,*,N,0,*,*,16,16,*,*
*,ProgChg,12,12,*,*,N,0,*,*,16,16,*,*
*,ProgChg,13,13,*,*,N,0,*,*,19,19,*,*
*,ProgChg,14,14,*,*,N,0,*,*,20,20,*,*
*,ProgChg,15,15,*,*,N,0,*,*,21,21,*,*
*,ProgChg,16,16,*,*,N,0,*,*,6,6,*,*
*,ProgChg,17,17,*,*,N,0,*,*,6,6,*,*
*,ProgChg,18,18,*,*,N,0,*,*,6,6,*,*
*,ProgChg,19,19,*,*,N,0,*,*,7,7,*,*
*,ProgChg,20,20,*,*,N,0,*,*,7,7,*,*
*,ProgChg,21,21,*,*,N,0,*,*,7,7,*,*
*,ProgChg,22,22,*,*,N,0,*,*,8,8,*,*
*,ProgChg,23,23,*,*,N,0,*,*,112,112,*,*
*,ProgChg,24,24,*,*,N,0,*,*,62,62,*,*
*,ProgChg,25,25,*,*,N,0,*,*,62,62,*,*
*,ProgChg,26,26,*,*,N,0,*,*,63,63,*,*
*,ProgChg,27,27,*,*,N,0,*,*,63,63,*,*
*,ProgChg,28,28,*,*,N,0,*,*,38,38,*,*
*,ProgChg,29,29,*,*,N,0,*,*,38,38,*,*
*,ProgChg,30,30,*,*,N,0,*,*,39,39,*,*
*,ProgChg,31,31,*,*,N,0,*,*,39,39,*,*
*,ProgChg,32,32,*,*,N,0,*,*,88,88,*,*
*,ProgChg,33,33,*,*,N,0,*,*,95,95,*,*
*,ProgChg,34,34,*,*,N,0,*,*,52,52,*,*
*,ProgChg,35,35,*,*,N,0,*,*,98,98,*,*
*,ProgChg,36,36,*,*,N,0,*,*,97,97,*,*
*,ProgChg,37,37,*,*,N,0,*,*,99,99,*,*
*,ProgChg,38,38,*,*,N,0,*,*,14,14,*,*
*,ProgChg,39,39,*,*,N,0,*,*,54,54,*,*
*,ProgChg,40,40,*,*,N,0,*,*,102,102,*,*
*,ProgChg,41,41,*,*,N,0,*,*,96,96,*,*
*,ProgChg,42,42,*,*,N,0,*,*,53,53,*,*
*,ProgChg,43,43,*,*,N,0,*,*,102,102,*,*
*,ProgChg,44,44,*,*,N,0,*,*,81,81,*,*
*,ProgChg,45,45,*,*,N,0,*,*,100,100,*,*
*,ProgChg,46,46,*,*,N,0,*,*,14,14,*,*
*,ProgChg,47,47,*,*,N,0,*,*,80,80,*,*
*,ProgChg,48,48,*,*,N,0,*,*,48,48,*,*
*,ProgChg,49,49,*,*,N,0,*,*,48,48,*,*
*,ProgChg,50,50,*,*,N,0,*,*,49,49,*,*
*,ProgChg,51,51,*,*,N,0,*,*,45,45,*,*
*,ProgChg,52,52,*,*,N,0,*,*,41,41,*,*
*,ProgChg,53,53,*,*,N,0,*,*,40,40,*,*
*,ProgChg,54,54,*,*,N,0,*,*,42,42,*,*
*,ProgChg,55,55,*,*,N,0,*,*,42,42,*,*
*,ProgChg,56,56,*,*,N,0,*,*,43,43,*,*
*,ProgChg,57,57,*,*,N,0,*,*,46,46,*,*
*,ProgChg,58,58,*,*,N,0,*,*,45,45,*,*
*,ProgChg,59,59,*,*,N,0,*,*,24,24,*,*
*,ProgChg,60,60,*,*,N,0,*,*,25,25,*,*
*,ProgChg,61,61,*,*,N,0,*,*,28,28,*,*
*,ProgChg,62,62,*,*,N,0,*,*,27,27,*,*
*,ProgChg,63,63,*,*,N,0,*,*,104,104,*,*
*,ProgChg,64,64,*,*,N,0,*,*,32,32,*,*

Title: Re: convert .txm map file to .oxm for older versio
Post by stanwebber on Nov 29th, 2023, 12:14am

Code:
*,ProgChg,65,65,*,*,N,0,*,*,32,32,*,*
*,ProgChg,66,66,*,*,N,0,*,*,34,34,*,*
*,ProgChg,67,67,*,*,N,0,*,*,33,33,*,*
*,ProgChg,68,68,*,*,N,0,*,*,36,36,*,*
*,ProgChg,69,69,*,*,N,0,*,*,37,37,*,*
*,ProgChg,70,70,*,*,N,0,*,*,35,35,*,*
*,ProgChg,71,71,*,*,N,0,*,*,35,35,*,*
*,ProgChg,72,72,*,*,N,0,*,*,79,79,*,*
*,ProgChg,73,73,*,*,N,0,*,*,73,73,*,*
*,ProgChg,74,74,*,*,N,0,*,*,72,72,*,*
*,ProgChg,75,75,*,*,N,0,*,*,72,72,*,*
*,ProgChg,76,76,*,*,N,0,*,*,74,74,*,*
*,ProgChg,77,77,*,*,N,0,*,*,75,75,*,*
*,ProgChg,78,78,*,*,N,0,*,*,64,64,*,*
*,ProgChg,79,79,*,*,N,0,*,*,65,65,*,*
*,ProgChg,80,80,*,*,N,0,*,*,66,66,*,*
*,ProgChg,81,81,*,*,N,0,*,*,67,67,*,*
*,ProgChg,82,82,*,*,N,0,*,*,71,71,*,*
*,ProgChg,83,83,*,*,N,0,*,*,71,71,*,*
*,ProgChg,84,84,*,*,N,0,*,*,68,68,*,*
*,ProgChg,85,85,*,*,N,0,*,*,69,69,*,*
*,ProgChg,86,86,*,*,N,0,*,*,70,70,*,*
*,ProgChg,87,87,*,*,N,0,*,*,22,22,*,*
*,ProgChg,88,88,*,*,N,0,*,*,56,56,*,*
*,ProgChg,89,89,*,*,N,0,*,*,59,59,*,*
*,ProgChg,90,90,*,*,N,0,*,*,57,57,*,*
*,ProgChg,91,91,*,*,N,0,*,*,57,57,*,*
*,ProgChg,92,92,*,*,N,0,*,*,60,60,*,*
*,ProgChg,93,93,*,*,N,0,*,*,60,60,*,*
*,ProgChg,94,94,*,*,N,0,*,*,58,58,*,*
*,ProgChg,95,95,*,*,N,0,*,*,61,61,*,*
*,ProgChg,96,96,*,*,N,0,*,*,61,61,*,*
*,ProgChg,97,97,*,*,N,0,*,*,11,11,*,*
*,ProgChg,98,98,*,*,N,0,*,*,11,11,*,*
*,ProgChg,99,99,*,*,N,0,*,*,98,98,*,*
*,ProgChg,100,100,*,*,N,0,*,*,14,14,*,*
*,ProgChg,101,101,*,*,N,0,*,*,9,9,*,*
*,ProgChg,102,102,*,*,N,0,*,*,14,14,*,*
*,ProgChg,103,103,*,*,N,0,*,*,13,13,*,*
*,ProgChg,104,104,*,*,N,0,*,*,12,12,*,*
*,ProgChg,105,105,*,*,N,0,*,*,107,107,*,*
*,ProgChg,106,106,*,*,N,0,*,*,107,107,*,*
*,ProgChg,107,107,*,*,N,0,*,*,77,77,*,*
*,ProgChg,108,108,*,*,N,0,*,*,78,78,*,*
*,ProgChg,109,109,*,*,N,0,*,*,78,78,*,*
*,ProgChg,110,110,*,*,N,0,*,*,76,76,*,*
*,ProgChg,111,111,*,*,N,0,*,*,76,76,*,*
*,ProgChg,112,112,*,*,N,0,*,*,47,47,*,*
*,ProgChg,113,113,*,*,N,0,*,*,117,117,*,*
*,ProgChg,114,114,*,*,N,0,*,*,127,127,*,*
*,ProgChg,115,115,*,*,N,0,*,*,118,118,*,*
*,ProgChg,116,116,*,*,N,0,*,*,118,118,*,*
*,ProgChg,117,117,*,*,N,0,*,*,116,116,*,*
*,ProgChg,118,118,*,*,N,0,*,*,115,115,*,*
*,ProgChg,119,119,*,*,N,0,*,*,119,119,*,*
*,ProgChg,120,120,*,*,N,0,*,*,115,115,*,*
*,ProgChg,121,121,*,*,N,0,*,*,112,112,*,*
*,ProgChg,122,122,*,*,N,0,*,*,55,55,*,*
*,ProgChg,123,123,*,*,N,0,*,*,124,124,*,*
*,ProgChg,124,124,*,*,N,0,*,*,123,123,*,*
*,ProgChg,125,125,*,*,N,0,*,*,0,0,*,*
*,ProgChg,126,126,*,*,N,0,*,*,14,14,*,*
*,ProgChg,127,127,*,*,N,0,*,*,117,117,*,*

[Options]
WaitForFullNRPN=0
MapNRPNDataIncr=0
SendFullNRPN=0
ReverseDataEntry=0

Title: Re: convert .txm map file to .oxm for older versio
Post by stanwebber on Nov 29th, 2023, 3:15pm
ok, i figured it out on my own. the only difference between moxmap version 4 and 5 is that 5 adds a delay value after the clone entry. in my case simply doing a replace all of 'N,0' with 'N' converted it to the older format.

the reason for doing this is that midiox v7 is simply incompatible with win98se. it seems to work with some stuff, but crashes the system hard with some combinations. midiox v6 works solid and i think v6.5.1 was the last release (and it supports .tmx v4). the author actually hosts all the previous versions on his website, but doesn't provide links. if you look at the version history and alter the filename in the url you can get it.

btw, the map i pasted is a simple mt32 to gm instrument conversion that someone copied from scummvm.



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.