Blue Rose Classic

Discussion in 'Contribute' started by zc456, Dec 31, 2015.

  1. zc456

    zc456 Well-Known Member

    Since I left FreeSO Discord, I'm no longer able to provide support or keep up with any changes in the client. For this reason, I've decided to abandon the Blue Rose project - don't lock this thread, though. It'll continue function properly for as long as the TeamCity system remains in place. Version indicator will eventually break but that's harmless.

    Thanks for all the fish.
    Blue Rose is a launcher for FreeSO. Aside from the obvious, it also updates the client or itself with a simple click, so you're never out of date. Self-updates use the same method but also launches the installer after unpacking. Blue Rose cleans up after itself and removes excess zip files (and soon it's installer) every time you fire up the app. Like FSO Translations, Blue Rose is an independent project from FreeSO. Do not go to Rhys or ddfczm to get answers for Blue Rose! All support is maintained on this thread.
    • Make sure to put it into the same folder as FreeSO.
    • Offline is best for metered connections

    [​IMG]

    16/03/05
    New release now includes a accurate version number. Versions are read as: Major.Minor.Build.Revision. The offline installer includes a snapshot of 2.1.5907.42482. You'll need to manually update the launcher to get newer releases.
    16/10/29
    Apparently we're gonna go the XP route. Anyone still using Blue Rose should migrate to a different launcher or update to receive emergency patches. Support Blue Rose Classic will end Jan 1st, 2017.​

    Attached Files:

    Last edited: Nov 5, 2016
  2. pisarz1958

    pisarz1958 Administrator Staff Member Moderator

    I assume this would require some stuff being done on the servers end, but I'd love to see RSS reader instead of IE control. I already follow the blog on RSS, can't do that to threads though, but I'm sure there is something for XenForo to enable it.
  3. zc456

    zc456 Well-Known Member

    Nah. It can easily function like any other RSS reader without changing the website. It's just a matter of pulling it off. xD
  4. pisarz1958

    pisarz1958 Administrator Staff Member Moderator

    ^ nice one xD

    But seriously, news section in any launcher is often getting data through RSS. There should be tons of examples on how to code that on Windows. Hey, in early Windows 8 days, most apps were basically RSS readers pointed at a specific website xD Except for Discourse, as it supported multiple sources and you could customize it.
  5. zc456

    zc456 Well-Known Member

    The IE embed will eventually be replaced, RSS or whichever. Right now it's just a mock up ducked up together into a functional application.
  6. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    RSS is actually much easier to implement than you think... Here's the RSS page for the Development News thread: http://forum.freeso.org/forums/development-news.27/index.rss
    - Or you could use the blog feed: http://freeso.org/feed/
    Also, you could also scan for the TSO folders & go into the TSOClient directory until FreeSO is moved to its own install directory, at which point there'll probably be a registry entry anyway. See this file for registry scanning: https://github.com/RHY3756547/FreeSO/blob/master/TSOClient/tso.client/Program.cs
    This should allow you to change your process starter to something along the lines of "C:\Program Files (x86)\TSO\TSOClient\FreeSO.exe" or even "D:\weird folder\tso\tso stuffs\tso install\whatever\TSOClient\FreeSO.exe" depending on where it's installed.
    pisarz1958 likes this.
  7. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Here's some code to get you started:
    Code:
    private string ParseRSSFeed(string feedurl)
    {
        XmlDocument rssXmlDoc = new XmlDocument();
        rssXmlDoc.Load(feedurl);
        XmlNodeList rssNodes = rssXmlDoc.SelectNodes("rss/channel/item");
        StringBuilder rssContent = new StringBuilder();
        foreach (XmlNode rssNode in rssNodes)
        {
            XmlNode rssSubNode = rssNode.SelectSingleNode("title");
            string title = rssSubNode != null ? rssSubNode.InnerText : "";
            rssContent.Append(title + " \n");
        }
        return rssContent.ToString();
    }
    You can invoke it as such to get the Development News threads:
    Code:
    ParseRSSFeed("http://forum.freeso.org/forums/development-news.27/index.rss");
    Keep in mind that it only shows the title of the threads, no linking or anything fancy. You could possibly display the thread's content but you'd have to remove all of the HTML tags etc which renders it pretty difficult to do.
    pisarz1958 and zc456 like this.
  8. zc456

    zc456 Well-Known Member

    I actually know about that already. Used it to make PD's and a Sims 2 launcher out of it - even though the latter no longer exists. The reason why I didn't put it in the initial release is because you don't need put the FreeSO in the same folder as TSO in Windows 8 (if I recall) and above because of the game detection.

    Thanks. I'll try it out.
    Last edited: Dec 31, 2015
  9. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    I think the code even made it into TS2O, too.
  10. zc456

    zc456 Well-Known Member

    Yeah. You forked it. XD
    LetsRaceBwoi likes this.
  11. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    I still have the "TheLab" repo stored on my hard drive:
    upload_2016-1-1_15-44-59.png
    July is actually quite a while back. Doesn't seem it, but it's nearly 6 months ago now...
    zc456 likes this.
  12. zc456

    zc456 Well-Known Member

    The zip is now bundled with an installer that installs the launcher, an uninstaller, desktop and start menu shortcuts. The default directory is to C:\Users\[username]\FreeSO but that's only because that's where I put FreeSO.
  13. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Don't know if you know this but at the moment things are out of proportion on Windows 7 when compared to Windows 10:
    upload_2016-1-2_10-48-22.png
  14. zc456

    zc456 Well-Known Member

    Updated with primitive OpenAL detection and support for launching FSO IDE by pressing the "Develop" button.
    [​IMG]
    As someone who doesn't have Windows 7 anymore (nor can I go back to it), I was unaware of this. I did have to mingle with the proportions when I re-sized it to 800x600.
    Last edited: Jan 2, 2016
  15. zc456

    zc456 Well-Known Member

    [​IMG]
    Renamed from FreeSOLauncherZ to the more memorable to Blue Rose, app now checks to see if a page exists, and a few other under the hood changes. Since FreeSOLauncherZ lacked error checking for web pages, going to "Launcher News" will likely crash the app. Temporary filler icon while I figure out how to draw a rose in Aseprite.
    Last edited: Jan 7, 2016
  16. -BloodFighter-

    -BloodFighter- Active Member

    I love the functions of the launcher, only thing I dislike about it is the look of the buttons.
    zc456 likes this.
  17. zc456

    zc456 Well-Known Member

    I'll have to fiddle with WPF more. First time using it over WinForms.
  18. zc456

    zc456 Well-Known Member

    You'll be able to update FreeSO from the launcher soon! Right now I'm still doing hardcore testing.
    [​IMG]
    mini_cooper4 likes this.
  19. zc456

    zc456 Well-Known Member

    Blue Rose is now somewhat smaller (cause I was experimenting with the UI a week or so ago) but it now includes the update button with the progress bar. Updating doesn't work yet and it'll give you an error if you try. Aside from those little changes, this is mainly maintenance release with most changes happening under the hood.
  20. -BloodFighter-

    -BloodFighter- Active Member

    nice to hear.
    LetsRaceBwoi likes this.

Share This Page