Skip to content

Commit

Permalink
X-COM 1,2 release version 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
M-HT committed Sep 22, 2024
1 parent 6cd32a1 commit d2f01d5
Show file tree
Hide file tree
Showing 16 changed files with 342 additions and 22 deletions.
4 changes: 2 additions & 2 deletions games/X-Com - Terror from the Deep/SR-Xcom2/input/pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ void Handle_Timer_Input_Event(void)

event.type = SDL_USEREVENT;
event.user.code = EC_MOUSE_MOVE;
event.user.data1 = (void *) deltax;
event.user.data2 = (void *) deltay;
event.user.data1 = (void *)(intptr_t) deltax;
event.user.data2 = (void *)(intptr_t) deltay;

SDL_PushEvent(&event);
}
Expand Down
14 changes: 12 additions & 2 deletions games/X-Com - Terror from the Deep/release/linux/Ufo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Music=on
# 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_Resampling_Quality=0/1 - audio resampling quality (higher = better)
# Audio_MIDI_Subsystem=alsa/wildmidi/bassmidi/adlmidi/sdl_mixer/adlib-dosbox_opl/mt32-munt/mt32-alsa - library for music playback - General MIDI music (ALSA sequencer, WildMIDI, BASSMIDI, ADLMIDI or SDL_mixer library), Adlib music or MT-32 music (MUNT emulator or ALSA sequencer)
# ALSA sequencer can use hardware or software synth (like Fluidsynth or TiMidity++).
# WildMIDI uses GUS patch files for playback.
Expand All @@ -48,7 +48,7 @@ Audio_Channels=stereo
Audio_Resolution=16
Audio_Sample_Rate=44100
Audio_Buffer_Size=2048
Audio_Interpolation=on
Audio_Resampling_Quality=1
Audio_MIDI_Subsystem=adlmidi
Audio_SoundFont_Path=
Audio_MIDI_Device=
Expand Down Expand Up @@ -78,3 +78,13 @@ Display_AdvancedScaler=normal
Display_ScalerFactor=max
Display_ExtraScalerThreads=auto


# Input settings
# --------------
#
# Input_GameController=yes/no - use gamepad or joystick as mouse/keyboard
# Input_Controller_Deadzone=0-8190 - gamepad/joystick deadzone

Input_GameController=no
Input_Controller_Deadzone=1000

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
X-COM: Terror from the Deep for Linux (arm-aarch64)
Version 1.5.1
Version 1.6.0

Original DOS X-COM: Terror from the Deep is required for playing.
(Gold version for Windows should also work)
Expand Down Expand Up @@ -85,6 +85,22 @@ Configuration can be changed either by editing the configuration file directly,
or by configuration editor (xcom2-setup.sh).


Controls
--------

The game can use gamepad or joystick to emulate mouse and keyboard, if it's enabled in the configuration file.

Controller mappings can be added using file gamecontrollerdb.txt.

Gamepad / joystick controls:
Analog stick/pad: mouse movement
Digital stick/pad: mouse movement
A/X / 1st joystick button: left mouse button
B/Y / 2nd joystick button: right mouse button
Start / 3rd joystick button: virtual keyboard
Back / 4th joystick button: enter key


Misc
----

Expand All @@ -101,6 +117,8 @@ Nuked OPL3 emulator uses version 2.1 or later of the GNU Lesser General Public L

MUNT emulator uses version 2.1 or later of the GNU Lesser General Public License (LGPLv2.1).

The game optionally uses SpeexDSP library for audio resampling (https://github.com/xiph/speexdsp).

Source code is available on GitHub: https://github.com/M-HT/SR

HQX scaler uses neon instructions.
Expand All @@ -110,6 +128,16 @@ Nuked OPL3 emulator uses neon instructions.
Changes
-------

v1.6.0 (2024-09-22)
* add option to use higher quality audio resampling
* remove option to interpolate audio when resampling
* add support for higher sampling rates
* add support for using gamepad or joystick as mouse/keyboard
* use latest versions of libADLMIDI, WildMIDI libraries
* change setting volume in libADLMIDI
* modify ALSA midi plugin to try all ports with the same client number when looking for midi port based on client name
* minor bug fixes

v1.5.1 (2023-11-17)
* fix aspect ratio in fullscreen
* optimize floating point instructions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
X-COM: Terror from the Deep for Linux (armv7-gnueabihf)
Version 1.5.1
Version 1.6.0

Original DOS X-COM: Terror from the Deep is required for playing.
(Gold version for Windows should also work)
Expand Down Expand Up @@ -85,6 +85,22 @@ Configuration can be changed either by editing the configuration file directly,
or by configuration editor (xcom2-setup.sh).


Controls
--------

The game can use gamepad or joystick to emulate mouse and keyboard, if it's enabled in the configuration file.

Controller mappings can be added using file gamecontrollerdb.txt.

Gamepad / joystick controls:
Analog stick/pad: mouse movement
Digital stick/pad: mouse movement
A/X / 1st joystick button: left mouse button
B/Y / 2nd joystick button: right mouse button
Start / 3rd joystick button: virtual keyboard
Back / 4th joystick button: enter key


Misc
----

Expand All @@ -101,6 +117,8 @@ Nuked OPL3 emulator uses version 2.1 or later of the GNU Lesser General Public L

MUNT emulator uses version 2.1 or later of the GNU Lesser General Public License (LGPLv2.1).

The game optionally uses SpeexDSP library for audio resampling (https://github.com/xiph/speexdsp).

Source code is available on GitHub: https://github.com/M-HT/SR

HQX scaler uses neon instructions.
Expand All @@ -110,6 +128,16 @@ Nuked OPL3 emulator uses neon instructions.
Changes
-------

v1.6.0 (2024-09-22)
* add option to use higher quality audio resampling
* remove option to interpolate audio when resampling
* add support for higher sampling rates
* add support for using gamepad or joystick as mouse/keyboard
* use latest versions of libADLMIDI, WildMIDI libraries
* change setting volume in libADLMIDI
* modify ALSA midi plugin to try all ports with the same client number when looking for midi port based on client name
* minor bug fixes

v1.5.1 (2023-11-17)
* fix aspect ratio in fullscreen
* minor bug fixes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
X-COM: Terror from the Deep for Linux (x86)
Version 1.5.1
Version 1.6.0

Original DOS X-COM: Terror from the Deep is required for playing.
(Gold version for Windows should also work)
Expand Down Expand Up @@ -85,6 +85,22 @@ Configuration can be changed either by editing the configuration file directly,
or by configuration editor (xcom2-setup.sh).


Controls
--------

The game can use gamepad or joystick to emulate mouse and keyboard, if it's enabled in the configuration file.

Controller mappings can be added using file gamecontrollerdb.txt.

Gamepad / joystick controls:
Analog stick/pad: mouse movement
Digital stick/pad: mouse movement
A/X / 1st joystick button: left mouse button
B/Y / 2nd joystick button: right mouse button
Start / 3rd joystick button: virtual keyboard
Back / 4th joystick button: enter key


Misc
----

Expand All @@ -101,12 +117,24 @@ Nuked OPL3 emulator uses version 2.1 or later of the GNU Lesser General Public L

MUNT emulator uses version 2.1 or later of the GNU Lesser General Public License (LGPLv2.1).

The game optionally uses SpeexDSP library for audio resampling (https://github.com/xiph/speexdsp).

Source code is available on GitHub: https://github.com/M-HT/SR


Changes
-------

v1.6.0 (2024-09-22)
* add option to use higher quality audio resampling
* remove option to interpolate audio when resampling
* add support for higher sampling rates
* add support for using gamepad or joystick as mouse/keyboard
* use latest versions of libADLMIDI, WildMIDI libraries
* change setting volume in libADLMIDI
* modify ALSA midi plugin to try all ports with the same client number when looking for midi port based on client name
* minor bug fixes

v1.5.1 (2023-11-17)
* fix aspect ratio in fullscreen
* minor bug fixes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
X-COM: Terror from the Deep for Linux (x64)
Version 1.5.1
Version 1.6.0

Original DOS X-COM: Terror from the Deep is required for playing.
(Gold version for Windows should also work)
Expand Down Expand Up @@ -85,6 +85,22 @@ Configuration can be changed either by editing the configuration file directly,
or by configuration editor (xcom2-setup.sh).


Controls
--------

The game can use gamepad or joystick to emulate mouse and keyboard, if it's enabled in the configuration file.

Controller mappings can be added using file gamecontrollerdb.txt.

Gamepad / joystick controls:
Analog stick/pad: mouse movement
Digital stick/pad: mouse movement
A/X / 1st joystick button: left mouse button
B/Y / 2nd joystick button: right mouse button
Start / 3rd joystick button: virtual keyboard
Back / 4th joystick button: enter key


Misc
----

Expand All @@ -101,12 +117,24 @@ Nuked OPL3 emulator uses version 2.1 or later of the GNU Lesser General Public L

MUNT emulator uses version 2.1 or later of the GNU Lesser General Public License (LGPLv2.1).

The game optionally uses SpeexDSP library for audio resampling (https://github.com/xiph/speexdsp).

Source code is available on GitHub: https://github.com/M-HT/SR


Changes
-------

v1.6.0 (2024-09-22)
* add option to use higher quality audio resampling
* remove option to interpolate audio when resampling
* add support for higher sampling rates
* add support for using gamepad or joystick as mouse/keyboard
* use latest versions of libADLMIDI, WildMIDI libraries
* change setting volume in libADLMIDI
* modify ALSA midi plugin to try all ports with the same client number when looking for midi port based on client name
* minor bug fixes

v1.5.1 (2023-11-17)
* fix aspect ratio in fullscreen
* optimize floating point instructions
Expand Down
14 changes: 12 additions & 2 deletions games/X-Com - Terror from the Deep/release/windows/Ufo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Music=on
# 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_Resampling_Quality=0/1 - audio resampling quality (higher = better)
# Audio_MIDI_Subsystem=nativewindows/wildmidi/bassmidi/adlmidi/sdl_mixer/adlib-dosbox_opl/mt32-munt/mt32-nativewindows - library for music playback - General MIDI music (Native Windows, WildMIDI, BASSMIDI, ADLMIDI or SDL_mixer library), Adlib music or MT-32 music (MUNT emulator or Native Windows)
# NativeWindows can use hardware or software synth.
# WildMIDI uses GUS patch files for playback.
Expand All @@ -48,7 +48,7 @@ Audio_Channels=stereo
Audio_Resolution=16
Audio_Sample_Rate=44100
Audio_Buffer_Size=2048
Audio_Interpolation=on
Audio_Resampling_Quality=1
Audio_MIDI_Subsystem=nativewindows
Audio_SoundFont_Path=
Audio_MIDI_Device=
Expand Down Expand Up @@ -78,3 +78,13 @@ Display_AdvancedScaler=normal
Display_ScalerFactor=max
Display_ExtraScalerThreads=auto


# Input settings
# --------------
#
# Input_GameController=yes/no - use gamepad or joystick as mouse/keyboard
# Input_Controller_Deadzone=0-8190 - gamepad/joystick deadzone

Input_GameController=no
Input_Controller_Deadzone=1000

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
X-COM: Terror from the Deep for Windows (x86)
Version 1.5.1
Version 1.6.0

Original DOS X-COM: Terror from the Deep is required for playing.
(Gold version for Windows should also work)
Expand Down Expand Up @@ -69,6 +69,22 @@ Configuration
Configuration is stored in the file Ufo.cfg.


Controls
--------

The game can use gamepad or joystick to emulate mouse and keyboard, if it's enabled in the configuration file.

Controller mappings can be added using file gamecontrollerdb.txt.

Gamepad / joystick controls:
Analog stick/pad: mouse movement
Digital stick/pad: mouse movement
A/X / 1st joystick button: left mouse button
B/Y / 2nd joystick button: right mouse button
Start / 3rd joystick button: virtual keyboard
Back / 4th joystick button: enter key


Misc
----

Expand All @@ -85,12 +101,24 @@ Nuked OPL3 emulator uses version 2.1 or later of the GNU Lesser General Public L

MUNT emulator uses version 2.1 or later of the GNU Lesser General Public License (LGPLv2.1).

The game optionally uses SpeexDSP library for audio resampling (https://github.com/xiph/speexdsp).

Source code is available on GitHub: https://github.com/M-HT/SR


Changes
-------

v1.6.0 (2024-09-22)
* add option to use higher quality audio resampling
* remove option to interpolate audio when resampling
* add support for higher sampling rates
* add support for using gamepad or joystick as mouse/keyboard
* use latest versions of libADLMIDI, WildMIDI libraries
* change setting volume in libADLMIDI
* modify NativeWindows midi plugin to reopen midi device after device reset
* minor bug fixes

v1.5.1 (2023-11-17)
* fix aspect ratio in fullscreen
* minor bug fixes
Expand Down
4 changes: 2 additions & 2 deletions games/X-Com - Ufo Defense/SR-Xcom1/input/pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ void Handle_Timer_Input_Event(void)

event.type = SDL_USEREVENT;
event.user.code = EC_MOUSE_MOVE;
event.user.data1 = (void *) deltax;
event.user.data2 = (void *) deltay;
event.user.data1 = (void *)(intptr_t) deltax;
event.user.data2 = (void *)(intptr_t) deltay;

SDL_PushEvent(&event);
}
Expand Down
14 changes: 12 additions & 2 deletions games/X-Com - Ufo Defense/release/linux/Ufo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Music=on
# 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_Resampling_Quality=0/1 - audio resampling quality (higher = better)
# Audio_MIDI_Subsystem=alsa/wildmidi/bassmidi/adlmidi/sdl_mixer/adlib-dosbox_opl/mt32-munt/mt32-alsa - library for music playback - General MIDI music (ALSA sequencer, WildMIDI, BASSMIDI, ADLMIDI or SDL_mixer library), Adlib music or MT-32 music (MUNT emulator or ALSA sequencer)
# ALSA sequencer can use hardware or software synth (like Fluidsynth or TiMidity++).
# WildMIDI uses GUS patch files for playback.
Expand All @@ -48,7 +48,7 @@ Audio_Channels=stereo
Audio_Resolution=16
Audio_Sample_Rate=44100
Audio_Buffer_Size=2048
Audio_Interpolation=on
Audio_Resampling_Quality=1
Audio_MIDI_Subsystem=adlmidi
Audio_SoundFont_Path=
Audio_MIDI_Device=
Expand Down Expand Up @@ -78,3 +78,13 @@ Display_AdvancedScaler=normal
Display_ScalerFactor=max
Display_ExtraScalerThreads=auto


# Input settings
# --------------
#
# Input_GameController=yes/no - use gamepad or joystick as mouse/keyboard
# Input_Controller_Deadzone=0-8190 - gamepad/joystick deadzone

Input_GameController=no
Input_Controller_Deadzone=1000

Loading

0 comments on commit d2f01d5

Please sign in to comment.