Release Barony: Blessed Addition

Discussion in 'Software Releases' started by ptitSeb, Jan 24, 2017.

  1. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    @ptitSeb : you seem to be right about GL speed being the limiting factor.

    Here is the output of "sudo perf top" on my Rebirth @ 825 MHz, at the entrance of level 2 (~5 FPS):
    Those Entity entries that used to eat so much resources are much lighter now, thanks :)

    @ptitSeb EDIT: I'll try to experiment with LIBGL settings in your run script, see if it changes anything.

    EDIT 2: @ptitSeb : I tried almost every LIBGL options, but I couldn't get even a single extra FPS out of them :(

    Cheers, Magic Sam
     
    Last edited: Feb 5, 2017
  2. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    I have updated again the beta PND.

    This thime, I have found that the minimap was creatings hundreds (really!) of draw command. I batched that.

    The result is now much better, and frame rates mostly doubled (at least) on my side :D

    More feedback is welcome :)
     
    levi and Magic Sam like this.
  3. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    @ptitSeb : I confirm, this build is much better :)

    ~20 FPS @ 1 GHz before entering the dungeon, a little less when you are inside, but it's definitely playable now !

    Thank you very much :D

    Cheers, Magic Sam
     
    levi likes this.
  4. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    Now, I would be interested in knowing if that build is stable.

    If yes, I'll push some of the changes upstream (the hash map and minimap optim).
     
  5. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all :)

    @ptitSeb : I'll play your new Barony build some more and report here any stability issue I may find ASAP.

    Cheers, Magic Sam
     
  6. Farox

    Farox Certified Guru

    Joined:
    Jan 8, 2009
    Messages:
    2,024
    Location:
    Italy
    Finally found some minutes to test.
    First impression is the game is more fast with your latest changes (all test @600 Mhz), but i noted a small grafx bug, this "dark grey cubes" (maybe libGL related ) as you can see on the shots attached:

    barony_2.png barony_1.png

    Thanks.
     
  7. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    Mmm, ok. May be related to some tentative optimization. Not sure those optims are worth it anyway. I'll probably go back on that one unless I found an obvious bug causing this.
     
  8. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all :)

    @ptitSeb : I played Barony (that's a great game, I love the music) some more this evening, and...

    - I noticed some kind of white screen when you go down one level. It lasts only for a few seconds.
    - The mouse cursor is way too small IMHO (a mere dot). Could you please make it a bit larger ?
    - Gamma is not always restored to default upon exit.

    The port looks pretty stable, no crashes so far.

    Cheers, Magic Sam
     
  9. ingoreis

    ingoreis Advanced Member

    Joined:
    Mar 7, 2012
    Messages:
    3,087
    Location:
    49.491276,8.423518
    unfortunaly i do not own the Game.
    Is there any Demoversion for testing?
    I found a Barony Demoversion but this Version did not work because Problems with Languages Files.
     
  10. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi @ingoreis !

    The game costs "only" 10 euros (at GOG).

    If you are into roguelikes, you won't regret it :)

    Cheers, Magic Sam
     
  11. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    I have update the beta PND of Barony.

    The cursor is bit larger (if you still find it to small, look at the file appdata/barony/game/cross.png, that's the new cursor. Give me a bigger one and I'll change it in the PND).

    I think most issue you are seeing are caused by the optimisation I'm trying to code in gl4es. I have updated the version. I didn't witness any prblem plyaing the game (but the optim is still not bugfree, as I have seen some issue while testing Eternal Lands).
     
    Magic Sam likes this.
  12. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all :)

    @ptitSeb: your new version works well, thank you very much !

    I noticed some performance drop (FPS < 10) in level 2, when the Minotaur appears (its model is quite large).

    Could you please have a look at it ?

    Cheers, Magic Sam
     
  13. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    Mmm, I'll check, but I don't think the model is the issue (models are a bit long to load, but they are simplified once loaded, and drawn with a single command). The issue is probably in the "logic" of the Minotaur, rather then the drawing. I may have other optim ideas but not sure yet, I have to dig a bit more.
     
  14. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    @ptitSeb: I agree with you about the logic issue. I had similar performance drops in level 1, when ~6 big spiders were trapped together in a small room, or in level 2 when several wizards from the Zap brigade tried to help me defeat the Minotaur.

    Cheers, Magic Sam
     
  15. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,981
    Location:
    Somewhere off the coast of the EU
    Blimey, logic slowness in a rougelike? What the hell are they doing?
     
  16. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    It's more an Action RPG than a simple roguelike. There are many creatures and guys in the level, doing stuffs, helping you, or trying to kill you...
     
    Last edited: Feb 8, 2017
    levi likes this.
  17. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all !

    I "almost" survived the Minotaur, thanks to a blessed ring of teleportation... ;)

    Cheers, Magic Sam
     
  18. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    Hi all :)

    I really like this game ! Thanks again @ptitSeb for porting it to the Pandora !

    Did you have time to work on some "logic" optimizations lately ?

    Cheers, Magic Sam
     
  19. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,359
    Location:
    France, near Lyon
    I have started, but it's not finished, so I don't know yet if it will help or not. (also most of the optims I have done are pushed upstream :) ).
     
  20. Magic Sam

    Magic Sam Forever Homebrew

    Joined:
    Aug 10, 2007
    Messages:
    2,206
    Location:
    Innsmouth, MA
    @ptitSeb : yeah, I checked their github account this morning and noticed all your PR were being accepted upstream :) Congatulations ! They will prove beneficial to a larger number of players, not only Pandorians.

    Cheers, Magic Sam

    P.S: if you need a beta tester for those "logic" optimizations, you know where to find me ;)

    P.S.2: do all entities share the same logic code ? Or is there one logic code per entity ?
     

Share This Page

Loading...