GithubHelp home page GithubHelp logo

soundcense's People

Contributors

algorithman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

soundcense's Issues

Mono and Missing .dll's

Before I say anything, I just want to mention that I'm not well versed in computer-speak and am, all things considered, a pretty pathetic Linux user. With that being said, I'm always willing to learn, and, in this particular case, I've been bashing my head against the problem for the last 5 hours, trying to approach it from so many different angles, and on every front I've hit nothing but dead ends. Basically, I want Sound Sense on DF--that's it.

I'm running Ubuntu 20.04
DF version is: 0.47.05
SoundCenSe v.1.4.4 (latest at the time)

OK, the nitty-gritty stuff:

  • I've installed the mono-complete package, and gtk-sharp2
  • SoundCense, in it's entirety has been unpackaged in my df_linux folder where the main executable can be found as well as the core game files.
  • I now attempt to run the SoundCenSeGTK.exe file with the command 'mono SoundCenSeGTK.exe'.
  • The only response is a curt and instantaneous:

[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libglib-2.0-0.dll assembly: type: member:(null)
at (wrapper managed-to-native) GLib.Marshaller.g_malloc(uintptr)
at GLib.Marshaller.StringToPtrGStrdup (System.String str) [0x0002a] in <7fabccec8b944d08a73d2c44188cf7f9>:0
at GLib.Global.set_ProgramName (System.String value) [0x00001] in <7fabccec8b944d08a73d2c44188cf7f9>:0
at Gtk.Application.SetPrgname () [0x0000d] in <64bd07ca456641de939ae0132964184c>:0
at Gtk.Application.Init () [0x00001] in <64bd07ca456641de939ae0132964184c>:0
at SoundCenSeGTK.MainClass.Main (System.String[] args) [0x000a7] in <39229d700ca34e4b81effba0ff3175b1>:0

With nothing else ... command line awaits next entry.

Windows has it's specific .dll files, and I'm assuming mono is trying to access one of them, but my being a Linux user has a special way of pissing it off--but that's just a guess. In any case, help would be greatly appreciated....

Promote sounds

Add possibility to get sound probability up for your favorites

SFX Control

Create a new SFX Control (Volume, Mute) with a variable list of playing sounds

Too many sounds at once crash SoundCenSe

I use a lot of scripts while playing Dwarf Fortress' adventure mode and I noticed that SoundCenSe randomly crashes while I play. I later found out that it consistently crashes whenever I use scripts that rapidly generate a lot of sounds in the log (such as picking up and dropping items).

If the sound queue gets too backed up with something along the lines of 200 or so sounds waiting to be played then SoundCenSe crashes. This limit won't really be reached in normal gameplay (unless an absurdly large fortress has a tantrum spiral), but it leads to problems when running scripts.

I tried this again with the original soundsense and it doesn't crash, but it spends a lot of CPU trying to play 50+ sounds / second)

Sound events aren't triggering?

2018-07-16 14:37:08.8333|WARN|SoundCenSeGTK.MainClass|Checking dll in registry
2018-07-16 14:37:10.1444|WARN|SoundCenSeGTK.SoundsXML|Include listing tag without valid 'filePathAndName' attribute encountered (make sure it ends in '.xml'!).

Disabling sounds

Buffer the last 10 or so played sounds for easy disabling of something annoying.
Display as list on demand.
Create a display of disabled sounds, for easy reenabling.

Controls to edit the config

Add controls to change the config (like soundpackspath and other things, which are not accessible by other means)

No more music after discovering a cavern

After discovering a cavern, adamantine, lava, etc... In other word when one of the "win music *.mp3" is played, there is no music anymore. This issue can be resolved by restarting the game or by waiting for a new season.

Windows failure

SoundCenSe is not currently compatible with Dwarf Fortress 64-bit on Windows.

You are using Process.MainModule to identify and get the path to Dwarf Fortress and its log files, but this property is not available from a 32-bit process to a 64-bit process. Normally it would throw an exception, but in this case it is buried in a try/catch that assumes all errors mean Dwarf Fortress closed, so it swallows them silently.

I thought you would want to know that SoundCenSe is not compatible with 64-bit Dwarf Fortress and why, if you did not already.

OSX ?

Hi, any chance to run this on OSX ?

Thanks
Martin

Frequent crashing

Hi

I have been encountering frequent crashes of the application with the following error in the log (this is the entire log for this session)

2017-01-19 06:47:05.1415|WARN|SoundCenSeGTK.MainClass|Checking dll in registry
2017-01-19 06:47:07.1915|WARN|SoundCenSeGTK.SoundsXML|Include listing tag without valid 'filePathAndName' attribute encountered (make sure it ends in '.xml'!).
2017-01-19 06:54:00.8535|ERROR|SoundCenSeGTK.PackDownloader|File http://df.zweistein.cz/soundsense/soundpack/autoUpdater.xml had wrong checksum (45328223b0bc4983941a7eef45e6721821a0207c<->b67a8d1a88a896bf3d1677d41037f17fa08e8170
2017-01-19 06:54:52.6242|WARN|missing|Loaded region8, Ecamo Alino (The Universes of Dawn) at coordinates (45,42)
2017-01-19 06:54:52.9537|WARN|missing|Loaded the fortress Erusharzes (Handleknight), colonized by the group Bithsestiden (The Triangular Paddle) of the civilization Catten Om (The Channels of Crushing).
2017-01-19 07:02:48.6198|ERROR|SoundCenSeGTK.LogFileListener|Exception while reading gamelog
2017-01-19 07:02:48.6228|ERROR|SoundCenSeGTK.LogFileListener|System.NullReferenceException: Object reference not set to an instance of an object.
   at SoundCenSeGTK.FmodChannelPool.IsSoundPlaying(String filename)
   at SoundCenSeGTK.fmodPlayer.PlaySound(SoundSoundFile sf, String channel, Single volume, Boolean mute)
   at SoundCenSeGTK.fmodPlayer.Play(ISound sound, Int64 x, Int64 y, Int64 z)
   at SoundCenSeGTK.SoundProcessor.ProcessLine(Object sender, GamelogEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SoundCenSeGTK.LogFileListener.OnLogfileEvent(String line)
   at SoundCenSeGTK.LogFileListener.Tick()

Many thanks, and keep up the good work, as I hate having to install Java just for Soundsense.

Masterpiece Messages Crash the Utility

Everytime a dwarf crafts a masterpiece, the utility crashes. I have tried changing the mp3, and I have tried removing all references to masterpieces in the productions.xml file. With both attempts, it still crashes.

I'm using LNP .44.12-r1

Uncaught Exception

I'm getting this error. I have all prerequisites installed, so I'm not sure what is happening here:
2017-06-28 06:28:56.1483|WARN|SoundCenSeGTK.MainClass|Checking dll in registry
2017-06-28 06:28:56.4915|FATAL|SoundCenSeGTK.MainClass|Uncaught Exception:
System.MissingMethodException: Method not found: '!!0[] System.Array.Empty()'.
at Gdk.PixbufLoader..ctor()
at Gdk.PixbufLoader..ctor(Assembly assembly, String resource)
at Gdk.Pixbuf..ctor(Assembly assembly, String resource)
at Gdk.Pixbuf.LoadFromResource(String resource)
at SoundCenSeGTK.MainWindow.Build()
at SoundCenSeGTK.MainWindow..ctor()
at SoundCenSeGTK.MainClass.Main(String[] args) System.MissingMethodException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.