1. dominater01

    dominater01 GBAtemp Maniac
    Member

    Joined:
    Mar 13, 2009
    Messages:
    1,277
    Country:
    United States
    theres a new retrix build, gonna test

    nes = crashed
    snes = crashed
    gameboy = crashed
    psx = wont load game
    sega cd = crashed
     
    Last edited by dominater01, Jul 20, 2017
  2. Absestos

    Absestos Advanced Member
    Newcomer

    Joined:
    Jun 24, 2017
    Messages:
    72
    Country:
    Italy
    Hello everyone.
    I have been silent for a while now, but I finally have *some* news.

    As @dominater01 has found out, there is a new RetriX build.
    Bad news: it does nothing for stability.
    Good news: I have reworked the in game overlay to be usable with just a gamepad (one of the major pain points on the Xbox) - this means there should be no need for @wiired24 to make custom builds that enable the on screen cursor.
    Also, added Nintendo DS support via MelonDS. The core itself is early in development, so it's slow and has graphical glitches - but games like Pokemon Black play reasonably well on a PC with good CPU.

    To show the in game overlay, press the view button and without releasing it quickly press the menu button as well - this will pause the game as well.
    The same button combination hides the overlay and resumes the game.
    Choosing to reset the game or saving/loading a save state will also hide the overlay and resume the game.

    If using a keyboard, the space bar does the same thing as the gamepad button combination above.
    I just noticed the settings/bios selection menu also needs reworking for proper gamepad support, and it's what I plan on fixing next.

    As for stability issues, I am baffled: I just tried myself and the very same code/game roms (genesis and Gameboy advance) that work fine on the PC randomly crash on the Xbox.
    I'll try to see if I can get a crash with a debugger attached, but in the worst case scenario it may be that RetriX is crashing when bumping against the 1GB ram limit - and that is something I can't really fix...
     
  3. ploggy

    ploggy WAKA! WAKA!
    Member

    Joined:
    Aug 29, 2007
    Messages:
    3,852
    Country:
    United Kingdom
    What Firmware.bin did you use?

    Still crashes as expected :(
     
    Last edited by ploggy, Jul 20, 2017
  4. dominater01

    dominater01 GBAtemp Maniac
    Member

    Joined:
    Mar 13, 2009
    Messages:
    1,277
    Country:
    United States
    tried 2 games so far for gameboy color and got farther in them and no crash maybe its just luck but idk

    wendy every witch way and wario 3

    on xbox one

    edit:
    bust a move millennium crashed
    donkey kong country crashed

    weird how some games seem to be fine and then random crash out of nowhere
     
    Last edited by dominater01, Jul 20, 2017
  5. wiired24

    OP wiired24 Developer
    Developer

    Joined:
    Sep 3, 2013
    Messages:
    1,094
    Country:
    United States

    Thanks for the update. Glad to hear the Xbox One controller is now fully supported with RetriX. With regards to stability, you brought up the 1GB Ram Limit. I don't understand why RetriX would need to use even close to, let alone over 1GB of Memory. If you look at Nesbox Universal Emulator for instance which is similar to RetriX (Emulates NES,SNES,GB,GBC,SEGA etc) it also works within the bounds of the 1GB Ram limit and has no crashing issues at all. PPSSPP a very graphically heavy Emulator which requires at least 1GB of Ram (Per the recommended Specs) runs perfectly fine for the most part and doesn't crash at all. My Point is if RetriX is using over 1GB in memory then something isn't adding up. What I might try doing to see if this theory is correct is get a Windows 10 Benchmarking Tool and run it while RetriX is running and see how much RAM RetriX is taking up. As I said previously though I cannot understand why RetriX would need that much memory in order to run.
     
  6. wiired24

    OP wiired24 Developer
    Developer

    Joined:
    Sep 3, 2013
    Messages:
    1,094
    Country:
    United States
    @Absestos I Just did some benchmarking and I can now confirm that RetriX doesn't even get close to the 1GB Limit. Here's proof

    67 MB Is all RetriX is taking in memory for the SNES Core

    [​IMG]

    I also ran another test as well this time with the Megadrive core and I received very similar results

    [​IMG]

    RetriX only uses 50-60 mb of Ram when running the Megadrive core, again nowhere even remotely close to the 1GB Threshold.

    I can run more tests if you want, but I think it's pretty conclusive at this point
     
    Last edited by wiired24, Jul 20, 2017
  7. SheruShaku

    SheruShaku Newbie
    Newcomer

    Joined:
    May 17, 2006
    Messages:
    5
    Country:
    United States
    You can workaround the snes core crashes by editing the try-catch code to not throw an exception. I was able to complete street fighter II turbo this way.
     
    HEMI345, wiired24 and ploggy like this.
  8. ploggy

    ploggy WAKA! WAKA!
    Member

    Joined:
    Aug 29, 2007
    Messages:
    3,852
    Country:
    United Kingdom
    you did this on the xbox version of retrix? have you tried with the other cores? and if you have a compiled build can you share it so we can test too?
     
  9. wiired24

    OP wiired24 Developer
    Developer

    Joined:
    Sep 3, 2013
    Messages:
    1,094
    Country:
    United States
    Have you tried this fix for other cores as well?
     
  10. Absestos

    Absestos Advanced Member
    Newcomer

    Joined:
    Jun 24, 2017
    Messages:
    72
    Country:
    Italy
    Which file is the try catch code you are talking about located in? Is it in a core or in RetriX itself?
     
  11. SheruShaku

    SheruShaku Newbie
    Newcomer

    Joined:
    May 17, 2006
    Messages:
    5
    Country:
    United States
    it's the function RunFrame in LibretroRT_Tools\CoreBase.cpp. I'm trying to test if it works for other cores.
     
    HEMI345, Flux0, ploggy and 2 others like this.
  12. dominater01

    dominater01 GBAtemp Maniac
    Member

    Joined:
    Mar 13, 2009
    Messages:
    1,277
    Country:
    United States
    i hope this fix works for all cores that'd make my day
     
    wiired24 likes this.
  13. SheruShaku

    SheruShaku Newbie
    Newcomer

    Joined:
    May 17, 2006
    Messages:
    5
    Country:
    United States
  14. dominater01

    dominater01 GBAtemp Maniac
    Member

    Joined:
    Mar 13, 2009
    Messages:
    1,277
    Country:
    United States
    gonna test this and hope for the best, if this works i'll be so happy

    edit: so far it hasnt crashed but of course it needs more testing

    new crash @Absestos not just his fixed build but when stopping emulation from the retrix ui sometimes it crashes to dev menu dont know why

    edit 2:

    tested all systems except sg-1000 psx and nds but the crashing seems to have been eliminated

    cant get psx games to work, nds i cant find the right firmware.bin crashes when trying to launch a game, sg-1000 i dont have roms for it
     
    Last edited by dominater01, Jul 21, 2017
  15. Absestos

    Absestos Advanced Member
    Newcomer

    Joined:
    Jun 24, 2017
    Messages:
    72
    Country:
    Italy
    New release, should make it possible to select things in the settings page and incorporates the fix by @ghgshellshock

    I am curious to see if this is the magic bullet that makes the thing stable on Xbox.

    For ds bios files, look in emuparadise.me. They have DS bios pack there and it's the one I am using (you will need to rename the files to the right extension)
     
    Last edited by Absestos, Jul 21, 2017
    Flux0, wiired24 and dominater01 like this.
  16. dominater01

    dominater01 GBAtemp Maniac
    Member

    Joined:
    Mar 13, 2009
    Messages:
    1,277
    Country:
    United States
    hey @Absestos when you get the chance can you add a selection for gameboy color becuz some people might not know it emulates by going into just gameboy

    edit: nds works just slow emulation and games gotta be extracted first also no cursur to use
     
    Last edited by dominater01, Jul 21, 2017
  17. wiired24

    OP wiired24 Developer
    Developer

    Joined:
    Sep 3, 2013
    Messages:
    1,094
    Country:
    United States
    Glad to hear the crashing bug is finally gone. This is awesome :)
     
    wakabayashy likes this.
  18. kingtut

    kingtut GBAtemp Maniac
    Member

    Joined:
    May 3, 2017
    Messages:
    1,067
    Country:
    United States
    Very fantastic news, thank you so much @SheruShaku. All I need is ps1 emulator core running fast and dreamcast and my summer is complete
     
  19. wiired24

    OP wiired24 Developer
    Developer

    Joined:
    Sep 3, 2013
    Messages:
    1,094
    Country:
    United States
    I bet your glad this is finally resolved @Absestos

    Again Thanks for the fix @SheruShaku

    — Posts automatically merged - Please don't double post! —

    Dreamcast is making it's way to RetriX soon :) It's in the development branch
     
    wakabayashy likes this.
  20. kingtut

    kingtut GBAtemp Maniac
    Member

    Joined:
    May 3, 2017
    Messages:
    1,067
    Country:
    United States
    So did we discover the reason why the ps1 core runs well on pc but not on xbox one?

    — Posts automatically merged - Please don't double post! —

    @Absestos you should update the readme file, it still says unstable in the current state section for the emulator cores
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - (Retroarch, Libretro, install