samedi 16 février 2019

About removing fullscreen on some sources (and on some binairy)



it's not that i don't like fullscreen, it's just that most of the time it cause issues when watching them.
back in the days, there was only 4/3 display, and sometime resolution choosen was not the most common.
we have now 16/9, and sometime 16/10 display.. and some resolution are not avaible anymore and when it work, the demo look awful

and i don't talk after the demo, that crash the desktop most of the time (and when wayland will be common, it will getting worse)

so i found that the better way to enjoy a demo was to start them in window mode
when... it's possible.
if i have the source, or a config file it's not a problem.
some binary provided an option (that i have to find hidden in the binary if it's not documented)

but for most binary, it's impossible.
they keep open in 800x600 fullscreen mode, and does not stop without crashing my dual-screen desktop.
until i found a way to change the binary on some of them (those that are not compressed)
it's just an octet to change, and the opengl call will not open fullscreen, but windowed

so i reviewed all the binary i've got, and tried this trick
it worked on some of them
and make those old stuff, now more watchable

here are the demo/intro that i changed :
  • 8bitwonderland-by-kakiarts
  • supa-by-mrp
  • anrufausschweden-by-unik


ce n'est pas que je n'aime pas le plein écran, c'est juste que la plupart du temps, cela pose des soucis quand on les regarde.
autrefois, il n'y avais que les écrans en 4/3, et parfois la résolution choisie n'était pas la plus commune
nous avons maintenant du 16/9 et parfois du 16/10.. et quelques résolutions ne sont plus disponibles et quand cela fonctionne l'affichage de la démo est affreux

et je ne parle après la démo, ou le bureau crashe la plupart du temps.. (et quand wayland sera commun, ce sera pire)

donc j'ai trouvé que le meilleur moyen d'apprécier une démo, était de la démarrer en fenêtré.
quand.... cela est possible.
si j'ai le source ou un fichier de configuration ce n'est pas un problème.
quelques binaires fournissent une option (parfois cachée dans le binaire si ce n'est pas documenté).

mais pour la plupart d'entre eux,c'est impossible.
ils continuent de s'ouvrir en plein écran en 800x600, et ne s’arrêtent pas sans avoir crashé mon bureau en bi-écran
jusqu'au moment où j'ai trouvé un moyen pour changer cela (ceux qui ne sont pas compressé)
c'est juste un octet a changer dans le binaire, et l'appel opengl n'ouvrira pas en plein écran, mais en fenêtré

donc j'ai regardé tout les binaire que j'avais et essayé ce truc
cela a fonctionné sur certain d'entre eux, et rendu ces vieilles choses, plus regardables

voici les démos concernées :
  • 8bitwonderland-by-kakiarts
  • supa-by-mrp
  • anrufausschweden-by-unik

Aucun commentaire:

Enregistrer un commentaire