Jump to content
RealModScene
Gualdimar

[RELEASE] FSD TUs and covers download fix

Recommended Posts

Guest Thank you

Thank you very much! I am not very technical and I am glad you method works.

Share this post


Link to post
Share on other sites
Guest guest from lv

hi guys, tried to use TU download after default.xex replace. but nothing comes out, is there any issues with target host?

Share this post


Link to post
Share on other sites

dizazter`s host is offline for some reason. hope he`ll fix it in nearest future.

but at the moment, the most reliable path is to use your own hosting

  • Like 1

Share this post


Link to post
Share on other sites
5 minutes ago, Gualdimar said:

dizazter`s host is offline for some reason. hope he`ll fix it in nearest future.

but at the moment, the most reliable path is to use your own hosting

Thanks for quick answer! May I ask you to point me to the topic where is described how to deliver TU using my own hosting?

Share this post


Link to post
Share on other sites

What is the second "default.rar" file with default.xex dated Nov 11, 2015 in the first post?

Share this post


Link to post
Share on other sites
2 hours ago, gjf said:

What is the second "default.rar" file with default.xex dated Nov 11, 2015 in the first post?

it`s an old, outdated version

  • Like 1

Share this post


Link to post
Share on other sites
Guest Tandi

Too bad the TU and the Covers don't download anymore with the latest default.rar u've provided... :(

 

Share this post


Link to post
Share on other sites
7 hours ago, Guest Tandi said:

Too bad the TU and the Covers don't download anymore with the latest default.rar u've provided... :(

 

dizazter's hosting is unreachable at the moment.

just wait and hope for the best or host by yourself

Share this post


Link to post
Share on other sites
On 23.03.2017 at 5:04 PM, dizazter said:

Hello. 

The server will be down till Monday because of maintenance.

Please, dont worry. Everything will be OK from Monday.

Sorry for inconvinience.

 

Share this post


Link to post
Share on other sites
4 hours ago, rockohoward said:

Is this still down? I cant seem to download TU or covers for FSD

Try ths one. 

 It downloads covers & TU's. Just tested it & still works ;) Not sure for how long though.. 

Share this post


Link to post
Share on other sites
21 hours ago, rockohoward said:

Is this still down? I cant seem to download TU or covers for FSD

everything is up and running. Look for issues on your side.

*UPDATE*
starting from August the 16th IP Address will be changed, so everyone needs to redownload xex from the first post

  • Thanks 1

Share this post


Link to post
Share on other sites

Hey Guys,

      Yesterday i went to go and update titles on Fsd dash and it looks like its not connecting

Its trying but i am not sure if the hosting is down or not.. When i go to download it it shows three items

but 0 Kbps My Network is fine no problems but just cannot download tu's and covers does anyone have an idea what is happening

 

 

                Tony

Share this post


Link to post
Share on other sites
6 hours ago, mondoman22 said:

Hey Guys,

      Yesterday i went to go and update titles on Fsd dash and it looks like its not connecting

Its trying but i am not sure if the hosting is down or not.. When i go to download it it shows three items

but 0 Kbps My Network is fine no problems but just cannot download tu's and covers does anyone have an idea what is happening

 

 

                Tony

he moved to aurora best

Share this post


Link to post
Share on other sites
4 hours ago, salah.rgh2 said:

he moved to aurora best

Ahhh it wasn't a problem... Damn internet was screwing up on my end everything is fine... I will be moving to aurora Shortly 

I build so many rgh's i just haven't had the time to transfer the stuff over Thank you for the heads up...

Share this post


Link to post
Share on other sites
On 11/5/2016 at 4:37 PM, Gualdimar said:

it is, but a little bit of php coding and mysql can transform it into your own cover db. it is esspecialy usefull because of broken push to xbox function.

this scripts are just base, they aren`t ready solution.

presonaly i`m too lazy to install mysql, so i created xml files with favourites covers on my local server and used this code in cover.php:


	if (file_exists('covers/'.$titleid))
	{
		include('covers/'.$titleid);
	}
	else
	{
		//request to xboxunity
	}

So, since I would like to also do this, where in your PHP script do I add these lines?

Share this post


Link to post
Share on other sites

rileyil77you need to create a folder named covers in the direcoty with cover.php

example: for GTA5 cover you should create a file named 545408A7 with a proper xml answer for fsd:

<?xml version="1.0" encoding="ISO-8859-1"?>
<covers><title id="545408A7" name="GTA V" mediaid="" filename="Cover.png" type="" mainlink="http://XboxUnity.net/api/boxart/5679" front="http://XboxUnity.net/api/boxartfront/5679" Official="1"/></covers>

and the first 25 lines of cover.php should look like this:

 

<?php
$titleid=strtoupper($_GET['id']);
if($_GET['query'] == "TitleID")
{
	if (file_exists('covers/'.$titleid))
	{
		include('covers/'.$titleid);
	}
	else
	{
		$ch = curl_init();
		$options = [
		    CURLOPT_SSL_VERIFYPEER => false,
		    CURLOPT_RETURNTRANSFER => true,
		    CURLOPT_URL            => 'http://xboxunity.net/api/Covers/'.$titleid
		];
		
		curl_setopt_array($ch, $options);
		$data = json_decode(curl_exec($ch));
		curl_close($ch);
		
		cover($data);
	}
}

Share this post


Link to post
Share on other sites
19 hours ago, Gualdimar said:

rileyil77you need to create a folder named covers in the direcoty with cover.php

example: for GTA5 cover you should create a file named 545408A7 with a proper xml answer for fsd:


<?xml version="1.0" encoding="ISO-8859-1"?>
<covers><title id="545408A7" name="GTA V" mediaid="" filename="Cover.png" type="" mainlink="http://XboxUnity.net/api/boxart/5679" front="http://XboxUnity.net/api/boxartfront/5679" Official="1"/></covers>

and the first 25 lines of cover.php should look like this:

So I take it where the XML says for example:  mainlink="http://XboxUnity.net/api/boxart/5679, I would replace with example:  mainlink="http://myserverip/xbox360/cover/5679

Also a great update to the default.xex creator would be to point to the q.php.  I think it would be awesome to have weather back on my modded XBox 360 under FreeStyle Dash.

Thanks again for all your help.

Edited by rileyil77
More information.

Share this post


Link to post
Share on other sites

Okay, so I have a problem.  Thanks, Gualdimar again for helping me out.

So, because when I use FSD 3's WebUI it crashes FreeStyle Dash when I update the covers.  I would really like this to work, but if not I'll do what a friend said to do and wipe the FreeStyle Dash /DATA sub directory and start over....  Anyway, I have a couple of HomeBrew Games that were PC Games and ported over to run on the XBox Classic by a team named AfterShock.  So, XBoxUnity.net does not have their covers.  Since I custom made a cover for the game AfterShock Pool SX, I followed Gualdimar's instructions he gave me a couple post back.  Since Aftershock Pool SX's Title ID is 07398CDC, I created the sub folder on my  server  \\mylanserverpc\xbox360\covers\07398CDC.  I used his example an created this XML since I'm not a programmer and knowing nothing about XML or PHP:

<?xml version="1.0" encoding="ISO-8859-1"?>
<covers><title id="07398CDC" name="AfterShock Pool SX" mediaid="" filename="Cover.png" type="" mainlink="http://mylanserverip/xbox360/covers/07398CDC" front="http://mylanserverip/xbox360/covers/07398CDC" Official="1"/></covers>

I also updated the covers.php following directions:

<?php
$titleid=strtoupper($_GET['id']);
if($_GET['query'] == "TitleID")
{
    if (file_exists('covers/'.$titleid))
    {
        include('covers/'.$titleid);
    }
    else
    {
        $ch = curl_init();
        $options = [
            CURLOPT_SSL_VERIFYPEER => false,
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_URL            => 'http://xboxunity.net/api/Covers/'.$titleid
        ];
        
        curl_setopt_array($ch, $options);
        $data = json_decode(curl_exec($ch));
        curl_close($ch);
        
        cover($data);
}
    ];
    
    curl_setopt_array($ch, $options);
    $data = json_decode(curl_exec($ch));
    curl_close($ch);
    
    cover($data);
}

function cover($data)
{
    $xml = new SimpleXMLElement('<?xml version="1.0" encoding="ISO-8859-1"?>'.'<covers/>');
        
    if(count($data)>0)
    {
        foreach ($data as &$value) {        
            $title = $xml->addChild('title');
            $title->addAttribute('id',$value->titleid);
            $title->addAttribute('name',$value->name);
            $title->addAttribute('mediaid','');
            $title->addAttribute('filename','Cover.png');
            $title->addAttribute('type','');
            $title->addAttribute('mainlink',$value->url);
            $title->addAttribute('front',$value->front);
            $title->addAttribute('Official',(int)$value->official);    
        }
    }
    
    Header('Content-type: text/xml');
    print($xml->asXML());
}
?>

So anyone want to try and help figure out why covers.php won't grab the local cover?

Share this post


Link to post
Share on other sites
On 09.02.2018 at 8:09 AM, rileyil77 said:

Also a great update to the default.xex creator would be to point to the q.php.  I think it would be awesome to have weather back on my modded XBox 360 under FreeStyle Dash.

q.php is for push to xbox function. but fsd has this old bug: it downloads pushed cover, but doesn`t apply it. And i can`t fix this wothout fsd sources.

16 hours ago, rileyil77 said:

<?xml version="1.0" encoding="ISO-8859-1"?>
<covers><title id="07398CDC" name="AfterShock Pool SX" mediaid="" filename="Cover.png" type="" mainlink="http://mylanserverip/xbox360/covers/07398CDC" front="http://mylanserverip/xbox360/covers/07398CDC" Official="1"/></covers>

mainlink="http://mylanserverip/xbox360/covers/07398CDC"  - this link should point to the full(front and back) cover, named Cover.png

front="http://mylanserverip/xbox360/covers/07398CDC"  - this link should point to the front, named Cover.png

you can check links for GTA5 from my example for better understanding.

your file tree should look like this:

/mylanserverip/xbox360/cover.php - php script
/mylanserverip/xbox360/covers/ - folder with xml files
/mylanserverip/xbox360/covers/07398CDC - xml file for titelid 07398CDC

16 hours ago, rileyil77 said:

it crashes FreeStyle Dash when I update the covers

this can happen if cover has wrong format or size

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...