RELEASE Nro2Nsp Retroarch Rom/Nro Forwarders!

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by re.lax, Oct 3, 2018.

  1. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    https://www.dropbox.com/s/g10qob5kb8phecj/Nro2Nsp_3.3.2_beta_4_-_Extra.zip?dl=0 Can you try this build. I broke a file check in a build and can’t remember if beta 4 was affected by it.

    This also adds a setting for custom path for keys. Try the resources folder first tho pleases as I’d like to see if that helped your issue
     
    Last edited by re.lax, Mar 2, 2019
    Broduskii and metaphz like this.
  2. metaphz

    metaphz Member

    Newcomer
    2
    Oct 5, 2018
    United States
    That did correct my issue, worked the first time like a charm. I am very grateful for the quick response and fix. Nice job mate!
     
  3. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    Thanks for the heads up I’ll have to push that fix
     
  4. XaneTenshi

    XaneTenshi GBAtemp Fan

    Member
    5
    Nov 24, 2013
    Denmark
    Sorry for the late reply, and thank you for the offer, but I found the issue thanks to you:P Your mention of the log made me check the log myself and I quickly realized that something was off about the sdmc path, when compared to any other paths shown below it in the log.

    There was no "/" in front of the path, and taking a second look at the user interface in the program, I could tell I had to include it myself. I must have completely missed this the first time I used the program. Also seems to explain why nothing really went wrong until I tried to use the nsp, it wasn't a critical error, but It just resulted in the nsp not being able to find the nro and throw an error.

    So issue resolved. I can already tell that I do have 1 other problem with the nsp version, but I am almost certain that has nothing to do with your program. Thanks for the help:)
     
  5. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    Weird that a sdmc path error didn’t tell you the patch was wrong when trying to load it. I’ll have to double check my error reporting. What’s the other issue?
     
  6. XaneTenshi

    XaneTenshi GBAtemp Fan

    Member
    5
    Nov 24, 2013
    Denmark
    Like I said, the nsp was for nxThemes, and the homebrew app includes a "reboot" feature that you can use after changing themes, to make the changes take effect. The reboot option doesn't work when launching the homebrew through the nsp version. However, I have another way of rebooting the switch to CFW, and I can see that the changes are still applied.

    This is nothing more than a guess, but I can imagine it's not working for the same reasons that you have to exit an app through home button + system menu, in other words, an exit feature included in the app won't work when launched as an nsp.

    Considering the author of Nxthemes doesn't seem to be planning to add nsp support, this issue won't get fixed anytime soon...
     
  7. paggimm

    paggimm Newbie

    Newcomer
    2
    Jan 27, 2019
    Germany
    Hi,
    I tried to use several builds on Linux (Mint) but I always get MissingMethodException: Method 'String.Format' not found.
    Mono is latest Version from the repository.
    I tried to create a RetroArch Forwarder for Oracle of Seasons

    When I try to launch this on my Windows Partition, it says that it hasn't got the rights for the Path to MtX.Control.dll and deletes everything in this folder except for the dll and the exe, even when run as admin
     
  8. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    What version of mono are you running on mint? You can try this on your windows one
    https://docs.microsoft.com/en-us/wi...curity-policy-settings/user-rights-assignment
    Seems like you don’t have permission
     
  9. paggimm

    paggimm Newbie

    Newcomer
    2
    Jan 27, 2019
    Germany
    On mint it says Version 4.2.1

    I forgot to Mention: My windows partition is win7, not win10
    I tried on my wife's pc with win10, but its the same there.

    Edit: I just realized on mono's project page is Version 5. I'll add their repo and update mono and try again
     
    Last edited by paggimm, Mar 3, 2019
  10. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    It should work without having to add anything on windows 10. I’m unsure why it’s saying it can’t acess the dll
     
  11. paggimm

    paggimm Newbie

    Newcomer
    2
    Jan 27, 2019
    Germany
    Update: I tried to update Mono according to their page but it somehow messed up my repository and i had to revert mono back to fix this.
    For now, I'll go to sleep and try it on Windows again tomorrow and will report back if it functions/fails again.
    Anyway, thanks for your help :)

    Edit: Gave it one last try on win7 and the build you linked on this page finally worked at least for windows
     
    Last edited by paggimm, Mar 3, 2019
  12. 2Siralv

    2Siralv Advanced Member

    Newcomer
    3
    May 12, 2018
    Canada
    Can you add so it can forward eboot or pbp
     
  13. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    Sounds good, ill post that build on github just need to clean up some things first

    You already can!
     
  14. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    3.3.2 Stable is up!
     
    Broduskii and JJTapia19 like this.
  15. FanboyKilla

    FanboyKilla GBAtemp Regular

    Member
    3
    Mar 9, 2019
    United States
    Found a few of issues in the latest 3.3.2 Stable build...

    ======
    Issue 1
    ======
    I'm not sure what's going on with the Settings but for some reason they are saving in multiple locations.

    C:\Users\USERNAME\AppData\Local\MtX\Nro2Nsp.exe_Url_5zjh3ykyfskuv1jng2tceghfzcyuovgb\1.0.0.0\user.config
    C:\Users\USERNAME\AppData\Roaming\Nro2Nsp\settings.xml

    Those are created/updated anytime you click "Save" from the Settings menu.

    Rather that saving the Settings.xml to the AppData folders, why don't you just simplify it and save the "Settings.xml" in the "Resources" folder? Being that this works as a Portable app, it just makes more sense to have everything in one location, rather than scattering files into different places.

    ======
    Issue 2
    ======
    In the "Logo Menu", if the "No Logos" box is checked, it can no longer be "unchecked". Clicking on "Reset All" doesn't cause it to become unchecked either. The only way I could get it to reset back to normal is by clicking on "Reset All -> Save -> Save -> Close/Relaunch Nro2Nsp".

    ======
    Issue 3
    ======
    Custom logo paths are not being saved to the "settings.xml" file when settings.xml is being ran from the "Resources" folder. Instead they are being saved to both of the "AppData" folders that I listed above in "Issue 1".

    Steps to reproduce are...

    - Delete "user.config" and "settings.xml" from the AppData folders I listed above in "Issue 1".
    - Make sure that you have a "settings.xml" file in the "Resources" folder.
    - Start Nro2Nsp
    - Goto "Settings -> Logo Menu" change the "Import Logo" and click "Save".

    Now "user.config" and "settings.xml" are created in the AppData folders rather than "Resources\settings.xml" being updated.

    ======
    Issue 4
    ======
    Nro2Nsp is not reading the "settings.xml" from the "Resources" folder IF "user.config" and "settings.xml" don't exist in the AppData folders. Instead I get this error in the log...

    Local Settings file loaded from: ./Resources/settings.xml
    Could Not Apply Settings From ./Resources/settings.xml

    I really hope you will consider using the Resources folder exclusively to store the "settings.xml" rather than using the AppData folders.It just doesn't make any sense for a Portable App to be using the AppData folder. Not only that, but you won't even need the option to "Export Settings File" in the Settings menu, because they will already exist in the Resources folder by default.
     
    Last edited by FanboyKilla, Mar 11, 2019
  16. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    Thank you for the detailed explain on things.
    Issue 1: the local settings path is controlled by the application itself and not by my implementation. I originally added the roaming as there was an issue that would discard the settings each new build which would of been a pain to set over each time. It would also help prevent the user to having to copy over the settings file each time. That being said I decided to add the resources folder later on and it takes priority. If you click export save file it’ll save in the resources folder.

    Issue 2 : I shall look into that once I’m home

    Issue 3 : it’s because as stated in issue one is the default location of the settings.xml is roaming and you’re loading it from resources folder. Use export settings file to update. I may change the way this works to prevent issues like this.

    Issue 4 : Do not delete the settings in local, this will cause that error as it has nothing to set the settings to. I’ll consider changing the settings a bit
     
  17. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    Just verified issue 2, seems to get stuck. Ill look into things tonight and see what i can do
     
  18. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
    I have a new build with a fix for the nologo issue and a revamped settings configuration setup if youd like to test and let me know how it works?
     
  19. FanboyKilla

    FanboyKilla GBAtemp Regular

    Member
    3
    Mar 9, 2019
    United States
    Of course. Shoot me a PM if you'd like or let me know where I can DL it. Or is it already available on your GitHub page?
     
  20. re.lax
    OP

    re.lax GBAtemp Regular

    Member
    6
    Apr 5, 2009
    United States
    United States, Texas
Loading...