Reply to Taking the s4 diary to the next level [tutorial]
Home :: NI - Native Instruments S4/S2 Controller talk :: Taking the s4 diary to the next level [tutorial] :: Reply
Taking the s4 diary to the next level [tutorial] Hi DJTT! I'm DJ Trancicted and probably one off the youngest DJTT visitors. I'm 17 years old and studying computer engineering in Belgium. I rarely speak English so sorry if you see the worst English mistakes you've ever seen! I saw the S4 Diary and I want to take it to the next level. Because I'm just a student, I don't have the money for buying a laptop exceptionally for DJ'ing even the S4 took a big hole in my budget! So, the s4 diary was a big help, but I also want my laptop for regular use without always have to check those settings so I've learned about batch files on my own. I will teach you now how I used batch files to optimize my laptop for use with TP2. For optimal use, I use 2 batch files. One to enable 'DJ Mode' and one to disable. UPDATE!! I've made a new batch file, based on the batch file from smiTTTen. Everything from this thread has been added to it. The code can you find in this post (http://www.djranking s.com/community /sho...333#post305333) and will be updated very often! Some useful tools
@echo off You can start the batch file with @echo off. This will let you view the batch file cleaner when executed. I use it all the time! pause When making this batch, it could be easy to use the 'pause' command sometimes. It will wait to resume with the next commands untill you hit a key. If nothing happens and the batch shows an error, you can read it now! Disable the Wifi by using DevCon DevCon isn't standard in your windows OS, that's why it needs to be installed. Clicking the DevCon link will bring you to the official Microsoft website where you can find the tutorial for the install. Once installed, we need to search for the hardware ID of the wifi-card in the device manager. Locate the wifi adapter first, click right and click 'properties'. Go to the tab Details and locate 'Hardware ID' Here you can see the hardware ID's. Write down the 'DEV_****' number till the &-mark. That's the hardware ID we want to disable. Mine is DEV_002E. To disable the wifi now, we write this in the batch file: Code:
devcon disable *DEV_002E* Code:
devcon enable *DEV_002E* Now we will start RAM Saver Pro. When this program is started, it will automatically start defragmentating and will one last a couple off seconds. First the RAM usage will peak, this is normal! To start the program, first install it and then write: Code:
start "DJ enable" "C:\Program Files (x86)\WinTools Software\RAM Saver Professional\ramsaverpro.exe" Code:
start "DJ enable" "C:\Program Files\WinTools Software\RAM Saver Professional\ramsaverpro.exe" To end the program, use this code, but more off that later! Code:
Taskkill /im ramsaverpro.exe Like in the original s4 diary, Smittten showed how to disable services. We will do the same, but with 1 click! First we will locate the service we want to stop. We can do that by following these steps: Go to the Services Menu Search for the service you want to stop, right click on it and go to properties. The highlighted part is the service name, that's what we need now. Go back to your batch file and write down: Code:
net stop "[Service name here]" Code:
net stop "avast! Antivirus" Code:
net start "[Service name here]" Stopping programs To run your computer even smoother, the last thing we gonna do is stopping some programs that you most off all have running. My example now is Ram Saver pro, because we just installed it and run it for defragmentate our RAM. Off course, this program isn't needed to run when in a gig. To see what programs are running, go to the task manager and click on the process tab. Here are all the programs that are running. Note that not every program may be stopped because stopping the wrong program can harm your computer, but when you found a program just use it in the next code: Code:
Taskkill /f /im [program name here].exe Code:
Taskkill /f /im ramsaverpro.exe Every part of my batch file has been used now. For example, this is my Enable DJ Mode.bat: Code:
@echo off devcon disable *DEV_002E* start "DJ enable" "C:\Program Files (x86)\WinTools Software\RAM Saver Professional\ramsaverpro.exe" net stop "Bonjour Service" net stop "avast! Antivirus" net stop "Apple Mobile Device" net stop PnkBstrA net stop TeamViewer6 net stop HPSLPSVC net stop UNS net stop NAUpdate net stop wscsvc net stop WinDefend net stop WMPNetworkSvc net stop WSearch net stop wuauserv net stop "iPod Service Taskkill /f /im TeamViewer.exe Taskkill /im firefox.exe Taskkill /f /im uTorrent.exe Taskkill /f /im Dropbox.exe Taskkill /f /im steam.exe Taskkill /f /im "AAM Updates Notifier.exe" Taskkill /f /im AvastUI.exe Taskkill /im ramsaverpro.exe Code:
@echo off devcon enable *DEV_002E* start "DJ disable" "C:\Program Files (x86)\WinTools Software\RAM Saver Professional\ramsaverpro.exe" net start "Bonjour Service" net start "avast! Antivirus" net start "Apple Mobile Device" net start PnkBstrA net start TeamViewer6 net start HPSLPSVC net start UNS net start NAUpdate net start wscsvc net start WinDefend net start WMPNetworkSvc net start WSearch net start wuauserv net start "iPod Service" Taskkill /im ramsaverpro.exe Because I use dropbox a lot, I've stored it there and made a shortcut to it from my desktop. That's easy, because now, I can edit the icon of it. Have fun with making your batch files and I hope that you've learned a lot of this tutorial. If you have questions, ask them below If you are home either in the batch world, please react to this thread with your code and use off it and I will update this post so we can make the best DJ batch file ever made for every Digital DJ! | |
You need to login in order to write on our forum |
<< Cancel