Jump to content
RealModScene

Gualdimar

Members
  • Content Count

    95
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Gualdimar


  1. rileyil77check the original script once again. there are two types of queries: by titleid and by name. 

    if the game has tilteid, fsd will get covers with it:

    if($_GET['query'] == "TitleID")

    if there is no titleid, fsd will try to get covers with the game`s name:

    elseif($_GET['query'] == "SearchTerm")

    no loops, just conditions

    yes, some parts of the code are repeated and it can be rewritten with functions, buuuuut i don`t have inspiration to do this


  2. 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

     


  3. 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);
    	}
    }

  4. 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

  5. On 28.01.2017 at 4:52 PM, Guest The ELF said:

    Hello

    I'm using FSD 3.0 Rev775, Kern 2.0.17150.0  I have an external hard drive where the games are extracted to.

    I had the games all setup so that I could play them from the library with the covers and all.

    I ran out of room on the external drive, so I copied it to a bigger drive now I can not see the games in the library.

    I've tried to edit the path no change, re-added the game no change.

    I can extract new games and add them and they show up and play in library

    To play the existing games I have to go thru utilities, then file manager, then folder and pick the default.xex and the game works.

    How do I re-add the existing games into the library? I have tried to delete a game says deleting content for ever but it's still there.

    I could reload ever game from scratch but would like not to lose my progress in the games I have played.

    Any help would be appreciated.

    Thanks

    this happend because fsd uses unique ids to identify devices and if device isn`t connected all games from this device hide. and as i know aurora works the same way.

    you can fix this by deleting database files(if you don`t mind loosing your settings in fsd) or cleaning db manually

    and here is full guide and how to update you dash

    http://forum.homebrew-connection.org/index.php?topic=144.0


  6. It still uses the xboxunity database, it just translates the JSON response from xboxunity to XML for FSD compatibility

    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
    	}
    
    • Like 3

  7. Thanks a lot for this Gualdimar. Been using it for a while now. I like the fact it doesn't filter all the non-matching Media ID TU's from view. It's especially handy for games that use disc 2 to boot (eg. Watch Dogs), where you have to grab one of the 'MID' labeled TU's. Weird thing is, about three weeks or so ago, cover downloading just seem to stop working for about a week, whereas the other modded version carried on working. Strange. I tried yours again today and it was working again, so I've gone back to your version. Cheers.

    as i said:

    currently, scripts are running on shitty free hosting, so there may be some disruptions

    so there may be some problems, but usually they are temporary. if something major occurs, i`ll post in this topic


  8. It would be nice if the filter TU's just for the mediaID of the game.

    What's the point? You can easily see suitable tu's, they don't have MID:XXXXXX in their names. And this feature is usefull for multidisc games.

    Anyway, the f3 380, which you have posted, has that kind of filter...


  9. Ok. Thanks for the ban on IRC ... ;) Just had the problem with the client (kiwi irc -,-)

    I managed to find the "weather problem" with the api. But I need some help with starting all this together. Can anyone there help me with it?

    I mean... The procedure was like this:

    1. I took the original FSD 3.0 rev 775 and decompress and decrypt it with xextool.

    2. I found the issue with the weather - the link had v1 not v2 which I've already correct... 

    3. I compressed it and encrypt, have the file but i wonder if this can anyhow broke my console.

    So if anyone knows the safe method of starting this up (like... two dashes is safe or whatever else checked by you) - I'll boot it up, or send it to you.

    I'd like to also correct the TU and Covers like in the in the topic - I gave the idea how to make it (the details I can give on PM or even here if they are needed)... so lets make the new FSD ! :V

    it is`n that easy, v1 and v2 have different structure of xml response. if you simply change the link, weather won`t appear in fsd correctly. it is easier to find an old api key in the internet

×
×
  • Create New...