OMG it's a miracle!
No, it is just doing what it is supposed to do.
And the objective here was simply to find out, do the applications work as they are designed to.
The answer is yes.
I understand that all the batch file does is run FP and run the table I specified with the dmd and the custom color.
And at the end of the day, this is all PBY does as well
But how do I incorporate this into pby now so it is not specific to just Aliens Legacy and it will load the table specific dmd color? The batch file is specific to one table. How do I make the run before command work for all FP tables so it pulls the proper color? Unfortunately, I don't know how to make it work in PBY unless you meant for testing with just this table. I need it to be dynamic in that it will load future dmd with any table specific color added in the ini.
Well, you have all your answers in front of you
start "" "C:\Pinball\Future Pinball\BAM\FPloader.exe"
This part PbY does for you, provided you stick it in the right working folder, and point it at the correct EXE
/STAYINRAM /open
This we have to manually enter and tell it, so this is the 1st thing we put in the arguments box
".\tables\Aliens Legacy.fpt"
this PbY will do for us, we just have to tell it how
"[TABLEPATH]\[TABLENAME].fpt"
/play /exit /arcaderender,, HIDE
These we have to tell it by hand.
So in total our parameters line looks like
/STAYINRAM /open "[TABLEPATH]\[TABLENAME].fpt" /play /exit /arcaderender,, HIDE
now, we have to figure the parameters for futureDMD
START "" "C:\Pinball\Future Pinball\futuredmd.exe" table="Aliens Legacy" close=1
Well, we can not tell pinballY the START "" as it is not a commandline interpreter, and so i do not think it is going to pull that off properly
so we have 2 choices
1) We can attempt to do it PbY's way
There is a possibility that PbY will sit and think it is waiting on something and that this way wont work well, or seems to maybe not work well for you but we dont really care to be honest, there is another way
NOWAIT "C:\Pinball\Future Pinball\futuredmd.exe" "table=[TABLENAME]" "close=1"
the reason for wrapping the table and close args is the = sign
in case is is not being sent literally to futureDMD and is instead being seen as a control symbol
it should work as it is simply doing what the working batch file is doing
2) Possibly PbY pukes on that no matter what
No worries.
You know that bat file you made?
well rename it to something like fpdmd.bat
now edit it.
and 1st thing, write the letters REM and then a space, in front of all 3 lines in it
Unless you are using the delay time in which case leave the PING line unremarked
(reason i am having you remark them out instead of delete is you can look at them later, as a reference)
so a line that says
START "" "do this thing"
becomes
REM START "" "do this thing"
Now add a new line
START "" "C:\Pinball\Future Pinball\futuredmd.exe" Table=%1 Close=1
save and exit notepad
Ok now back in PBY our run before would be
"C:\Pinball\Future Pinball\fpdmd.bat" "[TABLEFILE]"
which will start fpdmd.bat, will tell it hey, here is this string i am supposed to give to you (%1)
which will be the tables file name, including spaces, if the name has any
fpdmd.bat will say ok, start c:\future pinball\futuredmd.exe table="Aliens Legacy ver 1.02 Big Badass mod that i retextured yesterday" close=1
then fpdmd.bat will exit, allowing PBY to see that the run before has in fact exited
so we dont need to worry if it is waiting, thinks it is waiting even though we told it not to, or what even
app ran, app exited, done deal
futureDMD will exit of it's own accord when the assigned table exits due to the close=1
Now not all FP tables have a valid DMD
for those tables, it will just present a blank DMD which is normal