661
DF General Discussion / Re: PC Gamer does a DF story
« on: June 09, 2011, 07:29:55 am »
So, anyone got scans/links/any more info?
April 23, 2024: Dwarf Fortress 50.13 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
Are any of the dwarves fighting the roach using artifact weapons?
Bomrek Lokumlokum, King, has mandated the construction of a gemstone ball-pit.
Out of repairs come more errors unfortunately.QuoteException with ./packs/battle/gore/85847__MWLANDI__Meat_Slap_3.mp3: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 48000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.: line with format PCM_SIGNED 48000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
The file plays at the correct time and sounds fine.It can be that, but it also could be that source file is mono - it is kinda bizare, but sound api can not position mono tracks. This can be remedied by converting mp3s to stereo.
It looks like there is something wrong with the new stereo balance feature in linux.
I guess I will expand error message to be more informative if source track is mono.
Please don't convert all the mono sounds to stereo if this can be avoided. That practically doubles the size of such files.And the SoundPack is already over 137 Mb... It's true that there are not many mono sounds right now. But when I get around to finishing my additions, there will be a bunch more.
Besides, from what I'm reading, the source being mono may not be the problem at all:I took a look at some of the mp3 files. So far none of them are mono.
I opened the file I posted the error for in Audacity and you can clearly see that it is stereo.At least the files still play when this error comes up.Spoiler (click to show/hide)
Seems to have improved something, but now I get this instead:Quote06/06/2011 09:07:12.157: Exception with ./packs/mandates/34209__acclivity__ClearingThroat_Female.mp3: java.lang.IllegalArgumentException: Mute not supported: Mute not supported
On Ubuntu 11.04 installed as outlined in my previous posts I get the following error message in the the terminal when a file plays.Quote06/06/2011 10:24:58.741: Balance control not supported for ./packs/mandates/34209__acclivity__ClearingThroat_Female.mp3!The file plays at the correct time and sounds fine.
I looks like there is something wrong with the new stero balance feature in linux.
you havent been playing dwarf fortress for long, did you?

Zwei, how's the war against the cockroach going?
The flying -copper bolt- strikes The Forgotten Beast in the left antenna and the severed part sails off in an arc!
I've got sun-java6 and openjdk-6-jre installed already. Anything else I could try as a fix?
...adventurer combat messages are not fully implemented (notably, messages related to player character doing something).Are these combat messages being worked on still?
Also, I remember a while ago you mentioned that it's currently not possible to have a lot of sounds in Adventure Mode because many of the events exclusive to Adventure Mode are resolved in chat, rather than put in the game log, where SoundSense could detect them. (See the Logging improvement thread for details.) I believe I may have stumbled across a method to resolve part of this problem.
Specifically, the "announcements.txt" file found in the "...\data\init\" folder seems to tell the game whether to output game messages to the adventure or dwarf announcements log, the combat report log, a message box which pops up on screen, etc.QuoteBOX or DO_MEGA: the announcment will appear in a box and pause the game
P or PAUSE: the announcement will cause the game to pause
R or RECENTER: the announcement will cause the game to recenter (if possible)
A_D or A_DISPLAY: the announcement will be displayed in the main adventure announcement log (and on screen)
D_D or D_DISPLAY: the announcement will be displayed in the main dwarf announcement log (and at the bottom)
UCR or UNIT_COMBAT_REPORT: the announcement will be associated to the unit combat/hunting/sparring reports
UCR_A or UNIT_COMBAT_REPORT_ALL_ACTIVE: the announcement will be associated to any active unit combat/hunting/sparring reports, but if there are no reports it will not create one
Couldn't this file be adjusted so that more useful events are put in the game log, allowing SoundSense to detect more stuff?
EDIT: Damn it. The interface starts up, and sounds are being recognised, but whenever one should play, the terminal gives me this:Quote31/05/2011 10:02:30.005: The {silver war hammer} has lodged firmly in the wound! <-- that takes some strength, eh
31/05/2011 10:02:30.009: Dwarf 9 has been struck down.
31/05/2011 10:02:30.011: Exception with ./packs/deaths/WilhelmScream_vbr.mp3: javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input file: could not get audio input stream from input file