StarCraft II Launcher Plugin Pack

Started by Zoxc, March 18, 2010, 02:51:29 PM

Previous topic - Next topic

Zoxc

Here is couple of plugins for my launcher. To use them place them in the 'Plugins' folder relative to the launcher.

Debug.dll
This is a plugin that will crudely disable StarCraft II's debugger so you can debug it.


NativeAPI.dll
This is a plugin at allows you to define new natives.


Timers.dll
This implements some stopwatch timers so you can benchmark your code.

The following natives are added:
native void StartCounter(); // Resets the counter
native fixed GetCounter(); // Gets the time in milliseconds since the reset



Loggers.dll
This implements simple file writing natives.

The following natives are added:
native int CreateLogger(string filename); // Creates a logger for Plugins\<filename>
native void LoggerLog(int logger, string message); // Appends text to the file. A newline is not added at the end
native void DestroyLogger(int logger); // Destroys the logger and closes the file



You can download the pack from http://www.multiupload.com/VPJP3M6Q20

Doix

http://www.mediafire.com/?whbhmfzxint

Speed.dll

Replaces the fastest speed with an even faster one. Yay first 3rd party plug-in.

thanks to zoxc for sample plugin + his launcher and to xttocs for letting me rip his memory pattern scan code.

apriores

Very cool plugin. I'm testing AIs a lot and this is just perfect for that.
Thanks! ;D

CTS_AE

@apriores (since the quote button is failing atm)
why not just use a speed hack to test AI's such as CE
or some other dedicated speed hack.
I know that would make my life a ton easier if I were an AI writer.

also shep's maphack would allow you to monitor what the AI is doing very well
not only because of the maphack but because of the score board that's incorporated.

gladziu

Quote from: Doix on March 19, 2010, 12:18:37 PM
http://www.mediafire.com/?whbhmfzxint

Speed.dll

Replaces the fastest speed with an even faster one. Yay first 3rd party plug-in.

thanks to zoxc for sample plugin + his launcher and to xttocs for letting me rip his memory pattern scan code.




Hi Doix,


Any chance you can make speed.dll plugin replace the original ('normal') game speed with 'faster'?
So we can all load game through launcher with desired option :)

Kernel64

Seconded.

It would be great to have that. Moving from 6xspeed down to fast (not fastER) is alright, but having

normal = faster
fast = 3x
faster = 6x

is sure win.

apriores

Yes, I like the Kernel64 idea:
Faster = 6x
Fast = 3x
Normal = Faster
Slow = Fast
Slower = Normal

It will be just perfect for me. ;D

Doix

#7
http://www.mediafire.com/?wi1ztjzywyb

Ver 0.2:

Faster = 6x
Fast = 3x
Normal = Faster (yes, the game starts at this speed)
Slow = Fast
Slower =   Normal

Next version will let you specify the speeds in an .ini if I can be bothered..


Update 0.3:

http://www.mediafire.com/?xj4hydmmk31

Ok, this will read the speeds out of speed.ini. The defaults are :

2457 < slower
3276 < slow
4096 < normal
4915 < fast
5734 < faster

The code is utter shit so just leave the format as it is, each speed on a different line, no letters or extra characters etc... I have no idea what will happen if you don't(will probably crash) :) .

If you set it to high it'll probably crash. Enjoy

gladziu

Nice one Doix :)  thx a lot for this update ;D

apriores


Kernel64


kolera

Really really nice plug-ins.. you guys are awesome.

Is there a chance that you guys would develop plug-ins that would display game time/apm. That would be really cool. :)

Flokehl

Very nice work man thx
But is there a chance to use it with valkiries launcher
i always play with valk and i like it very much

chikopaws

dunno why,, but doix speedhack plugin doesnt work for me  :(

any helps??

I use win 7 64 bit, zoxc launcher 2.3.1, sc2 installed in default folder

gladziu

chikopaws if you installed 0.3 version then the game speed is set to its defaults until you change it in speed.ini file.
if you installed 0.2 version remember that in options you will see 'normal' speed though its set to 'faster'