• 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 13
HOW-TO compile XBMC for Xbox from SVN
is the mplayer from xbmc cvs up to date- ie how much 'advantage' is there to getting it straight from mplayer cvs as opposed to xbmc cvs?
Reply
(johnh123 @ sep. 24 2004,07:08 Wrote:is the mplayer from xbmc cvs up to date- ie how much 'advantage' is there to getting it straight from mplayer cvs as opposed to xbmc cvs?
off-topic, but currently our mplayer-core in xbmc in cvs is ported from mplayer-1.0pre5 (and so will it also be for xbmc 1.1.0).
you have to check mplayer own cvs and changelogs to see exacly what has changed and what is new since mplayer-1.0pre5
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
i still got something i can't fix

today i compiled xbmc and i compared it to the 09-25 i found on the net. i saw that mine was about 1 meg smaller.

but the main thing is that i don't have control over the charset. i only get 1 option which is "?0?"

so i must be forgetting something. could anybody help me out. i am using the manual by frodo above

problem fixed !!! just erased evrything and downloaded again
Reply
are those cvs instructions still good?

my version of wincvs desnt seem to be able to follow the setup format. i see "checkout module" under remote, but it doesnt seem to have the same options. any help would be great.

big thanks.
Reply
use tortoisecvs. it's free, and far better than wincvs.

have a look on the online manual. in the dev section it contains a howto for compiling mplayer, with how to set up tortoisecvs. just change the module name to xbmc (in caps) and it'll checkout the xbmc sources.

then load the solution file into devstudio and build.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
big thanks, i'll give this a shot tonight.
Reply
Quote:have a look on the online manual. in the dev section it contains a howto for compiling mplayer, with how to set up tortoisecvs. just change the module name to xbmc (in caps) and it'll checkout the xbmc sources.

i tried exactly that, but it prompts me for a password. i used to use wincvs, and now i'm giving this a go, but, what to do?? :lookaround:

edit: nevermind, i am a tool. got it. sorry to bother... :bowdown:
Reply
i got the recent cvs files just as instructed with tortoise.

but when i go to open solution in vsn 2003, i get these errors:
"......\guilib.vcproj" failed to open. and
".....\xbmc.vcproj" failed to open.

etc... (four error messages total, the four entries in "solution explorer".

what am i doing wrong? i used to be able to comple fine back when i could get wincvs to work...

thank you for any help you can give this schmuck. :bowdown:
Reply
-last updated 7-21-2005-
credit goes to the following people:
frodo
cocoliso
yuyu
jmarshall


things you'll need:
- visual studio.net 7.1 (2003)
(faq: question; can vc++ 6.0 compile xbmc? answer; no)
- microsoft xbox sdk (xdk) 5778 or later
(faq: question; can older xdk compile xbmc? answer; no)

-install visual studio.net
-when installing vs.net. make sure to install all everything.
-then install the xdk
-make sure to do a full install of the xdk!!! minimal or customized install wont work


ok, here's my guide. this is how to compile "xbmc" manually, i hope my manual guide work for you guys as it works for me.
note: i use "tortoise cvs" to download the cvs source.


-how to download the cvs xbmc source-.
you need a cvs client, i prefer "tortoise cvs" for it's ease of use, get it here
(note! if you want to be sure you get all new files then do "cvs checkout" instead of "cvs update").

next, open up the cvs client by right-clicking on the main desktop menu and choose "cvs checkout module"

now enter this for the "cvs root"
:pserver:[email protected]:/cvsroot/xbmc

here's a little picture
Image
now look at the "module:" info above you and you'll see xbmc in the picture, note how it's capitalized.
"xbmc".
note: everything is case sensitive.
now choose ok and you'll begin to start downloading the source.

when the source is finished being downloaded, startup vs.net and (via file->open solution) open the xbmc solution (xbmc.sln) .

in the drop down box choose "release xbox".

then rebuild the entire thing using build->rebuild solution
after a while things should b compiled & ready: do not worry about the following messages;

Quote:<span style='color:blue'>error x1001: could not connect to the xbox"
warning im1029: library xkbd is unapproved
warning im1029: library xonline is unapproved
warning im1030: this image may not be accepted fc
warning im1043: feature xmouse  is unapproved</span>


<span style='color:green'>or</span>

<span style='color:blue'>creating xbox image...
imagebld : warning im1029: library xonline is unapproved
imagebld : warning im1030: this image may not be accepted for certification
copying files to the xbox...</span>

this is normal.

now make a new folder on your computer somewhere and move the following files onto the new folder:
here's what you need to do. next, you'll need to move files from the cvs after you rebuild it to a new folder. move the following files.

release\default.xbe\
changelog.txt
copying.txt
filezilla server.xml
kai-vectors.xml
keymap.xml
keymapping.txt
known_issues.txt
voicemasks.xml
xboxmediacenter.xml


now move the following folders:
credits
language
media
python
screensavers
scripts
skin
sounds
system
visualizations
web

next, you'll need to do some changes, here's the following

1. add codecs to this folder.
q:\system\players\mplayer\codecs\

2. next go to scripts and extract the zipped files by choosing "extract here". then delete the zipped archives.

3. next go to the web folder and do the same thing as step 2, extract the zipped archives by choosing "extract here", then erase the zipped archives.

4. next, go to the first folder of your "xbmc" app and delete all the folders named "cvs" "cvsignore" and "src". you need to have viewing of hidden files and folder on. an easier way to do this is choose search and search for all files named "cvs" and "src" and delete all those files. you're done.

5. download the "in_mp3.dll" file and place it in
q:\system\players\paplayer\
download here

optional 1: to compile "xbmc" automatically, use yuyu's automatic batch script and guide, get it here
optional 2: if you want to use the latest and up-to-date project mayhem ii skin, you can download it from critkill's website. the skin that are hosted there themselves are made by chokemaniac. go here to go to the website. you can find the latest "pm ii" skin in the "downloads" section of the website.

codecs/mplayer links:
<span style='color:green'>dday codec's last updated 11-08-2004</span>
dday's codecs
dday's codecs 2, only use if above link don't work
<span style='color:green'>diontae16 codec's last updated 4-15-2005 (new codecs)</span>
diontae16 codecs
in_mp3.dll
mplayer gcc series
diontae16 codecs and cvs mplayer
ezar2003's codecs
official xbmc codecs thread

python and scripts:
dday's python and plug-ins
dday's python and plug-ins 2, only use if above link don't work
diontae16 python libs
dday's script's
python and scripts homepage
kmlbrowse and simplekml fix scripts


i will continue to update this when i see the need.
Image
lana lang
Reply
striker, what's your latest automated batch file to compile xbmc ?
we would love to see if you have made some improvements...

thnks :kickass:
Reply
anybody know if visual c++ 2005 express edition beta will work with xdk to compile? or does it need to be visual studio.net 2003?
Reply
hi all,
i'm trying to get a working release script

looking at one of the scripts posted by ythan earlier in this thread, it tries to extract
"%rar%" %extractops% "%home%\xbmc\web\xbmc.rar" "%home%\upload\web\"
"%rar%" %extractops% "%home%\xbmc\python\python.rar" "%home%\upload\python\"

in the current cvs there are
web.rar
project_mayhem_webserver_v1.1.2.rar
in the web folder, and in the scripts folder there are
scripts.rar
user_submitted.rar
and a bunch of .py files
what do i need to do with these?

thanks
Reply
(jgawera @ nov. 18 2004,12:25 Wrote:hi all,
i'm trying to get a working release script

looking at one of the scripts posted by ythan earlier in this thread, it tries to extract
"%rar%" %extractops% "%home%\xbmc\web\xbmc.rar" "%home%\upload\web\"
"%rar%" %extractops% "%home%\xbmc\python\python.rar" "%home%\upload\python\"

in the current cvs there are
web.rar
project_mayhem_webserver_v1.1.2.rar
in the web folder, and in the scripts folder there are
scripts.rar
user_submitted.rar
and a bunch of .py files
what do i need to do with these?

thanks
why don't you check out my xbmc (download, build, rar) package?
you can find the thread for it here

i have it updated to the current cvs and it works great...
Image
Reply
ok, that looks great, it's downloading now and looks great.

did i mention it looks great?


oh yeah, i was actually working on some kind of script but now i've seen that, what's the point in re-inventing the wheel?

i do have a couple of suggestions though.

firstly, you say the compiler must be in c:\progra....
here's a little script that'll find it anywhere.
feel free to add it, or not Smile
:findcompiler_begin
set msvcnet2003_compiler=devenv
call :testreachability
if not errorlevel 1 goto findcompilersuccess
rem check if handy location variable from installation is available
if defined vs71comntools (
for /f "delims=" %%i in ("%vs71comntools%..\ide") do set msvcnet2003_compiler="%%~fi\devenv"
call :testreachability
if not errorlevel 1 goto findcompilersuccess
) else (
echo %~n0: variable vs71comntools undefined. visual studio .net 2003 might not be installed properly.
set errorlevel 1
goto findcompiler_end
)
rem ran out of ideas...
echo %~n0: visual studio .net 2003 compiler not found.
goto :eof
:testreachability
rem test reachability by calling up usage info on compiler
%msvcnet2003_compiler% /? > nul 2>&1
goto :eof
:findcompilersuccess
echo %~n0: msvcnet2003_compiler=%msvcnet2003_compiler%
:findcompiler_end

secondly, is there an easy way to get it to build from my sources? if i wanted to try adding something to the source, can i get it to build me an upload directory based on my sources? if not, maybe you could add some command line switches so that developer wannabes can use it to.

thanks again for this script, it's great Smile
Reply
i've now tried the script a couple of times and i'm pretty sure there's something wrong with it.

in the upload directory, under mplayer there is just codecs, no mplayer.dll

in the skins\project mayhem\ there is a file called media, should be a folder.
i think you might need a \ on the end of this line
Quote:copy "%home%\xbmc\skin\project mayhem\media\textures.xpr" "%home%\upload\skin\project mayhem\media
just comparing this with a release i got off suprnova, i found the following differences.
all docs moved to the docs folder (fair enough, looks tidier this way)
credits folder is missing
media folder is empty
skin\project mayhem contains only one file "media" and an empty fonts folder
visualisations folder is empty
weather folder is empty

am i doing something wrong?

thanks for any help
Reply
  • 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 13

Logout Mark Read Team Forum Stats Members Help
HOW-TO compile XBMC for Xbox from SVN0