DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Development => Topic started by: SuXue on March 14, 2010, 01:26:12 PM

Title: How to speed up games for testing AI?
Post by: SuXue on March 14, 2010, 01:26:12 PM
If there could be a "super speed" tweak making the game running at 4x speed, then testing AI scripts will be far easier.

One can have a rapid view of AIs fighting each other and spot problems.



Title: Re: How to speed up games for testing AI?
Post by: Astazha on March 15, 2010, 12:47:48 AM
This would be a really big help.  I have no idea if it could be done... seems like you'd have to hack the client itself to accomplish that.
Title: Re: How to speed up games for testing AI?
Post by: Doix on March 17, 2010, 01:22:46 PM
I made a little program for this:

http://www.mediafire.com/?mumominmnm5 (http://www.mediafire.com/?mumominmnm5)

No gui or anything. Just run starcraft 2, then run my program. Press + + twice to get to top speed. Top speed is about 4 times faster than what it would normally be.

Enjoy :).
Title: Re: How to speed up games for testing AI?
Post by: Astazha on March 17, 2010, 04:09:04 PM
Says "Cannot open process!"
Title: Re: How to speed up games for testing AI?
Post by: SuXue on March 17, 2010, 10:35:40 PM
Quote from: Doix on March 17, 2010, 01:22:46 PM
I made a little program for this:

http://www.mediafire.com/?mumominmnm5 (http://www.mediafire.com/?mumominmnm5)

No gui or anything. Just run starcraft 2, then run my program. Press + + twice to get to top speed. Top speed is about 4 times faster than what it would normally be.

Enjoy :) .

Great. Can you add a hotkey for 4x speed, a hotkey for 1x speed, and a hotkey for 0.25x speed?
Title: Re: How to speed up games for testing AI?
Post by: Kernel64 on March 18, 2010, 07:50:53 PM
It just blinks, and then my PC starts to act funny.

What am I doing wrong?
Title: Re: How to speed up games for testing AI?
Post by: Doix on March 19, 2010, 05:54:31 AM
I don't know... I'm rewriting this anyway as a plug-in for Zoxc's launcher.

Edit: http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-launcher-plugin-pack/ (http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-launcher-plugin-pack/)
Title: Re: How to speed up games for testing AI?
Post by: Kernel64 on March 19, 2010, 02:21:55 PM
Dude! This is awesome man! Thank you! :cheers:
Title: Re: How to speed up games for testing AI?
Post by: Astazha on March 19, 2010, 02:55:49 PM
Is it working for you Kernel64?
Title: Re: How to speed up games for testing AI?
Post by: Kernel64 on March 19, 2010, 06:07:34 PM
Yes. Having it as a plug-in with that awesome launcher. The launcher is beautiful since it's more of a developer's launcher.

The speed is very, very, very, very much helpful. I used to spend hours just watching the AI noob its way 5 mins through every time. But now, whoop! Whip! and aha!

Seriously, I'm just so happy these exist.

Have you tried the Launcher? It's the one with the simple interface. Haven't used anything but this launcher.

Edit:
Doix,
Do you have one that has the Normal Speed at Faster, and faster at the same crazy-awesome speed now?