Jump to content



Photo
* * * * * 1 votes

DOFLinx in start up folder not working right

DOFLinx start up folder admin

  • Please log in to reply
43 replies to this topic

#1 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 18 March 2017 - 02:39 AM

UPDATE: 7/13/2020

Now that DOFLinx will run without admin (Version 7.00 and higher)

With the latest DOFLinx there should be no reason to run any Pinball Related Software As Administrator (Admin)
So putting a shortcut in the windows 10 Start up folder should just work

See the guide that comes with DOFLinx

 

 

 

I am running Windows 10....

The UAC is turned off

I have tried this on two different computer setups... If I put a shortcut in the start up folder for the DOF to run continuously in the background and is set to run as administrator when I boot the computer it never runs in the background...

if I turn off run as administrator then it works fine... Of course then the program won't work the way it should

 

Try this Solution

 

Download and unzip into the same place you have DOFLinx.exe

Then right click and drag it to your shell:startup folder, then click make shortcut

 

Attached File  DOFLinxWindowsStartup.zip   235bytes   543 downloads


Edited by Outhere, 13 July 2020 - 05:05 PM.


#2 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 18 March 2017 - 02:49 AM

Strange, the way you describe is how I run it on Win 10.

 

Perhaps add DEBUG=1 to your INI so that you get a LOG from the very beginning and lets see what its doing when it runs from the Startup folder.  Are you using an INI on the command line with your Startup folder setup?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#3 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 18 March 2017 - 03:13 AM

It makes no log file with admin rights because it's not running but I have it in the startup folder so it should be running but it does not

DEBUG=1 is on

I do not know what you mean by this  -->Are you using an INI on the command line with your Startup folder setup?

 

Log Without admin rights and did not play a game

17-Mar-17 22:08:37.853 - DOF Linx for Pinball Emulators - DOFLinx by DDH69
17-Mar-17 22:08:37.869 - Starting up - version 4.22
17-Mar-17 22:08:37.907 - 1 LEDWiz device(s) found
17-Mar-17 22:08:37.922 - DOFLinx device: 1 Initializing as LEDWiz #1 with ID=0
17-Mar-17 22:08:37.922 - DOFLinx device:1 LEDWiz setup with 32 outputs
17-Mar-17 22:08:38.085 - 1 FTDI (Sainsmart) device(s) found
17-Mar-17 22:08:38.232 - DOFLinx Device: 2 Initializing as FTDI (Sainsmart) #1 serial # AH035EZ9
17-Mar-17 22:08:38.239 - DOFLinx device:2 FTDI (Sainsmart) setup with 8 outputs
17-Mar-17 22:08:38.243 - Reading DOFLinx.INI startup config file details
17-Mar-17 22:08:38.253 - Reading DOF config file

-

Ini File

-

####
# The config file for DOFLinx
# A mad idea by DDH69 to have some flipper sounds, RGB display and turn buttons on when playing Pinball FX2 via Steam
# Its grown a lot since that silly start!
# Note - this works with LEDWiz, PacLed64, KL25Z and Sainsmart (FTDI devices)
# Edit this file as you see fit, lines that start with a hash (#) or are blank are not processed.  This blurb and comments can be cut out if you want.
#
# Output devices outputs are entered in the format of
# device (D) and output number (#) in the format D##, so controller device 1 and output 3 is "103" without the quotes, controller board 2 output 23 is "223" without quotes
####

# location of your standard DOF outut configuration file.  Keep this as the first item in the file
DIRECTOUTPUTCONFIG=e:\DirectOutput\config\directoutputconfig.ini


# If you want to list the processes that will wake up DOFFX2, comment it out if you just want Pinball FX2
PROCESSES=Pinball FX2,Future Pinball
#,VPinball_9_9_1,VPPhysMod5
# Which DOF Controller output for the flipper solenoids / contactors
L_FLIPPER_OUTPUT=204
R_FLIPPER_OUTPUT=208
# The keyboard hex code for the key that is used for each flipper from https://msdn.microso...1(v=vs.85).aspx
# Left Shift = A0, Right Shift = A1
L_FLIPPER_KEY=27
R_FLIPPER_KEY=25
# Just in case things go wrong (ie no keyup signal is detected, flipper held down for a long time), what is the maximum time a flipper solenoid / contactor can be in in milliseconds
MAX_FLIPPER_ON=2000
# What LEDWiz output(s) are used for RGB devices.  Just enter the Red output number.  Multiples can be entered seperated by a comma
#RGB_OUTPUT=117,120,123,126
# Rainbow - cycle through the colours, Random - pick a random next colour, A colour name as it appears in the DirectOutputConfig.ini file
RGB_STYLE=FIXED
# What changes the colour?  Time - set time period, Flipper = flipper press after the RGB_TRIGGER minimum time (to stop rapid colour changes)
#RGB_TRIGGER=RANDOM
# Dependent on trigger selection the period between changes or the minimum time for change between flipper flips
RGB_MIN_TIME=1000
#PROCESS_TO_ACTIVE_TIME=1000
#SUP_INI=E:\DirectOutput\DOFLinxFX2\Pinball FX2
PATH_FX2=E:\DirectOutput\DOFLinxFX2\
#FX2_WINDOW_WAIT_TIME=50000
# The button(s) to turn on when DOFLinx starts, ie the exit button LED
BUTTONS_ON=101
# Make the "1" (31) key (Start in VP) pulse LEDWiz 120 and "4" (34) to pulse controller/output 121
#KEY_TO_OUTPUT=0D,122
#,27,127
#KEY_TO_COLOUR_TOGGLE=25,120,RANDOM,27,126,RANDOM
# Set a key to turn on a specific colour for your RGB.  The line below makes the Left Control (A2) and the Right Control (A3) turn my undercab RGB strip red.
# In Pinball FX2 this means when I nudge it all goes red.
#KEY_TO_COLOUR=A2 204 Red A3 204 Red
# Setting FORCE_ACTIVE=1 will cause DOFFX2 to not listen for processes and just run until you kill the process.  Handy for using it for things other than PinBall FX2
FORCE_ACTIVE=0
# If you want the program to stop when your named process stops then set this to 1.  If you want it to run in the background all the time leave it as 0
QUIT_AFTER_PROCESS=0
# Set to 1 to output the game name to the log regardless of the DEBUG flag setting.  Set to 0 to simply follow the DEBUG flag.
# Quite useful when you trying to get the FX2 window game name for setting game specific colours
OUTPUT_GAME_NAME=1

####
# Sample setup to enable the Future Pinball Link.  Edit the LINK_ items to be your ports and settings.
####
FP_ATTEMPT_LINK=1
LINK_LF=208,150,2000
#LINK_LF=120,50,1000
LINK_RF=204,150,2000
#LINK_RF=127,50,1000
LINK_LS=208,50,500
LINK_RS=204,50,500
LINK_ML=208,50,500
LINK_MC=204,50,500
LINK_MR=204,50,500
LINK_BL=208,50,500
LINK_BC=204,50,500
LINK_BR=204,50,500
LINK_SH=122,200,5000
#LINK_GR=126,150,1000
#LINK_KN=124,120,500
LINK_ST=102
#LINK_EX=
#LINK_CN=105
#LINK_EB=
LINK_LB=101
LINK_SR=103
#LINK_FR=
LINK_FLOL=117
LINK_FLIL=120
LINK_FLCN=123
LINK_FLOR=126
LINK_FLIR=124


####
# 0 = OFF (normal operation), 1 = ON - When ON a window will appear and a log file will be created in the EXE directory.
DEBUG=1

#####
# Game specific colours in the formnat of a CSV of Game Name,Colour#1,Colour#2 - colours as they appear in your directoutputconfig
# Thanks to Vizzini here is a great starting list for Pinball FX2
#####
GAME_COLOUR=AlienIsolationPinball,Medium_Blue,Lime,Dodger_Blue,Lime_Green
GAME_COLOUR=AlienvsPredatorPinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=AliensPinball,Medium_Blue,Dark_Golden_Rod,Dodger_Blue
GAME_COLOUR=AmericanDadPinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=ArcherPinball,Medium_Blue,Yellow,Dodger_Blue,Blue_Violet
GAME_COLOUR=Biolab,Dark_Red,Lime,Blue,Cyan,Blue_Violet,Yellow
GAME_COLOUR=Blade,Blue,Blue_Violet,Salmon
GAME_COLOUR=BobaFett,Lime,Golden_Rod,Blue_Violet
GAME_COLOUR=BobsBurgersPinball,Medium_Blue,Lime_Green,Dark_Red,Dodger_Blue,Yellow_Green
GAME_COLOUR=CaptainAmerica,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=CastleStorm,Blue,Gold,Lime,Dodger_Blue,Orange,Lime_Green
GAME_COLOUR=CivilWar,Blue,Dark_Red,Dodger_Blue,Light_Salmon
GAME_COLOUR=Deadpool,Dark_Red,Blue,Medium_slate_blue,Dodger_Blue
GAME_COLOUR=DoomPinball,Yellow,Silver,Gray,Dark_Orange,Dim_Gray,Orange_Red,Peru,Crimson
GAME_COLOUR=DoctorStrange,Dark_Red,Blue,Gold,Lime_Green,Dark_Violet,Orange,Dodger_Blue,Lime,Medium_Slate_Blue
GAME_COLOUR=EarthDefense,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=ElDorado,Orange,Lime_Green,Yellow,Coral,Lime,Yellow_Green,Cyan
GAME_COLOUR=EpicQuest,Lime_Green,Dodger_Blue,Yellow_Green,Cyan
GAME_COLOUR=Excalibur,Dark_Red,Blue,Lime,Dodger_Blue,Cyan
GAME_COLOUR=FalloutPinball,Crimson,White,Red,Brown,Light_Steel_Blue,Slate_Blue
GAME_COLOUR=FamilyGuyPinball,Dodger_Blue,Lime_Green,Salmon,Dark_Violet,Yellow_Green
GAME_COLOUR=FantasticFour,Blue,Yellow,Dodger_Blue,Orange_Red
GAME_COLOUR=FearItself,Dark_Red,Blue,Yellow,Lime,Dark_Violet,Orange
GAME_COLOUR=GhostRider,Dodger_Blue,White,Yellow,Light_Salmon,Orange_Red
GAME_COLOUR=GuardiansoftheGalaxy,Dodger_Blue,Orange,Medium_Purple
GAME_COLOUR=IRONMAN,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=Mars,Blue,Yellow,Deep_sky_blue,Gold
GAME_COLOUR=MarvelsAntMan,Medium_Blue,Dark_Red,Dodger_Blue
GAME_COLOUR=MarvelsAvengersAgeofUltron,Dark_Red,Dodger_Blue,Lime_Green,Light_Salmon,Cyan
GAME_COLOUR=MarvelsTheAvengers,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=MarvelsWomenofPowerAForce,Red,Lime,Gold,Slate_Blue,Tomato,Silver,Dark_Orchid,Spring_Green
GAME_COLOUR=MarvelsWomenofPowerChampions,Dodger_Blue,Yellow,Red,Gray,Golden_Rod,Crimson,Orange
GAME_COLOUR=MoonKnight,Dodger_Blue,Blue,Cyan,Royal_Blue
GAME_COLOUR=MsSplosionMan,Dodger_Blue,Pink,Medium_Blue,Purple,Royal_Blue
GAME_COLOUR=Paranormal,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=Pasha,Dark_Violet,Golden_Rod,Dodger_Blue
GAME_COLOUR=PlantsVSZombies,Lime_Green,Yellow_Green,Dodger_Blue
GAME_COLOUR=Portal,Dodger_Blue,Yellow_Green,Medium_Blue,Yellow
GAME_COLOUR=Rome,Dark_Red,Gold,Dodger_Blue,Light_Salmon,Yellow_Green,Orange
GAME_COLOUR=SecretsoftheDeep,Blue,Yellow,Dodger_Blue
GAME_COLOUR=Shaman,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=SorcerersLair,Blue,Blue_Violet,Dodger_Blue,Slate_Blue
GAME_COLOUR=SouthParkButtersVeryOwnPinballGame,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green
GAME_COLOUR=SouthParkSuperSweetPinball,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green,Yellow_Green
GAME_COLOUR=SpiderMan,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange
GAME_COLOUR=STARWARSDARTHVADER,Light_sky_blue,Dark_Red,Cyan
GAME_COLOUR=StarWarsEpisodeVTheEmpireStrikesBack,Medium_Blue,Yellow,Dark_Red,Dodger_Blue
GAME_COLOUR=StarWarsEpisodeVIReturnoftheJedi,Slate_Blue,Golden_Rod,Medium_Blue,Lime_Green,Dodger_Blue,Yellow
GAME_COLOUR=StarWarsPinballDroids,Medium_Blue,Yellow,Orange,Navy,Gold,Orange_Red
GAME_COLOUR=StarWarsPinballEpisodeIVANewHope,Cyan,Golden_Rod,Dodger_Blue,Yellow
GAME_COLOUR=StarWarsPinballHanSolo,Dodger_Blue,Royal_Blue,Antique_White
GAME_COLOUR=StarWarsPinballMastersoftheForce,Medium_Blue,Salmon,Dodger_Blue,Purple,Cyan,Dark_Red
GAME_COLOUR=StarWarsPinballMightoftheFirstOrder,Light_sky_blue,Dodger_Blue,Dark_Red,Cyan
GAME_COLOUR=StarWarsPinballStarWarsRebels,Medium_Blue,Yellow,Royal_Blue,Orange_Red,Purple,Lime_Green
GAME_COLOUR=StarWarsPinballTheForceAwakens,Dark_Red,Medium_Blue,Blue_Violet
GAME_COLOUR=StarWarsPinballRogueOne,Gray,Silver,Light_Sky_Blue,Teal,Beige,Bisque,Aqua_Marine,Slate_Gray,Dark_Orange
GAME_COLOUR=StarWarsStarfighterAssault,Medium_Blue,Dodger_Blue,Dark_Red
GAME_COLOUR=StarWarsTheCloneWars,Dark_Red,Pink,Medium_Blue,Medium_Turquoise,Lime,Lime_Green
GAME_COLOUR=SuperLeagueASRoma,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueZenStudiosFC,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueArsenalFC,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueLiverpoolFC,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueJuventus,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueACMilan,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueRealMadridCF,Lime_Green,Medium_Blue,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueFCBarcelona,Slate_Blue,Lime_Green,Yellow,Blue_Violet,Lime,Red
GAME_COLOUR=Tesla,Lime_Green,Yellow_Green,Dodger_Blue,Golden_Rod
GAME_COLOUR=TheElderScrollsVSkyrimPinball,Light_Slate_Gray,Gold,Golden_Rod,Dark_Sea_Green,Peru,Tan
GAME_COLOUR=TheInfinity Gauntlet,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=TheWalkingDead,Lime_Green,Royal_Blue,Yellow_Green
GAME_COLOUR=Thor,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=V12,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue
GAME_COLOUR=Venom,Dark_Red,Blue,Dark_Violet,Dodger_Blue
GAME_COLOUR=WildWestRampage,Yellow_Green,Dodger_Blue,Royal_Blue
GAME_COLOUR=Wolverine,Dark_Red,Medium_Blue,Yellow,Dark_Violet
GAME_COLOUR=WorldWarHulk,Lime_Green,Yellow_Green,Dodger_Blue,Lime,Yellow
GAME_COLOUR=XMen,Blue,Blue_Violet,Gold,Dodger_Blue,Slate_Blue,Orange



#4 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 18 March 2017 - 03:34 AM

Hmm, program not even starting weird.  In that case we need to look outside of the program, event log messages?

 

With the INI, I mean are you running DOFLinx with a parameter for the INI file?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#5 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 18 March 2017 - 04:09 AM

I must not be normally what I do is just double click the DOFLinx.exe and start Pinballx and it works fine



#6 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 19 March 2017 - 12:55 AM

I must not be normally what I do is just double click the DOFLinx.exe and start Pinballx and it works fine

 

Sorry, a bit confused from the last message, do you still have the problem?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#7 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 19 March 2017 - 01:22 AM

I must not be do this  ----> With the INI, I mean are you running DOFLinx with a parameter for the INI file?

Because putting it in the startup folder doesn't work  --> What I been doing is just double click the DOFLinx.exe and start Pinballx and it works fine...

I've been trying some ideas but no luck on the start folder...

I've tried 3 computers and it will not work - They all do the same thing..All windows 10



#8 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 19 March 2017 - 01:59 AM

OK, having "PATH_INI=C:\..[your path]....\DOFLinx.INI" as a command line argument to DOFLinx.exe will process the INI file more immediately on startup.  This is used when you have a separate INI path for all of your INI files, ie they are not in the same folder as DOFLInx.INI  (page 3 and 11 of the guide).  It allows a nominated main INI file to be processed despite the INI files being in a separate sub folder.  If your DOFLinx.INI file is in the same folder as DOFLinx.exe this is not necessary.

 

Do you have anything else set to run at startup?  Is that working?

 

Is the user you run Windows 10 as a local administrator?  If so, you wouldn't need to have "run as administrator" set.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#9 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 19 March 2017 - 02:40 AM

Just got downstairs to play on the cabinet and thought I'd check for you.  I definitely have "run as administrator" set on the shortcut in startup.

 

A couple of basics to check

1) Are you using a shortcut?

2) Is it in Shell:startup?

3) Ensure you don't set and compatibility settings 

4) Create the shortcut as the normally logged on user, that way the security will be correct


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#10 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 19 March 2017 - 03:02 AM

DOFLinx.INI is in the same folder as DOFLinx.exe 

I have Shortcuts in a startup folder for 2 file explorers to open...

Windows 10 as a local administrator? Yes  -- But if I don't run the DOF administrator the DOF will not work

-

1) Are you using a shortcut? --Yes

2) Is it in Shell:startup?--Yes

3) Ensure you don't set and compatibility settings -- No  compatibility settings

4) Create the shortcut as the normally logged on user, that way the security will be correct -- I do



#11 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 19 March 2017 - 04:32 AM

Hmmm, really not so sure then.  Sounds Windows'ish.  I'd try wrapping DOFLinx.exe in a batch file and "echo a >> alog.txt" before and after.  I'd want to be sure that things are running and try and find a lead somehow.  There must be a clue somewhere.  Was there anything out of the ordinary in the Eventlog?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#12 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 20 March 2017 - 03:23 AM

As far as the events I looked under administrative events and there's no reference to the DOF their..... I really don't know nothing about the Event Viewer and I didn't even know it was there until you mentioned it....

Are you running a fresh install of 10 or did you upgrade? ...I am running an upgrade

I'm going to clone my hard drive,  then I'm going to put a fresh install of 10 and see if that corrects my problem



#13 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 20 March 2017 - 08:54 AM

Mine was an upgrade due to license I hold.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#14 coreduo0099

coreduo0099

    Enthusiast

  • Members
  • PipPipPip
  • 109 posts

  • Flag: United States of America

  • Favorite Pinball: Tommy

Posted 02 December 2017 - 04:19 AM

DOFLinx.INI is in the same folder as DOFLinx.exe 

I have Shortcuts in a startup folder for 2 file explorers to open...

Windows 10 as a local administrator? Yes  -- But if I don't run the DOF administrator the DOF will not work

-

1) Are you using a shortcut? --Yes

2) Is it in Shell:startup?--Yes

3) Ensure you don't set and compatibility settings -- No  compatibility settings

4) Create the shortcut as the normally logged on user, that way the security will be correct -- I do

 

I have same behavior.  upgraded from win7 to 10 and this seems to be the only thing not working.. One additional piece of data:

when in the c:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup folder (shell:startup) I can double click the shortcut and it fire up doflinx but it won't run on login.  other startup item in same folder start up as expected as as they did in Win7.



#15 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 02 December 2017 - 05:35 AM

This startup issue has been elusive.  Outhere has tried many things and been very patient, but we've failed to find the cause.  The question remains if its Windows or DOFLinx. Of course, we shouldn't assume your issue is actually the same.

 

If you;

Shutdown DOFLinx

Delete the DOFLinx.LOG file

Restart the PC (presuming DOFLinx will not start, ie exhibits the fault)

Do you get a DOFLinx.LOG file?  If so, what is in it?

 

The very first thing DOFLinx does is open the log file, if it doesn't exist it gets created.  If there is no log file then I'd suggest the program is simply not starting.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#16 Pitbull100

Pitbull100

    Hobbyist

  • Members
  • PipPip
  • 33 posts

  • Flag: Germany

  • Favorite Pinball: Avatar MX

Posted 05 December 2017 - 04:44 PM

I have had similar problem to autostart DOFlinx with admin rights in Windows10.   Here I found the solution:

 

http://www.thewindow...windows-10-make



#17 coreduo0099

coreduo0099

    Enthusiast

  • Members
  • PipPipPip
  • 109 posts

  • Flag: United States of America

  • Favorite Pinball: Tommy

Posted 10 December 2017 - 11:46 PM

Yeah, I went a similar path finally.. created a task scheduler task that started at login that ran a script with elevated privaledges:

 

e:
cd E:\Emulator\Pinball emu\DirectOutput
DOFLinx.exe PATH_INI="E:\Emulator\Pinball emu\DirectOutput\DOFlinx_INI"  PINSCAPE=NO
exit

 

This is the only way I've been able to get it to start.

 

(no logs as it never starts any other way)

However worked as all other apps in my startup folder in Windows 7



#18 Iain1986

Iain1986

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: United Kingdom

  • Favorite Pinball: Monster Bash

Posted 17 January 2018 - 08:21 PM

Annoyingly i'm getting a very similar issue on Windows 7 though, and for me I literally can't ever launch DOFLinx no matter what.

All i've done so far is attempt to setup Pinball FX3 backglass support, but DOFLinx never launches to even the point of logging.

I do have windows event logs thought,
 

Application: DOFLinx.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at DOFLinx.MainForm..ctor()
 
Exception Info: System.InvalidOperationException
   at DOFLinx.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
   at DOFLinx.My.MyProject+MyForms.get_MainForm()
   at DOFLinx.My.MyApplication.OnCreateMainForm()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
   at DOFLinx.My.MyApplication.Main(System.String[])

My INI is at the bottom of this post...

I've also put a copy of it at the root alongside DOFLinx.exe as a fall back.
I've tried just running, calling it with PATH_INI=C:\DirectOutput\DOFLinx_INI\
ITs all as administrator.

Just never launches.

I mean, FileNotFound is the exception but not sure which file? Is this written in .NET, maybe I'm missing a framework installed?

I've just checked with regedit and i've got .NET 2.0.50727, 3.0, 3.5, 4 and 4.0 installed.

Here's my INI
 

####
# The config file for DOFLinx
# A mad idea by DDH69 to have some flipper sounds, RGB display and turn buttons on when playing Pinball FX2 via Steam
# Its grown a lot since that silly start!
# Note - this works with LEDWiz, PacLed64, Pinscape, Ultimate I/O and Sainsmart (FTDI devices)
# Edit this file as you see fit, lines that start with a hash (#) or are blank are not processed.  This blurb and comments can be cut out if you want.
#
# Output devices outputs are entered in the format of
# device (D) and output number (#) in the format D##, so controller device 1 and output 3 is "103" without the quotes, controller board 2 output 23 is "223" without quotes
####
 
# location of your standard DOF outut configuration file.  Keep this as the first item in the file
DIRECTOUTPUTCONFIG=c:\DirectOutput\config\directoutputconfig.ini
 
# If you want to list the processes that will wake up DOFLinx, comment it out if you just want Pinball FX2
#PROCESSES=Pinball FX2,Pinball FX3,Future Pinball,VPinball_9_9_1,VPPhysMod5
 
# If you are using flag files, comment the line below out or set to 2000 as the default.
# If you need to use the Pinball FX2 grid to select games you will want this at around 30000 - I recommend not using the FX2 grid
PROCESS_TO_ACTIVE_TIME=1
 
# Which DOF Controller output for the flipper solenoids / contactors
L_FLIPPER_OUTPUT=117
R_FLIPPER_OUTPUT=125
# The keyboard hex code for the key that is used for each flipper from https://msdn.microso...1(v=vs.85).aspx
# Left Shift = A0, Right Shift = A1
L_FLIPPER_KEY=A0
R_FLIPPER_KEY=A1
# Just in case things go wrong (ie no keyup signal is detected, flipper held down for a long time), what is the maximum time a flipper solenoid / contactor can be in in milliseconds
MAX_FLIPPER_ON=5000
# What LEDWiz output(s) are used for RGB devices.  Just enter the Red output number.  Multiples can be entered seperated by a comma
RGB_OUTPUT=109
# Rainbow - cycle through the colours, Random - pick a random next colour, A colour name as it appears in the DirectOutputConfig.ini file
RGB_STYLE=RANDOM
# What changes the colour?  Time - set time period, Flipper = flipper press after the RGB_TRIGGER minimum time (to stop rapid colour changes)
RGB_TRIGGER=FLIPPER
# Dependent on trigger selection the period between changes or the minimum time for change between flipper flips
RGB_MIN_TIME=1000
# The button(s) to turn on when DOFLinx starts, ie the exit button LED
#BUTTONS_ON=102 104
# Make the "1" (31) key (Start in VP) pulse LEDWiz 120 and "4" (34) to pulse controller/output 121
KEY_TO_OUTPUT=32 101 35 106 36 105
# Set a key to turn on a specific colour for your RGB.  The line below makes the Left Control (A2) and the Right Control (A3) turn my undercab RGB strip red.
# In Pinball FX2 this means when I nudge it all goes red.
#KEY_TO_COLOUR=A2 109 Red A3 109 Red
# Setting FORCE_ACTIVE=1 will cause DOFFX2 to not listen for processes and just run until you kill the process.  Handy for using it for things other than PinBall FX2
FORCE_ACTIVE=0
# If you want the program to stop when your named process stops then set this to 1.  If you want it to run in the background all the time leave it as 0
QUIT_AFTER_PROCESS=0
# Set to 1 to output the game name to the log regardless of the DEBUG flag setting.  Set to 0 to simply follow the DEBUG flag.
# Quite useful when you trying to get the FX2 window game name for setting game specific colours
OUTPUT_GAME_NAME=1
# PinballFX2/3 Paths
#PATH_FX2=C:\DirectOutput\DOFLinx_FX2\
PATH_FX3=C:\DirectOutput\DOFLinx_FX3\
#PATH_FX2_B2S=C:\DirectOutput\DOFLinx_FX2_B2S\
PATH_FX3_B2S=C:\DirectOutput\DOFLinx_FX3_B2S\
PATH_B2S_SERVER=C:\Visual Pinball\Tables\
 
####
# Sample setup to enable the Future Pinball Link.  Edit the LINK_ items to be your ports and settings.
####
FP_ATTEMPT_LINK=1
# Use the line below if you need to extend the wait time for a FP table to load
#FP_LINK_WAIT_TIME=60000
LINK_LF=117,50,10000,255
LINK_RF=125,50,10000,255
LINK_LS=118,50,500,255
LINK_RS=126,50,500,255
LINK_ML=127,50,500,255
LINK_MC=128,50,500,255
LINK_MR=129,50,500,255
LINK_BL=130,50,500,255
LINK_BC=131,50,500,255
LINK_BR=132,50,500,255
LINK_SH=115,1000,5000,255
LINK_GR=116,750,10000,255
LINK_KN=124,120,500,255
LINK_ST=102
LINK_EB=101
LINK_CN=106,105,103
LINK_EX=104
 
####
# 0 = OFF (normal operation), 1 = ON - When ON a window will appear and a log file will be created in the EXE directory.
DEBUG=1
 
#####
# Game specific colours in the formnat of a CSV of Game Name,Colour#1,Colour#2 - colours as they appear in your directoutputconfig
# Thanks to Vizzini here is a great starting list for Pinball FX2
#####
GAME_COLOUR=AlienIsolationPinball,Medium_Blue,Lime,Dodger_Blue,Lime_Green
GAME_COLOUR=AlienvsPredatorPinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=AliensPinball,Medium_Blue,Dark_Golden_Rod,Dodger_Blue
GAME_COLOUR=AmericanDadPinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=ArcherPinball,Medium_Blue,Yellow,Dodger_Blue,Blue_Violet
GAME_COLOUR=Biolab,Dark_Red,Lime,Blue,Cyan,Blue_Violet,Yellow
GAME_COLOUR=Blade,Blue,Blue_Violet,Salmon
GAME_COLOUR=BobaFett,Lime,Golden_Rod,Blue_Violet
GAME_COLOUR=BobsBurgersPinball,Medium_Blue,Lime_Green,Dark_Red,Dodger_Blue,Yellow_Green
GAME_COLOUR=CaptainAmerica,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=CastleStorm,Blue,Gold,Lime,Dodger_Blue,Orange,Lime_Green
GAME_COLOUR=CivilWar,Blue,Dark_Red,Dodger_Blue,Light_Salmon
GAME_COLOUR=Deadpool,Dark_Red,Blue,Medium_slate_blue,Dodger_Blue
GAME_COLOUR=DoomPinball,Yellow,Silver,Gray,Dark_Orange,Dim_Gray,Orange_Red,Peru,Crimson
GAME_COLOUR=DoctorStrange,Dark_Red,Blue,Gold,Lime_Green,Dark_Violet,Orange,Dodger_Blue,Lime,Medium_Slate_Blue
GAME_COLOUR=EarthDefense,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=ElDorado,Orange,Lime_Green,Yellow,Coral,Lime,Yellow_Green,Cyan
GAME_COLOUR=EpicQuest,Lime_Green,Dodger_Blue,Yellow_Green,Cyan
GAME_COLOUR=Excalibur,Dark_Red,Blue,Lime,Dodger_Blue,Cyan
GAME_COLOUR=FalloutPinball,Crimson,White,Red,Brown,Light_Steel_Blue,Slate_Blue
GAME_COLOUR=FamilyGuyPinball,Dodger_Blue,Lime_Green,Salmon,Dark_Violet,Yellow_Green
GAME_COLOUR=FantasticFour,Blue,Yellow,Dodger_Blue,Orange_Red
GAME_COLOUR=FearItself,Dark_Red,Blue,Yellow,Lime,Dark_Violet,Orange
GAME_COLOUR=GhostRider,Dodger_Blue,White,Yellow,Light_Salmon,Orange_Red
GAME_COLOUR=GuardiansoftheGalaxy,Dodger_Blue,Orange,Medium_Purple
GAME_COLOUR=IRONMAN,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=Mars,Blue,Yellow,Deep_sky_blue,Gold
GAME_COLOUR=MarvelsAntMan,Medium_Blue,Dark_Red,Dodger_Blue
GAME_COLOUR=MarvelsAvengersAgeofUltron,Dark_Red,Dodger_Blue,Lime_Green,Light_Salmon,Cyan
GAME_COLOUR=MarvelsTheAvengers,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=MarvelsWomenofPowerAForce,Red,Lime,Gold,Slate_Blue,Tomato,Silver,Dark_Orchid,Spring_Green
GAME_COLOUR=MarvelsWomenofPowerChampions,Dodger_Blue,Yellow,Red,Gray,Golden_Rod,Crimson,Orange
GAME_COLOUR=MoonKnight,Dodger_Blue,Blue,Cyan,Royal_Blue
GAME_COLOUR=MsSplosionMan,Dodger_Blue,Pink,Medium_Blue,Purple,Royal_Blue
GAME_COLOUR=Paranormal,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=Pasha,Dark_Violet,Golden_Rod,Dodger_Blue
GAME_COLOUR=PlantsVSZombies,Lime_Green,Yellow_Green,Dodger_Blue
GAME_COLOUR=Portal,Dodger_Blue,Yellow_Green,Medium_Blue,Yellow
GAME_COLOUR=Rome,Dark_Red,Gold,Dodger_Blue,Light_Salmon,Yellow_Green,Orange
GAME_COLOUR=SecretsoftheDeep,Blue,Yellow,Dodger_Blue
GAME_COLOUR=Shaman,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=SorcerersLair,Blue,Blue_Violet,Dodger_Blue,Slate_Blue
GAME_COLOUR=SouthParkButtersVeryOwnPinballGame,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green
GAME_COLOUR=SouthParkSuperSweetPinball,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green,Yellow_Green
GAME_COLOUR=SpiderMan,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange
GAME_COLOUR=STARWARSDARTHVADER,Light_sky_blue,Dark_Red,Cyan
GAME_COLOUR=StarWarsEpisodeVTheEmpireStrikesBack,Medium_Blue,Yellow,Dark_Red,Dodger_Blue
GAME_COLOUR=StarWarsEpisodeVIReturnoftheJedi,Slate_Blue,Golden_Rod,Medium_Blue,Lime_Green,Dodger_Blue,Yellow
GAME_COLOUR=StarWarsPinballDroids,Medium_Blue,Yellow,Orange,Navy,Gold,Orange_Red
GAME_COLOUR=StarWarsPinballEpisodeIVANewHope,Cyan,Golden_Rod,Dodger_Blue,Yellow
GAME_COLOUR=StarWarsPinballHanSolo,Dodger_Blue,Royal_Blue,Antique_White
GAME_COLOUR=StarWarsPinballMastersoftheForce,Medium_Blue,Salmon,Dodger_Blue,Purple,Cyan,Dark_Red
GAME_COLOUR=StarWarsPinballMightoftheFirstOrder,Light_sky_blue,Dodger_Blue,Dark_Red,Cyan
GAME_COLOUR=StarWarsPinballStarWarsRebels,Medium_Blue,Yellow,Royal_Blue,Orange_Red,Purple,Lime_Green
GAME_COLOUR=StarWarsPinballTheForceAwakens,Dark_Red,Medium_Blue,Blue_Violet
GAME_COLOUR=StarWarsPinballRogueOne,Gray,Silver,Light_Sky_Blue,Teal,Beige,Bisque,Aqua_Marine,Slate_Gray,Dark_Orange
GAME_COLOUR=StarWarsStarfighterAssault,Medium_Blue,Dodger_Blue,Dark_Red
GAME_COLOUR=StarWarsTheCloneWars,Dark_Red,Pink,Medium_Blue,Medium_Turquoise,Lime,Lime_Green
GAME_COLOUR=SuperLeagueASRoma,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueZenStudiosFC,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueArsenalFC,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueLiverpoolFC,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueJuventus,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueACMilan,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueRealMadridCF,Lime_Green,Medium_Blue,Lime,Yellow,Red
GAME_COLOUR=SuperLeagueFCBarcelona,Slate_Blue,Lime_Green,Yellow,Blue_Violet,Lime,Red
GAME_COLOUR=Tesla,Lime_Green,Yellow_Green,Dodger_Blue,Golden_Rod
GAME_COLOUR=TheElderScrollsVSkyrimPinball,Light_Slate_Gray,Gold,Golden_Rod,Dark_Sea_Green,Peru,Tan
GAME_COLOUR=TheInfinity Gauntlet,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=TheWalkingDead,Lime_Green,Royal_Blue,Yellow_Green
GAME_COLOUR=Thor,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=V12,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue
GAME_COLOUR=Venom,Dark_Red,Blue,Dark_Violet,Dodger_Blue
GAME_COLOUR=WildWestRampage,Yellow_Green,Dodger_Blue,Royal_Blue
GAME_COLOUR=Wolverine,Dark_Red,Medium_Blue,Yellow,Dark_Violet
GAME_COLOUR=WorldWarHulk,Lime_Green,Yellow_Green,Dodger_Blue,Lime,Yellow
GAME_COLOUR=XMen,Blue,Blue_Violet,Gold,Dodger_Blue,Slate_Blue,Orange
GAME_COLOUR=ET,Yellow,Amber,Sky_blue,Sienna,Aqua_marine,Slate_gray,Dark_olive_green
GAME_COLOUR=BacktotheFuture,Light_steel_blue,White,Crimson,Gray,Teal,Yellow,Dodger_blue
GAME_COLOUR=Jaws,Dark_turquoise,Gray,White,Salmon,Light_coral,Tan,Papaya_whip,Peru
GAME_COLOUR=SonofZeus,Dark_orange,Silver,Dark_salmon,Amber,Sienna,Light_steel_blue,Firebrick
GAME_COLOUR=AdventureLand,Red,Cyan,Yellow,White,Medium_orchid,Aqua,Dark_turquoise,Medium_purple

Edited by Iain1986, 17 January 2018 - 08:24 PM.


#19 Iain1986

Iain1986

    Enthusiast

  • Members
  • PipPipPip
  • 55 posts

  • Flag: United Kingdom

  • Favorite Pinball: Monster Bash

Posted 17 January 2018 - 08:38 PM

Ok, tried upgrading .NET to .NET Framework 4.6.2

Still no dice though. DOFLinx.exe still never launches and event logger seems to show the same FileNotFound in the constructor



#20 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 17 January 2018 - 09:06 PM

I'm assuming you have Directoutput Version 3 Running with VP...
You put DOFLinx and all its files in your directoutput folder...
If you double click the DOFLinx.exe it should start and pop up a window with DEBUG=1 set One....
Do you Use Pinballx as a Front end and are you starting pinball FX3 through the front end or by itself?

Change this line to look like this if you're only trying to get FX3 running For now you can always add more things later..

#PROCESSES=Pinball FX2,Pinball FX3,Future Pinball,VPinball_9_9_1,VPPhysMod5

PROCESSES=Pinball FX3

---

For now do not worry about getting DOFLinx to start when windows starts.

For now we'll just try to get your DOFLinx working so after windows starts then double click the DOFLinx.exe

I never got the thing to work with window start up no matter what I did







Also tagged with one or more of these keywords: DOFLinx, start up, folder, admin