bob-the-hamster / ohrrpgce

This is James's git copy of the ohrrpgce repository. It's wip branch tracks the subversion repository which is the official upstream. Please also see https://github.com/ohrrpgce/ohrrpgce which has our bugtracker, and tmc's repository at https://bitbucket.org/rbv/ohrrpgce-svn/src
http://rpg.hamsterrepublic.com/ohrrpgce/Git#The_OHRRPGCE_git-svn_mirror
Other
4 stars 2 forks source link

A list of MuseScore2 instruments vs MIDI2BAM conversion #1

Open TheOuterLinux opened 6 years ago

TheOuterLinux commented 6 years ago

I made a list of what happens when MuseScore2 .mid files are translated with MIDI2BAM. I realize that not many people are using the DOS version of OHRRPGCE, but maybe someone would find this helpful:

MuseScore2 | MIDI2BAM

Keyboards

Woodwind

Free Reed

Brass

Pitched Percussion

Unpitched Percussion

Not possible to test; Track 10 separation

Battery Percussion

Not possible to test; Track 10 separation

Vocals

Electronic Instruments

Plucked Strings

Strings

TheOuterLinux commented 6 years ago

MuseScore2_vs_MIDI2BAM.xlsx Didn't realize I could just attach a file instead.

rversteegen commented 5 years ago

Are you still using the DOS version of the OHRRPGCE?? I don't think BAM files have any other use?

You might also be interested in the source code for bam2midi and midi2bam. (I'm not sure how accurate the conversion bam2midi does is.) In fact there are two versions of midi2bam, the original written in QuickBasic and another written in Euphoria. I don't know the correct URL for the hamsterrepublic SVN repo containing the QuickBasic version, it's been changed. The Euphoria version can be had from https://rpg.hamsterrepublic.com/ohrrpgce/BAM_Developer%27s_Kit bam2midi is included in the OHRRPGCE source code.

TheOuterLinux commented 5 years ago

I just thought that someone might find this information useful.

I would LOVE to be able to make a DOS game using OHRRPGCE, which is why I got a little interested in the BAM format since the file sizes are smaller. Interestingly enough, and don't anyone dare remove it, the Linux version of OHRRPGCE will play BAM files. However, for the time being, I have given up on the idea of making a DOS game with it because I still need Windows NT running to use HSpeak.

Also, I cannot use the Euphoria version of of bam2midi or midi2bam because OpenEuphoria, even though they claim to have an x86_64 deb file, still requires i386 libraries which for some reason my distro MX Linux (Debian) cannot correct the dependencies for. I tried compiling from source, but ran into errors as well. In other words, it looks like they wrapped up what they already had 32-bit wise in a 64-bit package and called it a day. So, I still have to essentially use the DOS version of QBASIC to compile the bam2midi or midi2bam converters anyway. Compiling FreeBASIC for Linux works just fine.

I know there a limitations, but I would love to see a new version of OHRRPGCE for DOS and have HSpeak without Windows NT working.

rversteegen commented 5 years ago

Well, if you're using a DOS version of the OHR, why not use a DOS build of HSpeak? Euphoria 3 can compile for DOS32: http://rapideuphoria.com/v20.htm HSpeak v1 was actually written in QuickBasic, so was a 16bit DOS program. It was replaced by HSpeak v2 in Feb 27 2001, in Euphoria. HSpeak v1 might actually not be much of a step down from 2006-era HSpeak. The oldest precompiled DOS version of HSpeak I could find is at http://hamsterrepublic.com/ohrrpgce/archive/custom-2006-03-15-tirgoviste.zip

Yes, there are problems with the packages OpenEuphoria distribute (some are even corrupt, many are missing), and major annoyances with compiling too. It doesn't seem to support crosscompiling either, so I have two copies of euphoria on my system, which need different EUDIR environmental variables set. Also, Debian & Ubuntu seem to have poor support for compiling both x86 and x86_64 binaries on the same machine, unfortunately, because it's tricky to install both sets of necessary dev libraries at once. I think they were trying to improve that. Maybe that's the problem you saw, since you mention dependencies.

But... I wasn't suggesting compiling or using midi2bam or bam2midi, I meant looking at the tables for converting between instruments in the source code.

rversteegen commented 5 years ago

AFAIK Euphoria 3 itself will also run from DOS. Aside from hspeak, you could also compile DOS midi2bam and bam2midi programs that way.

TheOuterLinux commented 5 years ago

Well, to be honest, I'm happy just using DOSBox and the pre-compiled MIDI2BAM.EXE that comes with the final DOS version of OHRRPGCE. I really don't see myself running BAM2MIDI as I can't actually find any BAM files anywhere except within the realm of this project. The only file that has instrument information is /eu/gm.ibk and it's just a list. The point of a MuseScore vs MIDI2BAM chart was so a person could use a free and open source music editor to make production faster for a possible DOS version of their game or if they just wanted to use MIDI on the newer version. I don't think the notate.exe for DOS is going to be a viable option anytime soon. My audio production work flow for the DOS version of OHRRPGCE is MuseScore2 --> Example.mid --> DOSBox --> MIDI2BAM.EXE. This is because it won't handle anything else; the DOS version does not play MID files.

Now for the DOS HSpeak link you gave me...THANK YOU! I replaced my version of hspeak.exe (Windows NT) with the older one and it seems to work just fine. I was actually going to go as far as running ReactOS just for this and now I don't. HA! Another win for Windows avoidance.

As for Linux, it seems like I'm able to avoid OpenEuphoria completely and just use the HSpeak-C-3J version. I just have to make sure to have all of the necessary files in the same folder.

By the way, the latest version for Linux in the Debian stable repositories is etheldreme 20171203. If anyone can get a .deb compiled, they may want to update that, especially if the mouse movement support got added. The YouTube videos are kind of old, so I have no idea.

rversteegen commented 5 years ago

OK, sounds like a reasonable workflow

HSpeak-C-3J? I think you mean HSpeak 2G, that should be the version included in Tirgoviste. There's no such version as C-3J. You can look at the changelog at the top of hspeak.exw in this repo to see which HSpeak features you'll be missing out on versus the final version supporting Hasta-la-qb (which is 2Na)

etheldreme 20171203 is the latest stable release, so there's nothing wrong there. The next version has been horribly delayed, but should be pretty soon. It includes in-game mouse controls.