|
Post by Packobilly on Apr 29, 2021 4:42:45 GMT
Good Morning. I have the tidy palette, a row with bright and another without it. When I design a screen the blocks look great; one with bright and another without it, but when I build, these blocks all appear the same in the emulator, without bright all of them. Thank you and I hope someone can help me.
|
|
|
Post by jltursan on Apr 29, 2021 11:08:20 GMT
Have you checked how are they defined in the .asm generated?, I mean if they can have the same attribute byte due a bug when building the asm file...
IIRC, the blocks graphic definition is under the "chgfx" label in the asm file.
|
|
|
Post by Packobilly on Apr 29, 2021 12:25:51 GMT
Buenas, caballero. No estoy muy puesto en trastear con ficheros .asm. Si pudieras iluminarme en cómo hacerlo... te lo agradecería eternamente. Gracias por contestar!
|
|
|
Post by jltursan on Apr 30, 2021 12:17:36 GMT
Fácil, el .asm es un archivo de texto que puedes abrir y editar. Se trata de buscar la línea de datos que contenga "chgfx" y comprobar que los datos de esos bloques coinciden con los que haya en el .agd en los DEFINEBLOCK. De todas formas, no estoy seguro si el archivo .asm está disponible tras compilar un juego para el ZX. Tengo que comprobarlo...
Easy, the .asm is a plain text file you can open and edit. You need to find the line starting with "chgfx" and check if the data in the blocks deifnition matches the one in your .agd file in the DEFINEBLOCKS section. Anyhow, I'm not sure if the .asm file is available after compiling a ZX game, I can check this...
|
|
|
Post by Packobilly on Apr 30, 2021 17:08:57 GMT
Okay. I will prove it. I'll let you know if it works for me. Thanks!
|
|
|
Post by Packobilly on Apr 30, 2021 18:56:23 GMT
Cant find any asm file inside the folder where I use to save my progress. This is driving me crazy. 😩
|
|
|
Post by roolandoo on May 1, 2021 11:32:57 GMT
Hola, yo diría que es un tema del emulador. Hay emuladores en los que apenas se aprecia la doble paleta , como por ejemplo RVM. Cambia de emulador para probarlo o revisa la configuración de la paleta en ese emulador.
Hi, I would say it is an emulator theme. There are emulators in which the double palette is hardly appreciated, such as RVM. Change emulator to test it, or check the palette settings in that emulator.
|
|
|
Post by jltursan on May 1, 2021 15:41:06 GMT
I've checked the Suite ZX and indeed, you need to make some changes to the "build.bat" script.
Open it with an editor and comment the following line(starting with REM):
rem Assemble game cd ..\sjasmplus copy leader.txt+%1.asm+trailer.txt agdcode.asm sjasmplus.exe agdcode.asm --lst=list.txt copy test.tap ..\speccy del %1.asm del user.asm REM del agdcode.asm del test.tap Compile your game and go to directory "SjasmPlus", you'll find there your .asm file named "agdcode.asm". Find the "chgfx" text and you'll see your DEFINEBLOCKS data, now find "bcol" text and you'll get your colour attributes for each block. Check if the values are exactly the ones used in your .agd file.
---------------------
He probado la Suite ZX y ciertamente, vas a necesitar hacer unos cambios al script "build.bat".
Ábrelo con un editor y comenta la siguiente linea (la que empieza con REM):
rem Assemble game cd ..\sjasmplus copy leader.txt+%1.asm+trailer.txt agdcode.asm sjasmplus.exe agdcode.asm --lst=list.txt copy test.tap ..\speccy del %1.asm del user.asm REM del agdcode.asm del test.tap Compila el juego y vete al directorio "SjasmPlus", encontrarás ahí tu archivo .asm con el nombre "agdcode.asm". Busca la cadena "chgfx" y verás los datos de tus sentencias DEFINEBLOCKS, ahora busca "bcol" y verás los atributos de colour de cada bloque. Comprueba que los valores son exactamente los que usas en tu archivo .agd.
|
|
|
Post by Packobilly on May 1, 2021 18:54:26 GMT
En primer lugar, gracias por la ayuda. He descargado la última versión del Speccy, emulador que por defecto lleva el MPAGD. Y nada. He probado a exportar el proyecto y probarlo, una vez exportado, en otro emulador (usé el RVM). En esta ocasión todo se ve de lujo. Perfecto. Es posible cambiar el emulador que se ejecuta cuando se hace un build del proyecto por otro? Por ejemplo, Fuse o Spectaculator... Y gracias de nuevo por la ayuda.
First of all, thanks for the help. I have downloaded the latest version of Speccy, the emulator by default un MPAGD. And nothing. I have tried to export the project and test it, once exported, in another emulator (tested in RVM). This time everything looks fine. Perfect. Is it possible to change the emulator that runs when the project is built for another? For example, Fuse or Spectaculator ... And thanks again for the help.
|
|
|
Post by roolandoo on May 2, 2021 9:50:30 GMT
Hola Packobilly , Sí.. puedes cambiar el emulador por defecto editando y modificando el fichero build.bat Aunque ya te digo, que Speccy debería funcionar perfecto (a mi me funciona) y es el más rápido para hacer pruebas y testeos. Antes de cambiar de emulador, revisa las configuraciones de Speccy (desactiva la ULA+, elige la paleta de colour por defecto, etc...). Saludos. Hi Packobilly, Yes .. you can change the default emulator by editing and modifying the build.bat file Although I already told you, that Speccy should work perfect (it works for me) and is the fastest to do tests. Before changing emulator, check the Speccy settings (disable ULA +, choose the default colour palette, etc ...). Greetings.
|
|
|
Post by Packobilly on May 3, 2021 7:01:13 GMT
Solved!! The emulator got the Ula on. That was the reason. Thanks you too for the help!!
|
|