Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 98 99 [100]

Author Topic: SoundSense: a sound engine for dwarf fortress.  (Read 347970 times)

Thundercraft

  • Bay Watcher
    • View Profile
Re: SoundSense: a sound engine for dwarf fortress.
« Reply #1485 on: June 11, 2018, 03:36:44 pm »

Hello, I'm having a problem with soundsense. When I try to run it, the command prompt appears for a split second then closes. I tried installing the newest version of java,but still nothing. please help.

AFAIK, there's your problem: You installed the latest version of Java. SoundSense hasn't been updated in a while and it requires an older version of Java.

You could try to uninstall your Java and install the older version it requires. Alternatively, you could try installing SoundCenSe, which is a C# port of SoundSense, which means that it does not require Java.
Logged

KoopaMan

  • Escaped Lunatic
    • View Profile
Re: SoundSense: a sound engine for dwarf fortress.
« Reply #1486 on: June 11, 2018, 06:46:59 pm »

that's the problem, SoundCense doesn't work either. which version of java do I need to run soundsense? unless you know why SoundCense does nothing when I try to run it...
Logged

Thundercraft

  • Bay Watcher
    • View Profile
Re: SoundSense: a sound engine for dwarf fortress.
« Reply #1487 on: June 11, 2018, 11:55:24 pm »

that's the problem, SoundCense doesn't work either.

I can think of some reasons why it won't work for you. But, to avoid getting off topic and to possibly help others, I've posted my reply here in the SoundCenSe topic.

which version of java do I need to run soundsense? unless you know why SoundCense does nothing when I try to run it...

One or more of these posts may help:

Soundsense has topped working (in lazy newb pack).  ie wont even startup.  I think maybe its a java update issue?  now on Java 1.8.101 (should that be 64bit or not?).
I can't help with specifics (I'm not a programmer, coder or dev for any mods), but a few general ideas may help:
    Download the latest standalone Java local /remover/ tool. The Adobe (or whoever owns Java this week) one works fairly well but there are others; a quick Google should help

    Download the full standalone Java runtime executable, then unplug your machine from its router (or otherwise disallow /any/ Net access.. turn wifi off, disable NICs from Device Manager etc). This will stop assorted autoupdate routines running while you're trying to do things locally

    Run the Java removal tool. This /should/ remove any old versions of Java, & assorted associations along with them. Java has a chequered history of exploits, & a full clean should disable them, plus get rid of any contention between old versions' DLLs etc

    Make sure your network connection /doesn't/ re-enable itself upon reboot! Then Reboot (nuke from orbit), just to be sure.

    Once you're sure you're clean of old Java bits & associations, run the full standalone Java install executable. It'll complain it can't get Net access; ignore it until everything else is up & running

    Now you can check DF + SS.. do things work? If not, then it's a local machine config issue; if it does, go ahead & connect back up to the Net :)

Prior to v7 (I think) Java had a nasty habit of leaving all its old files & associations around to be used by whatever came along. v7+ improved the cleanup process but didn't do a particularly good job, hence the necessity for a full removal tool

Running soundsense.jar gives me "A Java Exception has occured"
Running Soundsenseexe tells me "Launch4j: The registry refers to a nonexistent Java Runtime Enviroonment installation or the runtime is corrupted.

The system cannot find the path specified."

SoundSense works for me on both my machine running Java 1.60_15-b03-219 and my machine running Java 1.8.0_66-b18.

Update: I used CCleaner to clean my registry.

soundsense application still fails, but soundSense (windows command script) works.  I started dwarf fortress from the starter pack, and manually ran soundSense.cmd (Running it from the starter pack I think just fires up the application, which fails).  I created a world, and soundsense started playing the music.

The command script wasn't working until I ran ccleaner and allowed the recommended fixes in my registry.

At least, everything I tried before running ccleaner failed, and I think I ran the command file.

Weird, SoundSense was working just fine last night with the LNP but today suddenly stopped firing. The only thing I've done today (that I know of) is update Waterfox 64.

Anyways, I ran SoundSenseExe.cmd to see the error message.

[Fatal Error]Premature End of File.

Somehow my installation got gakked up but I have no idea how.

edit

Reinstall fixed it.

Whenever I try to start Soundsense, just a little black console pops up for a fracture of a second and then vanishes agein, apart from that nothing happens.
Windows_key+r
type "cmd", press enter
type "cd ", then drag and drop your soundsense folder onto the console window, press enter
type "soundSense.exe", press enter

Check what error messages show up.

thanks for the quick answer!

it says:
"Launch4J: The registry refers to a nonexistent java runtime environment installation or the runtime is corrupt.

The system cannot find the file specified"

Apparently my antivirus updated java runtime environment some days ago   ??? ::)

I have deinstalled all java updates, did a fresh download and everything works now

thank you for the console-magic!  :D
Logged

HydraliskMan!

  • Escaped Lunatic
    • View Profile
Re: SoundSense: a sound engine for dwarf fortress.
« Reply #1488 on: July 14, 2018, 01:02:55 pm »

So I posted a song I composed for my orchestra entitled 'The Dwarf Fortress Overture' on the reddit, and people suggested I send it to you guys to maybe use :)

https://www.youtube.com/watch?v=CZr7k8gGL0s

Please have a look at it, even if you aren't a part of the SoundSense team!
« Last Edit: July 14, 2018, 01:06:06 pm by HydraliskMan! »
Logged
Pages: 1 ... 98 99 [100]