The NEW Build Your Own Arcade Controls

Software Support => GroovyMAME => Topic started by: metwar on October 17, 2017, 09:27:57 am

Title: Error: Your graphics card does not support non-power-of-two textures
Post by: metwar on October 17, 2017, 09:27:57 am
Hola a todos! Estaría muy agradecido de que alguien pudiera ayudarme con esto,
No se ejecuta groovymame 0.189 porque aparece un error.

Los datos de mi PC son:
Placa base Asus A7N8X-E Deluxe AGP
Micro: Athon XP 2400+
512 Mb Ram DDR 400
Ati Radeon 9200 modificada para 15KHz
CRT Emudriver 1.2b (Catalyst 6.5) for Windows XP-32
TV CRT
Windows XP SP3 (MiniOS 2017)

Sé que es un equipo antiguo para los juegos de mame mas pesados, que irán muy lentos, pero muchos corren bien (sobre  groovymame v0.149). Ahora he actualizado a la v0.189 y aparece este error: Direct3D Error: Your graphics card does not support non-power-of-two textures.
 
He leido que se puede solucionar desactivando esta comprobacion en el codigo fuente de Goovymame y compilando.
Pero no tengo idea de como hacerlo si fuese esa la solución.

Por favor, si alguien lo podido solucionar (sin comprar un equipo nuevo), ¿podrías ayudarme?

Gracias. Saludos

Muy agradecido a todo el equipo. Especialmente a Calamity. Gracias

PD. Please, sorry for talking in Spanish, my English is not very good. Thanks
Title: Re: Error: Your graphics card does not support non-power-of-two textures
Post by: metwar on October 17, 2017, 02:25:08 pm
With ATI Radeon X1900GT PCIe ocurr the same problem.
Title: Re: Error: Your graphics card does not support non-power-of-two textures
Post by: yuuyuubaishu on October 25, 2017, 11:28:48 am
it is the same with my ati x600.
when you use a normal mame0.189 and you will get the issue,too.
so I guess the older ati card hardware can't support new version mame.

Title: Re: Error: Your graphics card does not support non-power-of-two textures
Post by: Calamity on October 25, 2017, 12:52:15 pm
In src\osd\modules\render\drawd3d.cpp, comment out the following lines:

Code: [Select]
if (caps.TextureCaps & D3DPTEXTURECAPS_NONPOW2CONDITIONAL)
{
osd_printf_error("Direct3D Error: Your graphics card does not fully support non-power-of-two\n");
osd_printf_error("textures.\n");
success = false;
}

if (caps.TextureCaps & D3DPTEXTURECAPS_POW2)
{
osd_printf_error("Direct3D Error: Your graphics card does not support non-power-of-two textures.\n");
success = false;
}
if (caps.TextureCaps & D3DPTEXTURECAPS_SQUAREONLY)
{
osd_printf_error("Direct3D Error: Your graphics card does not support non-square textures.\n");
success = false;
}

Like this:
Code: [Select]
/*
if (caps.TextureCaps & D3DPTEXTURECAPS_NONPOW2CONDITIONAL)
{
osd_printf_error("Direct3D Error: Your graphics card does not fully support non-power-of-two\n");
osd_printf_error("textures.\n");
success = false;
}

if (caps.TextureCaps & D3DPTEXTURECAPS_POW2)
{
osd_printf_error("Direct3D Error: Your graphics card does not support non-power-of-two textures.\n");
success = false;
}
if (caps.TextureCaps & D3DPTEXTURECAPS_SQUAREONLY)
{
osd_printf_error("Direct3D Error: Your graphics card does not support non-square textures.\n");
success = false;
}
*/

Build your custom MAME binary (http://www.headsoft.com.au/index.php?category=mame&page=mc64) or find someone to do it for you.

Title: Re: Error: Your graphics card does not support non-power-of-two textures
Post by: metwar on October 27, 2017, 04:14:34 am
Thanks, very much. I'll try, I hope to be successful
Title: Re: Error: Your graphics card does not support non-power-of-two textures
Post by: metwar on October 27, 2017, 05:15:01 am
I'm serching for source code of groovymame 0.185 32 bit, but can't find it.
Title: Re: Error: Your graphics card does not support non-power-of-two textures
Post by: Amplifuzz on October 27, 2017, 02:50:01 pm
I guess you'll need the official 0.185 source code package from the MAME website, and then apply the .diff patch from the same GM version, at:

https://drive.google.com/drive/folders/0B1vsJyOrRLuceENhSE5xM2VQcmM

then choose to build a 32 bit .exe at compile time.



Title: Re: Error: Your graphics card does not support non-power-of-two textures
Post by: metwar on October 28, 2017, 07:12:10 am
Groovymame 0.185 Working on my ATI 9200 AGP!!!! No error messages. Thanks, very much for helpme.