Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux ARM64 port for retro handhelds #50

Open
shim80 opened this issue May 20, 2024 · 2 comments
Open

Linux ARM64 port for retro handhelds #50

shim80 opened this issue May 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@shim80
Copy link

shim80 commented May 20, 2024

Hi !
Your app look awesome !
Do you think you could make a linux aarch64 port ? I think this game could be awesome to play on retro devices (especially anbernic ones).
I don't know what are the requirement, but these devices run on mobile hardware (4 core arm soc, and OpenGL ES 3.2 GPU), so it's should be able to run well since there's already apk that run on mobile.
We just need to map physical controls, and adjust the screen to fit on 640x480 display

@Admiral-Billy
Copy link
Owner

Admiral-Billy commented May 21, 2024

If you can find a way to modify my GitHub action to correctly build for it (available at https://github.com/Admiral-Billy/Pokerogue-App/blob/main/.github/workflows/build.yml), I don't mind including it, but I'm not sure what that requirement would be; maybe fork this repo and see if you can get a build script working for it there?

@Admiral-Billy Admiral-Billy added the enhancement New feature or request label May 21, 2024
@0xicl33n
Copy link

I can absolutely not get this to build on the RPI CM4 (raspberry pi compute module 4). npm run works but its horribly slow

node v18.19.0
npm 9.2.0

> [email protected] build:linux
> electron-builder --linux

  • electron-builder  version=24.13.3 os=6.6.44-v8+
  • loaded configuration  file=package.json ("build" field)
  • description is missed in the package.json  appPackageFile=/home/user/src/Pokerogue-App-2.4.3/package.json
  • writing effective config  file=dist/builder-effective-config.yaml
  • rebuilding native dependencies  [email protected] platform=linux arch=arm64
  ⨯ cannot execute  cause=exit status 1
                    errorOut=npm ERR! code 1
    npm ERR! path /home/user/src/Pokerogue-App-2.4.3/node_modules/register-scheme
    npm ERR! command failed
    npm ERR! command sh -c node-gyp rebuild
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using [email protected]
    npm ERR! gyp info using [email protected] | linux | arm64
    npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
    npm ERR! gyp http GET https://electronjs.org/headers/v29.3.3/node-v29.3.3-headers.tar.gz
    npm ERR! gyp WARN install got an error, rolling back install
    npm ERR! gyp ERR! configure error
    npm ERR! gyp ERR! stack FetchError: request to https://electronjs.org/headers/v29.3.3/node-v29.3.3-headers.tar.gz failed, reason: connect ETIMEDOUT 2606:4700:3033::ac43:9e78:443
    npm ERR! gyp ERR! stack     at ClientRequest.<anonymous> (/usr/share/nodejs/node-fetch/cjs/index.cjs:6611:11)
    npm ERR! gyp ERR! stack     at ClientRequest.emit (node:events:517:28)
    npm ERR! gyp ERR! stack     at TLSSocket.socketErrorListener (node:_http_client:501:9)
    npm ERR! gyp ERR! stack     at TLSSocket.emit (node:events:517:28)
    npm ERR! gyp ERR! stack     at emitErrorNT (node:internal/streams/destroy:151:8)
    npm ERR! gyp ERR! stack     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    npm ERR! gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    npm ERR! gyp ERR! System Linux 6.6.44-v8+
    npm ERR! gyp ERR! command "/usr/bin/node" "/usr/share/nodejs/node-gyp/bin/node-gyp.js" "rebuild"
    npm ERR! gyp ERR! cwd /home/user/src/Pokerogue-App-2.4.3/node_modules/register-scheme
    npm ERR! gyp ERR! node -v v18.19.0
    npm ERR! gyp ERR! node-gyp -v v9.3.0
    npm ERR! gyp ERR! not ok

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/user/.npm/_logs/2024-08-15T03_13_19_786Z-debug-0.log

                    command=/usr/bin/node /usr/share/nodejs/npm/bin/npm-cli.js rebuild [email protected]
                    workingDir=
                    ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants