Sunday, April 25, 2010

FSD 2.0 r643

I did finally figured out some stuff that been anoying us for a while yesterday!
There was a random freezing issue in the boot process and the game list was behaving really weird (games with no title...).
This being fixed will really change FSD 2.0 development to 2nd gear!

Another issue that i fixed yesterday is the string convertion problem : remember those gamelist screenshot with some square instead of special char?
This was caused by a bad string to wide string convertion. We were still using the code from original author, and while it work, it doesnt support special char.

Original code :
wstring strtowstr(string str)
{
     wstring s(str.begin(), str.end());
     s.assign(str.begin(),str.end());
     return s;
}

Working code :
WCHAR* strtowchar(string str)
{
     WCHAR* retVal;
     int Length = MultiByteToWideChar(CP_UTF8,0,str.c_str(),-1,retVal,0);
     retVal = new WCHAR[Length+1];
     MultiByteToWideChar(CP_UTF8,0,str.c_str(),-1,retVal,Length);
     return retVal;
}

By the way.. never call this 400 times per frame :P it will freeze the xbox! :P


Screenshot :
Cant remember if I explained this earlier : you'll notice that fps was locked at 60 mostly because at 500 we at tearing issues.


See those fancy chars? :P

Here the basic music player. Gui is in no way final. I think this is mostly a proof of concept. It does work great!


Video Player. Playing a 720p wmvhd in preview window.
 Video player playing 720p wmvhd full screen

 Playing wmvhd 1080p video. Playing works great without and issue except the fact the the ratio is messed...





14 comments:

  1. helldoc spend you 100$ for quick development.

    ReplyDelete
  2. wow, just wow!

    you guys should get an xdk console!

    ReplyDelete
  3. What can I say, it's just awesome what you do. I do have a question though. With 1.20, if I have used FSD indexer and it has found all the info for my games, if I start up my 360 and forgets to have my external usb hdd running, it will "forget" all the info. Sure, fsdindexer can relatively quick fix it, but it's somewhat of a minor annoyance. Still, your work is so appreciated that I almost feel bad for mentioning it! Keep it up :-)

    ReplyDelete
  4. The aspect ratio issue in 1080 could be because the videos are really in 1440x1080 (a popular HD format) instead of the full 1920x1080.

    If Microsoft doesn't provide a routine to stretch the image automatically, maybe a solution would be to make the background black and play the video in the center of the screen (and let the user adjust the picture on his TV set. ;-) )

    ReplyDelete
  5. GREAT! Would love to see additional codec support, but this new FSD is looking amazing just as it is.

    ReplyDelete
  6. Man, FSD is coming up nicely, just started on a new job, when i get my first paycheck (next month) i'll try send you some money to help out on buyin a xdk. Keep it up HellDoc! :-)

    ReplyDelete
  7. just donated 10$ to accelerate you getting a xdk console.

    in future, we have to find all "dash.xex" calls from XBR and replace it with the call of freestyledash.xex ...

    maybe freestyledash.xex can be copied to the xbox's nandflash. or just rename it to "dash.xex" and replace the existing file?
    anyone tryed?

    ReplyDelete
  8. no that not possible. You need System Setting Menu. I think if Team FSD find a way to Edit Systemsettings in Programm it should be possible

    ReplyDelete
  9. What I think we will need is a setting in freeboot/xbr where it will autoboot an xex file in a certain directory on the harddrive (freestyle/other dashboard). and if that xex file is not present on the harddrive it will just boot the retail nxe dash.

    ReplyDelete
  10. And the Subtitles guys? It's possible load the *.SRT with the videos? Thanks guys!

    ReplyDelete
  11. Mason : Such a solution already exists : dash launch(http://www.xbox-scene.com/xbox1data/sep/EkyZVZlkllBbgvdMAr.php)

    ReplyDelete
  12. Subtitles currently doesnt work as video player is still in really early stage.
    If this can be added easily we'll do, other wise we'll skip for 2.00

    ReplyDelete
  13. Helldoc: yes to launch the dash but from what I understand is that games don't go freestyle/other dashes when they exit. I am hoping for a more permanent solution to replace the dash as I totally like yours better than freestyle :p. I am sure there will be a pretty good solution already.

    ReplyDelete
  14. Please friends. I plead on behalf of all fans of your work and fans of HD movies, which if possible, put support for subtitles SRT. No need to worry about size, color, asking only that the SRT can play along with the movie. I'm sure you will succeed, since it's dash is even better than the official one from Microsoft.

    If this isn't possible, we understand! ^__^

    Thanks a lot!

    ReplyDelete