You are here

XBMC Media Center Portable 9.11 Development Test 5

43 posts / 0 new
Last post
radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
XBMC Media Center Portable 9.11 Development Test 5

Application: XBMC Media Center
Category: Music & Video
Description: XBMC Portable is an award winning media center application for Linux, Mac OS X, Windows and XBox. The ultimate hub for all your media, XBMC is easy to use, looks slick, and has a large helpful community. This portable version is made with a NSIS launcher, on a simplified version of the one used by Portableapps.com, but with admin rights verification and packaged with the Portableapps.com format. It doesn't leave any data on AppData dir, it is set for this. Furthermore, it's automatically set to look for your media files on PortableApps.com Menu folders when it builds the library.

Download XBMC Media Center Portable 9.11 Development Test 5 [151MB download / 260MB installed]
(MD5:1c20518d724e9bd81ec4ab4b2a452ab4)

Release Notes:

Development Test 5 (2010-11-19) : Localization bug fixed. The app now launches in English.


Development Test 4 (2009-12-27) : Bug fixed, due to DirectX and Visual C++ dependencies.
Launcher with DirectX and Visual C++ install verification.


Development Test 3 (2009-12-26) : Updated to XBMC 9.11, with the new launcher and admin rights, because the programm needs it now.
Bonus : MC360 Theme included


- Minor update : improved launcher is out -> Download


Development Test 2 (2009-07-04):
- Added support of the Pa.com's platform by the XBMC's media library. (Special thanks to NeoRame =))

Development Test 1 (2009-06-26): Initial release

EspaÑaks (not verified)
OK

It works fine for me. You should try to get the app to auto-detect the PApps.com structure's Documents (Music, Pictures & Video)

NeoRame
NeoRame's picture
Offline
Last seen: 3 years 12 months ago
Joined: 2007-05-11 09:12
i love this app ;-) can i

i love this app Wink can i update xbmc (*hint* new version is out) via interface or have i to wait until xou update the portable version???

Hell was full, so I came back!!!
Sorry for my lousy English!!!

Mir
Mir's picture
Offline
Last seen: 12 years 3 months ago
Joined: 2007-12-03 16:07
Sadly it doesnt do television

Sadly it doesnt do television =_=

NeoRame
NeoRame's picture
Offline
Last seen: 3 years 12 months ago
Joined: 2007-05-11 09:12
and on first start it hangs

and on first start it hangs up but on second start it works well

Hell was full, so I came back!!!
Sorry for my lousy English!!!

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
You can do it manually, but....

You can do it manually, simply copy the app files, (after installing it and setting the mode where data is stored with app) into the folder App\XBMC.

But the portable version'll have updated also the appinfo.ini and the launcher.

It's your own choice.

But, a little question, where did you find your new version ? I've looked on the official website, but the version I found was the same as I packaged.

NeoRame
NeoRame's picture
Offline
Last seen: 3 years 12 months ago
Joined: 2007-05-11 09:12
on my first test i used the

on my first test i used the update inside of xbmc and they clled me that exists a new version after downlad he told me that im now on the latest version.....

Hell was full, so I came back!!!
Sorry for my lousy English!!!

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
Stuck with NSIS Code

For Espanaks :

Your idea is very nice guy, and I've followed it. after looking on their forums in order to know how to modify media source.

We have to only modify a XML file. I've found how to do with NSIS, but, when I'd create a XML value named (path where the music is on the PA.com Platform), I can't.

The problem is that I've to put the root directory\Documents\Music.
But what variable on NSIS set this root directory ?

NeoRame
NeoRame's picture
Offline
Last seen: 3 years 12 months ago
Joined: 2007-05-11 09:12
what is your problem u dont

what is your problem u dont know how u can change the xml or wich path u must add in the xml ?????

u can use diffent ways for path (relative pathes) execdir/../../blabla or installdir/../bli/bla/blub.....

show me your srting that must be changed in the xml... ah and can you set relative pathes for the xml????

Hell was full, so I came back!!!
Sorry for my lousy English!!!

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
The path on the xml file =)

My problem is the path on the XML File; all the default variables i've seen with NSIS doesn't work with the result I'd like.

Here is my .nsi code (the XML creation is at the top of the file) :

; PortableApps.com & Vince'
; NSIS with Registry.nsh in Include and Registry.dll, FindProcDLL.dll, KillProcDLL.dll, and NSISXML.dll in Plugins

; **************************************************************************
; === Define constants ===
; **************************************************************************
!define VER 		"9.04.1.20672"	; version of launcher
!define APPNAME 	"XBMC Media Center"	; complete name of program
!define APP 		"XBMC"	; short name of program without space and accent  this one is used for the final executable an in the directory structure
!define APPEXE 		"XBMC.exe"	; main exe name
!define APPDIR 		"App\XBMC"	; main exe relative path
!define APPSWITCH 	"-fs -p"	; some default Parameters

;--- Define RegKeys ---
!define REGISTRY
	!define REGKEY1 "HKEY_USERS\S-1-5-21-3602194969-3787152428-3218906141-1000\SOFTWARE\XBMC"

; ---Define Dirs, ---
	!define LOCALDIR1 "$APPDATA\Roaming\XBMC"
	!define PORTABLEDIR1 "$EXEDIR\Data\XBMC"
	!define DEFAULTPORTABLEDIR1 "$EXEDIR\App\DefaultData\XBMC"

; ---Define Files ---
	!define LOCALFILE1 "$WINDIR\XBMC.ini"
	!define PORTABLEFILE1 "$EXEDIR\Data\XBMC.ini"
	!define DEFAULTPORTABLEFILE1 "$EXEDIR\App\DefaultData\XBMC.ini"

	
; **************************************************************************
; === Best Compression ===
; **************************************************************************
SetCompressor /SOLID lzma
SetCompressorDictSize 32

; **************************************************************************
; === Includes ===
; **************************************************************************
!include "PortableApp.nsh" 

; **************************************************************************
; === Set basic information ===
; **************************************************************************
Name "${APPNAME} Portable"
OutFile "..\..\${APP}Portable.exe"
Icon "${APP}.ico"

; **************************************************************************
; === MultiLang ===
; **************************************************************************
Var LNG
Function MultiLang
StrCpy $LNG "English"
System::Call 'kernel32::GetUserDefaultLangID() i .r0'
StrCmp $0 "1033" 0 +2
StrCpy $LNG "English"
StrCmp $0 "1036" 0 +2
StrCpy $LNG "Francais"
ReadINIStr $0 "$EXEDIR\${APP}Portable.ini" "${APP}Portable" "UserDefaultLang"
StrCmp $0 "false" +3
WriteINIStr "$EXEDIR\${APP}Portable.ini" "${APP}Portable" "UserDefaultLang" "true"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\MyProg" "Language" "$LNG"
FunctionEnd

; **************************************************************************
; === Other Actions ===
; **************************************************************************
Function Init

FunctionEnd

Function Close

FunctionEnd


; **************************************************************************
; ==== Running ====
; **************************************************************************
Section "Main"
	Call CreateSourceFile
	Call CheckStart

	Call BackupLocalKeys
	Call RestorePortableKeys

	Call BackupLocalDirs
	Call RestorePortableDirs

	Call BackupLocalFiles
	Call RestorePortableFiles
	
	Call Init
	Call MultiLang

		Call SplashLogo
		Call Launch

	Call Restore

SectionEnd

Function Restore

	Call Close

	Call BackupPortableFiles
	Call RestoreLocalFiles

	Call BackupPortableDirs
	Call RestoreLocalDirs

	Call BackupPortableKeys
	Call RestoreLocalKeys

FunctionEnd

;***************************************************************************
; ========= Setting XBMC media source on Portableapps.com doc's========
;***************************************************************************
Function CreateSourceFile
	nsisXML::create
	nsisXML::createProcessingInstruction "xml" 'version="1.0" encoding="UTF-8" standalone="yes"'
	nsisXML::appendChild
	nsisXML::createElement "music"	; create main document element node
	nsisXML::appendChild
	StrCpy $1 $2			; lets move to this node and create its childs:
	nsisXML::createElement "default"
	nsisXML::setText "Musics on the PortableApps.com Platform"
	nsisXML::appendChild
	nsisXML::createElement "source"
	nsisXML::createElement "name"
	nsisXML::setText "Music"
	nsisXML::createElement "path"
	nsisXML::setText ""
	nsisXML::appendChild
	nsisXML::save "$EXEDIR\Data\XBMC\sources\Sources.xml"
	CopyFiles /SILENT /FILESONLY $EXEDIR\Data\XBMC\sources\sources.xml $EXEDIR\App\XBMC\usersources
FunctionEnd

; **************************************************************************
; === Run Application ===
; **************************************************************************
Function Launch
SetOutPath "$EXEDIR\${APPDIR}"
${GetParameters} $0
ExecWait `"$EXEDIR\${APPDIR}\${APPEXE}"${APPSWITCH} $0`
WriteINIStr "$EXEDIR\Data\${APP}Portable.ini" "${APP}Portable" "GoodExit" "true"
FunctionEnd

; **************************************************************************
; ==== Actions on Registry Keys =====
; **************************************************************************
Function BackupLocalKeys
	${registry::DeleteKey} "${REGKEY1}-BackupBy${APP}Portable" $R0
	${registry::MoveKey} "${REGKEY1}" "${REGKEY1}-BackupBy${APP}Portable" $R0
Sleep 50
FunctionEnd

Function RestorePortableKeys
IfFileExists "$EXEDIR\Data\${APP}.reg" +4
IfFileExists "$EXEDIR\App\DefaultData\${APP}.reg" 0 +5
CreateDirectory "$EXEDIR\Data"
CopyFiles  /SILENT "$EXEDIR\App\DefaultData\${APP}.reg" "$EXEDIR\Data"
${registry::RestoreKey} "$EXEDIR\Data\${APP}.reg" $R0
Sleep 200
FunctionEnd

Function BackupPortableKeys
Delete "$EXEDIR\Data\${APP}.reg"
CreateDirectory "$EXEDIR\Data"
	${registry::SaveKey} "${REGKEY1}" "$EXEDIR\Data\${APP}.reg" "/A=1" $R0
Sleep 100
FunctionEnd

Function RestoreLocalKeys
	${registry::DeleteKey} "${REGKEY1}" $R0
	${registry::MoveKey} "${REGKEY1}-BackupBy${APP}Portable" "${REGKEY1}" $R0
Sleep 50
${registry::Unload}
FunctionEnd

; **************************************************************************
; ==== Actions on Folders =====
; **************************************************************************
Function BackupLocalDirs
	RMDir "/r" "${LOCALDIR1}-BackupBy${APP}Portable"
	Rename "${LOCALDIR1}" "${LOCALDIR1}-BackupBy${APP}Portable"
FunctionEnd

Function RestorePortableDirs
	IfFileExists "${PORTABLEDIR1}\*.*" +4
	IfFileExists "${DEFAULTPORTABLEDIR1}\*.*" 0 +5
	CreateDirectory "${PORTABLEDIR1}"
	CopyFiles /SILENT "${DEFAULTPORTABLEDIR1}\*.*" "${PORTABLEDIR1}"
	CreateDirectory "${LOCALDIR1}"
	CopyFiles /SILENT "${PORTABLEDIR1}\*.*" "${LOCALDIR1}"
FunctionEnd

Function BackupPortableDirs
	RMDir "/r" "${PORTABLEDIR1}"
	CreateDirectory "${PORTABLEDIR1}"
	CopyFiles /SILENT "${LOCALDIR1}\*.*" "${PORTABLEDIR1}"
FunctionEnd

Function RestoreLocalDirs
	RMDir "/r" "${LOCALDIR1}"
	Rename "${LOCALDIR1}-BackupBy${APP}Portable" "${LOCALDIR1}"
FunctionEnd

; **************************************************************************
; ====Actions on Files =====
; **************************************************************************
Function BackupLocalFiles
	Delete "${LOCALFILE1}.BackupBy${APP}Portable"
	Rename "${LOCALFILE1}" "${LOCALFILE1}.BackupBy${APP}Portable"
FunctionEnd

Function RestorePortableFiles
	IfFileExists "${PORTABLEFILE1}" +4
	IfFileExists "${DEFAULTPORTABLEFILE1}" 0 +4
	CreateDirectory "$EXEDIR\Data"
	CopyFiles /SILENT "${DEFAULTPORTABLEFILE1}" "${PORTABLEFILE1}"
	Rename  "${PORTABLEFILE1}" "${LOCALFILE1}"
FunctionEnd

Function BackupPortableFiles
CreateDirectory "$EXEDIR\Data"
	Rename "${LOCALFILE1}" "${PORTABLEFILE1}"
FunctionEnd

Function RestoreLocalFiles
	Delete "${LOCALFILE1}"
	Rename "${LOCALFILE1}.BackupBy${APP}Portable" "${LOCALFILE1}"
FunctionEnd

NeoRame
NeoRame's picture
Offline
Last seen: 3 years 12 months ago
Joined: 2007-05-11 09:12
can you send me the plugin

can you send me the plugin and nsh for the xml stuff??

btw they us another problem, xbmc dont support ralative pathes and when u use xbmc portable and change the device letter , xbmc cant find any of the added movies...

*EDIT*
ok i have found out how you can set relative pathes path for the music folder for example must be:

special:\\home\..\..\..\..\Documents\Music\

*EDIT 2*

why you dont install /implented not a preformed xml in you installer?? so you dont need the create xml stuff

Hell was full, so I came back!!!
Sorry for my lousy English!!!

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
nsisXML

The plugin is nsisXML, you can download it here.

I have'nt understood you method guy;
I've uploaded the source of my launcher here(Source.zip).
Try to do something plz I'm really stuck Smile

NB: the xml file for xbmc is into the App folder\XBMC\userdata\sources.xml

NeoRame
NeoRame's picture
Offline
Last seen: 3 years 12 months ago
Joined: 2007-05-11 09:12
what i mean is let this

what i mean is let this nsisxml shit. you dont need it u must only change the source.xml use this one:

http://www.mediafire.com/?045ldyqndij

Hell was full, so I came back!!!
Sorry for my lousy English!!!

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
Wonderful !

Wow, it's wonderful guy Smile

Thanks you very much for the tip Blum

I'll package this new version and upload it now... Thanks again dude

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
New version out

9.11

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-12-06 18:07
doesn't work....the splash

doesn't work....the splash screen flashes but that's all that happens

The developer formerly known as ZGitRDun8705

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
Admin rights

What os do you use ? 'Cause on my Windows 7, il has admin rights automatically and works.

If you're on XP, you must set this program with admin rights if you want to run it.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-12-06 18:07
Windows 7, and I allowed it

Windows 7, and I allowed it admin rights.

Edit:: Nevermind, im confused lol

The developer formerly known as ZGitRDun8705

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
So it works ?

So it works ?

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-12-06 18:07
nope....i was digging in the

nope....i was digging in the launcher and thought i had found the issue, but i didn't.

The developer formerly known as ZGitRDun8705

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
Strange....

Strange.... I'll test tomorrow with other Windows 7 machines, but I'm confused : it work well in my computer. Don't know why it doesn't launch.

I'll say you this soon Wink

bjacobel
Offline
Last seen: 11 years 8 months ago
Joined: 2008-07-10 17:46
Nope.

Not working for me on XP SP3 - splash screen for the portableapps alpha comes up, but nothing happens. I'm going to try the application itself with the -p shortcut and see what happens.

rail
Offline
Last seen: 14 years 2 months ago
Joined: 2008-06-12 15:09
I had the same problem on XP SP3

The first time I ran Portabla XBMC after installing DevTest4 I got a message. I think it said that it was going to look for some dependencies and would download them if it couldn't find them (or at least tell me what I was missing). Then it shutdown without doing anything.

I ran it half a dozen more times, but every time the splash screen would appear, and then immediately disappear. I watched the XBMC process appear momentarily in the active processes list time and time again. I then tried running \\PortableApps\XBMCPortable\App\XBMC\XBMC.exe

It told me that it couldn't find d3dx9_42.dll so I re-downloaded Direct X from here: http://www.microsoft.com/downloads/en/default.aspx ; Re-installing Direct X was fast and simple (I didn't even have to reboot!), and XBMC worked normally from the Portable Apps menu without any more fiddling. I'm indexing my library right now.

nb. It seemed ridiculous to me that my Direct X installation wouldn't be up to date. I game semi-regularly and I'd updated Direct X recently. Nonetheless, the reinstall did the trick.

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
Yet fixed :)

I know this problem and I've discovered by the same way as you. Thanks for the feedback anyway.

But, you're saying that this arrived with Dev Test 4 ? It seems me impossible, because I've added to my launcher DirectX Updater by Microsoft and the launcher is set to verify latest update, but one time by machine.

Are your sure the problem I've fixed with the Dev Test 4 was with the Dev Test 4 ? Pardon

rail
Offline
Last seen: 14 years 2 months ago
Joined: 2008-06-12 15:09
Pretty sure

The file I installed was XBMCPortable_9.11_Release_4.paf.exe

The MD5 matches, and I downloaded it at ~3pm on New Years Day (~2am based on portableapps.com server time). I haven't touched a portable XBMC install prior to that, and had uninstalled my old "proper" XBMC and deleted the associated Documents & Settings folders at least several days earlier.

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
Problem Found

While testing my portable app, I've seen that it needs some dependencies to work (Visual C++ Redistribuable and DirectX latest).

That's why I've added to my launcher a verification of the installation on every PC, and it will ask you when needed.

Upload soon ! Wink

jmarshall
Offline
Last seen: 14 years 8 months ago
Joined: 2010-02-24 14:46
XBMC is portable out of the box.

Hi there,

XBMC is portable out of the box. It does not write anywhere outside it's own folder if started with the -p switch. This is even an option from the installer - you can install it wherever you like and it'll create the shortcut for you.

We (Team XBMC) welcome any improvements to the build system that allows this to be done in a better way. Please drop us a line at http://xbmc.org and let us know any improvements you need.

Cheers,
Jonathan (Team XBMC)

Bily42
Offline
Last seen: 5 years 3 weeks ago
Joined: 2010-11-19 05:15
Installed English version but it is in FRENCH!

Okay, I'm pretty familiar with French but I would like the English version...do I choose French instead of English when I install this to get English or what???
Do I need to download from somewhere other than this page to get an English version?

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
@jmarshall I already know

@jmarshall
I already know this, so my version here is only a Portableapps.com version of XBMC, the launcher checks if Visual C++ and DirectX dependencies are installed, if no, ask the user to install them, if yes, to launch directly the app, with the -p argument.

@Bily42
Wooops, I thought the version was natively English. I'm making a patch.

Bily42
Offline
Last seen: 5 years 3 weeks ago
Joined: 2010-11-19 05:15
Do I have to download the whole file again to get English?

I am only allotted 200 MB's per day by my ISP (satellite).
Is there a small patch I could apply instead?
Thanks.

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
No, you just have to modify a

No, you just have to modify a line in an xml file. I'll make a smaller patch just for you, I'll post it later.

Bily42
Offline
Last seen: 5 years 3 weeks ago
Joined: 2010-11-19 05:15
Thanks, radarman!

Custom service...I like it. Smile
Will be checking back for the file.
Nevermind, fixed it myself.

Bily42
Offline
Last seen: 5 years 3 weeks ago
Joined: 2010-11-19 05:15
Nevermind, I fixed it myself through the xml file

BUT, how do I exit out of this XBMC? I go to "shutdown" and it says something about a countdown timer. All I want to do is exit the software.
AND, can I use another skin? My son will only be using it to watch movies on DVD or xvid avi movies with it and maybe putting some pictures on it. Are there other skins without all the gaming stuff like the one that comes with the XBMC for Windows?
Thanks!

radarman36
radarman36's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2009-05-20 09:44
No, there is a exit button

No, there is a exit button normally. But the skin I packaged by default with the portable edition is a little strange, you can revert to the default skin in order to easily exit the program.
And yes, of course you can change. Simply check the skin options of the program.

CaptainKen
Offline
Last seen: 13 years 8 months ago
Joined: 2011-03-08 15:19
So jmarshal reported back in

So jmarshal reported back in Feb of 2010 that xbmc was "portable out of the box". This may be true, but the other issue is that it must be run with the -p parameter in order for the data to be stored in the portable_data folder on the USB drive rather then C:\users\username\AppData\Roaming\xbmc .

PortableApps needs to recognize this. It would be nice if PortableApps would allow you to right click an app on the menu to access launch properties. Also helpful if the user could manually add their own apps to the menu.

xchullit
Offline
Last seen: 13 years 7 months ago
Joined: 2011-03-14 17:27
XBMC 10 PORTABLE

guys , pls xbmc 10 portable NOW Biggrin

depp.jones
Offline
Last seen: 6 hours 2 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Already implemented

Read the Readme.txt in the specific app's Other\Source how to use commandline switches with the help of an ini file. On the other hand, that's just how XBMC Portable works (read radarman36's reply to jmarshal).

You could add whatever app you like to the menu, too, as stated in the manual.

Alcasar
Offline
Last seen: 1 year 11 months ago
Joined: 2009-11-30 16:19
Stable?

Any ideas if it could come out of development any time soon?

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 2 months ago
Joined: 2008-04-03 22:45
Is anyone likely to pick this

Is anyone likely to pick this up? I ask as an XBMC Portable as PAF offers a great solution for one of the most common gripes with XBMC.

That is maintaining a single instance with watched/unwatched tally, imported media, customized settings, etc across multiple logins.

PortableApps.com Advocate

jpoul
Offline
Last seen: 4 years 3 months ago
Joined: 2010-05-02 07:52
XBMC 11.0 Dev Test 1

Hi... I did some work on the new upcoming version of XBMC. You can find it here: https://portableapps.com/node/29389. I didn't know about this effort, but I was pointed here by a member, so I thought I just let you know.

If there is any info / suggestions, plz let me know. Thanx

Hope I'm being usefull.

tal
Offline
Last seen: 1 year 7 months ago
Developer
Joined: 2009-08-07 07:34
previous link:

previous link: XBMC 11.0 Dev Test 1 of jpoul is not working.
so there for your(radarman36) is the most recent version of xbmc.

there is a new version for windows 12rc1:
xbmc v12 frodo

can you update to it?

Tal.

sh00pdawh00p
Offline
Last seen: 10 years 7 months ago
Joined: 2012-10-02 08:20
Why admin access?

After extracted, XBMC itself doesn't need admin access to run. So why did you require it on yours?

sh00pdawh00p
Offline
Last seen: 10 years 7 months ago
Joined: 2012-10-02 08:20
sorry for the repeat

my browser did something wierd

Log in or register to post comments