Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Package development
  3. RomM App For Cloudron

RomM App For Cloudron

Scheduled Pinned Locked Moved Package development
34 Posts 5 Posters 8.6k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • eyecreateE eyecreate

    I put some effort today to package this app. I'm putting a link here to my repo, but it's not complete. Still need to figure out if I can get OIDC working and need to work on the config file and make use of /app/data. I took some ideas from what @murgero last showed and the official romm dockerfile, but built it using cloudron packaging format examples and supervisord.
    https://git.cloudron.io/eyecreate/romm
    I'll post here when I make any changes. Would love feedback from those knowing more about OIDC how to get it working.

    Edit: cloudron gitlab has been spotty so here is a mirror: https://git.eyecreate.org/eyecreate/cloudron-romm

    murgeroM
    murgeroM
    murgero
    App Dev
    wrote on last edited by
    #14

    @eyecreate Thank you for this! I have lost a lot of time IRL with work and family stuff so someone else taking the mantle here is really helpful. I'll definitely be checking this out

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~

    1 Reply Last reply
    1
    • eyecreateE
      eyecreateE
      eyecreate
      App Dev
      wrote on last edited by eyecreate
      #15

      Okay, I made some progress since I last wrote: I fixed some bugs preventing app from working and found a way to get OIDC working too. Now I need to put some effort into using the app and make sure everything is working, especially the remote api services and fix my bad use of secret key.

      1 Reply Last reply
      2
      • eyecreateE
        eyecreateE
        eyecreate
        App Dev
        wrote on last edited by eyecreate
        #16

        Made some more progress today: I put some env vars in a file that can be written by user for api keys, added missing workers for jobs, and pulled in precompiled emujs and ruffle from release image. Some things are not set up right still so emujs doesn't work, but one step closer. I'll also look into adding the TURN support for netplay in latest version.

        1 Reply Last reply
        3
        • eyecreateE
          eyecreateE
          eyecreate
          App Dev
          wrote on last edited by
          #17

          Okay, I made some more updates today: one step back to take two steps forward. I realized there was another dockerfile in the romm github when trying to figure out why a number of things weren't working. That dockerfile was for production, unlike the one I was looking at. I decided to use more of the processes they have there to try and get the missing features: I needed to use nginx instead of the node dev server and compile some custom modules for nginx. While I was making these changes, I made other parts of the docker build process more mult-stage. The end result is downloading roms and using the emulator work now. Next I'll see what it'll take to get netplay working and check more features out. I feel like I've gotten close to finished!

          1 Reply Last reply
          3
          • eyecreateE
            eyecreateE
            eyecreate
            App Dev
            wrote on last edited by
            #18

            I reached out to Romm devs to try and figure out why I'm seeing a bug in my build but not official docker image.(rom with id of 1 won't work with emulator) In the meantime, I tested out netplay and it works! Will update once I hear back.

            1 Reply Last reply
            3
            • eyecreateE
              eyecreateE
              eyecreate
              App Dev
              wrote on last edited by
              #19

              Next release of romm should contain fixes for every issue I've found. I'd consider it usable at that point.

              1 Reply Last reply
              3
              • eyecreateE
                eyecreateE
                eyecreate
                App Dev
                wrote on last edited by eyecreate
                #20

                4.7.0 is released! I tested the rom patching and it seems to work now. I have nothing left to develop and get working now. Will do a polish pass on packaging, but hopefully this can either get into the cloudron app store or upcoming community app.

                1 Reply Last reply
                1
                • J
                  J
                  joseph
                  Staff
                  wrote on last edited by
                  #21

                  @eyecreate please consider making a community app - https://docs.cloudron.io/packaging/publishing/ . You can test it against the demo server (my.demo.cloudron.io), if you haven't updated to 9.1 release.

                  1 Reply Last reply
                  1
                  • eyecreateE
                    eyecreateE
                    eyecreate
                    App Dev
                    wrote on last edited by
                    #22

                    I updated the metadata to support the community app format. Tested on the server you linked.

                    Install URL: https://git.cloudron.io/eyecreate/romm/-/raw/main/CloudronVersions.json

                    murgeroM 1 Reply Last reply
                    3
                    • eyecreateE eyecreate

                      I updated the metadata to support the community app format. Tested on the server you linked.

                      Install URL: https://git.cloudron.io/eyecreate/romm/-/raw/main/CloudronVersions.json

                      murgeroM
                      murgeroM
                      murgero
                      App Dev
                      wrote on last edited by
                      #23

                      @eyecreate amazing! I'll be installing this I think

                      --
                      https://urgero.org
                      ~ Professional Nerd. Freelance Programmer. ~

                      1 Reply Last reply
                      0
                      • humptyH
                        humptyH
                        humpty
                        wrote last edited by humpty
                        #24

                        do you HAVE to add metadata provider for it to work? I uploaded some NES games, ran a scan, restarted the app, and yet nothing shows in the library. Can't I use this in "offline" mode? As in no calls to third parties?

                        image.jpeg

                        Edit: created a screenscraper account, added the user/pass to the env.sh, and restarted the app. Some dev api error is showing up. I couldn't find a way to create a dev api anywhere on their site.

                        1 Reply Last reply
                        1
                        • eyecreateE
                          eyecreateE
                          eyecreate
                          App Dev
                          wrote last edited by eyecreate
                          #25

                          There is no metadata by default, so yes, it has to reach out somewhere unless you want to type out your own metadata into the editor. It should by default have hasheous, but I haven't always had tons of success with it's proxy.
                          Sorry about the dev api error. screenscraper isn't usable right now without me applying for a dev key.(screenscraper needs a dev key and user auth) Romm used to ship their key in the code, but removed it recently.
                          On my own server, I've set up IGDB for now.

                          humptyH 2 Replies Last reply
                          1
                          • eyecreateE eyecreate

                            There is no metadata by default, so yes, it has to reach out somewhere unless you want to type out your own metadata into the editor. It should by default have hasheous, but I haven't always had tons of success with it's proxy.
                            Sorry about the dev api error. screenscraper isn't usable right now without me applying for a dev key.(screenscraper needs a dev key and user auth) Romm used to ship their key in the code, but removed it recently.
                            On my own server, I've set up IGDB for now.

                            humptyH
                            humptyH
                            humpty
                            wrote last edited by
                            #26

                            @eyecreate said:

                            I've set up IGDB for now.

                            I'll give that a shot. Thank you.

                            1 Reply Last reply
                            0
                            • eyecreateE eyecreate

                              There is no metadata by default, so yes, it has to reach out somewhere unless you want to type out your own metadata into the editor. It should by default have hasheous, but I haven't always had tons of success with it's proxy.
                              Sorry about the dev api error. screenscraper isn't usable right now without me applying for a dev key.(screenscraper needs a dev key and user auth) Romm used to ship their key in the code, but removed it recently.
                              On my own server, I've set up IGDB for now.

                              humptyH
                              humptyH
                              humpty
                              wrote last edited by humpty
                              #27

                              @eyecreate I started over and added the IGDB info and restarted the app then proceeded with the initial account creation. IGDB's connection is valid. I uploaded a new set of NES roms that I got from Vimmdotnet (in case it was a rom issue). Ran a scan and I still don't see them. They are being detected though. What am I doing wrong?

                              image.jpeg
                              image.jpeg

                              Edit: I downloaded the NES roms from the romM demo site to make sure it's not a rom issue so it must be a scan issue. I keep getting this error when manually triggering one regardless of which method I try (quick, complete, etc) Scan failed: Quick Scan is already queued

                              1 Reply Last reply
                              0
                              • humptyH
                                humptyH
                                humpty
                                wrote last edited by
                                #28

                                Started over again. This time I uploaded the roms and set IGDB info before setting up the account/app. I triggered a quick scan and in another tab I watched the log. The scan is definitely getting stuck. I triggered a new scan attempt in another tab and you can see the failed messages.

                                image.jpeg

                                1 Reply Last reply
                                0
                                • humptyH
                                  humptyH
                                  humpty
                                  wrote last edited by
                                  #29

                                  On RomM's discord, I found some clues related to quick scan getting stuck:

                                  Clue 1

                                  reverse proxy setup that enable Web sockets is on

                                  Clue 2

                                  This is for proxmox but might be related?

                                  `There is a new worker just for scans and the update script doesn't create the new service, or seem to update the ones that are there. The updates are in the script to make a new romm lxc though.`
                                  https://github.com/community-scripts/ProxmoxVE/blob/main/install/romm-install.sh (starts at line 353)
                                  

                                  Clue 3

                                  disable launchbox

                                  If it's a typo and they meant lunchbox, I can definitely help with that.

                                  Another user reported having scan issues in 5.3.1, but not in 5.2.0. I joined late to the party so I don't have a 5.2.0 backup to revert to to confirm.

                                  1 Reply Last reply
                                  0
                                  • eyecreateE
                                    eyecreateE
                                    eyecreate
                                    App Dev
                                    wrote last edited by eyecreate
                                    #30

                                    There were some changes to library structure recently, but I didnt think they changed anything related to the workers to affect scanning. I'll take a closer look and see if I missed a change related to scanning.

                                    1 Reply Last reply
                                    1
                                    • eyecreateE
                                      eyecreateE
                                      eyecreate
                                      App Dev
                                      wrote last edited by
                                      #31

                                      I looked more at the code and it seems the workers need to specifically be marked to scan now or else they don't get scan tasks. I'll update that in the image.

                                      1 Reply Last reply
                                      1
                                      • eyecreateE
                                        eyecreateE
                                        eyecreate
                                        App Dev
                                        wrote last edited by
                                        #32

                                        Romm should be updated now to fix not having any scanning happen.

                                        1 Reply Last reply
                                        1
                                        • humptyH
                                          humptyH
                                          humpty
                                          wrote last edited by humpty
                                          #33

                                          Success! It's scanning as I'm typing this!

                                          image.jpeg

                                          THANK YOU! 🎉

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search