Understanding the config.txt
There are several options in the config.txt that will help improve your diablo performance. I've tried to explain them here so you know exactly what you're fiddling with. I have got a brief explanation of each in the config.txt, but this is a more in depth explanation (especially of clock tick rate)
1; '# 1 - Sound on, 0 - Sound off 0;
Um ... self explanatory, really
'# 1 - Music on, 0 - Music off
Given that music is currently not implemented, this doesn't really do much. best just to leave it off. I've got it in the config.txt for when I finally DO get around to implementing music (because we all want to hear the guitar riff in Tristram, admit it!)
1; '# 1 - 320 * 240, 2 - 640 * 480
Resolution setting. 1 is for 320 x 240 (QVGA) and 2 is for 640 x 480 (VGA)
15; '# clock tick rate.
This is the how long the game will wait before running through the main code loop (in milliseconds)
The lower the value you put here, the more load you put on your ppc, but IF YOUR PPC CAN HANDLE IT, you will get closer to Diablo PC speeds.
The higher the number gets, the less strain there is on your PPC (which will make it run faster on slower PPCs) but the swing speeds will vary slightly from Diablo PC.
e.g.
A warrior with an axe should do a full swing in 500 ms.
There are 20 frames in a warrior swing, so that makes 25ms per swing
if the Timer Tick is set to 5, you would go through the main loop 5 times before you actually change frames, but you would change at exactly 25ms.
if the timer tick was set to 10, you would go through the main loop 3 times before you change frames, reducing the CPU load (from 5 times to 3 times ) but you would change at 30ms not 25.
if the Timer Tick was set to 15, you would go through the main loop twice before you change frames, further reducing the CPU load but again you would swing at 30ms not 25.
I would recommend setting the timer tick to 15, as it runs the fastest for me, but I know some of you might have far more powerful PPCs than me, and you might want to crank up the speed if you can, so I'm giving you the option. You don't have to use it, but it's there.
=)
2; '# 1 - use every animation frame, 2 - use every second animaion frame
For use on slower PPCs. This only loads every second frame, decreasing load times and increasing speed (using half the frames in a single swing, so the swing times are faster). You can really notice the difference when there are a lot of monsters on the screen!
The down side it that because there are half the animation frames, the animations are chunkier. But that's the trade off, I guess ...
1; '# 1 - continuous walk (if you his screen boundary, you keep walking), 0 - no continuous walk
Again, should be pretty self explanatory. With continuous walk off, you stop where you click. With it on, you keep walking when you hit the edge of the screen without having to repeatedly click on a new destination.