Skip to content

Releases

Version 1.23L

Choose a tag to compare

@4lexei 4lexei released this 22 Nov 21:16
df17448

Español

Version 1.23L

Proximamente revisaré GitHub y activaré alguna opción de comunidad para que podáis escribir.

Si no encuentro fallos tontos realmente molestos como el problema de los bordes y modos corrompidos, voy a descansar unos días. La siguiente consola que quiero incluir es Xbox, después vendrán por este orden Saturn (PAL y JAP), PlayStation (PAL) y Nintendo 64 (PAL). Paciencia, gran parte del trabajo se hace a mano.

IMPORTANTE. Cuando hay cambios en el perfil de una consola, es necesario reiniciar bordes creados por el usuario para evitar un mal recorte y posibles glitches. Si no se reinician los bordes a los valores por defecto del nuevo firmware, los ajustes del usuario se sumarán a los nuevos ajustes del firmware, será un desastre. Esta nota aparecerá siempre con cada nuevo lanzamiento.

Mejora. El botón para reiniciar los ajustes de color y filtros ya no borra los ajustes del usuario, sólo se limita a regresar a los valores por defecto. Si después tocas el botón CARGAR, tus ajustes personales regresarán. Si deseas borrar tus ajustes, reinícialos y acto seguido guárdalos; así estarás usando los valores por defecto. En próximos firmwares añadiré botón real de borrado.

Nuevo. Las preferencias ya no se almacenan al instante. Para no estar machacando constantemente la flash, las preferencias del usuario se escriben 30 segundos después del último cambio, exceptuando los siguientes casos en los que existe un guardado automático inmediato: reiniciar el GBS, actualizar el firmware, descargar copia de seguridad, cargar un perfil personal y al volcar información. Recuerda que los perfiles de color y los presets personales sólo se guardan manualmente.

Nuevo. El guardado automático del borde modificado por el usuario se produce a los 30 segundos del último cambio. He aumentado el retraso por el mismo motivo de antes, no tiene sentido estar constantemente escribiendo cada paso en la flash.

Nuevo. Guardado automático al mover la imagen. Si el usuario posiciona la imagen con la cruceta (pestaña AJUSTE), la posición se guardará automáticamente como ya sucedía con los bordes. Si sale mal o aparecen glitches, el botón de deshacer movimiento revertirá los cambios. Este guardado automático es independiente para cada modo dentro de cada perfil de cada consola. Se guardará 30 segundos después del último movimiento, excepto si se cambia a otro modo, entonces se guardará inmediatamente. Si estás usando un preset personal, tendrás que guardar manualmente.

Mejora. El perfil de PC-Engine ya detecta juegos como Bonk's Adventure. La peculiaridad de este juego es correr a 60.05hz (aprox.) en lugar de los 59.82hz habituales y usar 259 líneas (creo), todo lo que se le parezca será detectado como PC-Engine. Al menos eso es lo que dice mi ODV-II, espero que no se lo esté inventando o esta huella no servirá para usuarios que usen RGB (no es mi caso).

Mejora. No escribir en la flash si no hay cambios. Las preferencias se montan primero en un buffer, no se vuelcan directamente: se comparan con lo que ya hay guardado y, si son idénticas, no se toca la flash. Encender una consola distinta provocaba dos escrituras completas del fichero, al recuperar su modo y al aplicar su perfil de color, casi siempre con el mismo contenido. Eso ya no sucede, ahorramos guardados y desgaste en la flash.

Corrección. Los bordes de Mega Drive ya no se comparten con los de PC-Engine al pasar de una a otra (error tontísimo).

Corrección. Ningún borde se suma o pisa los bordes de otros modos dentro del mismo perfil.

Corrección. Los ajustes personales de color no cargaban automáticamente si el usuario elegía el perfil de la consola a mano. Ya no importa si el perfil está en detección automática o manual, siempre carga tus ajustes.

Corrección. Se han vuelto a revisar todos los modos actuales de PC-Engine. Creo que por fin funciona correctamente el 1080p x5 para esta consola. El 720p x3 tiene un ligero reposicionamiento de la imagen (dos toques a la izquierda) para centrarla mejor. Anteriormente no se estaban introduciendo correctamente los cambios en el firmware, espero haberlo solucionado.

Corrección. Deshacer bordes ya no corrompe la imagen de PC-Engine y Super Nintendo.

English

I will soon review GitHub and enable a community option so you can write to me.

If I don't find annoying silly bugs like the problem with borders and corrupted modes, I'm going to rest for a few days. The next console I want to include is the Xbox, followed in this order by the Saturn (PAL and JAP), PlayStation (PAL) and Nintendo 64 (PAL). Please be patient: a large part of the work is done by hand.

IMPORTANT. When there are changes to a console profile, user-made borders must be reset to avoid bad cropping and possible glitches. If the borders are not reset to the new firmware's default values, the user's adjustments will be added on top of the firmware's new ones, and it will be a disaster. This note will appear with every new release.

Improvement. The button that resets colour and filter settings no longer erases the user's settings; it simply goes back to the default values. If you then press LOAD, your personal settings come back. If you want to erase your settings, reset them and then save them; that way you will be using the default values. In future firmware I will add a real delete button.

New. Preferences are no longer stored instantly. To avoid constantly hammering the flash, user preferences are written 30 seconds after the last change, except in the following cases, where they are saved immediately: restarting the GBS, updating the firmware, downloading a backup, loading a personal profile and dumping information. Remember that colour profiles and personal presets are only saved manually.

New. The automatic save of the border changed by the user now happens 30 seconds after the last change. I increased the delay for the same reason as above: it makes no sense to keep writing every step to the flash.

New. Automatic save when moving the picture. If the user positions the picture with the d-pad (ADJUST tab), the position is saved automatically, as already happened with the borders. If it goes wrong or glitches appear, the undo move button will revert the changes. This automatic save is independent for each mode within each profile of each console. It is saved 30 seconds after the last move, unless you switch to another mode, in which case it is saved immediately. If you are using a personal preset, you will have to save manually.

Improvement. The PC-Engine profile now detects games such as Bonk's Adventure. The peculiarity of this game is that it runs at about 60.05 Hz instead of the usual 59.82 Hz and uses 259 lines (I think); anything that looks like it will be detected as PC-Engine. At least that's what my ODV-II says. I hope it isn't making it up, or this fingerprint won't work for users on RGB (which isn't my case).

Improvement. No writing to the flash if nothing has changed. Preferences are first assembled in a buffer instead of being written straight away: they are compared with what is already saved and, if they are identical, the flash is left alone. Switching on a different console used to cause two full writes of the file, when restoring its mode and when applying its colour profile, almost always with the same content. That no longer happens, so we save writes and flash wear.

Fix. Mega Drive borders are no longer shared with PC-Engine ones when switching from one to the other (a really silly bug).

Fix. No border is added to or overwrites the borders of other modes within the same profile.

Fix. Personal colour settings did not load automatically if the user chose the console profile by hand. It no longer matters whether the profile is on automatic detection or manual: your settings always load.

Fix. All current PC-Engine modes have been reviewed again. I think 1080p x5 finally works correctly for this console. 720p x3 has a slight repositioning of the picture (two steps to the left) to centre it better. Previously the changes were not being applied correctly in the firmware; I hope I've fixed that.

Fix. Undoing borders no longer corrupts the picture on PC-Engine and Super Nintendo.

Version 1.22

Choose a tag to compare

@4lexei 4lexei released this 21 Nov 16:08
d3c2ddd

Español:

He actualizado las instrucciones de instalación (portada del proyecto), ahora se entienden mucho mejor, espero.

Después de este firmware, mis esfuerzos se centrarán en incluir nuevos perfiles y retocar los existentes. Es tedioso y lento, hay multitud de cosas que calculo y compruebo yo mismo, voy a tardar, la IA no puede hacer ese trabajo.

Cuando un firmware incorpora correcciones de escalado, posicionamiento o borde, es recomendable usar la opción de restaurar borde (pestaña IMAGEN), de lo contrario, los nuevos cambios se suman a los del usuario.

Nuevo. Ya disponible el modo 4:3 dentro del 1080p x4 de PC-Engine. Podrás jugar con proporciones de CRT (esto era lo habitual) o píxel perfecto (se ve más nítido pero considero que no es normal jugar así a PCE) si seleccionas el formato 4:3 en tu TV. Si no quieres configurar tu tele, sigue existiendo el modo 16:9 en el que no tendrás que tocar nada.

Nuevo. Modo 1080p x5 de PC-Engine. Medido al completo.

Nuevo. Aviso en rojo cuando no hay ningun modo activado. La interfaz ahora avisa de que no se ha seleccionado ninguna resolución y que el preset actual es genérico.

Nuevo. Memoria de fábrica dentro del apartado relojes (avanzado). Si tocaste la memoria, esto restaura el reloj y su fase (dentro del modo y consola en el que estés) a los valores que introduje en el firmware.

Nuevo. RAM por consola. Ahora, si toqueteas la RAM, ese ajuste ya no te persigue de un perfil a otro provocando anomalías incomprensibles.

Nuevo. Frecuencia de salida ajustable exacta introduciéndola a mano. Eso sí, tirones asegurados cuando fuente y pantalla no van sincronizadas.

Nuevo. Apartado relojes (developer) -> Valores ADC a la vista y ajustables introduciendo la cifra exacta. Misma función que el PLL divider del GBS-Control original pero me es más cómodo así. Los usuarios avanzados podéis toquetearlo, el resto mejor no. Este ajuste se aplica en vivo y no queda guardado, lo uso para probar sin tener que compilar y flashear un firmware tras otro.

Nuevo. Apartado relojes (developer) -> Valores de salida del Si5351 a la vista y ajustable escribiendo la cifra exacta. Forma parte de mis pruebas, no es importante para el usuario común.

Nuevo. Fase del FTL (developer). El GBS va leyendo una imagen mientras escribe la siguiente, y en el punto de la pantalla donde se cruzan puede verse una línea de corte (tearing). Este ajuste decide dónde cae ese cruce: 0° lo pone arriba del todo, 180° por el centro, y de fábrica está en 90°. Los grados son fracciones del fotograma, no alturas exactas de la pantalla, y una parte del fotograma es borrado vertical: por eso en algunos valores la línea no llega a verse. Si ves una raya horizontal fija o un corte que parte o desdobla la imagen, prueba a sacarla fuera de la pantalla. Va en pasos de 15° y no se guarda: al reiniciar vuelve a 90°. Esto sólo forma parte de mis pruebas y no debería tener utilidad para el usuario común.

Corrección. El modo 720px5 320px de Mega Drive ya cuenta con píxel perfecto. Medido de nuevo y corregido. Es un modo que nadie va a usar, en SNES tiene sentido para jugar al Super Game Boy a pantalla completa, pero aquí... Bueno, queda hecho.

Corrección. Retiro el modo 16:9 ancho de Mega Drive. El botón ancho de Mega Drive equivale a usar el modo 4:3 que ya existía. Los dos llenan la misma porción de pantalla, dicho botón era innecesario.

Corrección. Se retira el botón llenar en todos los modos de PC-Engine. Si quieres una imagen estirada, ya la tienes pulsando el botón 4:3.

Corrección. El FTL ya no se desvía al saltar entre 240p ↔ 480i con Sonic 2 (modo dos jugadores), vuelve a medir el reloj a los pocos segundos del cambio.

Corrección. El icono Wi-Fi que aparece cuando se pierde la conexión ya no queda enterrado bajo la barra de estado en la interfaz móvil.

Corrección absurda. He sustituido la palabra "aparato" por "GBS" en todos los textos de la interfaz.

Corrección. Desaparece el aviso de ajuste fino en la barra de estado. No tenía sentido dejar eso ahí, uno mismo ya sabe si ha activado el ajuste fino o no, está en el centro de la cruceta. Era confuso, como si se tratara de un modo de vídeo especial.

Optimizaciones. Ahorrados casi 10KB de RAM en el ESP8266. Creo que los conocidos problemas del Wi-Fi llevan a problemas más graves porque el log se va acumulando, no se envía a tiempo y la poquita RAM que tenemos literalmente colapsa, hasta que el GBS deja de responder, su interfaz se congela y no vuelve a cargar, e incluso en algunos casos he visto cómo el escalador se reinicia. Los arreglos son estos: los textos del log están ahora escritos en la flash (se leen desde ahí, 2,5KB); si el usuario no tiene OLED instalada, el firmware lo detecta, nos ahorramos menú y buffer (7KB); la línea de datos de la barra fija de estado se escribe directamente sin buffer (480bytes).

English:

I've updated the installation instructions (project front page); they should be much clearer now.

After this firmware, my efforts will go into adding new profiles and refining the existing ones. It's tedious and slow, there are plenty of things I work out and check myself, it will take me a while, the AI can't do it on its own.

When a firmware includes scaling, positioning or border corrections, it's a good idea to use the restore border option (IMAGE tab); otherwise the new changes are added on top of your own.

New. The 4:3 mode is now available inside PC-Engine's 1080p x4. You can play with CRT proportions (this was the usual thing) or pixel perfect (it looks sharper but I don't think it's normal to play PCE that way) if you set your TV to the 4:3 format. If you don't want to configure your TV, the 16:9 mode is still there and you won't have to touch anything, of course.

New. PC-Engine's 1080p x5 mode. Fully measured.

New. Red warning when no mode is enabled. The interface now warns you that no resolution has been selected and that the current preset is a generic one.

New. Factory memory inside the clocks section (advanced). If you touched the memory, this restores the clock and its phase (within the mode and console you are in) to the values I put in the firmware.

New. RAM per console. Now, if you fiddle with the RAM, that setting no longer follows you from one profile to another causing baffling anomalies.

New. Exact output frequency, adjustable by typing it in by hand. Mind you, stutter guaranteed when source and display aren't in sync.

New. Clocks section (developer) -> ADC values on show and adjustable by typing the exact figure. Same function as the original GBS-Control's PLL divider, but I find this handier. Advanced users can fiddle with it, everyone else had better not. This adjustment is applied live and isn't saved; I use it to test without having to compile and flash one firmware after another.

New. Clocks section (developer) -> Si5351 output values on show and adjustable by typing the exact figure. It's part of my testing, not important for the ordinary user.

New. FTL phase (developer). The GBS reads one image while it writes the next, and at the point on the screen where they cross you can see a tear line. This setting decides where that crossing falls: 0° puts it right at the top, 180° halfway down, and out of the box it's at 90°. The degrees are fractions of the frame, not exact heights on the screen, and part of the frame is vertical blanking: that's why at some values the line never shows. If you see a fixed horizontal line or a tear splitting or doubling the image, try moving it off the screen. It goes in 15° steps and isn't saved: on restart it goes back to 90°. This is only part of my testing and shouldn't be of any use to the ordinary user.

Fix. Mega Drive's 720px5 320px mode is now pixel perfect. Measured again and corrected. It's a mode nobody is going to use; on SNES it makes sense for playing the Super Game Boy full screen, but here... Well, it's done.

Fix. I'm removing Mega Drive's 16:9 wide mode. Mega Drive's wide button amounts to using the 4:3 mode that already existed. Both fill the same portion of the screen, so that button was unnecessary.

Fix. The fill button is removed from every PC-Engine mode. If you want a stretched image, you already have it by pressing the 4:3 button.

Fix. The FTL no longer drifts when jumping between 240p ↔ 480i with Sonic 2 (two-player mode); it measures the clock again a few seconds after the change.

Fix. The Wi-Fi icon that appears when the connection is lost no longer ends up buried under the status bar in the mobile interface.

Pointless fix. I've replaced the word "device" with "GBS" throughout the interface texts.

Fix. The fine adjustment notice is gone from the status bar. It made no sense having that there; you know yourself whether you've turned fine adjustment on, it's in the middle of the d-pad. It was confusing, as if it were some special video mode.

Optimisations. Almost 10KB of RAM saved on the ESP8266. I think the well-known Wi-Fi problems lead to more serious ones, because the log keeps piling up, isn't sent in time and the little RAM we have literally collapses, until the GBS stops responding, its interface freezes and never loads again, and in some cases I've even seen the scaler reset itself. The fixes are these: the log texts are now written in flash (read from there, 2.5KB); if the user has no OLED installed, the firmware detects it and we save the menu and its buffer (7KB); the fixed status bar's data line is written straight out with no buffer (480 bytes).

Version 1.11

Choose a tag to compare

@4lexei 4lexei released this 17 Nov 19:25
a32f35d

Español

Añadido botón 4:3 para Mega Drive en 1080p x4 NTSC y PAL. He tomado las medidas para una imagen y proporciones perfectas. La TV o el lienzo de captura de vídeo (uso mucho OBS) tendrá que estar en modo 4:3, de lo contrario, verás una imagen anchísima.

Retirado el botón FILL al usar el modo 720p x5 en Mega Drive NTSC. La imagen ya ocupa toda la pantalla, no hay nada más que rellenar. No tenía utilidad real.

Mejora. Cambios de modo sin pantalla a negro al usar Mega Drive en 1080p. Previamente se cargaba el preset completo al tocar 4:3, 16:9, 320px o 256px, perdiendo la señal por un instante. Ya no se altera la salida hacia la tele y cambiar de modo es todavía más rápido.

Corrección. Mega Drive PAL en 1080p x4 16:9 a 256px. Antes salía igual de ancho que el modo 320px. Ahora tiene su tamaño correcto con píxel perfecto.

Corrección. Sonic 2 a dos jugadores. Se dejaba de reconocer la consola como Mega Drive porque usa un modo de pantalla entrelazado del que no conocía su “huella”. Al entrar en dicho modo, el firmware saltaba a un perfil desconocido pero funcional. El problema es que a veces no regresaba correctamente a 240p y aparecían errores gráficos. La solución: si ya estamos usando Mega Drive y de repente ésta salta a un entrelazado (480i), pedimos al firmware que la siga tratando como Mega Drive incluso si por sus características pudiera confundirla con otra máquina. Funciona tanto a 60 como a 50 Hz.

Corrección. Se corrige la desviación de los hz de salida. Ahora el firmware es más estricto y se acerca más a la cifra seleccionada por el usuario (59,94 o 60). En modo “seguir la fuente” vigila la entrada cada pocos segundos, así que si el juego cambia de frecuencia (por ejemplo de 240p a 480i) la salida la vuelve a igualar. En pocos segundos entrada y salida deberían estar igualadas.

Cambio. FrameTime Lock activado por defecto. Mantiene la salida pegada a la entrada en todo momento. Si tu pantalla no lo soporta, puedes desactivarlo en Frecuencias y FrameTime Lock.

Mejora. La barra de estado muestra el ancho elegido (256 px, 320 px, ancho, llenar...) en lugar de “paso 1 de 3”.

English

Added a 4:3 button for Mega Drive in 1080p x4, NTSC and PAL. I took the measurements for a perfect picture and proportions. The TV or the video capture canvas (I use OBS a lot) has to be set to 4:3; otherwise you will see a very stretched picture.
Removed the FILL button in 720p x5 mode on Mega Drive NTSC. The picture already fills the whole screen; there is nothing left to fill. It had no real use.

Improvement. Mode changes without a black screen when using Mega Drive in 1080p. Before, pressing 4:3, 16:9, 320px or 256px reloaded the whole preset, so the signal dropped for a moment. Now the output to the TV is left untouched, and switching modes is even faster.

Fix. Mega Drive PAL in 1080p x4 16:9 at 256px. It used to come out as wide as the 320px mode. Now it has its correct size, pixel perfect, with no ripples in the picture and no wifi drops.

Fix. Sonic 2 in two-player mode. The console stopped being recognised as a Mega Drive, because the game uses an interlaced screen mode whose “fingerprint” the firmware didn’t know. On entering that mode, the firmware jumped to an unknown but working profile. The problem was that it sometimes didn’t return properly to 240p and graphical glitches appeared. The solution: if we are already using a Mega Drive and it suddenly switches to interlaced (480i), the firmware keeps treating it as a Mega Drive, even if its characteristics could make it look like another machine. This works at both 60 and 50 Hz.

Fix. Output Hz drift corrected. The firmware is now stricter and gets closer to the rate chosen by the user (59.94 or 60). In “Follow the source” mode it checks the input every few seconds, so if the game changes rate (for example from 240p to 480i), the output matches it again. Within a few seconds, input and output should be equal.

Change. FrameTime Lock enabled by default. It keeps the output locked to the input at all times. If your display doesn’t support it, you can turn it off in Frequencies and FrameTime Lock.

Improvement. The status bar shows the chosen width (256 px, 320 px, wide, fill...) instead of “step 1 of 3”.

GBS-3X4X Firmware 1.08H (primera version pública / first public release)

Choose a tag to compare

@4lexei 4lexei released this 16 Nov 23:38
e8df240

Primera versión pública. Instalable mediante Visual Studio Code o, si tu firmware actual ya lo permite, desde la interfaz web subiendo el firmware.bin.

First public release. Install it with Visual Studio Code or, if your current firmware already supports it, from the web interface by uploading the firmware.bin.

Full Changelog: https://github.com/4lexei/gbs-control-3X4X/commits/v108h