HOW-TO quick-build/compile XBMC - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: HOW-TO quick-build/compile XBMC (/showthread.php?tid=5730) Pages:
1
2
|
- ChEeSyBoOfS - 2004-09-05 here is a little something i have been working on. it’s a quick build package that will download the latest cvs and compile it with codecs, scripts and python, alll output to a dated rar file, it will even clean up after it’s self. you can run this once a week or so to get the latest build. to run just copy to any folder and double click build.exe the only prerequisite is: 1. that you have visual studio .net 2003 installed with xdk and winrar installed in the default locations. that’s it! you can use a different version of visual studio you will just have to edit the path in the build.bat file. to do this just open build.exe in winrar, edit, and repack build.bat back into build.exe. full credit to ythan and the xbmc team as the script was mostley derived from them. any comments would be good; the idea of this is to help noobs get into the scene. build.exe (23.83mb) i have tested this under windows 2003 server and xp so should work fine for most, i have just built 17-09-2005 and worked fine on my xbox. - BallTongue - 2004-09-09 cheesyboofs thank you so much for posting that file. it helped me alot. i just used it tonight and got an updated version of xbmc 09/09/04. thanks so much for you program. - ChEeSyBoOfS - 2004-09-09 your more than welcome, i'm no coder and wanted to help in some way, so this was all i could think of. the good thing i just found out is if you want to add a script you can just drop it into the script.rar in the build.rar and this will then be built into your final build. i just did this with the aqtbrowser.py script for the movie trailer feature. the same can be done with the codecs just drop the new ones into the codec.rar in the build.rar and winrar will repack the lot. - ChEeSyBoOfS - 2004-09-09 just added tober's tip for 'build tagging' in the settings menu. also moved text files to \docs. - ChEeSyBoOfS - 2004-09-12 just a note to reiterate for noobs, you don't need any other software other than visual studio .net 2003, xdk and winrar, the other software is in the build.rar and run by the quick.bat, it will download the latest cvs for you. i'm getting pm's from ppl saying i have download the latest cvs with wincvs now what do i do, no! no! no! i'm sorry but if you can't follow this simple tut then there really is nothing i can do to help you. - johnh123 - 2004-09-18 thanks a bunch. awesome script. for the noobest of the noobs, all you have to do is edit the bat file to point to where you have the bat file located, where your vs7.1 is, and where your rar and unrar are located. it takes care of everything else. - ChEeSyBoOfS - 2004-09-19 praise indeed, but careful not to confuse ppl if you do a default install of .net xdk and winrar you shouldn't need to change a thing. as johnh123 said though, if you run into trouble even a noob can tweak the batch file. - ChEeSyBoOfS - 2004-10-12 added aqtbrowser.py fix plus pm web radio skin. build script tested as of today and all working, any probs let me know. - DDay - 2004-10-12 added to pinned topic over at the x-s forums as this will help some people over there - t029248 - 2004-10-12 it worked the first time for me, great script :bowdown: :bowdown: i'm very :o :o - AmphetaMarinE - 2004-10-18 i dunno how this would work for win9x users, but for users of win2k and higher, i see a way to make your bat file a little simpler. (i can't test this on a win9x machine as i don't have one.) but while perusing your wonderful little script there, i noticed it can either only be run from "c:\xbmc" or the user would have to change the %home% path themselves. well there is a built in variable in windows (possibly only win2k upwards though) like this... %cwd% this one outputs the current directory. so you could change your batch file to read something like this.... Quote::: where this file is located :: i have tested it on a winxp pro box, and it works fine.... and now i can run it from anywhere. now to find a way of automating the rar, unrar, and vs.net paths cheers, amph. - AmphetaMarinE - 2004-10-18 ok guys... i'm back.... again, i don't think this one will work with anything below win2k, i only have the means to test it on winxp pro. but this one saves you having to edit anything in the file. it grabs the current location through the %cd% system variable, and reads the path to rar.exe, unrar.exe and vs.net's devenv.exe. do as below to the quick.bat file.... find: Quote:@echo off and replace with: Quote:@echo off hope that makes it easy on a few of you... i tested it in winxp pro, and it works great. cheers, amph. - ChEeSyBoOfS - 2004-10-18 thanks for ur input amph, dont forget this is a noob guide and that will confuse the shit out of some. for them that need help here is amphetamarine's quick.bat i won't add it to the quick-build.zip just yet to see how ppl get on with it, and different os's. just swap it for the one in the quick-build.zip - AmphetaMarinE - 2004-10-19 hrmmm yes... never thought of that cheesyboofs.... ahh well.... thanks for makin it a bat and attaching it.... i would have done it that way, but didn't wanna put up a bat file in your thread, using mostly your code but yeah... i think it will only work in win2k/xp or possibly in winxp, so if you were to add it to your quick-build.zip, then possibly it would be better to add it as a 2nd option, maybe called win2k-xp.bat or something..... but anyways... thanks matey for putting it up here :d edit: acutally after grabbing and checking that edited quick.bat, i have noticed it isn't quite right... (missing some spaces in the delims section of the registry reading part) here is the one i actually use, this one is working for me on winxp pro sp2 (right-click and choose "save target as...") cheers, amph. - ChEeSyBoOfS - 2004-10-22 dude you made a silly mistake, your script falls over strait away, because you have renamed build.rar to supportfiles.rar. as for; Quote:i would have done it that way, but didn't wanna put up a bat file in your thread, using mostly your codeknock your self out, its not my thred, and it isn't mostly my code. i just want to make it easier for people to experience this fantastic proggie! :thumbsup: update chap just ran your script from the desktop of my windows 2003 server and it fell on its arse at the build stage not sure why yet, i run mine from c:\xbmc on the same server. |