Aurel's Recent Forum Activity

  • Penelope starts in low quality (project settings), then switch to high for the title screen/cutscenes/dialogs, then switch to low for gameplay, then switch back to high for cutscenes, then low for gameplay etc...

    Maybe for Airscape you could try to autoswitch depending of the average framerate? I made a test a few months ago, and it worked quite ok!

  • Maybe this could help? This also explains how to revert to 10.5

  • Issues are reported here: https://github.com/nwjs/nw.js/issues

    I'd send a html5 export as well, not only a capx

    Also, make sure to add the -- ignore gpu blacklist tag and see if it works. If the red loading bar is still here, you'll be sure it's only related to the number of files.

    And maybe send a working capx + a working project with very few objects so they know it's really related to this issue?

    Thanks for being brave enough to report this issue, if this works, I think some devs here will be very thankful to you : )

  • When you have to edit your package.json and add the " --file-descriptor-limit<10000> " argument to allow the game to run on Linux.

  • Yes, on Mac the problem is very random, but on Linux/Ubuntu it's pretty clear: a C2 games with 2000 objects won't be able to load/run without the argument trick.

  • Added this point to the tutorial:

    You can also add the good old "--ignore-gpu-blacklist", it will increase your game compatibility, but it will mean some users with low hardware will play your game, even if their machine is not powerful enough.

    sqiddster did you try to add it to your game already? Did it change something regarding the perfs for some of your users with both graphic card and chipsets?

  • No, I've read a lot of posts about this on the NW website, and most of the time this kind of posts are ignored.

    It's supposed to be fixed, and if you say it isn't, it goes "alright, send your sources" > "no I can't, my big project is a mess and I spent years on it I don't want to release the sources" > "alright then".

    I understand they need sources (even if filling a project with 2000 files should be enough to find out), and I understand people don't want to send it. I gave the Penelope sources to Ashley cause I trust him, but I don't know anyone enough at NW to do this.

    Also, I don't think it's a big issue for NW. This only occurs for people using NW for large games on Linux and Mac, which should be... 10, 15 guys in the world?

    (@Nesteris NW for Windows has no problem with large number of files)

  • Yeah, your game is definitely in the "will turn red, sad smiley" category!

  • Hi everyone.

    I spent many hours to get Penelope working on Linux, and it also fixed a problem a few users had on the Mac version as well.

    So, maybe this could be useful to share how I made it. I'm not a linux expert, others may add some more points, but it works.

    Let's talk quickly about NW.js 12:

    ★ - Exported games work out of the box if your game is very light on Mac and Linux. Are you making a flappy bird clone? Congrats, you don't need to read this!

    - if your game is a bit heavy, you'll get the red loading bar of death. And there is nothing you can do, we'll come back to this later.

    Please note this is very inconsistent, there is no precise limit about the number of files involved. From my experience, around 400 files and it crashes.

    -----------------------------------------------------------------------------------------------

    - HOW TO / LINUX -

    So, back to our old pal, Node Webkit 10.5. (don't know how to revert? the link below explains it)

    1 - Export your game the classic way.

    2 - Use the well known libudev.so.0 to libudev.so.1 trick so it can run on the last Ubuntu distribs.

    ( More on this: )

    Note: if your game is light enough, just use NW.js 12, it now supports both libudev libs.

    3 - THEN, and this is new stuff to me, you have to edit your package.json and add the " --file-descriptor-limit<10000> " argument.

    This only works on Node Webkit 10.5, it has no effect on newer versions.

    This tag will allow to load a game correctly. Again, doesn't work on NW.js 12.

    You can also add the good old "--ignore-gpu-blacklist", it will increase your game compatibility, but it will mean some users with low hardware will play your game, even if their machine is not powerful enough.

    4 - and as always, once on a Linux system, right click on the app, and allow it to be launched as an executable.

    That's it! Now you can share your game on Linux.

    - HOW TO / MAC -

    Same as linux, but forget about the libudev.so.0 to libudev.so.1 trick. Instead, be sure none of your PNG is fully transparent, as it would turn the loading bar to red on Mac using the NW export.

    -----------------------------------------------------------------------------------------------

    A note about this "too many cooks/files" problem:

    You'll read it's fixed for a long time on the NW forums. It's absolutely not, on Node Webkit 10.5 AND on NW.js 12

    You'll also read "maybe if your game has more than 1024 files..". No, even with around 400 some of your users will get this error depending of their hardware.

    The fun part being it happens randomly, and how the loading bar turns red at different % from one launch to another.

    Sometimes you'll think you're making progress finding the cause, you're not.

    Also, for Mac export, some of your users can AND have the game working at first launch, then being stuck with the red loading bar the next day.

    I guess it explains why it's difficult for them to provide a fix.

    A note about Dropbox and Mac builds

    Exported Mac builds works alright until you use Dropbox or this kind or services. The file properties can vanish (very often).

    Compress your game in an archive before transfer (if possible, not only as a ZIP, as Dropbox handles it as a regular folder now. Changing the extension like a fancy .ZOP will assure Dropbox don't mess with your game)

  • Hi everyone!

    I'd just want to share a very convenient tool one of my super kind twitter follower made this week to ease the Penelope translation process.

    (Thanks again Oursique! <3)

    If you're using JSON files, you already know it's not easy to give this kind of files to translators.

    They're very used to work with clean XLSX files.

    And that's exactly what this tool does, clean rows + each comment creates a tab once in the EXCEL document, and everything can then be converted back to C2 Json files.

    Works like a charm, so, maybe it could be useful to others here? : )

    You can use it online:

    http://c2json.bors-ltd.com/

    SOURCES are available as well on Github:

    https://github.com/bors-ltd/c2json/

    Oh, and a link If you want or need to contact the author: https://twitter.com/oursique

    greenheartgames Hey, thanks a billion for reading this topic, guys! : )

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Tetriser No problem!

    That said, Penelope is feeling lonely without any "released" tickbox. looks how sad she seems! : )

    (also, the game is available on Desura as well since the very first launch: http://www.desura.com/games/the-next-penelope )

Aurel's avatar

Aurel

Member since 4 Oct, 2013

None one is following Aurel yet!

Connect with Aurel

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies