DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Scripts => Topic started by: cheez on March 02, 2010, 02:51:02 AM

Title: Starcrack Git mirror
Post by: cheez on March 02, 2010, 02:51:02 AM
hey folks


just made git mirror of starcrack ai


here it is: http://gitorious.org/sc2ai/ (http://gitorious.org/sc2ai/)


why?


- i will keep starcrack branch updated with each new version released hoping guys who develop to change their minds and switch to more open way of developing


- it will be easier for people who want to help to track changes and get the idea of how AI is working and how is it improved hence it will be easier for people to suggest even better improvements


- it is git. you pull the repo and you have complete history of all changes, no internet connection required anymore. you can even start your branch locally and work on it while easily merging into it new releases


dont know what's git? git is like svn but way better for open development. don't even start to argue on this one - you will lose.


http://git-scm.com/ (http://git-scm.com/)


if you want it on windows - install msysgit and tortoisegit (google them)


P.S. you can fork a project, make your own branch and ping me for merge requests or you can just send me patches and i'll keep whole development organized.
Title: Re: Starcrack Git mirror
Post by: cheez on March 02, 2010, 02:52:26 AM
P.P.S. this commit http://gitorious.org/sc2ai/sc2ai/commit/1323fc32923b4201940c3dfcee8be346e0c6e752 (http://gitorious.org/sc2ai/sc2ai/commit/1323fc32923b4201940c3dfcee8be346e0c6e752) is actually v5
Title: Re: Starcrack Git mirror
Post by: turdburgler on March 02, 2010, 05:35:57 AM
We've got our SVN set to public, it just refuses to let anybody on. We're working on it.
Title: Re: Starcrack Git mirror
Post by: cheez on March 02, 2010, 05:43:02 AM
well git lets everybody in and more importantly - allows everybody to use all powers of SCM without asking for user/login/permissions
Title: Re: Starcrack Git mirror
Post by: cheez on March 03, 2010, 01:25:20 AM
added goosie branch


so far 3 branches: master - original files, starcrack and goosie


http://gitorious.org/sc2ai/sc2ai/commits/goosie (http://gitorious.org/sc2ai/sc2ai/commits/goosie)


switching between AIs now as easy as typing "git checkout starcrack" or "git checkout goosie"


for those who does not know correct layout:


in Mods/Liberty.SC2Mod you will find Base.SC2Data file, rename that file to Base.SC2Data.org so you could update starcraft in future and create a folder with same name instead


extract everything from Base.SC2Data into that folder so it contains GameData TextureReduction and TriggerLibs folders


now remove TriggerLibs folder and use this command to clone repository:
git clone git://gitorious.org/sc2ai/sc2ai.git TriggerLibs


you're done. by default you will only have master branch which is original files and you can always check and download anything else is in repository by typing


git branch -a
and e.g.
git checkout -t origin/starcrack
or
git checkout -t origin/goosie
or whatever else is there


and for updates - switch to branch you want to update and type
git pull


cheers, cheez
Title: Re: Starcrack Git mirror
Post by: chetjan on March 03, 2010, 06:55:55 PM
k thanks for the info turdbuglar
Title: Re: Starcrack Git mirror
Post by: cheez on March 06, 2010, 03:25:40 AM
http://gitorious.org/sc2ai (http://gitorious.org/sc2ai)


updated starcrack branch and added starcrack-easy branch


want to know what's new in v6 code-wise?


this: http://gitorious.org/sc2ai/sc2ai/commit/75ff18e871558907e09d38b6c099364331db7472 (http://gitorious.org/sc2ai/sc2ai/commit/75ff18e871558907e09d38b6c099364331db7472)


want to know what's the difference between normal and easy?


this: http://gitorious.org/sc2ai/sc2ai/commit/ed66b4b0ed0e8ae55e003cb5f0e8f86d7e6389b4 (http://gitorious.org/sc2ai/sc2ai/commit/ed66b4b0ed0e8ae55e003cb5f0e8f86d7e6389b4)


cheers
Title: Re: Starcrack Git mirror
Post by: miningold on March 09, 2010, 04:28:06 AM
I was wondering if anyone could help me setup git, I have never used it before but I was hoping I could have the updates downloaded immediately.


Thanks for you time.
Title: Re: Starcrack Git mirror
Post by: Espionage724 on March 09, 2010, 05:17:26 PM
Hmm, I somewhat perfer SVN because of the SVN gui manager, Tortoise SVN.


With my experience with Mangos (a WoW server emulator), there was no GUI for git.


I guess it doesn't really matter though. Either way is nice to get new code out to people :)
Title: Re: Starcrack Git mirror
Post by: miningold on March 09, 2010, 08:01:11 PM
nevermind
Title: Re: Starcrack Git mirror
Post by: cheez on March 10, 2010, 02:49:36 AM
pushed v6.1.1: http://gitorious.org/sc2ai/sc2ai/commit/acc21d35369478d7ee5b4dc24459e52f1d167f7b (http://gitorious.org/sc2ai/sc2ai/commit/acc21d35369478d7ee5b4dc24459e52f1d167f7b)


@minigold: installing git is easy


http://code.google.com/p/msysgit/ (http://code.google.com/p/msysgit/) - basic required git stuff and
http://code.google.com/p/tortoisegit/ (http://code.google.com/p/tortoisegit/) - git gui


you might want to read some tutorials how to use git but essentially it's same as SVN just much better ;)