Jump to content



Photo
- - - - -

Issues with mixed 32-bit / 64-bit DirectOutput


  • Please log in to reply
3 replies to this topic

#1 dinodino

dinodino

    Hobbyist

  • Members
  • PipPip
  • 14 posts

  • Flag: United States of America

  • Favorite Pinball: TOTAN

Posted 04 September 2026 - 05:56 PM

Been some time since I refreshed my DOFLinx install, and when attempting the jump from 7.40 to 10.01 I've run into the following issue:

 

I have the 32-bit DOF installed in D:\DirectOutput

I have the 64-bit DOF installed in D:\DirectOutput64

 

My DOFLinx 7.40 install was in the D:\DirectOutput folder, but I wanted to follow the current standard of having it in a separate folder, so I removed all the DOFLinx files from D:\DirectOutput and created the D:\DOFLinx folder for a "fresh" install of DOFLinx 10.01

 

I've updated the included "DOFLinx - Shortcut" to point to the proper path, parameter location, and working directories on D:

I have updated all lines in the D:\DOFLinx\config\DOFLinx.INI file, and I have the following lines at the top:

DIRECTOUTPUTCONFIG=D:\DirectOutput64\directoutputconfig.ini
DIRECTOUTPUTGLOBAL=D:\DirectOutput64\config\GlobalConfig_B2SServer.xml
 
However, whenever I run the shortcut to try to start DOFLinx, I get a pop-up ".NET Unhandled exception" stating it could not load the file or assembly [file]D:\DirectOutput\DirectOutput.dll"
When I look in the DOFLinx.log file, I see "DOF path taken from old style fixed folder search = D:\DirectOutput\"
 
So, even though I have the paths in the INI set to point to the 64-bit DirectOutput folder, it is using the 32-bit folder which causes a bit-depth mismatch and crashes.
 
(BTW, If I rename D:\DirectOutput to D:\DirectOutputTest, DOFLinx properly pulls from D:\DirectOutput64, starts without errors, and works fine)
 
Am I missing something to get DOFLinx looking in the right place and not resort to an "old style fixed folder search"?

Any help GREATLY appreciated!... I've been banging my head against the cabinet for a while on this one and getting nowhere.
 
Regards,
Dino

Edited by dinodino, 04 September 2026 - 06:00 PM.


#2 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 16 September 2026 - 10:59 PM

Dino, sorry I missed this post until now.

 

DOFLinx will use a number of methods in order to locate your DirectOutput.dll file.  A fixed folder search is a fair way down the list.  This may be due to the custom folder names of the 32 bit and 64 bit versions and not using the new standard set by mjr.  I have both architectures installed in their default folders and do not have this issue.  I do not use the 32 bit architecture as there is no need anymore unless you are running on a 32 bit version of Windows.

 

Anyway there is a solution.  You can force DOFLinx to look in a fixed location.  Simply add "DOF_PATH=C:\DirectOutput64\" without the quotes to your command line, so your startup shortcut for DOFLinx.


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

#3 dinodino

dinodino

    Hobbyist

  • Members
  • PipPip
  • 14 posts

  • Flag: United States of America

  • Favorite Pinball: TOTAN

Posted 17 September 2026 - 06:00 PM

Thank you for your reply. Following your advice I was able to get DOFLinx working properly in my cab  :)

 

One comment, in case this helps anyone with a similar issue. I am starting DOFLinx from a script using the start command. I had tried that parameter before without luck.

 

Turns out that...

     This does NOT work: start "" /D D:\DOFLinx\ "D:\DOFLinx\DOFLinx.exe" "DOF_PATH=D:\DirectOutput64\"

     But this DOES work: start "" /D D:\DOFLinx\ "D:\DOFLinx\DOFLinx.exe" "DOF_PATH=D:\DirectOutput64"

 

(I had to remove the trailing backslash)

 

 

Thanks again!

Dino



#4 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 17 September 2026 - 11:51 PM

Thank you for your reply. Following your advice I was able to get DOFLinx working properly in my cab  :)

 

One comment, in case this helps anyone with a similar issue. I am starting DOFLinx from a script using the start command. I had tried that parameter before without luck.

 

Turns out that...

     This does NOT work: start "" /D D:\DOFLinx\ "D:\DOFLinx\DOFLinx.exe" "DOF_PATH=D:\DirectOutput64\"

     But this DOES work: start "" /D D:\DOFLinx\ "D:\DOFLinx\DOFLinx.exe" "DOF_PATH=D:\DirectOutput64"

 

(I had to remove the trailing backslash)

 

 

Thanks again!

Dino

 

Thanks for documenting this.  Lucky DOFLinx checks for a trailing backslash and adds it if missing.  I suspect you've got caught with some sort of escape sequence in the script.  Great to hear that you are up and going.


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