OrangeGreenworks - Steam Integration with Achievements and Time Log

● ARCHIVED · READ-ONLY
Started by Hudell 347 posts Page 10 of 18 View original ↗
  1. ayannya said:
    @Hudell Hey Hudell, so just a reminder, can you take a look at my game's package as well as SRD's plugin problem if you have time this weekend? Thanks..:kaocry:
    Yup, I'll look into it today
  2. I'm having a problem with the Achievement notifications displaying. It sounds like other people might be having similar problems but it's hard to tell without pictures.

    Achievements themselves function fine, but the notification gets cut-off like this:
    27294491_1601678193212207_1089732505_n.png
    (The bottom right is the Achievement icon.)

    I tried it on different computers and resolutions, but the notifications are always cut-off to varying degrees.

    Has any one had this problem and found a solution? Thanks!
  3. Hudell said:
    Yup, I'll look into it today
    Hi @Hudell , did you find anything that might have caused the problem? It would be of great help even if it's just something looking skeptical to you in my code that I should go and check...
  4. wzackw said:
    I'm having a problem with the Achievement notifications displaying. It sounds like other people might be having similar problems but it's hard to tell without pictures.

    Achievements themselves function fine, but the notification gets cut-off like this:
    27294491_1601678193212207_1089732505_n.png
    (The bottom right is the Achievement icon.)

    I tried it on different computers and resolutions, but the notifications are always cut-off to varying degrees.

    Has any one had this problem and found a solution? Thanks!
    Hi @wzackw , right now I have no idea since I'm still struggling to get my achievement to even work but I'll let you know if mine works and possibly help you by describing what versions I use and what behavior I see. (Good luck debugging in the meantime! :D )
  5. Hello @Hudell I have a question for you, I did all steps in my project files and it works thanks a bunch. But if I upload like that, it's gonna be "nw.exe" when users download my game I think, how can I turn this to like "mygame.exe" ?
  6. If you're using any version of nw.js bigger than 0.13, you can just rename the file.
  7. Yep but icon? (mine is 0.26.6 btw)
  8. Kaler said:
    Yep but icon? (mine is 0.26.6 btw)
    if you are trying to change the icon to something other than the default RMMV game.exe icon, there are some (windows-platform) apps that can help you do that. Just go to google and search exe icon changing and the like. I used to frequently use one of them but I forget the name tho.
  9. When the game is opened on a Mac outside of Steam, it goes straight to this error:
    28169757_1324473670987049_516057600_o-600x100.png
    (But if you go to Contents > MacOS and run "nwjs" it works fine.)

    And the problem only happens after the game has been uploaded and downloaded. (Right after being deployed it works fine.)

    It seems similar to the problem involving save folders that was discussed earlier in this thread:

    Hudell said:
    It's a simple fix, actually. You don't need to update everything. Just add the following code as a plugin:

    Code:
    StorageManager.localFileDirectoryPath = function() {
        var path = require('path');
    
        var base = path.dirname(process.mainModule.filename);
        return path.join(base, 'save/');
    };

    Does anyone know whey this is happening? Maybe I could use code similar to that above to fix it?
  10. The game is failing to create the save file, you need to use a plugin to change the save file location. Someone probably made one of those already
  11. Hudell said:
    The game is failing to create the save file, you need to use a plugin to change the save file location. Someone probably made one of those already

    I already am using a plugin for that (the one you provided in the quoted message). It fixed past problems with save location... But thanks for explaining that - I'll look into save file location plugins.
  12. Hey @Hudell , did you have a chance to look at my game's package? Is there anything that might be off?
  13. Yeah, I couldn't get it working with that version either
  14. Do you have any video or info to how it works for steam achievements?
  15. Hi Hudell,

    I'm using your method for the achievements in my game and I managed to have everything working.
    Achievements unlock properly, everything seems fine.

    one weird thing though, the nw.js thing seems to slightly change how my game looks. When I compare side by side with the original version (deployment version, before deleting everything to replace with the other files), I can see a difference in the colors and especially in the font inside some windows which seems distorted. Any idea what cause those issues and how to fix them?

    Here's some screenshots, it's not much really but It would be nice if there's a way to fix it.

    Original on the left - After nwjs on the right

    6t6WtKE.pngDSl16iS.png


    Original colors:
    7FNiw6P.png
    After nwjs:
    Sxc0SnI.png


    Greenworks version is 0.12.0 for win-x64 and nwjs version is 0.26.6 for win-x64.

    I did try other version of both greenworks and nwjs and the issue is still there.

    Thanks a lot for your help and your great plugin hudell!!
  16. Matseb2611 said:
    Just thought I'd number the questions for easy reference.

    1) Is this for after the game's release or before it? I honestly can't remember if it popped up. I do remember when I was testing with the SDK version to see if it managed to connect with Steam, it kept telling me that I couldn't establish link with Steam, but when I did this with the non-SDK version, had it all uploaded, and went on to test the achievements, it worked all fine.

    2) Yeah, the achievements do seem to pop up in the lower-right corner immediately as soon as you get them. And then you also see them on your Steam profile.

    3) Of course. I am using v1.1 of Orange Greenworks (according to its description when I open it in notepad++). For 'greenworks', I am using the one that's mentioned in the instructions, so v.0.10. And for nw.js, I am using version 0.22.3.

    4) Yeah, I replaced the game.exe and all the other files outside of the 'www' and 'locales' folders apart from the package.json file. Then I added in the nw.js stuff into the folder. I didn't seem to need to rename it to 'game.exe'. It seems to launch fine without it. I do remember I once had trouble launching it, but when I removed the 'locales' folder and tried launching again, it worked fine and created a fresh new 'locales' folder on its own (it might be worth not deleting the old one though just in case).


    Just retried with exactly these versions but still couldn't get any luck. Guess since I have to use one SRD's plugin, the nw.js version is simply incompatible and the game failed to even respond when I clicked nw.js (or after renaming it to Game.js).

    And the conpatible version of old nw.js can start the game but fails to really unlock the achievements when published on Steam.

    I'll spend some more time playing around with it, but maybe the only thing I can do right now is to wait for update on SRD's side (extremely unlikely as it is)

    Pretty sad. I'm receiving several PMs everyday from my game's buyers asking about the achievement system I promised...

    Thank you so much for your help tho
  17. That's a bummer. I can't remember if you mentioned earlier in the thread, but is the SRD's plugin very important for the game? Have you tried taking it out to see if everything works as intended and the achievements trigger?
    As an alternative, maybe worth commissioning SRD for a fix on his side?
  18. Matseb2611 said:
    That's a bummer. I can't remember if you mentioned earlier in the thread, but is the SRD's plugin very important for the game? Have you tried taking it out to see if everything works as intended and the achievements trigger?
    As an alternative, maybe worth commissioning SRD for a fix on his side?
    Yeah it's quite important... Since the game is already released on Steam I don't think it's a good idea to change its signature title screen right now:kaocry:

    I'll def take it out just to test if things work without it.

    I'll also report to SRD, although I believe he has terminated plugin support.. (I forgot but I believe I read somewhere that one of Greenworks / OrangeGreenworks also ended support... gg)
  19. Would he not even agree to make a short compatibility add-on if you compensate him?