Wednesday, December 21, 2011

[log] SoundRTS 1.1 alpha 8 released

Available at:
http://jlpo.free.fr/soundrts

The main changes since 1.1 alpha 7 are:

Gameplay:
  • bug fixed: now the mages tower can research meteors
  • bug fixed: the teleportation limit of 10 units could cause the first 10 mages to be teleported, leaving the other units unteleported, so I have completely removed this limit; I have kept the following limitation introduced in 1.1 alpha 7 though: if there is no space left at the destination then no more units are teleported there (it might prevent the game from slowing too much when too many units are teleported)

Map making:
  • map making manual: updated the part about the starting resources of each player

Game modding:
  • bug fixed: training, building or researching/upgrading something requiring 0 second (time cost of 0) won't cause an error anymore

Interface:
  • manual: added a note about activating TTS with Linux (speech dispatcher)


SoundRTS 1.1 and SoundRTS 1.0 should coexist in the same machine without any problem. The settings are also stored in different folders (respectively "SoundRTS unstable" and "SoundRTS 1.0").

About multiplayer games, this version is only compatible with itself. If you modify the rules.txt file or the ai.txt file, you need to send it to your friends if you want to play with them, or they won't find your server.

8 comments:

fabio said...

Hello!
Good, very good work, now I'm downloading this new version and try it.
Thank you very much.

Storm Dragon said...
This comment has been removed by the author.
Storm Dragon said...

I am using Ubuntu 10.04 Lucid. when I first ran the game it did not create the default user directory. I had to create it before any of my settings were saved. The game window stays after exit has been selected. I actually have to kill the process. I read through the documentation and although it mensions using speech-dispatcher I couldn't actually find where it says how to enable it. Here is the output from my terminal where I lanuched the game:
python soundrts.pyc
DEBUG: can't get volume serial number
DEBUG: user id = 0
DEBUG: can't get volume serial number
DEBUG: user id = 0
DEBUG: select_next_choice 0
DEBUG: select_next_choice 1
DEBUG: select_next_choice 2
DEBUG: select_next_choice 3
DEBUG: select_next_choice 4
This is where I selected quit and the window stayed even though it said it has closed.

SoundMUD said...

Sorry for the unnecessary complexity to select speech-dispatcher. The user directory was probably in your home folder at .SoundRTS unstable. You probably did the right thing (in the configuration file, sapi=1) because I think that I had noticed this bug too: the game works the first time but can't close; then when launched again the game can't speak. I'm making more tests on another Linux installation and speech doesn't work at all.

SoundMUD said...

After all, it seems that on Linux SoundRTS can't close even if speech isn't enabled.

SoundMUD said...

If python-speech-dispatcher is present the game won't close even if it isn't using it. I'll fix that but you can remove or rename linuxpytts.pyc. I still can't make speech-dispatcher work with SoundRTS: if speech-dispatcher is working then pygame can't open the sound mixer.

SoundMUD said...

I managed to make speech dispatcher and pygame work, by using alsa instead of pulse for speech-dispatcher.
I discovered that it was necessary to explicitly close the speech dispatcher speaker so SoundRTS can close.
The next version seems to work in other languages than English, probably because by chance I have added unicode support for another reason.
I might add a --speechd option to enable speech dispatcher more easily.

Storm Dragon said...

Excellent, I eagerly await the next release.