glaumar / QRookie

Download and install Quest games from ROOKIE Public Mirror (like VRP Rookie Sideloader but for Linux and MacOS)
GNU General Public License v3.0
33 stars 2 forks source link

Feature Request: macOS Port and Multi-User Support (I Want to Join to the Project) #11

Closed victorwads closed 3 months ago

victorwads commented 3 months ago

Hello,

I recently discovered a way to enable games to run for multiple users on my Quest 3. This allows users to create separate profiles for games using the following ADB commands:

•   adb shell pm list users
•   adb shell pm list packages
•   adb shell pm list packages --user <user_id>
•   adb shell pm install-existing --user <user_id> <package_name>

I would like to port Rokkie to macOS and add a user interface to share the Rokkie application across all users. Integrating this functionality into your project would provide a seamless experience for multi-user management on the Quest 3.

Thank you for considering this enhancement. I believe it would be a valuable addition to the project, and I haven’t found anything similar available.

Best regards, Wads

victorwads commented 3 months ago

I'm learning Qt, never worked with this before, but already worked with several UIs since HTML until Mobile Development, i'm installing all Qt env on my MacOs, and if you like my ideia i'll start working on new screens to list Quest 3 Users and add filters by Users on Package listing.

If you want to reach me, u can text me on telegram @victorwads

victorwads commented 3 months ago

@glaumar, I Need your help, I need to know what version of kirigami you are using. i'm building the dependencies for macOs, and having some dismach troubles:

I Nedd to know:

image

I Will open a WIP Merge request for u to see my work

glaumar commented 3 months ago

I'm glad to see you're interested in this project. This is not a serious project, and I'm open to any code contributions. However, I don't have any experience using or developing for Mac OS, so I can't provide much help.

glaumar commented 3 months ago

@glaumar, I Need your help, I need to know what version of kirigami you are using. i'm building the dependencies for macOs, and having some dismach troubles:

I Nedd to know:

* QMake version

* kirigami version

image

The version of Kirigami I'm currently using on my Archlinux is 6.2.1, and I'm not using qmake in this project, only cmake. I recommend you do the same. You may need to modify the CMakeLists.txt to make it suitable for Mac OS. Unfortunately, I don't have experience in this area and can't provide more help.

victorwads commented 3 months ago

@glaumar, I Need your help, I need to know what version of kirigami you are using. i'm building the dependencies for macOs, and having some dismach troubles: I Nedd to know:

* QMake version

* kirigami version

image I Will open a WIP Merge request for u to see my work我将打开 WIP 合并请求让您查看我的作品

The version of Kirigami I'm currently using on my Archlinux is 6.2.1, and I'm not using qmake in this project, only cmake. I recommend you do the same. You may need to modify the CMakeLists.txt to make it suitable for Mac OS. Unfortunately, I don't have experience in this area and can't provide more help.

Thanks @glaumar, i ajusted my Kirigami build to the 6.2.1 version for arm64, and it builds fine. My problem is when executing the app: image libKirigamiplugin.dylib, 0x0085): Symbol not found: _qt_resourceFeatureZstd

Seens to be an imcompatibility with Qt 6.7.1, so i was thinking wich Qt version your ArchLinux Run.

I Posted my WIP here: https://github.com/glaumar/QRookie/pull/12

glaumar commented 3 months ago

@glaumar, I Need your help, I need to know what version of kirigami you are using. i'm building the dependencies for macOs, and having some dismach troubles: I Nedd to know:

* QMake version

* kirigami version

image

The version of Kirigami I'm currently using on my Archlinux is 6.2.1, and I'm not using qmake in this project, only cmake. I recommend you do the same. You may need to modify the CMakeLists.txt to make it suitable for Mac OS. Unfortunately, I don't have experience in this area and can't provide more help.

Thanks @glaumar, i ajusted my Kirigami build to the 6.2.1 version for arm64, and it builds fine. My problem is when executing the app: image libKirigamiplugin.dylib, 0x0085): Symbol not found: _qt_resourceFeatureZstd

Seens to be an imcompatibility with Qt 6.7.1, so i was thinking wich Qt version your ArchLinux Run.

I Posted my WIP here: #12

I just updated my ArchLinux, and on my computer, both the old and new versions can compile and run normally: QRookie depends on the following on Linux:

victorwads commented 3 months ago

@glaumar

Thank You so much,

For macOs there is no default package manager, normally community uses brew https://brew.sh/.

I'm thing how can i distribute the app, i need to build arm64 and x86 versions. I will start only with arm64 Version provided my script, i could not bundle all dependencies inside the QRookie.app executable folder.

glaumar commented 3 months ago

On this point, I am actually learning Nix. Nix also supports macOS, and there is an article claiming "It’s better than homebrew". I have successfully compiled Qrookie on NixOS and I think it works quite well.

glaumar commented 3 months ago

I will try to install a macOS virtual machine in the near future and attempt to compile using Nix. If all goes well, cross-platform compilation and running of Qrookie will become quite simple.

victorwads commented 3 months ago

I will try to install a macOS virtual machine in the near future and attempt to compile using Nix. If all goes well, cross-platform compilation and running of Qrookie will become

I'll research about this

glaumar commented 3 months ago

13 #14