VOGONS


First post, by bjwil1991

User metadata
Rank l33t
Rank
l33t

Hello, fellow DOSBox Team.
Here's a quick summary of how things are going in the build I am making using Microsoft Visual C++ 2008 Express Edition:

1. Got all of the files copied onto my hard drive
2. Made a patch file called gate.diff for the Frederik Pohl's Gateway MT-32 Missing Music Patch (fix)
3. Tried making the program, dosbox.exe, and ended up getting errors when I included the gate.diff file in the dosbox.cpp file with this line of code:

#include "gate.diff"

4. Commented out the code, and got a fatal error trying to link the sdlmain.lib file
5. Copied the file to C:\development\dosbox-0.47\visualc_net and got 3 warnings and no errors; successful build

Now my main question is: how do I apply the patch file to the program? This is my first time developing software; I followed the step-by-step basis on:
http://www.dosbox.com/wiki/Building_DOSBox_wi … _C_2008_Express

Main reason I'm making the program is because I have to check to see if using the patch file would make my Frederik Pohl's Gateway Game work with the Roland MT-32 (munt) and post details about it.

Thanks.
-bjwil1991

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 1 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author
patch -p0 < gate.diff

or use something TortoiseUDiff (part of tortoiseSVN)

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 6, by bjwil1991

User metadata
Rank l33t
Rank
l33t
Qbix wrote:
or use something TortoiseUDiff (part of tortoiseSVN) […]
Show full quote
patch -p0 < gate.diff

or use something TortoiseUDiff (part of tortoiseSVN)

when using the command, I get this error:

C:\Users\Ben\Desktop\GetGnuWin32\bin>patch -p0 < gate.diff
patching file src/hardware/mpu401.cpp
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 10:

gate.diff file:

1 --- src/hardware/mpu401_orig.cpp   2014-01-07 14:27:05 -0500
2 +++ src/hardware/mpu401.cpp 2014-01-07 14:30:58 -0500
3 @@ -210,8 +210,8 @@ static void MPU401_WriteCommand(Bitu por QueueByte(0));
4 return;
5 case 0xac: /* Request version */
6 -QueueByte(MSG_MPU_ACK);
7 QueueByte(MPU401_VERSION);
8 +QueueByte(MSG_MPU_ACK);
9 return;
10 case 0xad: /* Request revision */
11 QueueByte(MSG_MPU_ACK);

I've attached the file on here, in case the line/lines of code is/are incorrect.

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 3 of 6, by bjwil1991

User metadata
Rank l33t
Rank
l33t

Fixed the issue. Go to viewtopic.php?f=32&t=37884&start=60#p339120 and click on the link to download the file DOSBox-SVN-GATE.zip

These are the following files that are in the DOSBox-SVN-GATE.zip file:

munt-1.3.0-win32.exe
SDL.DLL
SDL_NET.DLL
DOSBox.exe
Munt readme.txt <-- read that file first prior to running the program.

Edit: removed the ROM files as requested by Dominus. Get your own, or use a Real Roland MT-32 (recommended).

Last edited by bjwil1991 on 2014-01-21, 07:51. Edited 1 time in total.

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 4 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Please remove that. The mt32 ROMs are of dubios nature and you can't link to those here.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 5 of 6, by bjwil1991

User metadata
Rank l33t
Rank
l33t
Dominus wrote:

Please remove that. The mt32 ROMs are of dubios nature and you can't link to those here.

As requested, I have removed the ROM files and recreated a new zip file without the ROM files. You don't mind that I left the munt installation file in the zip file, right?

Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser

Reply 6 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

All good now 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper