Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 5 of 15     «   Prev   2   3   4   5   6   7   8   Next   »
RockStar

Avatar / Picture

Registered:
Posts: 34
Reply with quote  #61 
I'm looking at DMX devices.
What I'd like to do is an http post.
Hopefully pass a current custom_value.
The goal is custom html screens based on custom_values.
How can I get the value of a custom field without parsing a text file?
Is there an exposed way to query the server?
Maybe a client connection api?


<?xml version="1.0" encoding="UTF-8"?>
-<DMX_DEVICES>
-<profile name="default">
-<inputDevice firstChannel="1" channelCount="3" id="first light box">
<outputDevice param="1" type="dmx-3ch"/>
</inputDevice>-<inputDevice firstChannel="4" channelCount="1" id="Audio">
<outputDevice param="Default WaveOut Device" type="audio-1ch"/>
</inputDevice>
</profile>
<sound src="C:\Artemis\audio\RingyDingy.wav" value="1"/>
<sound src="C:\Artemis\audio\TapeStop.wav" value="2"/>
</DMX_DEVICES>


__________________
Have a good time all the time.
-Viv Savage
RockStar

Avatar / Picture

Registered:
Posts: 34
Reply with quote  #62 

Doesn't this mean I could dedicate a 5.1 card to individual speakers at each station?

O yes it does...

Time to source-control these xml files...

I need a MIDI driver...


__________________
Have a good time all the time.
-Viv Savage
Dave Thaler

Registered:
Posts: 414
Reply with quote  #63 
Quote:
Originally Posted by RockStar
I'm looking at DMX devices.
What I'd like to do is an http post.
Hopefully pass a current custom_value.
The goal is custom html screens based on custom_values.
How can I get the value of a custom field without parsing a text file?
Is there an exposed way to query the server?
Maybe a client connection api?


Not sure I understand exactly what you're trying to do, but you can monitor DMX state changes via a socket connection (i.e., TCP not HTTP), and you can trigger custom DMX cues via the same socket connection.  See here for more details.

RockStar

Avatar / Picture

Registered:
Posts: 34
Reply with quote  #64 
Yes that's exactly what I was looking for.
Got so wrapped up triggering audio I didn't RTFM.

So can I use the socket connect to send control changes to specific stations?
So far all I can think of is mapping controllers at the client.
Maybe the clients listen to 2012 as well?

I would like to be able to have global control mapping from a single controller.

__________________
Have a good time all the time.
-Viv Savage
Dave Thaler

Registered:
Posts: 414
Reply with quote  #65 
Quote:
Originally Posted by RockStar
Yes that's exactly what I was looking for.
Got so wrapped up triggering audio I didn't RTFM.

So can I use the socket connect to send control changes to specific stations?
So far all I can think of is mapping controllers at the client.
Maybe the clients listen to 2012 as well?

I would like to be able to have global control mapping from a single controller.


You can use custom DMX cues to trigger changes on whatever DMX addresses you configure in your DMXcommands profile.   If by "controller" you mean "DMX controller" then yes there's a single DMX controller, and if you have DMX lights (or other DMX devices) at different stations, you wire them all into the same DMX controller.
RockStar

Avatar / Picture

Registered:
Posts: 34
Reply with quote  #66 
Yes I understand the external DMX side of things.
I want to be able to manipulate game parameters via telnet (or something).

__________________
Have a good time all the time.
-Viv Savage
Dave Thaler

Registered:
Posts: 414
Reply with quote  #67 
I just released Artemis Bridge Tools v3.2.  Changelog:
  • Added DMX cues for AUTO_BEAMS_ON and WEAPONS_TARGET_SELECTED (requested by Cap Naes earlier in this thread)
  • Added DMX cues for SCIENCE_TARGET_SELECTED and CAPTAIN_TARGET_SELECTED (I mentioned the latter in the New DMX Cues thread and no one asked for it but it was trivial to add while adding the other two so I added it anyway)
  • Added glitch protection for PLAYER_SHIELDS_ON, ANY_TUBE_EMPTY, and ANY_TUBE_READY_TO_FIRE
  • Added ability for a mission script or socket client to trigger playing a video on the main screen or an alternate monitor
  • Fixed bug where scripting commands to preserve state into another mission didn't work unless a custom DMX cue was also used


Dave Thaler

Registered:
Posts: 414
Reply with quote  #68 
Some time ago AmnonLiu asked for the ability to play video effects on a given monitor in response to a DMX cue, much like Artemis Bridge Tools supports audio effects today, and it's been in my TODO list ever since.  Well I finally started working on it, and it's not quite done yet but I decided I also wanted the ability to play videos from mission scripts as Incoming Transmissions that could be put on screen, rather than only having text and audio transmissions like Artemis natively supports.   For testing, I created a dummy mission that, at the start, sends a transmission to Comms and lets them choose to play Longbowman's mission briefing video on screen (yes there are other examples in the forums I could have chosen, I just picked one...).   This works fine, but currently only AVI videos are supported, so you'll have to use some conversion utility to convert MP4 or MOV or whatever to AVI, which is what I did with Longbowman's video.  To me, such video transmissions greatly increase the immersion factor since transmissions from TSN command or even other enemy or NPC ships could be done on screen such as Star Trek does.  I would love to see someone create a mission script for a convention that uses this capability.

In the meantime, I plan to add the ability to trigger video effects on specified monitors from DMX cues as AmnonLiu requested.
notsabbat

Avatar / Picture

Registered:
Posts: 1,163
Reply with quote  #69 
Quote:
Originally Posted by Dave Thaler
Some time ago AmnonLiu asked for the ability to play video effects on a given monitor in response to a DMX cue, much like Artemis Bridge Tools supports audio effects today, and it's been in my TODO list ever since.  Well I finally started working on it, and it's not quite done yet but I decided I also wanted the ability to play videos from mission scripts as Incoming Transmissions that could be put on screen, rather than only having text and audio transmissions like Artemis natively supports.   For testing, I created a dummy mission that, at the start, sends a transmission to Comms and lets them choose to play Longbowman's mission briefing video on screen (yes there are other examples in the forums I could have chosen, I just picked one...).   This works fine, but currently only AVI videos are supported, so you'll have to use some conversion utility to convert MP4 or MOV or whatever to AVI, which is what I did with Longbowman's video.  To me, such video transmissions greatly increase the immersion factor since transmissions from TSN command or even other enemy or NPC ships could be done on screen such as Star Trek does.  I would love to see someone create a mission script for a convention that uses this capability.

In the meantime, I plan to add the ability to trigger video effects on specified monitors from DMX cues as AmnonLiu requested.


This is amazing! Thank you so much!


__________________
-Captain of the TSN Gungnir JN-001
-Eastern Front online group member
-My continuing bridge build:
http://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?pid=1290158413
Drachondius

Avatar / Picture

Registered:
Posts: 5
Reply with quote  #70 

I've got a little problem with my DMX Setup since I used DMX Tools.

 

So I built a cheap DMX-Setup after notsabbats guide. It worked perfectly with the vanilla Artemis (even got it on camera)

 

Then I wanted the lights to differ a bit from the original artemis dmx setup so i installed dmx tools.

i spend hours in configuring my setup and i also tested it inbetween with the build in tool from dmx tools. While testing everything worked fine.

then i started the game for the first time. it crashed. tried again. it crashed.

then i tried to start a vanilla artemis, it crashed.

I've decided to unistall everything (dmx tools and artemis)
[Also removed all BridgeTools files form AppData, hope I've found all]

Now the problem: I changed no wires, didnt install new drivers... nothing, just put up a fresh and clean install of artemis (checked the DMX Files, they dont refer to DMX Tools in AppData anymore) but my DMX build doesnt work anymore. It does not light in idle mode (steady white), when i put on shields it turns green but doesnt turn off anymore, when i dock at a station i have no yellow light while docking and it turns steady red when im docked (doesnt turn off), red alert just turns lights off and sometimes a light orange flickers.

 

Tested the setup with xLights, hardware works perfect.

Please help and sorry for my poor english ;D

EDIT: Even installed a fresh Brdige Tools: When I start the testmode it also shows me the wrong colors.

EDIT3: As soon as I install BridgeTools, Artemis won't start.

RockStar

Avatar / Picture

Registered:
Posts: 34
Reply with quote  #71 

Sounds like you need to unhook bridge tools.
Got to the Bridge Tools Folder (C:\Program Files (x86)\Artemis Bridge Tools).
Run UnhookArtemis.bat


__________________
Have a good time all the time.
-Viv Savage
Drachondius

Avatar / Picture

Registered:
Posts: 5
Reply with quote  #72 
Quote:
Originally Posted by RockStar

Sounds like you need to unhook bridge tools.
Got to the Bridge Tools Folder (C:\Program Files (x86)\Artemis Bridge Tools).
Run UnhookArtemis.bat

 

Already tried that.

 

Would be nice to know which files from Artemis control the DMX. And all the folders Bridge Tools is installed in. Are there any .dll files in system32... or anything like that.

notsabbat

Avatar / Picture

Registered:
Posts: 1,163
Reply with quote  #73 

I tried updating to the new version of Bridge tools to see if it would cause problems, but Artemis started up just fine. You are doing everything I would have done. If you have a Steam copy of the game make sure to delete the Artemis folder from the Steam directory before reinstalling it to make sure there are not any remnants of the old install. If the Hardware is testing fine with Xlights, my first guess was maybe the DMX coding of the vanilla game might have gotten messed up somehow, making sure the original folder is deleted before reinstall should help that if that's the case. 

You could also try putting the Artemis folder in a different location and linking the Bridge Tools to that new location. Might work...



__________________
-Captain of the TSN Gungnir JN-001
-Eastern Front online group member
-My continuing bridge build:
http://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?pid=1290158413
Drachondius

Avatar / Picture

Registered:
Posts: 5
Reply with quote  #74 
Quote:
Originally Posted by notsabbat

I tried updating to the new version of Bridge tools to see if it would cause problems, but Artemis started up just fine. You are doing everything I would have done. If you have a Steam copy of the game make sure to delete the Artemis folder from the Steam directory before reinstalling it to make sure there are not any remnants of the old install. If the Hardware is testing fine with Xlights, my first guess was maybe the DMX coding of the vanilla game might have gotten messed up somehow, making sure the original folder is deleted before reinstall should help that if that's the case. 

You could also try putting the Artemis folder in a different location and linking the Bridge Tools to that new location. Might work...


 

yes, yes and yes.

Did all of it. I'm now sure that I, at least, removed every little bit of Artemis or Bridge Tools.

So again fresh install (on another drive) of artemis. Same sh**.
Now I've changed the dmxcommand.xml by hand. juste increased the values. so for example:

 <event type="NORMAL_CONDITION_1" continuous="yes">

    <!-- steady soft white light -->
    <timeblock mseconds="1000">
      <setvalue index="2" value="100" change="0"/>
      <!-- red   value of first light box -->
      <setvalue index="3" value="100" change="0"/>
      <!-- green value of first light box -->
      <setvalue index="4" value="100" change="0"/>
      <!-- blue  value of first light box -->
    </timeblock>
  </event>


AT LEAST I can see the colours changing now when i turn shields on and off. And they don't stay i.e. green... but they are still the wrong colour.

Also I receive colorswtiching on both dip switch one or two in on position...

 

Dave Thaler

Registered:
Posts: 414
Reply with quote  #75 
Quote:
Originally Posted by Drachondius
Would be nice to know which files from Artemis control the DMX. And all the folders Bridge Tools is installed in. Are there any .dll files in system32... or anything like that.


See the top of the Technical Details section on the bridge tools web page.   There are no files in system32.

And installing (or hooking) and uninstalling (or unhooking) Artemis Bridge Tools for a given Artemis install, can be done from within Artemis DMX Editor or Artemis Mission Browser via "File -> Manage Artemis Install Locations...".   The buttons in that dialog wrap the HookArtemis.bat & UnhookArtemis.bat scripts that RockStar mentioned, but that dialog is easier to find and use.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.