Reply to Taking the s4 diary to the next level [tutorial]

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
  1. There are multiple ways to make a batch file, but I use Notepad ++. For me, it's a very good notepad replacement.
  2. Also, I store every batch file in dropbox (please use this link so I get a little credit of it) so I can access it over all my computers and even on the internet. Then I make a shortcut to it from my desktop. But more of that later.
  3. You will see, every time that I click on the batch file, I will defragmentate my RAM, for that, I use RAM Saver Pro.


@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*
To undo this, we make another batch file (like "disable DJ mode") and write:
Code:
devcon enable *DEV_002E*
Defragmentate the RAM Memory
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"
Note: This is the path for windows 7 x64. If you use x32, just delete the (x86) from the program files like:
Code:
start "DJ enable" "C:\Program Files\WinTools Software\RAM Saver Professional\ramsaverpro.exe"
If you want to start some other programs that will boost your computer. Just locate the .exe file off that program and write it down in the second part off the code.
To end the program, use this code, but more off that later!
Code:
Taskkill /im ramsaverpro.exe
Killing services
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]"
like:
Code:
net stop "avast! Antivirus"
To start the service again in the other batch file, use net start instead of net stop.
Code:
net start "[Service name here]"
Note that not every service may be stopped because stopping the wrong service can harm your computer.

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
for Ram Saver Pro:
Code:
Taskkill /f /im ramsaverpro.exe
I believe we are done now.
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
and this is my Disable DJ Mode.bat:
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
Now you can save you bath file everywhere you want. But be sure that the file extension is .bat and not .txt
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

Copyright 2012-2023
DJRANKINGS.ORG n.g.o.
Chuo-ku, Osaka, Japan

Created by Ajaxel CMS

Terms & Privacy