knewlife Posted March 15, 2014 Posted March 15, 2014 File Name: HSBezel File Submitter: knewlife File Submitted: 06 May 2015 File Category: Artwork tools Credits: knewlife Lets you create a bezel for Hyperspin when using it in Non 4:3 Resolutions.UPDATE: NOW YOU CAN EDIT THE INI FILE INCLUDED TO RUN APPS, THE APP ALSO HIDE THE MOUSE CURSOR (can be disabled by ini setting: 1 enabled, 0 disabled)CTRL+ALT+H SHows hide cursor.How to use:1- Set in HyperHQ hyperspin to use WIndow mode in 1024x768 resolution.2- Set your monitor resolution to something like 1280x768 or 1360x768, you can set something like FULL HD resolutions but hyperspin is not designed to run like that.3- Create a HSBezel1280x768.png file (change the number with your resolution values) whit the left and right bars... the center should be transparent.You can use the ones included here as model.4- Launch HSBEZEL.exe... this will launch hyperspin and keep runing in the background.Every time HS Window is active AND the position of the window or the bezel has changed they will be centered again.This normally happens when enter an application that changes monitor resolution. This problem dont exist when runing HS in full screen,but remember we are in Window mode here.5- You can compile the app again to include all the app you normally run before hyperspin... its not so hard: http://hyperspin-fe.com/oldsite/index.php?option=com_content&view=article&id=97&Itemid=108UPDATE: NOW YOU CAN EDIT THE INI FILE INCLUDED TO RUN APPS, THE APP ALSO HIDE THE MOUSE CURSOR (can be disabled by ini setting: 1 enabled, 0 disabled)CTRL+ALT+H SHows hide cursor.PD: Sorry for my english again XD Click here to download this file EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
knewlife Posted April 3, 2014 Author Posted April 3, 2014 New update, donwload in the main post.... EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
knewlife Posted May 3, 2014 Author Posted May 3, 2014 Added alternate bezel art EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
scooter1974 Posted August 9, 2014 Posted August 9, 2014 I'm trying to get this running but cant seem to get it to work. I have the HsBezel folder in my hyperspin folder and have renamed the bezel file that matches my resoloution. What am I doing wrong? Edit: Got it all figured out Check out my MAME Arcade classics themes!
knewlife Posted August 12, 2014 Author Posted August 12, 2014 I'm trying to get this running but cant seem to get it to work. I have the HsBezel folder in my hyperspin folder and have renamed the bezel file that matches my resoloution. What am I doing wrong?Edit: Got it all figured out glad to hear that EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
salyangel Posted September 4, 2014 Posted September 4, 2014 hello knewlife, I would like to use your wheel with clone, TV and PC Can you show me how you do it? I see your auto boot can you show me how you're doing that? Thanks!
knewlife Posted September 4, 2014 Author Posted September 4, 2014 hello knewlife, I would like to use your wheel with clone, TV and PCCan you show me how you do it? I see your auto boot can you show me how you're doing that? Thanks! Search for "shelled hyperspin" on google. For the change screens features I have to search in my backup as I don't use it the same way EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
salyangel Posted September 4, 2014 Posted September 4, 2014 Very nice Thank you, I try to change with Windows 7 Boot Updater but it's not working with EFI disk ...
paulmichel21 Posted September 4, 2014 Posted September 4, 2014 Hola es buenismo este codigo tambien soy de argentina jcpaz.... por eso te escribo en castellano quisiera enterder un poco mas este codigo... yo por ejemplo uso un programa que se llama irocker dentro del hyperspin pero no soporta resolucion 1920x1080 lo que hice es centrarlo con nircmd pero me quedan amplios bezel en negro. por lo que comentas podria utilizarlo para ponerle unas lindas imagenes. me podrias ayudar... no logro entender bien el proceso en ingles. gracias genio. (Don't Know if this already exists... anyway...)Lets you create a bezel for Hyperspin when using it in Non 4:3 Resolutions. How to use: 1- Set in HyperHQ hyperspin to use WIndow mode in 1024x768 resolution. 2- Set your monitor resolution to something like 1280x768 or 1360x768, you can set something like FULL HD resolutions but hyperspin is not designed to run like that. 3- Copy HyperBezel Files to your HyperSpin directory. Create a HSBACKGROUND1280x768.png file (change the number with your resolution values) with the left and right bars... the center should be transparent. You can use the ones included whit the app as model. 4- Launch HSBezel.exe... this will launch hyperspin and keep runing in the background. Every time HS Window is active AND the position of the window or the bezel has changed they will be centered again. This normally happens when enter an application that changes monitor resolution. This problem dont exist when runing HS in full screen, but remember we are in Window mode here. 5- You can compile the app again to launch all the apps you normally run before hyperspin... its not so hard: http://hyperspin-fe.com/oldsite/index.php?option=com_content&view=article&id=97&Itemid=108 Just fallow the examples on the code. basically: Run, YOur\app.exe Run, YOur\app.exe etc... UPDATE: NOW YOU CAN EDIT THE INI FILE INCLUDED TO RUN APPS, HS ALSO HIDE THE MOUSE CURSOR (can be disabled by ini setting: 1 enabled, 0 disabled) CTRL+ALT+H Shows hide cursor. PD: Sorry for my english again XD Find it my Upload Here Folder at the FTP or DOWNLOAD HERE. PD.: This is the first version that really works for me, please test it and let me know if you have any problem. A little Video (This include just the bezel for HS, ask if you like other things in my setup, also i forgot to disable mouse pointer... still making change to my setup ) EDIT: Little update with some changes and renamed to HSBezel EDIT: New Version 18-04-2014 EDIT: Added new alternative bezel art. DOWNLOAD [ATTACH=CONFIG]40823[/ATTACH][ATTACH=CONFIG]40824[/ATTACH]
knewlife Posted September 4, 2014 Author Posted September 4, 2014 Very nice Thank you, I try to change with Windows 7 Boot Updater but it's not working with EFI disk ... Windows 7 Boot Updater is exactly what i use so i can not help you so much in that case. In the screens thing i have a set of exe files that call dysplayswitch. A native windows app that change the displays. I will upload t exes here and the database that is just the exes names. Then you can create a new system in hyperhq and call it something like 'change screens' user the database and configure in hyperhq the system to launch the exes directly as PC games (exe files) all this without the usage of hyperlaunch, all native Hs commands. The bezel script should take care of center the hyperspin window position. Here https://www.dropbox.com/s/0z5vn2xtisgs7fo/DisplaySwitch.zip?dl=0 Screenshot of HyperHQ: https://www.dropbox.com/s/zxobt13fs9qdmat/Captura%20de%20pantalla%202014-09-04%2014.24.10.png?dl=0 EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
knewlife Posted September 4, 2014 Author Posted September 4, 2014 Hola es buenismo este codigotambien soy de argentina jcpaz.... por eso te escribo en castellano quisiera enterder un poco mas este codigo... yo por ejemplo uso un programa que se llama irocker dentro del hyperspin pero no soporta resolucion 1920x1080 lo que hice es centrarlo con nircmd pero me quedan amplios bezel en negro. por lo que comentas podria utilizarlo para ponerle unas lindas imagenes. me podrias ayudar... no logro entender bien el proceso en ingles. gracias genio. Buenas Como estas. No conosco esos programas pero el código lo mas complicado que tiene es la parte de dibujar la imagen en pantalla usando gdi. Que supongo que es la parte del código que quisieras usar... Si puedo te la separo del resto y te lo paso por acá saludos Este es el codigo que muestra una imagen: img := A_ScriptDir . "\HSBezel\HSBezel_" . A_ScreenWidth . "x" . A_ScreenHeight . ".png" ;ESTE ES EL NOMBRE DEL ARCHIVO DE IMAGEN ;If the image dont exists... skip all this... if( FileExist(img) ) { ; Start gdi+ If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system ExitApp } ; Create a layered window (+E0x80000 : must be used for UpdateLayeredWindow to work!) that is always on top (+AlwaysOnTop), has no taskbar entry or caption Gui, 1: -Caption +E0x80000 +LastFound +ToolWindow +OwnDialogs ; Show the window Gui, 1: Show, NA ; Get a handle to this window we have created in order to update it later hwnd1 := WinExist() ; Get a bitmap from the image pBitmap := Gdip_CreateBitmapFromFile(img) ;MsgBox, 48, File loading error!, % A_ScriptDir . "\HyperBezel\HSBACKGROUND" . A_ScreenWidth . "x" . A_ScreenHeight . ".png" ; Check to ensure we actually got a bitmap from the file, in case the file was corrupt or some other error occured If !pBitmap { MsgBox, 48, File loading error!, Could not load the image specified ExitApp } ; Get the width and height of the bitmap we have just created from the file ; This will be the dimensions that the file is Width := Gdip_GetImageWidth(pBitmap), Height := Gdip_GetImageHeight(pBitmap) ; Create a gdi bitmap with width and height of what we are going to draw into it. This is the entire drawing area for everything ; We are creating this "canvas" at half the size of the actual image ; We are halving it because we want the image to show in a gui on the screen at half its dimensions hbm := CreateDIBSection(Width, Height) ; Get a device context compatible with the screen hdc := CreateCompatibleDC() ; Select the bitmap into the device context obm := SelectObject(hdc, hbm) ; Get a pointer to the graphics of the bitmap, for use with drawing functions G := Gdip_GraphicsFromHDC(hdc) ; We do not need SmoothingMode as we did in previous examples for drawing an image ; Instead we must set InterpolationMode. This specifies how a file will be resized (the quality of the resize) ; Interpolation mode has been set to HighQualityBicubic = 7 Gdip_SetInterpolationMode(G, 7) ; DrawImage will draw the bitmap we took from the file into the graphics of the bitmap we created ; We are wanting to draw the entire image, but at half its size ; Coordinates are therefore taken from (0,0) of the source bitmap and also into the destination bitmap ; The source height and width are specified, and also the destination width and height (half the original) ; Gdip_DrawImage(pGraphics, pBitmap, dx, dy, dw, dh, sx, sy, sw, sh, Matrix) ; d is for destination and s is for source. We will not talk about the matrix yet (this is for changing colours when drawing) Gdip_DrawImage(G, pBitmap, 0, 0, Width, Height, 0, 0, Width, Height) ; Update the specified window we have created (hwnd1) with a handle to our bitmap (hdc), specifying the x,y,w,h we want it positioned on our screen ; So this will position our gui at (0,0) with the Width and Height specified earlier (half of the original image) UpdateLayeredWindow(hwnd1, hdc, 0, 0, Width, Height) ; Select the object back into the hdc SelectObject(hdc, obm) ; Now the bitmap may be deleted DeleteObject(hbm) ; Also the device context related to the bitmap may be deleted DeleteDC(hdc) ; The graphics may now be deleted Gdip_DeleteGraphics(G) ; The bitmap we made from the image may be deleted Gdip_DisposeImage(pBitmap) Sleep, 10000 ; ACA PONGO UNA ESPERA DE 10 SEGUNDOS PARA MOSTRAR LA IMAGEN, VAS A TENER QUE CAMBIAR ESTO. } EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
paulmichel21 Posted September 4, 2014 Posted September 4, 2014 ah ok... pero como lo utilizo.... te cuento yo abro el hyperspin luego en la rueda selecciono el programa de rockola que es irocker.... este como no tiene la resolucion 1920x1080 abre en 1280x1024 por lo que me queda mal en la pantalla yo lo logre centrar con nirmcd.exe pero tu codigo me sirve para mejorarlo... lo que no entiendo aun es como. donde asigno el irocoker.exe? gracias
knewlife Posted September 4, 2014 Author Posted September 4, 2014 ah ok... pero como lo utilizo....te cuento yo abro el hyperspin luego en la rueda selecciono el programa de rockola que es irocker.... este como no tiene la resolucion 1920x1080 abre en 1280x1024 por lo que me queda mal en la pantalla yo lo logre centrar con nirmcd.exe pero tu codigo me sirve para mejorarlo... lo que no entiendo aun es como. donde asigno el irocoker.exe? gracias Ahh ahora te entiendo pero para lo que queres hacer tenes que saber como programar porque esto esta armado para correr con hyperspin o tendria que bajarme el programa que me decis y programarlo yo pero ando sin tiempo ahora. El script que hice esta programado para HyperSpin. Creo que te convendria mas usar las Bezels de HyperLaunch si es para otro programa lanzado desde hyperspin, usas hyperlaunch no? EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
paulmichel21 Posted September 4, 2014 Posted September 4, 2014 si uso hyperlaunch. por lo que interpreto en tu codigo es puede asignar una aplicacion externa en el archivo ini..... es correcto? [settings] HideCursor=1 Run_1=irocker.exe
paulmichel21 Posted September 4, 2014 Posted September 4, 2014 con tu codigo no se podria ejectuar cualquier exe y poner un bezel siempre y cuando la resolución sea menor que el de la pantalla?
knewlife Posted September 4, 2014 Author Posted September 4, 2014 Nop porque solamente detecta hyperspin para ver si se esta ejecutando y centrarlo. Las demas apps las podes ejecutar pero son solo otras que necesites ejecutar junto con hyperspin. Usa un codigo muy especifico para detectar la ventana de Hyperspin y centrarla por eso te decia que si es para otra app hay que modificar el codigo. EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
Guest Posted September 4, 2014 Posted September 4, 2014 Very nice Thank you, I try to change with Windows 7 Boot Updater but it's not working with EFI disk ... If you have an UEFI Bios, is it possible anyway to change the boot logo. You have to reinstall Windows 7, but before you must change the boot option in the bios to "Legacy", something like that. Windows will be install in a "classic" mode, not in EFI mode
paulmichel21 Posted September 4, 2014 Posted September 4, 2014 ah ok entiendo. y reemplazando hyperspin.exe por otro exe modificando obviamente el ahk class? o tu podrias crear una app como esta pero que pueda por ejemplo centrar Mame u otro programa yo podria ayudarte en algunas cosas. que te parece? Nop porque solamente detecta hyperspin para ver si se esta ejecutando y centrarlo. Las demas apps las podes ejecutar pero son solo otras que necesites ejecutar junto con hyperspin. Usa un codigo muy especifico para detectar la ventana de Hyperspin y centrarla por eso te decia que si es para otra app hay que modificar el codigo.
paulmichel21 Posted September 4, 2014 Posted September 4, 2014 en ese apartado mensionas que se pueden utilizar otras apps junto con hyperspin....... yo ejecuto irocker dentro de hyperspin. es posible entonces que pueda asignarle un bezel con tu programa. Nop porque solamente detecta hyperspin para ver si se esta ejecutando y centrarlo. Las demas apps las podes ejecutar pero son solo otras que necesites ejecutar junto con hyperspin. Usa un codigo muy especifico para detectar la ventana de Hyperspin y centrarla por eso te decia que si es para otra app hay que modificar el codigo.
knewlife Posted September 4, 2014 Author Posted September 4, 2014 en ese apartado mensionas que se pueden utilizar otras apps junto con hyperspin....... yo ejecuto irocker dentro de hyperspin. es posible entonces que pueda asignarle un bezel con tu programa. Me refiero a apps tipo expadder que se ejcutan en segundo plano y si seria posible hacer un script que funcione con cualquier aplicación. En estos dias veo q puedo hacer. EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
paulmichel21 Posted September 4, 2014 Posted September 4, 2014 ah ok perfecto.... si te sirve de ayuda para la creacion del script. hay un programa dentro de las carpetas modules extension de hyperlaunch que se llama nirmcd.exe y sirve para ejecutar muchas cosas lo bueno que se mantiene oculto y funciona a traves de archivos bat. con ese mismo programa cree un bat que inicio antes que se inicie el irocker.exe para que me redimensione la pantalla y lo que logre es centrarlo.. Si puedo ayudarte en algo hazmelo saber. gracias. aguardo novedades.
knewlife Posted September 5, 2014 Author Posted September 5, 2014 ah ok perfecto.... si te sirve de ayuda para la creacion del script. hay un programa dentro de las carpetas modules extension de hyperlaunch que se llama nirmcd.exe y sirve para ejecutar muchas cosas lo bueno que se mantiene oculto y funciona a traves de archivos bat. con ese mismo programa cree un bat que inicio antes que se inicie el irocker.exe para que me redimensione la pantalla y lo que logre es centrarlo.. Si puedo ayudarte en algo hazmelo saber. gracias. aguardo novedades. Gracias. Todo eso lo puedo hacer con ahk asi que no seria necesario a ver que me sale. Yo pienso que seria mejor hacer un modulo de hyperlaunch para el programa que me decis. Es mas creo que es mas coerente porque hyperlaunch ya tiene integrado soporte para bezels mmm me lo voy a bajar al programa a ver que sale. La cuestion es que queres tener un bezel al rededor del programa no importa mucho como no? jajaj Como lo ejecutas actualmente. Con o sin hyperlaunch. Desde el menú principal o desde un sub menú-wheel? EmuLink (Canal de Youtube) | Main Menu Changer | HyperArchiver Version 0.0.0.17 | HSBezel
paulmichel21 Posted September 5, 2014 Posted September 5, 2014 ok el programa es irocker 6 en taringa esta. lo ejecuto con pclauncher.ahk con hyperlaunch.... desde el sub-menuwheel sin fade
salyangel Posted September 6, 2014 Posted September 6, 2014 thank you so much! I have to do a choosing boot system or hyperspin How to do that with one Win 7?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.