Giter Site home page Giter Site logo

recalbox-manager's Introduction

recalbox-manager

Build Status Known Vulnerabilities

A web interface to manage recalbox configuration.

Note

The API activation step is only needed if you want launch game through the web interface. Otherwise, it's not necessary.

Installation from sources

  1. Clone or download the repository: git clone https://github.com/DjLeChuck/recalbox-manager.git
  2. Compile the project from a computer (not recalbox): ./compile.sh
  3. Activate the API: https://github.com/recalbox/recalbox-api/blob/1.1.x/documentation/activate-on-recalbox.md
  4. Launch the server (connect through SSH on the recalbox): cd /recalbox/share/manager && NODE_ENV=production PORT=3000 node dist/server.js
  5. Go on http://recalbox:3000/

Installation from releases

  1. Download the release: https://github.com/DjLeChuck/recalbox-manager/releases/
  2. Extract the package on recalbox: \recalbox\share\manager for example
  3. Activate the API: https://github.com/recalbox/recalbox-api/blob/1.1.x/documentation/activate-on-recalbox.md
  4. Launch the server (connect through SSH on the recalbox): cd /recalbox/share/manager && NODE_ENV=production PORT=3000 node dist/server.js
  5. Go on http://recalbox:3000/

Known issues

  • Some changes are not directly applied; The recalbox must be restarted.

Contributing

  • Translations are managed with POEditor

recalbox-manager's People

Contributors

azzra avatar djlechuck avatar facundoolano avatar higink avatar naparuba avatar robsdedude avatar substring avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

recalbox-manager's Issues

[4.1] Gamepad has own index page

Recalbox 4.1 will be shipped with a version of the virtualgamepad app that has its own index page on which one can choose between gamepad, keyboard, and touchpad.
Thus, the direct link to the keyboard might not be necessary anymore.

Ajouter un manager de BIOS

Ajouter un vrai manager de BIOS -> qui soit plus explicite sur les sytèmes nécessitants des BIOS, et quels BIOS

Il y a dejà un bout de fichier le manifesto qui décrit les bios

Manager don't like when you erase bios readme.txt

Manager is using the bios readme.txt file to check files hashes.
So, if user erase the readme.txt file inside bios folder, the manager display a white page with a "waiting wheel".
Could be a good thing to display a message instead of this page.

Upload screenshot in ROM management from web

The new ROM management allows to edit data about a ROM but there some thing may be improvement:

  • Allow upload an image, screenshot or cover.
  • Respect the information supplied by local user when rescraped.
  • Allow upload and complete some databases (f.e.: screenscraper) suggesting your own information.

Impossible de compiler

Depuis 3 semaines, impossible de compiler le manager:

Failed to compile.

Module not found: Error: Cannot resolve module 'jquery' in /home/subs/recalbox-buildroot-rpi3/output/build/recalbox-manager2-v2.0-beta/client/node_modules/react-select2-wrapper/lib/components


npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/node" "/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/npm" "run" "build"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'react-scripts build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     react-scripts build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls client
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/subs/recalbox-buildroot-rpi3/output/build/recalbox-manager2-v2.0-beta/client/npm-debug.log

npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/node" "/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/npm" "--prefix" "/home/subs/recalbox-buildroot-rpi3/output/build/recalbox-manager2-v2.0-beta" "run" "buildboth"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] buildboth: `npm run build && cd client && npm run build && cd ..`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] buildboth script 'npm run build && cd client && npm run build && cd ..'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the express-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run build && cd client && npm run build && cd ..
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs express-server
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls express-server
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/subs/recalbox-buildroot-rpi3/npm-debug.log

le npm-debug.log dit :

0 info it worked if it ends with ok
1 verbose cli [ '/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/node',
1 verbose cli   '/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/npm',
1 verbose cli   '--prefix',
1 verbose cli   '/home/subs/recalbox-buildroot-rpi3/output/build/recalbox-manager2-v2.0-beta',
1 verbose cli   'run',
1 verbose cli   'buildboth' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuildboth', 'buildboth', 'postbuildboth' ]
5 info lifecycle [email protected]~prebuildboth: [email protected]
6 silly lifecycle [email protected]~prebuildboth: no script for prebuildboth, continuing
7 info lifecycle [email protected]~buildboth: [email protected]
8 verbose lifecycle [email protected]~buildboth: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~buildboth: PATH: /home/subs/recalbox-buildroot-rpi3/output/host/usr/lib/node_modules/npm/bin/node-gyp-bin:/home/subs/recalbox-buildroot-rpi3/output/build/recalbox-manager2-v2.0-beta/node_modules/.bin:/home/subs/recalbox-buildroot-rpi3/output/host/bin:/home/subs/recalbox-buildroot-rpi3/output/host/sbin:/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin:/home/subs/recalbox-buildroot-rpi3/output/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Users/WaH/AppData/Local/Microsoft/WindowsApps:/mnt/c/adb:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Users/WaH/AppData/Local/Microsoft/WindowsApps
10 verbose lifecycle [email protected]~buildboth: CWD: /home/subs/recalbox-buildroot-rpi3/output/build/recalbox-manager2-v2.0-beta
11 silly lifecycle [email protected]~buildboth: Args: [ '-c', 'npm run build && cd client && npm run build && cd ..' ]
12 silly lifecycle [email protected]~buildboth: Returned: code: 1  signal: null
13 info lifecycle [email protected]~buildboth: Failed to exec buildboth script
14 verbose stack Error: [email protected] buildboth: `npm run build && cd client && npm run build && cd ..`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/home/subs/recalbox-buildroot-rpi3/output/host/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/home/subs/recalbox-buildroot-rpi3/output/host/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:877:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd /home/subs/recalbox-buildroot-rpi3
17 error Linux 4.4.0-43-Microsoft
18 error argv "/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/node" "/home/subs/recalbox-buildroot-rpi3/output/host/usr/bin/npm" "--prefix" "/home/subs/recalbox-buildroot-rpi3/output/build/recalbox-manager2-v2.0-beta" "run" "buildboth"
19 error node v6.9.1
20 error npm  v3.10.8
21 error code ELIFECYCLE
22 error [email protected] buildboth: `npm run build && cd client && npm run build && cd ..`
22 error Exit status 1
23 error Failed at the [email protected] buildboth script 'npm run build && cd client && npm run build && cd ..'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the express-server package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     npm run build && cd client && npm run build && cd ..
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs express-server
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls express-server
23 error There is likely additional logging output above.

Faire un check MD5 des BIOS

vérifier le checksum des bios du repertoire ... bios ...
dedans il y a un fichier qui liste les bios par nom + checksum

Champs "password"

Yop,
Juste pour le plaisir des yeux, les champs password tu peux mettre type 'password' au lieu de text ?
Pas un problème urgent :)

Impossible d'arreter ou redemarrer ES par le manager

Issue reportée par des users, que je viens de vérifier avec le dernier commit.

Restart et Stop ne marchent pas, par contre Start oui. Aucune erreur n'apparait sur la console serveur quand j'utilise un des boutons qui déconne.

Ca ne compile plus

Ca replante à la compilation:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/share/host/usr/bin/node" "/share/host/usr/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code EREADFILE

npm ERR! Error extracting /root/.npm/react-bootstrap-switch/15.0.4/package.tgz archive: ENOENT: no such file or directory, open '/root/.npm/react-bootstrap-switch/15.0.4/package.tgz'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /work/output/build/recalbox-manager2-v2.0.1/client/npm-debug.log

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/share/host/usr/bin/node" "/share/host/usr/bin/npm" "--prefix" "/work/output/build/recalbox-manager2-v2.0.1" "run" "installboth"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] installboth: `npm install && cd client && npm install && cd ..`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] installboth script 'npm install && cd client && npm install && cd ..'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the express-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install && cd client && npm install && cd ..
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs express-server
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls express-server
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /work/npm-debug.log

Bug : panel audio plante lors de la sauvegarde

Le message d'erreur :

amixer: Unable to find simple control 'Master',0


  Error: Command failed: /recalbox/scripts/recalbox-config.sh volume undefined
  amixer: Unable to find simple control 'Master',0
  
  
      at checkExecSyncError (child_process.js:483:13)
      at Object.execSync (child_process.js:523:13)
      at Object.save (/usr/recalbox-manager2/controllers/audio.js:29:30)
      at next (native)
      at Object.<anonymous> (/usr/recalbox-manager2/node_modules/koa-route/index.js:34:19)
      at next (native)
      at Object.<anonymous> (/usr/recalbox-manager2/node_modules/koa-route/index.js:27:49)
      at next (native)
      at Object.<anonymous> (/usr/recalbox-manager2/node_modules/koa-route/index.js:27:49)
      at next (native)

Odroid C2 : crash à la connection

  TypeError: Cannot read property 'replace' of undefined
      at Object.<anonymous> (/usr/recalbox-manager2/recalbox-manager2.js:69:29)
      at next (native)
      at Object.plugin (/usr/recalbox-manager2/node_modules/koa-better-body/index.js:45:22)
      at next (native)
      at Object.flash (/usr/recalbox-manager2/node_modules/koa-flash/index.js:34:12)
      at next (native)
      at Object.session (/usr/recalbox-manager2/node_modules/koa-session/index.js:116:14)
      at next (native)
      at Object.serve (/usr/recalbox-manager2/node_modules/koa-static/index.js:43:14)
      at next (native)

Le C2 tourne en 64bits

recalbox manager 2 inaccessible

Bonjour,
lorsque je choisi la version 2 du web manager de recalbox, je ne peux pas y accéder via mon navigateur ( chrome)

ERR_CONNECTION_REFUSED

alors si je remet la version 1 dans le fichier de conf, je peux y accéder sans problème.
quelqu'un à une idée ?

Merci d'avance.

Ajouter une gestion des ROMs

  • Un coverflow des roms avec affichage du scrape et tout le tralala
  • Possibilité d'éditer les données de scrape (pour l'édition, attention, bcp de pincettes, notamment côté ES)

Bugz pre beta5

  • URL virtual gamepad et clavier : ne pas mettre en dur http://recalbox:8080 parce que :
    • http://recalbox/ ne marche sur windows. Mac et Linux c'est http://recalbox.local
    • recalbox, c'est le hostname defini dans l'os et il peut se changer facilement notammet par le manager (utile quand on a plusieurs recalbox chez soit)
  • monitoring : un core toujours a 100% alors que top ne montre rien de tel. Ou alors nodejs est vraiment gourmand
  • Audio : ok 👍 (pas vérifié si les valeurs enregistrées sont les bonnes dans cette version , mais avant elles l'etaient)
  • BIOS : peut-etre renommer la colonne "Options" pour "action"
  • Configuration : me semble que par defaut la timzone c'est Paris ... peut etre a caler sur la langue du navigateur si ce n'est pas renseigné, parce que sauver la page mettra USA partout
  • ROMS : impossible d'editer les données de la ROM SNES fourie par defaut (le remake de donkey kong) alors que la ROM est scrapée. Pas de pb pour les autres systemes avec leurs roms par defaut

Je n'ai pas vérifié la regression de ce qui marchait avant ;)

[Feature Request] Auto-close of menu

If you view the webmanager on a mobile device you get a hamburger menu that drops down on click. So far so good. As you click a menu item the according page opens but the menu stays open as well. Wouldn't it be nice if the menu would collapse as soon as the user clicks on an item?

Generate csv list games

Bonjour @DjLeChuck
manathlan, membre du forum, a une la bonne idée de créer un script en python qui permet de générer une liste de jeux à partir du fichier gamelist.xml.
Serait il possible d'ajouter cette fonctionnalité dans le manager, l'idée serait de pouvoir gérer une liste au format xml/csv en fonction des différents critères de la gamelist :

  • Genre (plateforme , shoot em up, beat em up, shoot, course etc..)
  • Nombre de joueurs
  • Développeurs
  • Région (USA , JAPAN, EUROPE, FRANCE etc...)

Sujet de référence : https://forum.recalbox.com/topic/7156/tips-g%C3%A9n%C3%A9rer-une-liste-complete-des-jeux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.