Release X-COM: UFO Defense


M-HT

Very Active Member
Joined
Nov 30, 2007
Messages
663
Location
Bratislava
Website
github.com
Hi,

I updated X-COM: UFO Defense to version 1.2.0

Download it here:
Repo

Versions for other platforms and the source code are available on GitHub.

You can buy X-COM: UFO Defense on GOG.com.

Changes:
* MIDI playback using WildMIDI (old MIDI playback using SDL_mixer can be set in the configuration file)
* show the Readme in the Documentation submenu

Forum topic for older releases is here.

Edit (13.06.2012):
X-COM: UFO Defense was updated to version 1.2.1 with the following changes:
* working music when using Gold version for Windows
* SDL library by notaz updated to latest version
* minor bug fixes

Edit (30.06.2012):
X-COM: UFO Defense was updated to version 1.2.2 with the following changes:
* fixed segfault in Battlescape (bug in the original code - out of bounds access)

Edit (09.03.2014):
X-COM: UFO Defense was updated to version 1.3.0 with the following changes:
* removed SDL library by notaz from pnd (newer version is in the firmware)
* newer version of WildMIDI library
* MIDI playback using BASSMIDI (uses soundfonts for playing MIDI)
(can be set in the configuration file, default is WildMIDI)
* configuration editor (doesn't support changing button mappings)

Edit (12.09.2014):
X-COM: UFO Defense was updated to version 1.3.1 with the following changes:
* minor bugfix - the configuration editor was showing settings for another game

Edit (13.12.2014):
X-COM: UFO Defense was updated to version 1.4.0 with the following changes:
* added support for playing Adlib music
* when playing GM music, Windows music files are preferred when both Windows and DOS music files are present

Edit (10.12.2023):
X-COM: UFO Defense was updated to version 1.5.1 with the following changes:
* General MIDI playback using ALSA sequencer
* General MIDI playback using libADLMIDI (using OPL3 emulator)
* added support for playing MT-32 music using ALSA sequencer
* missing MT-32 intro music is played using General MIDI music remapped to MT-32
* fixed Caps Lock handling
* fixed keyboard handling for ASCII characters
* combined Geoscape, Battlescape and Intro executables into one executable
* minor bug fixes
 
Last edited:
This is 300% times better than running it in Dosbox. Thanks ^_^
 
Hi,


I updated X-COM: UFO Defense to version 1.2.1


Download it here:


Repo


Archive


Changes:


* working music when using Gold version for Windows


* SDL library by notaz updated to latest version


* minor bug fixes
 
Last edited by a moderator:
Cheers. Will have to wait until I can get my Pandora back before I can play with it though :( Not played X-COM for ages. Need to boot it up
 
3 hours of play with the gold version with midi working and no issues found B) (SZ 1.5 Beta 2 - Old kernel)
 
I have the gold version of xcom ufo defense, and it crashes every time i go into a tactical mission. I get full rewards but its really annoying! Im using the latest supe zaxxon 5a beta, and latest versions of xcom on the repo. Terror of the deep works without any issue. Ive tried deleting my directories and reloading it from the rars for the gold versions of the game, and ufo defense still crashes on first move from the tactical screen. I can see the men on the ship but getting them to move instant MISSION WIN!
 
I should also note im not getting music like i should be using the latest version, and gold version. Ive tried wildmidi and sdl_mixer in the config file. I get audio just not music
 
Ok i got music working rerunning the timidity installer installing to nand, but its stil crashing when i select someone to move out of the ship.
 
Maybe you are triggering errors in the original code (reading/writing memory out of bounds) which crashes Battlescape (Tactical) and returns you to Geoscape with the result of previous mission (in DOS it might have crashed or it might have done nothing).


Try scrolling around a bit, or move a different soldier, or move to a different position (or all together) - it might avoid triggering the error (and crash).
 
I got this too (crashing as soon as I try and move a unit), but instead of sending me to the result screen, I just got a black screen with the cursor (which responds). I'm running the Steam version


:(


Edit: After waiting a bit and hitting escape several times, I finally got the result screen
 
Last edited by a moderator:
i only get crashes in tactic screen when i use stylus. i get no issues using the "no touchscreen" option.
 
If i move the default selected unit it crashes every time. I have had some luck ill post my results after a little more testing
 
i only get crashes in tactic screen when i use stylus. i get no issues using the "no touchscreen" option.

I always play with the stylus and never seen this thing happen... Anyway I modified the RH configuration from the very first play to personalize it...


here is my Ufo_RH.cfg if you want to have a look

Code:
# Intro settings

# --------------

#

# Intro=on/off


Intro=on



# Sound/Music settings

# --------------------

#

# Sound=on/off

# Music=on/off


Sound=on

Music=on



# Audio settings

# --------------

#

# Audio_Sample_Volume=0-128 - Sound sample volume loudness relative to overall volume

# Audio_Music_Volume=0-128 - Music volume loudness relative to overall volume

# Audio_Channels=mono/stereo - mono or stero sound

# Audio_Resolution=8/16 - 8 or 16 bits

# Audio_Sample_Rate=X - X=frequency in Hz (11025, 22050, 44100, ...)

# Audio_Buffer_Size=X - X=size in bytes (128, 256, 512, 1024, 2048, 4096, ...)

# Audio_Interpolation=on/off - interpolate audio or not

# Audio_MIDI_Subsystem=wildmidi/sdl_mixer - use WildMIDI or SDL_mixer for MIDI playback


Audio_Sample_Volume=64

Audio_Music_Volume=128

Audio_Channels=stereo

Audio_Resolution=16

Audio_Sample_Rate=22050

Audio_Buffer_Size=1024

Audio_Interpolation=on

Audio_MIDI_Subsystem=wildmidi



# Display settings

# ----------------

#

# Display_Mode=double_pixels/fullscreen/correct_aspect_ratio

#	 - this setting sets the initial scaling mode

#	 - original X-COM resolution is 320x200 displayed with aspect ratio 4:3

#	 double_pixels = 640x400

#	 fullscreen = 800x480

#	 correct_aspect_ratio = 640x480

Display_Mode=double_pixels



# SDL settings

# ------------

#

# Use_Alternative_SDL=yes/no - use alternative SDL library by notaz or the firmware SDL library

#	 alternative SDL library by notaz uses OMAP specific driver and contains vsync code, but nubs are not working

Use_Alternative_SDL=no



# Input settings

# --------------

#

# Input_Mode=touchscreen_dpad/touchscreen_abxy/keyboard_dpad

#	 touchscreen_dpad = right-handed touchscreen input (dpad = cursor keys, L = shift)

#	 touchscreen_abxy = left-handed touchscreen input (abxy = cursor keys, R = shift)

#	 keyboard_dpad - input without touchscreen (dpad = mouse movement, L+dpad = cursor keys)

# Input_Old_Touchscreen_Mode=yes/no

#	 old touschscreen mode = left mouse click is emulated when pressing touchscreen

#	 new touschscreen mode = left mouse click is emulated when releasing touchscreen

Input_Mode=touchscreen_dpad

Input_Old_Touchscreen_Mode=no



# Button mappings

# ---------------

#

# Buttons:

#

# Button_Select

# Button_Start

#

# * Following buttons are mappable when Input_Mode=keyboard_dpad or Input_Mode=touchscreen_dpad

# Button_A

# Button_B

# Button_X

# Button_Y

#

# Button_R+A

# Button_R+B

# Button_R+X

# Button_R+Y

# Button_R+Select

# Button_R+Start

#

# * Following buttons are mappable when Input_Mode=touchscreen_abxy

# Button_Up

# Button_Down

# Button_Left

# Button_Right

#

# Button_L+Up

# Button_L+Down

# Button_L+Left

# Button_L+Right

# Button_L+Select

# Button_L+Start

#

#

# Actions:

#

# Action_none

# Action_virtual_keyboard

# Action_mouse_left_button

# Action_mouse_right_button

# Action_key_enter

# Action_key_esc

# Action_levelup - Note: battlescape view up one level, geoscape zoom in

# Action_leveldown - Note: battlescape view down one level, geoscape zoom out

# Action_selectnextsoldier - Note: battlescape select next soldier, geoscape set time to 5 secs

# Action_deselectcurrentsoldier - Note: battlescape deselect current soldier, geoscape set time to 1 day

# Action_toggle_scaling

# Action_pause


Button_A=Action_virtual_keyboard

Button_B=Action_mouse_right_button

Button_Y=Action_levelup

Button_X=Action_leveldown


Button_Select=Action_toggle_scaling

Button_Start=Action_pause


Button_R+A=Action_deselectcurrentsoldier

Button_R+B=Action_selectnextsoldier

Button_R+Y=Action_key_esc

Button_R+X=Action_key_enter


EDIT: have you tried this ?


Use_Alternative_SDL=no


I don't remember why I have changed that setting, but there must be a reason, maybe the same issue you have...
 
Last edited by a moderator:
Hi,


I updated X-COM: UFO Defense to version 1.2.2


Download it here:


Repo


Archive


Changes:


* fixed segfault in Battlescape (bug in the original code - out of bounds access)
 
Last edited by a moderator:
Hi,

I updated X-COM: UFO Defense to version 1.3.0

Download it here:

Repo

Changes:

* removed SDL library by notaz from pnd (newer version is in the firmware)

* newer version of WildMIDI library

* MIDI playback using BASSMIDI (uses soundfonts for playing MIDI)

(can be set in the configuration file, default is WildMIDI)

* configuration editor (doesn't support changing button mappings)
 
Hi,

I updated X-COM: UFO Defense to version 1.4.0

Download it here:

Repo

Changes:

* added support for playing Adlib music

* when playing GM music, Windows music files are preferred when both Windows and DOS music files are present
 
Back
Top