Jump to content

Talk:Indie Royale

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Platform for game without Install file?

[edit]

Just filled in some missing info for the May Hurray and All Charity Bundles (and many other minor things) and was curious as to how to handle Dungeon Defenders? Should it be labeled as on Mac, even though there is no install file for Mac, but its compatible via Steam. I just am not sure how this should be categorized. EarthBoundX5 (talk) 00:01, 5 July 2012 (UTC)[reply]

Good question. I think labelling it as "Mac (via Steam)" or something similar would be a good way. I'll do that now. Daniel John Walker (talk) 22:31, 23 January 2013 (UTC)[reply]
I think what we would actually need is a small 3x3 matrix per game, which distribution platforms support what OS, but that would break the ability to sort the whole table. Mantikki (talk) 18:32, 2 April 2013 (UTC)[reply]

Rewards Section?

[edit]

Another thought, maybe another section should be added for the rewards available? Currently they are labeled as the "Thy Rewards Bundle" and only the following are available: Chiptopia Album for owning 5 bundles, Super Space Rubbish for 10 bundles, and Fireball for 15 bundles. Chiptopia Album is a music album, so it can be left out I guess. Super Space Rubbish is on Desura and has installers for Windows, Mac, and Linux. Fireball is on Desura and has installers for Windows and Mac. There are also 2 unnamed bonuses for owning 20 and 25 bundles; but that has not been reached yet. EarthBoundX5 (talk) 00:07, 5 July 2012 (UTC)[reply]

Script to generate wiki code for new bundles

[edit]

I made a script to automatically pull info about the current and generate wiki code. I ran it on The Snow Storm Bundle. Time will tell whether it will work for future bundles or need adjustments, but here it is in case it's useful for whoever decides to add bundles to this page in the future. Simply copy&paste this code into your firebug console (maybe it will work for other browsers too), run it, and copy the wiki code from the console output.

Code
{
    console.clear()
    let games = []
    
    let game_links = $('.games a')
    let game_links_remaining = game_links.length
    let bundle_title = $('#thebundle>h1').text().replace(/^the/, 'The')
    
    let generate_wiki_code = function() {
        let wiki_code = "| rowspan = \""+games.length+"\" | '''"+bundle_title+"'''\n"
        for each (game in games) {
            wiki_code = wiki_code
            wiki_code += "| " + game.title + "\n"
            wiki_code += "| " + game.developer + "\n"
            wiki_code += "| " + "\n"
            wiki_code += "| " + game.dist_platforms.join(', ') + "\n"
            wiki_code += "| " + game.os_platforms.join(', ') + "\n"
            wiki_code += "|-\n"
        }
        console.log(wiki_code)
    }
    
    game_links.each(function() {
        let href = this.getAttribute('href')
        let parser = new DOMParser()
    
        $.get(href, {}, function(source) {
            let doc = parser.parseFromString(source, "text/html")
            
            let game = {
                title:doc.querySelector('h1>a').textContent,
                developer:doc.querySelector('h1 span.by>a').textContent,
                os_platforms:[],
                dist_platforms:[]
            }
            let platforms = doc.querySelectorAll('.platforms>span')
            let on_desura = false
            for (i = 0; i < platforms.length; i += 1) {
                switch (platforms[i].getAttribute('class')) {
                    case 'desura': {
                        game.dist_platforms.push('Desura')
                        on_desura = true
                    } break;
                    case 'steam': {
                        game.dist_platforms.push('Steam')
                    } break;
                    case 'pc': {
                        game.os_platforms.push('Windows')
                    } break;
                    case 'mac': {
                        game.os_platforms.push('Mac')
                    } break;
                    case 'linux': {
                        game.os_platforms.push('Linux')
                    } break;
                }
            }
            
            // Steam-only games lack icons indicating platform, so I assume that all games run on Windows
            if (game.os_platforms.length == 0) game.os_platforms.push('Windows')
    
            // Since there's no icon indicating such, I'll assume that all Desura games come with an installer or other direct download
            if (on_desura) game.dist_platforms.push('Installer')
            
            games.push(game)
            
            if (--game_links_remaining <= 0) generate_wiki_code()
        }, 'html')
    })
    
    null
}

Daniel John Walker (talk) 22:26, 23 January 2013 (UTC)[reply]

very nice, I updated it and adopted it for Chrome (might also work on other browsers):
Code
{
    console.clear();
    var games = [];

    var game_links = $('.games a.name');
    var game_links_remaining = game_links.length;
    var bundle_title = $('#download>h2').text().replace(/^the/, 'The');

    var generate_wiki_code = function () {
        var wiki_code = "| rowspan = \"" + games.length + "\" | '''" + bundle_title + "'''\n";
        for (var i = 0, e = games.length; i < e; ++i) {
            var game = games[i];
            wiki_code += "| " + game.title + "\n";
            wiki_code += "| " + game.developer + "\n";
            wiki_code += "| " + "\n";
            wiki_code += "| " + game.dist_platforms.join(', ') + "\n";
            wiki_code += "| " + game.os_platforms.join(', ') + "\n";
            wiki_code += "|-\n";
        };
        console.log(wiki_code);
    };

    game_links.each(function () {
        var href = this.getAttribute('href');

        $.get(href, function (html) {
            var doc = document.implementation.createHTMLDocument("");
            doc.body.innerHTML = html;
            var title_dev = doc.querySelector('h1').textContent.split(' | by ');
            var game = {
                title: title_dev[0],
                developer: title_dev[1],
                os_platforms: [],
                dist_platforms: []
            };
            var platforms = doc.querySelectorAll('.platforms>span');
            var on_desura = false;
            for (var i = 0, e = platforms.length; i < e; ++i) {
                switch (platforms[i].getAttribute('class')) {
                    case 'desura': {
                        game.dist_platforms.push('Desura');
                        on_desura = true;
                        break;
                    }
                    case 'steam': {
                        game.dist_platforms.push('Steam')
                        break;
                    }
                    case 'pc': {
                        game.os_platforms.push('Windows')
                        break;
                    }
                    case 'mac': {
                        game.os_platforms.push('Mac')
                        break;
                    }
                    case 'linux': {
                        game.os_platforms.push('Linux')
                        break;
                    }
                }
            }

            // Steam-only games lack icons indicating platform, so I assume that all games run on Windows
            if (game.os_platforms.length === 0) {
                game.os_platforms.push('Windows');
            }

            // Since there's no icon indicating such, I'll assume that all Desura games come with an installer or other direct download
            if (on_desura) {
                game.dist_platforms.push('Installer');
            }

            games.push(game);

            if (--game_links_remaining === 0) {
                generate_wiki_code();
            }
        }, 'html')
    });
    null;
}

Mantikki (talk) 12:23, 5 March 2013 (UTC)[reply]

Because of the change to the boolean columns for distribution and supported OS I rebuilt the script to support this kind of output. It should also give better results for what is supported and what not (sometimes the information on the details page doesn't match with what is actually supplied by Indie Royale).

Code
{
    console.clear();
    var games = [];

    // some 'constants'
    // distribution platform names
    var DESURA = 'desura',
        STEAM  = 'steam',
        DIRECT = 'direct',
    // OS names
        WINDOWS = 'win',
        MACOS   = 'mac',
        LINUX   = 'linux',
    // wiki literals
        YES = '{{Yes}}',
        NO  = '{{No}}';

    var generate_wiki_code = function () {
        var bundle_title = $('#download>h2').text().replace(/^the/, 'The');
        var dist_order = [DESURA, STEAM, DIRECT];
        var os_order   = [WINDOWS, MACOS, LINUX];
        var wiki_code = "| rowspan = \"" + games.length + "\" | '''" + bundle_title + "'''\n";
        $.each(games, function (game_index, game) {
            wiki_code += "| " + game.title + "\n";
            wiki_code += "| " + game.dev_name + "\n";
            wiki_code += "| " + "\n";
            var supported_dists = Array(dist_order.length);
            var supported_oss   = Array(os_order.length);
            $.each(game.platforms, function (dist_key, os_list) {
                var dist_index = dist_order.indexOf(dist_key);
                supported_dists[dist_index] = os_list.length ? YES : NO;
                $.each(os_order, function (os_index, os_key) {
                    if (supported_oss[os_index] === YES)
                        return;
                    supported_oss[os_index] = os_list.indexOf(os_key) === -1 ? NO : YES;
                });
            });
            wiki_code += "| " + supported_dists.join(' || ') + "\n";
            wiki_code += "| " + supported_oss.join(' || ') + "\n";
            wiki_code += "|-\n";
        });
        console.log(wiki_code);
    };

    // extract all available information from the overview page
    var dist_types = {
        'Desura Key': DESURA,
        'Steam Key':  STEAM,
        'DOWNLOAD':   DIRECT
    };
    var os_types = {
        'pcsupport':    WINDOWS,
        'macsupport':   MACOS,
        'linuxsupport': LINUX
    };
    var game_rows = $('.games');
    game_rows.each(function (i, row) {
        var row_games = $('.game', row);
        var game_count = row_games.length / 2; // each game has two divs, one for the title, one for the downloads/links
        // get all the games' titles and links to detail pages
        for (var i = 0, e = game_count; i < e; ++i) {
            var game_info = row_games.eq(i);
            var game = {
                title: game_info.text().trim(),
                details_link: $('a', game_info).attr('href'), // link to indie royale details page
                web: '', // the game's website
                dev_web: '', // the developer's website
                dev_name: '',
                platforms: {}
            };
            $.each(dist_types, function (dist_trigger, dist_key) {
                game.platforms[dist_key] = [];
            });
            games.push(game);
        }
        // gather info about available platforms and ways to download/install
        var game_offset = games.length - game_count;
        for (var i = 0, e = game_count; i < e; ++i) {
            var game_info = row_games.eq(game_count + i);
            var game = games[i + game_offset];
            $('> div.ossupport', game_info).each(function () {
                var self = $(this);
                $.each(dist_types, function (dist_trigger, dist_key) {
                    if (self.text().indexOf(dist_trigger) !== -1) {
                        var platforms = game.platforms[dist_key];
                        $.each(os_types, function (class_name, os_name) {
                            if (self.hasClass(class_name)) {
                                platforms.push(os_name);
                            }
                        });
                    }
                });
            });
        }
    });

    // get additional information from the details page (developer's name, web links)
    details_remaining = games.length;
    $.each(games, function () {
        var game = this;
        // var href = this.getAttribute('link');
        $.get(game.details_link, function (html) {
            html = $(html);
            game.web = $('h1 > a', html).attr('href');
            game.dev_web = $('h1 .by > a', html).attr('href');
            game.dev_name = $('h1 .by', html).text().substring(3);
            if (--details_remaining === 0) {
                generate_wiki_code();
            }
        }, 'html')
    });
    
    null;
}

Mantikki (talk) 18:29, 2 April 2013 (UTC)[reply]

Game availability changes

[edit]

I noticed that Weird Worlds: Return to Infinite Space in the May Hurray Bundle is missing the Desura Key, when I log in to my Indie Royale collection. Same thing happened with Burn Zombie Burn! in the current Mayhem Bundle and probably some other games.

I couldn't find out why this is happening, yet, but the more important question is how do we handle it? Should we set Desura to false then? Everybody who got the bundle back then did get it via Desura and you cannot buy old bundles, so in a way it would be wrong. I'm stuck. Mantikki (talk) 15:57, 17 May 2013 (UTC)[reply]

Past tense, bankruptcy?

[edit]

I'm reading that Bad Juju has gone bankrupt, and I can't login to my Indie Royale account, although Desura still looks like it's running. I never received any notice from either. Anybody have more information? Wicklet (talk) 21:00, 3 September 2015 (UTC)[reply]

[edit]

Hello fellow Wikipedians,

I have just modified one external link on Indie Royale. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 02:41, 12 January 2018 (UTC)[reply]

Merger discussion with Desura

[edit]

https://en.wikipedia.org/wiki/Indie_Royale merged to https://en.wikipedia.org/wiki/Desura

They shared the same parent company, co-hosted bundles and the current Indie Royale content is really low in quantity and with little relevance on its own currently. reference: https://www.pcgamer.com/desura-and-indie-royale-parent-company-files-for-bankruptcy/