Jump to content



Photo
- - - - -

Is it possible to have multiple directoutputconfig.ini files such as one per table

directoutput.ini

  • Please log in to reply
3 replies to this topic

#1 james wiser

james wiser

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Favorite Pinball: AFM

Posted 15 May 2023 - 10:06 PM

Question on port # assignments in the directoutputconfig.ini.  Is it possible to assign ports by table ?  I think there are different ways to do this, so I will explain what I want to achieve and let the experts guide me.

 

I have 2 beacons on my cabinet.  One is red and one is blue.  They are different port numbers, but I can only define one port as my beacon.

 

port 15 = Red

port 16 = Blue

 

The dofconfig tool only lets me define one as the beacon

 

What I want to do is use the red beacon when playing attack from mars and the blue beacon when playing Tron

 

Is there a way by table to define what port is the beacon ?

 

Is this a variable or if  then logic in the directoutputconfig.ini file.  ?

 

Is there a way to load a directoutputconfig.ini file per table when you launch via pin up ?

 

Thanks in advance for the help

 

James



#2 james wiser

james wiser

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Favorite Pinball: AFM

Posted 16 May 2023 - 01:34 PM

I was looking at the DOF documentation and it looks like it might be possible based on setting specific parameters of the table.
 
The Trigger section of the documentation you can use Condition logic.  The link to the language reference is broken.
 
I am looking into it further.
 
 
[Config DOF]
 
afm,S48,S9,0,0,S3/S11,S1/S2/S46,S10,0,S4/S13,S12/S16,S7,ON,ON,0,L86,L88,S27 Red/S11 Red/S28 Green/W56 Green/W57 Green/W58 Green,S9 Blue/S25 Red/S26 Red/W43 Green,S12 Red/S21 Red/S23 Green,S10 Blue/S17 Red/S18 Red/S22 Yellow/W38 Yellow/W44 Green,S19 Red/S13 Red/S20 Green/W41 Green/W42 Green/W48 Yellow,S5 600 I32/S6 600 I32/S8 600 I32/S14 600 I32/S15 600 I32
 
 
 
Trigger parameters
 
The first part of a setting defines how the setting/effect is triggered and must always be one of the following:
 
TableElementTypeChar plus Number (e.g. S48 for solenoid 48) determines which table element is controlling the specified effect.
List of TableElementTypeChars plus Numbers delimited by | (e.g. S48|W12|L59). This setting assigns the same effect to all table elements in the list.
 
Condition which controlles wether the effect is triggered or not. Conditions must always be in brackets. Example: (S48=1 and W29=0 and (L59=1 or L43<>0)).
 
For more details regarding the the expression language for conditions please read: http://flee.codeplex...nguageReference
 
 
In addition, 
 
I did find this as well. 
 
DOF Configtool Client
 
 
This looks like it will work, based on use-case.  I am looking more into it.   Anyone use this ?
 
Thanks,  James
 

 



#3 james wiser

james wiser

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Favorite Pinball: AFM

Posted 16 May 2023 - 07:06 PM

Ok here is what I think will work
 
In DOF ConfigTool 
 
Port Assignments
 
Port 13 = Custom Output 2
Port 14 = Custom Output 1
Port 15 = Beacon
 
 

Custom 2 is Green Beacon =  port 13

Custom 1 is Blue Beacon = port 14

Beacon is Red Beacon = port 15

 

Table Config 

 

Beacon S15 m1500 max40000

 

Custom Output 1  S15 m1500 max40000

 

Custom Output 2  S15 m1500 max40000

 

* Note the port numbers  are how they are setup for my config.  Your ports # will be different, use your ports,  but the concept still works.

 

Now when you generate the directoutputconfigxx.ini file you will see the following:   (Attack from Mars Example)

 

[Config DOF]
 
afm,S48,S46,0,0,0,0,0,0,0,0,0,0,S15 m1500 max40000,S15 m1500 max40000,S15 m1500 max40000,S1 300/S3 300/S4 400/S7 300/S39 500 10/W64 500 10/W65 500 10,S27 Red nobool/S11 Red/S28 Green nobool/W74 Red f200,S9 Blue/S25 Red nobool,S12 Red/S21 Red nobool/S23 Green nobool/S26 Red nobool,S17 Red/S18 Red/S29 Red/S13 Red/S7 Red/S20 Green,S19 Red nobool/S13 Red/S20 Green nobool/W48 Yellow f200/W72 Red f200
 
position 13, 14 and 15 in the data set are the table S15 trigger for the Beacon.  These are port # 13, 14, 15
 
in the mapping
 

Custom 2 is Green Beacon =  port 13

Custom 1 is Blue Beacon = port 14

Beacon is Red Beacon = port 15

 

If I only want the Red to be used I would set to 0 or blank in the DOF Config Tool Custom 2 and Custom 1

 

If I only wan the Green to be used I would set  to 0 or blank in the DOF Config Tool  Beacon and Custom 1

 

If I only wan the Blue to be used I would set  to 0 or blank in the DOF Config Tool  Beacon and Custom 2

 

You can control each one per table,  have 1 work to have all 3 work,  its your choice.

 

You would just need the table name / rom entries under 

 

[Config DOF]
 
I am going to give this a try
 
Thanks,
 
James


#4 james wiser

james wiser

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Favorite Pinball: AFM

Posted 17 May 2023 - 01:39 PM

This works

 

Following this type of logic you can have 3 beacons on the top of your VPIN.  Lets say  RED BLUE and GREEN.  By game as defined in [Config DOF] in your directoutputconfigXX.ini file you can control what game uses what beacons. 

 

Hope this helps someone.

 

Thanks,  James