It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I'll have images up later today that shows the exact text that should go in the target box. Once I have those up I'll mark this as solved.

This question has been asked many times, so without further ado...

GOG did include DOSBox config files for both KEYS.EXE and the Super Melee game within SC2, but did NOT include shortcut files to them for some odd reason.

To fix this you should know how to edit Windows shortcut files, although it is quite easy.

Go to where you have a shortcut for the main game of SC2 (usually on your desktop).

Copy that shortcut and rename it to Keys (or Melee)

Edit the new shortcut's target.

For KEYS.EXE -- change "dosboxSC2.conf" to "dosboxSC2_setup.conf"

For Melee -- change "dosboxSC2.conf" to "dosboxSC2_addon.conf"

Leave everything else the same.
Post edited May 16, 2011 by mattmcgrath
No posts in this topic were marked as the solution yet. If you can help, add your reply
As for SC1's EDIT.EXE (aka the scenario editor), I'll have to create a custom DosBOX config file because it seems GOG forgot that one (whoops).


NEW DOSBOX CONFIG FILE FOR SC1 SCENARIO EDITOR.


Open Notepad
Paste in the text at the end of this post

Save it into
C:\Program Files\GOG.com\Star Control 1 and 2\Star Control 1

Name it
dosboxSC1_addon.conf


............................stuff to paste begins one line down from here.................................


# Lines starting with a # are commentlines.
# They are used to (briefly) document the effect of each option.

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest,pause (when not focussed).
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.

fullscreen=true
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory DOSBox has in megabytes.
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=svga_s3
captures=capture
memsize=30

[render]
# frameskip -- How many frames DOSBox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,normal3x,advmame2x,advmame3x,hq2x,hq3x,
# 2xsai,super2xsai,supereagle,advinterp2x,advinterp3x,
# tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.
# If forced is appended (like scaler=hq2x forced), the scaler will be used
# even if the result might not be desired.

frameskip=0
aspect=false
scaler=normal2x

[cpu]
# core -- CPU Core used in emulation: normal,simple,dynamic,auto.
# auto switches from normal to dynamic if appropriate.
# cycles -- Amount of instructions DOSBox tries to emulate each millisecond.
# Setting this value too high results in sound dropouts and lags.
# You can also let DOSBox guess the correct value by setting it to max.
# The default setting (auto) switches to max if appropriate.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.

core=dynamic
cycles=max
cycleup=1000
cycledown=1000

[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.

nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.

mpu401=intelligent
device=default
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the DOSBox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.


sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.

gus=false

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation. Covox Voice Master and Speech Thing compatible.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]
# joysticktype -- Type of joystick to emulate: auto (default), none,
# 2axis (supports two joysticks,
# 4axis (supports one joystick, first joystick used),
# 4axis_2 (supports one joystick, second joystick used),
# fcs (Thrustmaster), ch (CH Flightstick).
# none disables joystick emulation.
# auto chooses emulation depending on real joystick(s).
# timed -- enable timed intervals for axis. (false is old style behaviour).
# autofire -- continuously fires as long as you keep the button pressed.
# swap34 -- swap the 3rd and the 4th axis. can be useful for certain joysticks.
# buttonwrap -- enable button wrapping at the number of emulated buttons.

joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=true

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, nullmodem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameter for all types is irq.
# for directserial: realport (required), rxdelay (optional).
# for modem: listenport (optional).
# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
# transparent, port, inhsocket (all optional).
# Example: serial1=modem listenport:5000

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support.
# keyboardlayout -- Language code of the keyboard layout (or none).

xms=true
ems=true
umb=true
keyboardlayout=none

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
# Lines in this section will be run at startup.
mount C .
c:
cls
edit.exe
exit
Attachments:
sc2.png (209 Kb)
Post edited May 31, 2011 by mattmcgrath
Thanks for this, and sorry for the delay in responding! I've been marking a tonne of assignments.

I've tried your approach, and it works great for 'dosboxSC2_addon.conf,' so now I can get into melee. However, the 'dosboxSC2_setup.conf' doesn't work - the box with the DosBox logo pops up - just like before Melee successfully loads - except then nothing happens. It just vanishes and I go back to desktop.

Any ideas?

Thanks for all your help already!

- The Unshaven.
avatar
theunshaven: I've tried your approach, and it works great for 'dosboxSC2_addon.conf,' so now I can get into melee. However, the 'dosboxSC2_setup.conf' doesn't work - the box with the DosBox logo pops up - just like before Melee successfully loads - except then nothing happens. It just vanishes and I go back to desktop.
.
Go into the folder for Star Control 2. First tell me if you see a file called "dosboxSC2_setup.conf". If so, we have a shortcut problem.

If not, then we have a problem with the file not existing at all. In that case, try the following idea...if you still run into problems, send me a screenshot of your shortcut, specifically of the "target" line.


Find the file called "dosboxSC2_addon.conf"
Right-Click on that file and select "copy"
Right-Click in a blank area within that folder and select "paste"
**Make sure you select "paste" and NOT "paste shortcut"
Right-Click On The "Copy Of..." file and rename it to "dosboxSC2_setup.conf"
Open "dosboxSC2_setup.conf" in notepad
Change the line that says "melee.exe" to read "keys.exe" instead (leave out the quotes!)
Save this file
Now modify the shortcut just like I said before
Post edited May 31, 2011 by mattmcgrath
This is where I wish Remote Desktop was a viable and non-scary option. Within seconds I could have your shortcut working, but the risk of a complete stranger controlling your desktop is just too weird for me to even suggest.

Actually I wish that I GOG would let me re-write their SC2 installation script :)
Whoohoo!

Creating a new copy of 'dosboxSC2_addon.conf' and modifying it worked perfectly. The only weird part was that it didn't point at MELEE.EXE but MELEE.COM instead. Still, replacing MELEE.COM with KEYS.EXE worked, so I can get into that now.

I haven't tried modifying the keys yet because I need to get to work, but this is a great step forward. Many thanks!

- The Unshaven.
Oh right, it is melée.com as it bypasses the copy protection of melee.exe. Well the cp screen still appears but it will accept any answer.

Glad it's working for you.

Remember you can hit ctrl-f1 in dosbox to bring up a total remapper. I do this to reassign the screenshot key to a button on my controller.

I just sent a message to gog support begging them to let me rewrite the install script :)
Here's something else that may help.

In order for me to get the key editor working in SC2, I had to edit the dosbox sc2_addon.conf file to set it to a different graphics mode (output=overlay instead of the original output=surface).
avatar
dcshift: Here's something else that may help.

In order for me to get the key editor working in SC2, I had to edit the dosbox sc2_addon.conf file to set it to a different graphics mode (output=overlay instead of the original output=surface).
I tried this, but still no luck.

Windows 7, 64-bit. I downloaded and installed SC1+2 today (Sept 13 2012)

My installation includes shortcuts to "Melee" and to "Setup" in SC2. Neither seems to work properly.
In Setup, no key press does anything - I can stab F1 all I want and nothing changes. I'd like to be able to edit the controls and so forth, but I can't get it to work. I can run KEYS.exe through the "setup" shortcut, but it doesn't actually work.