forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved] XPD file exsitension

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Sat Feb 07, 2009 10:05 pm    Post subject: [Solved] XPD file exsitension Reply with quote

The idea i get then the from website Go! Messenger get error (i didn't tick the box accept the rules and press download)





[/

XPD file code:
Quote:

[Info]
EID=adp#
Desc=BT Go!Messenger Download
Size=0
Code=ULES00856
AName=DATA.DRM
[File]
C=http://www2.bt.com/static/i/btretail/cachedcontent/gomessenger/10_3/EBOOT.PBP
A=http://www2.bt.com/static/i/btretail/cachedcontent/gomessenger/10_3/Data.drm


Direct link to file: http://www2.bt.com/static/i/btretail/cachedcontent/gomessenger/client.XPD

if i accept the rules everythink works fine




So i decided to use google :D and found this app
PSP XPD Generator 1.1.0.0 (http://boardsus.playstation.com/playstation/board/message?board.id=pspmedia&thread.id=305972)

After lot of time spended trying to get it working i wrote this topic.... :/

I want to use XPD file for updating hombrew becouse it would be much easier and stable you just have to put url to browser...


Some ideas: to get code the direct link to download go messenger is http://gomessenger.bt.com/sony/client/download.jsp if i will be abble to change Web browser identification on PC i think i will get useful code (PSP Uses hibrid of mozzila browser)
If you have an example how use it in esiest way please answer me

Can anyone explain how to use it becouse it don't work for me


Last edited by Pihas on Sun Feb 08, 2009 10:12 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Zmathuee



Joined: 25 Jun 2008
Posts: 9

PostPosted: Sun Feb 08, 2009 3:07 am    Post subject: Reply with quote

In firefox download a plugin called user agent switcher, change you user agent to
Code:
Mozilla/4.0 (PSP (PlayStation Portable); 2.00)
then goto http://gomessenger.bt.com/gmp/clientdownload/download.do
Back to top
View user's profile Send private message
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Sun Feb 08, 2009 6:58 am    Post subject: Reply with quote

Page source... nothing specific :/

[hide]
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin template="/Templates/global-psp.dwt" codeOutsideHTMLIsLocked="false" -->
   <head>
      <meta http-equiv="Content-Language" content="en-gb" />
      <meta name="author" content="BT/ Sony PSP" />
      <meta name="copyright" content="Copyright (c) 2007 BT/Sony PSP" />
      <meta name="publisher" content="" />
      <meta name="robots" content="all" />   
      <meta name="description" content="" />

      <meta name="keywords" content="" />
      
      







               <link href="/static/includes/gmp/css/psp/global.css" media="all" type="text/css" rel="stylesheet" />
            
               <link href="/static/includes/gmp/css/psp/registration.css" media="all" type="text/css" rel="stylesheet" />
            





      
      <!-- InstanceBeginEditable name="title" -->
      <title>Sony PSP Go!Messenger Powered by BT</title>
      <!-- InstanceEndEditable -->
      
   </head>

   <body>

      <!-- Page container -->
      <div id="container">   
         
           


<!-- Account navigation -->
<ul id="account_nav">
<li/>               
</ul>

<!-- Logos -->
<div id="go_title">
   <img src="/static/wa/gmp/img/psp/psp-logo.gif" alt="Sony PSP logo" width="99" height="18" title="Sony PSP logo" id="logo_psp" />
   <img src="/static/wa/gmp/img/psp/go!messenger-logo.gif" alt="Go!Messenger" width="151" height="25" title="Go!Messenger" id="logo_gomessenger" />
   <img src="/static/wa/gmp/img/psp/bt-logo.gif" alt="BT logo" width="50" height="24" title="BT logo" id="logo_bt" />               
</div>         


<!-- Global navigation -->

<div id="global_nav">
   <img src="/static/wa/gmp/img/psp/top-nav-left-end.gif" width="11" height="23" class="floatLeft" alt="left corner global nav" title="left corner global nav" />
   <img src="/static/wa/gmp/img/psp/top-nav-right-end.gif" width="11" height="23" class="floatRight" alt="right corner global nav" title="right corner global nav" />                 
   <!-- InstanceBeginEditable name="globalNav" -->
   <ul>
      <li class="first"><a href="/static/pages/gmp/pc/home.html" title="Home">Home</a></li>
      <li><a href="/static/pages/gmp/pc/whatisit.html" title="What is it?">What is it?</a></li>
      <li class="active"><a href="#" title="Your account">Your account</a></li>

      <li><a href="/static/pages/gmp/pc/shop.html" title="Shop">Shop</a></li>
      <li><a href="/static/pages/gmp/pc/help.html" title="Help">Help</a></li>
   </ul>
  <!-- InstanceEndEditable -->         
</div>     
           
            <div class="clear"><!----></div>                   
         
          <!-- Content area -->
            <div id="content">
                <div class="pod-bottom"><div class="pod-left"><div class="pod-right"><div class="bl"><div class="br innerPadding">               
                <!-- InstanceBeginEditable name="mainContent" -->

                <div class="pod">
                   






<script language="javascript">

function windowOpen(url){
window.open(url);
}

function acceptCount(){
   var chkBox = document.getElementById("tcCheckbox");
   if(chkBox.checked){
   s_linkTrackVars='eVar9';
   s_eVar9='+1';
   s_linkType='o';
   s_linkName='BT.com|Con|GoMessenger|clientdownload|AcceptCount';
   s_gs('btcom');
   s_lnk=s_co(this);
   }
   document.termsconditionsform.submit();
}

</script>

<table cellpadding="2" cellspacing="0">
<tr>
<td>
<h3>Go!Messenger Client download</h3>
</td>
</tr>
</table>

            <form name="termsconditionsform" method="post" action="/gmp/clientdownload/termsAndConditions.do">                                    
               <table name="TermsConditionsTable" cellpadding="2" cellspacing="0" border="0">         
                  
                  
                           
                     <td>

                        <input type="checkbox" id="tcCheckbox" name="tcCheckbox"/>
                        I accept the&nbsp;<a href="javascript:windowOpen('/static/pages/gmp/pc/terms.html')">Terms and Conditions</a>
                     </td>
                  </tr>
                  
               </table>
               <br/><br/><br/><br/><br/><br/>
               <div id="base_link">
               <div class="rightLink orange base">

                  <a href="#" onClick="acceptCount()" title="Download">Download</a>
               </div>
               <font color="red"><li>Please accept terms and conditions to proceed.</li></font>
               </div>
                              
            </form>
<script type="text/javascript" language="JavaScript">
  <!--
  var focusControl = document.forms["termsconditionsform"].elements["tcCheckbox"];

  if (focusControl.type != "hidden" && !focusControl.disabled) {
     focusControl.focus();
  }
  // -->
</script>

               
            

                </div>

                <!-- InstanceEndEditable --> 
                </div></div></div></div></div>                      
            </div>
      
         <!-- Footer area -->
         <div id="footer">
            


<ul>
   <li class="first">&copy; BT 2007</li>
   <li><a href="/static/pages/gmp/pc/terms.html" title="Terms" target="_blank">Terms</a></li>

   <li><a href="http://www2.bt.com/btPortal/application?origin=con_footer.jsp&event=bea.portal.framework.internal.portlet.event&pageid=mb_form&portletid=mb_form&portletns=mb_form&wfevent=Link.mb_form&com.bea.event.type=linkclick&oLDesc=Privacy+Policy&oSiteArea=con.mya&oPJsp=con_footer.jsp&oPt=profile_centre&oLName=privacyPolicy&oOJsp=profile_signup_step1.jsp&oPg=profile_centre&siteArea=con.mya&type=privacy" title="Privacy" target="_blank">Privacy</a></li>

</ul>
         </div>
         
             
             
         

<!-- SiteCatalyst code version: G.9.
Copyright 1997-2004 Omniture, Inc. More info available at
http://www.omniture.com -->



<script language="JavaScript">

<!--
/* You may give each page an identifying name, server, and channel on the next lines. */
var s_pageName='BT.com|Con|GoMessenger|clientdownload|terms and conditions'
var s_hier1='BT.com,Con,GoMessenger,clientdownload,terms and conditions'
var s_channel="Consumer"

/********* INSERT THE DOMAIN AND PATH TO YOUR CODE BELOW ************/
//-->
</script>
<script src="/static/includes/gmp/js/omniture_live.js" type="text/javascript"> </script>
<!-- End SiteCatalyst code version: G.9. -->

      </div>
   </body>
<!-- InstanceEnd --></html>
[/hide]


Can't find anythink specific no scripts or cokies actyvying the PSN XPD file exsitension so where is my problem or it is doing in server side and i'm not able to see it... :/ it doesn't work when i open this with psp

Code:
<html>This works (Automaticly downloads)<br><a href="http://www2.bt.com/static/i/btretail/cachedcontent/gomessenger/client.XPD"target="download_">Download</a><br/><br/>This doesn't work (Open new page)<br><a href="http://psp-triukai.xz.lt/client.XPD"target="download_">Download</a></html>


Can it be becouse bt.com is listed in firmware and my web page not, i don't understand where is the problem

Found web page in france about it http://www.ultimatepsp.fr/forums/les-tutoriaux-des-membres/27645-tuto-utiliser-les-fichiers-xpd-pour-navigateur-web-de-la-psp.html but id doesn't help
Back to top
View user's profile Send private message Visit poster's website
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Sun Feb 08, 2009 10:10 pm    Post subject: Reply with quote

Muahaha it's works :DD just need force download script and write that file is text/plain finaly.

Here is script of blablabla.php file:
Code:
<?php
header('Content-disposition: attachment; filename=game.xpd');
header('Content-type: text/plain');
readfile('game.xpd');
?>


Source of game.xpd file:
Code:
[Info]
EID=adp#
Desc=BT Go!Messenger Download
Size=0
Code=ULES00856
AName=DATA.DRM
[File]
C=http://www2.bt.com/static/i/btretail/cachedcontent/gomessenger/10_3/EBOOT.PBP
A=http://www2.bt.com/static/i/btretail/cachedcontent/gomessenger/10_3/Data.drm

Back to top
View user's profile Send private message Visit poster's website
victorprosa



Joined: 14 Jan 2009
Posts: 38

PostPosted: Sun Feb 08, 2009 11:58 pm    Post subject: Reply with quote

Shouldn't be easier just point to the file?

like, redirect to blablabla.XPD?
Back to top
View user's profile Send private message Send e-mail
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Mon Feb 09, 2009 12:57 am    Post subject: Reply with quote

You can't in other ways active PSN Downloader and this only starts when it reads xpd file.... it's downloader for hombrews which cointain mutiply files... not just for example 1 song and all content it saves in ms0:/PSP/GAME/

if use redirect it only opens tthe source of file xpd
Back to top
View user's profile Send private message Visit poster's website
victorprosa



Joined: 14 Jan 2009
Posts: 38

PostPosted: Tue Feb 10, 2009 5:32 am    Post subject: Reply with quote

Strange...

The french tutorial says to use this:

Code:
<a href="down.xpd">Télécharger !</a>


a simple file openning O_o
Back to top
View user's profile Send private message Send e-mail
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Wed Feb 11, 2009 12:28 am    Post subject: Reply with quote

lol look at posts below... it don't work in 5.00 fw.... it just open xpd file as text file if you use just a simple link <a href="Link of xpd"></a>...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group