Content Provider Zarquon Posted March 4, 2013 Content Provider Share Posted March 4, 2013 I have written a little utility to make it easy for you to download the latest updates for your ledcontrol.ini and ledcontrol.nofeedback.ini files. To install and configure: Extract the attached Zip to the location you wish to run it in. I put mine in my HyperPin directory but it does not matter. Edit the ledcontrol_pull.bat file Enter in Values for Username, Password and your Visual Pinball Tables directory (this is where the ledcontrol files will be stored) Run ledcontrol_pull.bat. Note: You may want to add it to you HyperPin settings.ini's Startup Program section. Update: 1.1 - Improved login/session recognition 2.0 - Now using the new APIs (Note you need to overwrite both files and add your API Key (and possibly your VP Tables path) to the .BAT file. ledcontrol_pull.1.1.zip ledcontrol_pull.2.0.zip Link to comment Share on other sites More sharing options...
Content Provider Zarquon Posted March 4, 2013 Author Content Provider Share Posted March 4, 2013 Updated the script to recognize login state and only login if needed. Link to comment Share on other sites More sharing options...
Aurich Posted March 5, 2013 Share Posted March 5, 2013 How often does this poll for updates? Link to comment Share on other sites More sharing options...
Content Provider Zarquon Posted March 5, 2013 Author Content Provider Share Posted March 5, 2013 It isn't not a service that polls on a periodic basis. It just runs and moves the files to the designated location when run. If you want it to run on a schedule you can do it through windows scheduler but I would either run it remotely or have it launch as part of the startup sequence through the HyperPin settings.ini Link to comment Share on other sites More sharing options...
Aurich Posted March 5, 2013 Share Posted March 5, 2013 Ah, no, that's perfect, I'd rather not have a service that runs automatically. Link to comment Share on other sites More sharing options...
Content Provider Zarquon Posted March 5, 2013 Author Content Provider Share Posted March 5, 2013 Ah, no, that's perfect, I'd rather not have a service that runs automatically. Me too. I actually run mine from my normal workstation with it installing the files to a share on my cab. That way I can control when I run it. Link to comment Share on other sites More sharing options...
Content Provider bent98 Posted March 10, 2013 Content Provider Share Posted March 10, 2013 What about the PWM settings? How does it know to pull PWM on or Off? Link to comment Share on other sites More sharing options...
Content Provider Zarquon Posted March 12, 2013 Author Content Provider Share Posted March 12, 2013 You still set the "PWM Flashers" On or Off under the Port Assignments Tab and all this does is download the file same as clicking the "Generate Config" button and then in extracts it to the correct location for you. I hope I understood the question correctly. Link to comment Share on other sites More sharing options...
Content Provider bent98 Posted March 12, 2013 Content Provider Share Posted March 12, 2013 Ok. Understood. Link to comment Share on other sites More sharing options...
Content Provider Zarquon Posted March 18, 2013 Author Content Provider Share Posted March 18, 2013 Updated this script to now use the APIs Deegor implemented. Link to comment Share on other sites More sharing options...
Content Provider arngrim Posted May 10, 2013 Content Provider Share Posted May 10, 2013 Hi Zarquon, I use your downloader tool every day to perform my tests and upgrades, can't work without it, thanks a lot I have one issue though, when both files already exists, and i use the pull.bat, they are no overriden, I need to delete them in order to receive new and updated files. I am on Win7 64 bits, could you have a look? Link to comment Share on other sites More sharing options...
Ton Posted May 11, 2013 Share Posted May 11, 2013 Works excellent!!! I made a shortcut in my windows startup folder, so when I boot up my pc the last version is download automatically. Thanks. Link to comment Share on other sites More sharing options...
Content Provider arngrim Posted May 11, 2013 Content Provider Share Posted May 11, 2013 you don't have the same problem than me Ton? Wich OS do you have, and 32 or 64 bits? Link to comment Share on other sites More sharing options...
Ton Posted May 11, 2013 Share Posted May 11, 2013 Hi Denis, I'm sorry but I don't have your problem. I use W7 64 bit. I'm now on version 477 of ledcontrol.ini. I have tested it with some older files (version 217 which I have in a backup) and they were overwritten. When the current ledcontrol.ini and the version on the web are the same, nothing happens. Are your files perhaps read-only? Link to comment Share on other sites More sharing options...
Content Provider arngrim Posted May 11, 2013 Content Provider Share Posted May 11, 2013 you are late, it's version 481 now no my files are not read only, the bat file don't need special admin rights, i have no clue yet Link to comment Share on other sites More sharing options...
Ton Posted May 11, 2013 Share Posted May 11, 2013 482 to be precise. Can it be something with the zip file? It has to be downloaded and unzipped. The directory where that is taking place, write protect, read only etc etc? Link to comment Share on other sites More sharing options...
Content Provider arngrim Posted May 11, 2013 Content Provider Share Posted May 11, 2013 483 is following what is interesting, i created a file ledcontrol.ini manually and it is overriden, if i modify a file created by zarquon bat, this one is not overriden Link to comment Share on other sites More sharing options...
Ton Posted May 11, 2013 Share Posted May 11, 2013 Are you testing a lot? I just downloaded version 541. Link to comment Share on other sites More sharing options...
Content Provider bent98 Posted May 11, 2013 Content Provider Share Posted May 11, 2013 I added RGB Strip option so bunch of tables needed to be edited. Link to comment Share on other sites More sharing options...
Content Provider DeeGor Posted May 11, 2013 Content Provider Share Posted May 11, 2013 I've tried out the script and I can't replicate the problems on Win7. It works like a charm for me. Link to comment Share on other sites More sharing options...
Ton Posted May 11, 2013 Share Posted May 11, 2013 I added RGB Strip option so bunch of tables needed to be edited. Ok that explains a lot. Thanks. Link to comment Share on other sites More sharing options...
Content Provider arngrim Posted May 12, 2013 Content Provider Share Posted May 12, 2013 Yeah i am testing a lot, if you see on history tab, half of the updates are made by me and the other half by bent Ok i have found my issue, i execute the bat from a second pc to a shared network folder in my cab, so the windows user is not the same. If i execute this bat file always from my cab, the files can be overriden Link to comment Share on other sites More sharing options...
Content Provider Zarquon Posted October 14, 2013 Author Content Provider Share Posted October 14, 2013 OK I've been away for a while and getting back into this and noticed a problem with the API. The query to pull a config only pulls the DOF configuration and not the lagacy if you have that set in your account settings. http://vpuniverse.com/ledwiz/api.php?query=getconfig&apikey=Your_API_Key_Here Link to comment Share on other sites More sharing options...
gStAv Posted July 14, 2014 Share Posted July 14, 2014 hey Zarquin! How neat isn't this little API!!? :DI don't know how I missed it, but hey! Auto update of the DOF every time you start the cab, what a time saver! Thanks a bunch! Link to comment Share on other sites More sharing options...
dup3d Posted July 14, 2014 Share Posted July 14, 2014 Hi, and also from me a BIG THX for this nice Downloader. never saw it before till today when it´s mentioned in the DOF2 thread. Tested it directly after updating to DOF2 and it works great and really saves a lot of time as i don´t have to do it with teamviewer anymore greetz dup3d Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.