Skip to content

Releases

GP3RT 1.2.1 — Windows + Linux, fixed full replay after loading a saved race

Choose a tag to compare

@rods1182 rods1182 released this 25 Nov 18:15
a5fcafe

English · Português abaixo

GP3RT 1.2.1: Windows and Linux, replay after loading a saved race, Shift+F1 / Shift+F2

Packages:

  • GP3RT-1.2.1-Windows.zip: Windows 10/11 · GP3 1.13 and GP3 2000
  • GP3RT-1.2.1-Linux.tar.gz: 64-bit Linux · GP3 1.13 and GP3 2000 · no Wine

GP3 Reborn is now GP3RT for Linux

The Linux edition, until now called GP3 Reborn, is now part of GP3RT. It has the same code, the same version numbers and the same gp3rt.ini options as the Windows ddraw.dll. From now on both are released together here.

What's new

  • Replay after loading a saved race (GP3 1.13). The replay only went back to where the race was loaded. Now it goes back to the start of the race. It uses the snapshots that GP3Replay.dll keeps in the save, one every 32 seconds. The first time, rewinding before the load point moves in ~30-second steps. As the replay plays through that part, the 1-second snapshots are made again. Thanks to Stephan Séguin for the report.

  • R right after loading a save. Pressing R straight after loading, without P first, left the replay stuck rewinding with F5 lit. Fixed.

  • New replay keys, also on the on-screen legend:

    • Shift+F1: go to the start of the race.
    • Shift+F2: go to where the race stopped, paused.

    Neither GP3 nor GPxPatch uses these combinations.

How to update

  • Windows: replace ddraw.dll in the game folder. GP3Replay.dll and your gp3rt.ini stay the same. gp3rt.log should say "gp3rt ddraw.dll 1.2.1".
  • Linux (also coming from GP3 Reborn): copy all files from the package into the game folder, replacing the old ones. Your gp3rt.ini keeps working. The configurator is now called GP3RT-Configurador.html; you can delete the old GP3Reborn-Configurator.html.

GP3RT 1.2.1: Windows e Linux, replay depois de carregar uma corrida salva, Shift+F1 / Shift+F2

Pacotes:

  • GP3RT-1.2.1-Windows.zip: Windows 10/11 · GP3 1.13 e GP3 2000
  • GP3RT-1.2.1-Linux.tar.gz: Linux 64 bits · GP3 1.13 e GP3 2000 · sem Wine

O GP3 Reborn agora é o GP3RT para Linux

A edição para Linux, que até agora se chamava GP3 Reborn, passa a fazer parte do GP3RT. Ela tem o mesmo código, os mesmos números de versão e as mesmas opções do gp3rt.ini do ddraw.dll do Windows. Daqui para a frente as duas saem juntas, aqui.

O que há de novo

  • Replay depois de carregar uma corrida salva (GP3 1.13). O replay voltava só até o ponto do carregamento. Agora volta até a largada. Ele usa as fotos que o GP3Replay.dll guarda no save, uma a cada 32 segundos. Na primeira vez, voltar antes do ponto do carregamento vai em saltos de uns 30 segundos. Enquanto o replay passa por esse trecho, as fotos de 1 segundo são refeitas. Obrigado a Stephan Séguin pelo relato.

  • R logo depois de carregar o save. Apertar R direto depois de carregar, sem P antes, deixava o replay preso voltando, com o F5 aceso. Corrigido.

  • Teclas novas no replay, também na legenda da tela:

    • Shift+F1: vai para a largada.
    • Shift+F2: vai para o ponto em que a corrida parou e fica pausado.

    O GP3 e o GPxPatch não usam essas combinações.

Como atualizar

  • Windows: troque o ddraw.dll na pasta do jogo. O GP3Replay.dll e o seu gp3rt.ini continuam os mesmos. No gp3rt.log deve aparecer "gp3rt ddraw.dll 1.2.1".
  • Linux (inclusive quem vem do GP3 Reborn): copie todos os arquivos do pacote para a pasta do jogo, substituindo os antigos. Seu gp3rt.ini continua valendo. O configurador agora se chama GP3RT-Configurador.html; pode apagar o antigo GP3Reborn-Configurator.html.

GP3RT 1.2.0 — Less CPU, whole-race replay and GP3 2000 replay controls

Choose a tag to compare

@rods1182 rods1182 released this 19 Nov 23:17
fd600bc

English · Português abaixo

Package: GP3RT-1.2.0-Windows.zip (Windows 10/11 · GP3 1.13 and GP3 2000)

GP3RT 1.2.0 — Less CPU, whole-race replay and GP3 2000 replay controls

Package: GP3RT-1.2.0-Windows.zip (Windows 10/11 · GP3 1.13 and GP3 2000)

This release brings together everything since 1.0.3, including 1.1.0, which was never announced on GrandPrixGames.org.

Much less work for the processor

Each frame used to reach the graphics card as thousands of small requests. Now each frame's drawing is gathered and sent in one go, and so are the pictures the game copies to the screen. On an RTX 3050 laptop at Spa in the rain, time spent in the DLL dropped from about 760 ms to about 80 ms per second of play. PO is lower and the fan is quieter.

On PCs without a dedicated graphics card (Intel), textures are converted with less than half the work, unchanged textures are reused, and each texture's smaller versions (mipmaps) are made by the processor. Stutters at the race start are much smaller.

GP3Replay.dll: whole-race replay, no extra executable (GP3 1.13)

GP3 1.13 only keeps the last few minutes of a race in the replay. Years ago Rafa's GP3 Video solved that with a separate executable (gp3v.exe). GP3Replay.dll makes the same enlargement in memory when the game starts:

  • you no longer need gp3v.exe: just start Gp3.exe as usual (with or without GPxPatch);
  • Gp3.exe is not modified;
  • the same DLL works on Windows and Linux;
  • if Gp3.exe already has the enlarged replay, or is not GP3 1.13, it changes nothing and says so in gp3rt.log.

The replay also gets GP3 2000-style controls, with an on-screen legend:

Key | Action -- | -- F1 / F2 | back / forward one lap F3 or P | play / pause F4 | slow motion (while held) F5 / F8 | rewind / fast forward (while held, smooth, with the right camera) F6 / F7 | frame back / frame forward F9 | hide the legend

Na corrida, P pausa e R abre o replay já tocando, a partir do início da volta. O replay termina no ponto em que você pausou; aí P continua a corrida. Para fazer isso, a DLL guarda uma "foto" compactada da corrida a cada segundo (cerca de 10 KB cada). Depois de voltar e avançar, conferimos que o replay continua idêntico à corrida.

Pausa, câmera lenta e quadro a quadro não tremem nem piscam mais. O spray da chuva e a fumaça também não somem mais depois de voltar o replay, um defeito que o GP3 1.13 sempre teve.

GP3 2000: replay de até 2 horas

O GP3 2000 parava o replay em 1h30. Agora o controle "Length of replay" (Options > Graphics) vai até 2:00:00, o suficiente para uma corrida de 2 horas inteira. Usa no máximo uns 120 MB.

Também desde a 1.0.3

  • GP3 2000 fechando em corridas longas (20 a 40 minutos): era um defeito no som 3D do próprio jogo, que aparece em processadores com vários núcleos. Agora é corrigido na memória.
  • Tela cheia que parava de responder quando outra janela pegava o teclado: o foco volta sozinho para o jogo.
  • Configurador novo: abre a pasta do jogo, lê o gp3rt.ini e o gp3rt.log e tem uma seção nova, Replay.

Como atualizar

Copie o ddraw.dll e o GP3Replay.dll para a pasta do jogo. O GP3Replay.dll é opcional e só age no GP3 1.13.

Se você usava o GP3 Video, abra o Gp3.exe direto, sem o gp3v.exe. Seu gp3rt.ini continua valendo, e as opções novas já vêm ligadas: replay_keys, replay_legend, replay_fx_fix, replay_2h e gp3replay na seção [game].

Agradecimentos

  • Rafa, criador do Gp3Video, que deu ao GP3 1.13 o replay da corrida inteira e foi a inspiração do GP3Replay.dll.
  • Stephan Séguin ("Seguin" no GrandPrixGames.org): o primeiro a usar o GP3RT e mandar retorno. Ele divulgou o projeto no GrandPrixGames.org, no GP2Forum e no grupo Grand Prix Games do Facebook.
  • JF ("BeADriver"): mandou o log que revelou o defeito do som 3D do GP3 2000 e testou a correção numa corrida de 100% no MegaPatch.

Ao relatar um problema, informe a versão do jogo (1.13 ou 2000) e a pista, e anexe o gp3rt.log.

English · [Português abaixo](https://github.com/rods1182/gp3rt---GrandPrix-3-Runtime/releases/new#portugues)

GP3RT 1.2.0 — Less CPU, whole-race replay and GP3 2000 replay controls

Package: GP3RT-1.2.0-Windows.zip (Windows 10/11 · GP3 1.13 and GP3 2000)

This release brings together everything since 1.0.3, including 1.1.0, which was never announced on GrandPrixGames.org.

Much less work for the processor

Each frame used to reach the graphics card as thousands of small requests. Now each frame's drawing is gathered and sent in one go, and so are the pictures the game copies to the screen. On an RTX 3050 laptop at Spa in the rain, time spent in the DLL dropped from about 760 ms to about 80 ms per second of play. PO is lower and the fan is quieter.

On PCs without a dedicated graphics card (Intel), textures are converted with less than half the work, unchanged textures are reused, and each texture's smaller versions (mipmaps) are made by the processor. Stutters at the race start are much smaller.

GP3Replay.dll: whole-race replay, no extra executable (GP3 1.13)

GP3 1.13 only keeps the last few minutes of a race in the replay. Years ago Rafa's GP3 Video solved that with a separate executable (gp3v.exe). GP3Replay.dll makes the same enlargement in memory when the game starts:

you no longer need gp3v.exe: just start Gp3.exe as usual (with or without GPxPatch);
Gp3.exe is not modified;
the same DLL works on Windows and Linux;
if Gp3.exe already has the enlarged replay, or is not GP3 1.13, it changes nothing and says so in gp3rt.log.

The replay also gets GP3 2000-style controls, with an on-screen legend:

Key Action
F1 / F2 back / forward one lap
F3 or P play / pause
F4 slow motion (while held)
F5 / F8 rewind / fast forward (while held, smooth, with the right camera)
F6 / F7 frame back / frame forward
F9 hide the legend

During the race, P pauses and R opens the replay, already playing from the start of the current lap. The replay ends where you paused; then P resumes the race. To make this work, the DLL keeps a packed snapshot of the race every second (about 10 KB each). After rewinding and fast-forwarding, we checked that the replay stays identical to the race.

Pause, slow motion and frame-by-frame no longer shake or flicker. Rain spray and smoke also no longer vanish after rewinding the replay, a fault GP3 1.13 always had.

GP3 2000: replays up to 2 hours

GP3 2000 stopped the replay at 1h30. The "Length of replay" slider (Options > Graphics) now goes up to 2:00:00, enough for a whole 2-hour race. It uses about 120 MB at most.

Also since 1.0.3
GP3 2000 closing in long races (20 to 40 minutes): this was a fault in the game's own 3D sound that shows up on multi-core processors. It is now fixed in memory.
Full screen that stopped responding when another window took the keyboard: focus now returns to the game by itself.
New configurator: opens the game folder, reads gp3rt.ini and gp3rt.log, and has a new Replay section.
How to update

Copy ddraw.dll and GP3Replay.dll into the game folder. GP3Replay.dll is optional and only acts on GP3 1.13.

If you used GP3 Video, start Gp3.exe directly, without gp3v.exe. Your gp3rt.ini keeps working, and the new options are on by default: replay_keys, replay_legend, replay_fx_fix, replay_2h and gp3replay in the [game] section.

Thanks
Rafa, creator of Gp3Video, who gave GP3 1.13 its whole-race replay and inspired GP3Replay.dll.
Stephan Séguin ("Seguin" on GrandPrixGames.org): the first to use GP3RT and send feedback. He spread the word on GrandPrixGames.org, GP2Forum and the Grand Prix Games Facebook group.
JF ("BeADriver"): sent the log that revealed GP3 2000's 3D sound fault and tested the fix in a 100% race on MegaPatch.

When reporting a problem, include the game version (1.13 or 2000) and the track, and attach gp3rt.log.

GP3RT 1.2.0 — Menos processador, replay da corrida inteira e controles do GP3 2000

Pacote: GP3RT-1.2.0-Windows.zip (Windows 10/11 · GP3 1.13 e GP3 2000)

Muito menos trabalho para o processador

Antes, cada quadro chegava à placa de vídeo como milhares de pedidos pequenos. Agora o desenho de cada quadro é reunido e enviado de uma vez só, e as imagens que o jogo copia para a tela também. Num notebook com RTX 3050, em Spa com chuva, o tempo gasto na DLL caiu de cerca de 760 ms para cerca de 80 ms por segundo de jogo. O PO fica mais baixo e a ventoinha mais quieta.

Em PCs sem placa de vídeo dedicada (Intel), as texturas são convertidas com menos da metade do trabalho, as que não mudaram são reaproveitadas e as versões menores de cada textura (mipmaps) são feitas pelo pro...

Read more

GP3RT 1.1.0

Choose a tag to compare

@rods1182 rods1182 released this 18 Nov 20:01
0187a9b

GP3RT 1.1.0

English · [Português abaixo](#português)

What's new

  • Much lighter on the processor. Each frame's drawing is gathered and sent to the graphics card in one go, and so are the pictures the game copies to the screen. On an RTX 3050 laptop at Spa in the rain, the time spent in the DLL dropped from about 760 ms to about 80 ms per second of play: lower PO, quieter fan.
  • PCs without a dedicated graphics card (Intel): textures are converted with less than half the work, textures that come back unchanged are reused, and mipmaps are made by the processor instead of the driver. Stutters at the race start are much smaller.
  • GP3 2000 closing in long races (20–40 minutes; gp3_2000.exe+0x13d49b in gp3rt.log) is fixed. It was a bug in GP3 2000's own 3D sound: its list of sounds is guarded by a lock that doesn't really lock, which on today's multi-core processors lets a sound be freed while still in use. GP3RT fixes the lock in memory (sound_lock_fix=1); no game files are changed.
  • Fullscreen that stopped responding: if a hidden window (a browser, say) took the keyboard, focus now returns to the game by itself, or with a click.
  • New configurator: opens the game folder, reads gp3rt.ini and the last gp3rt.log by itself, saves straight into the folder in Chrome/Edge, and explains every option.
  • GPxPatch: keep Debug ON with GP3RT (earlier readmes said the opposite) and CPU = all cores.

Thanks

  • Stephan Séguin ("Seguin" on GrandPrixGames.org): the first user and the first feedback, and the one who spread the word on GrandPrixGames.org, GP2Forum and the Grand Prix Games group on Facebook.
  • JF ("BeADriver"): the log that revealed GP3 2000's 3D sound bug, and testing the fix with a 100% race on Elio's MegaPatch.

Install

Download GP3RT-1.1.0-Windows.zip, copy ddraw.dll and gp3rt.ini next to the game executable (replace the old ones). Full instructions in README_EN.txt.


Português

Novidades

  • Bem mais leve para o processador. O desenho de cada quadro é juntado e mandado para a placa de vídeo de uma vez, assim como as imagens que o jogo copia para a tela. Num notebook com RTX 3050, em Spa com chuva, o tempo da DLL caiu de cerca de 760 ms para cerca de 80 ms por segundo de jogo: PO mais baixo, ventoinha mais silenciosa.
  • PCs sem placa de vídeo dedicada (Intel): texturas convertidas com menos da metade do trabalho, texturas que voltam iguais são reaproveitadas e os mipmaps são feitos pelo processador em vez do driver. Engasgos na largada bem menores.
  • GP3 2000 fechando em corridas longas (20 a 40 minutos; gp3_2000.exe+0x13d49b no gp3rt.log) corrigido. Era um erro do próprio som 3D do GP3 2000: a lista de sons é protegida por uma trava que não trava de verdade, e nos processadores de hoje, de vários núcleos, um som podia ser apagado enquanto ainda estava em uso. O GP3RT corrige a trava na memória (sound_lock_fix=1); os arquivos do jogo não mudam.
  • Tela cheia que parava de responder: se uma janela escondida (o navegador, por exemplo) pegava o teclado, o foco agora volta ao jogo sozinho, ou com um clique.
  • Configurador novo: abre a pasta do jogo, lê o gp3rt.ini e o último gp3rt.log sozinho, salva direto na pasta no Chrome/Edge e explica cada opção.
  • GPxPatch: deixe o Debug LIGADO com o GP3RT (os leia-me antigos diziam o contrário) e a CPU em todos os núcleos.

Agradecimentos

  • Stephan Séguin ("Seguin" no GrandPrixGames.org): o primeiro usuário e o primeiro retorno, e quem divulgou o projeto no GrandPrixGames.org, no GP2Forum e no grupo Grand Prix Games do Facebook.
  • JF ("BeADriver"): o log que revelou o erro do som 3D do GP3 2000 e o teste da correção numa corrida de 100% no MegaPatch do Elio.

Instalação

Baixe o GP3RT-1.1.0-Windows.zip e copie ddraw.dll e gp3rt.ini para a pasta do executável do jogo (substitua os antigos). Instruções completas no LEIAME.txt.

GP3RT 1.0.1 — Windows / GP3 + GP3 2000

Choose a tag to compare

@rods1182 rods1182 released this 29 Oct 17:09
988a1cb

Português

Renderizador específico para Grand Prix 3 1.13 e Grand Prix 3 2000, com OpenGL, widescreen Hor+, ajustes de imagem e diagnóstico.

Correção 1.0.1: proteção da tabela de strings do GP3 1.13 para o fechamento observado com o modo Debug do GPxPatch.

Baixe GP3RT-1.0.1-Windows.zip, extraia e leia LEIAME.txt. Copie ddraw.dll e gp3rt.ini ao lado do executável do jogo. Use CPU em todos os núcleos e remova modos de compatibilidade. Para widescreen, selecione 1280×1024 no menu. A documentação explica quando usar Debug.

Este pacote não inclui o jogo. O projeto Linux está em desenvolvimento e será publicado separadamente. A DLL é a mesma do pacote 1.0.1 da comunidade; esta preparação atualiza a apresentação/documentação, sem recompilação ou novo teste de execução.

English

Game-specific OpenGL runtime for Grand Prix 3 1.13 and Grand Prix 3 2000, with Hor+ widescreen, graphics settings and diagnostics.

1.0.1 fix: GP3 1.13 string-table guard for the crash observed with GPxPatch Debug mode.

Download GP3RT-1.0.1-Windows.zip, extract and read README_EN.txt. Place the DLL and INI next to the game executable. Use all CPU cores and disable compatibility modes. Select 1280×1024 for widescreen. Read the guide for Debug settings.

No game files included. Linux is an unfinished, separate project. The DLL is unchanged from the supplied community 1.0.1 package; documentation was refreshed without rebuilding or running the game.

GP3RT 1.0.3 — Latest Stable Release | Graphics & Crash Fixes

Choose a tag to compare

@rods1182 rods1182 released this 05 Nov 22:42
48aea08

Português · English below

GP3RT 1.0.3 — Pistas muito detalhadas: carros sumindo, polígonos cinza e fechamento do jogo

Pacote: GP3RT-1.0.3-Windows.zip (Windows 10/11 · GP3 1.13 e GP3 2000)

O sintoma

Nas pistas de 1998 do Belini (e em outras pistas muito detalhadas), sempre acontecia a mesma sequência:

  1. os carros apareciam só com as rodas, sem carroceria;
  2. surgiam polígonos cinza soltos e árvores piscando;
  3. poucos segundos depois o jogo fechava sozinho, sem mensagem.

Em Spa 98 dava para repetir: na saída da curva 10, a câmera de TV se afasta e passa a mostrar um pedaço grande da pista com vários carros, e o jogo fecha. A chuva e o PO alto pioravam tudo.

Como a causa foi descoberta

A pista foi descartada primeiro: o defeito aparecia em várias pistas do Belini, não só em Spa, e ajustar as câmeras da pista não resolveu.

A pista que faltava veio das imagens capturadas pouco antes do fechamento. Elas mostravam, no mesmo quadro, carros sem carroceria e grandes polígonos cinza, sempre com a câmera afastada e muitos carros na tela. Ou seja, o problema crescia junto com a quantidade de coisas desenhadas ao mesmo tempo, e não com um lugar específico da pista.

O registro do fechamento apontava sempre para o mesmo ponto do Gp3.exe, dentro da rotina que desenha polígonos. Seguindo esse ponto até a origem dos dados, chegamos à lista que o jogo monta a cada quadro e ao limite dela.

A causa: um limite antigo do próprio GP3

A cada quadro, o GP3 monta uma lista com as bordas de todos os polígonos que vai desenhar. Essa lista tem espaço fixo para 2.999 itens, mais uma área de trabalho de cerca de 100 KB. Isso bastava para as pistas originais de 1998/2000.

As pistas da comunidade têm muito mais detalhe (árvores, arquibancadas, objetos). Com a câmera aberta mostrando a pista e o pelotão inteiro, a lista enche. Aí o jogo:

  • descarta o que não coube: as carrocerias costumam ficar de fora, por isso só as rodas apareciam;
  • esquece um número antigo dentro de cada item descartado, apontando para dados de um quadro anterior. É esse lixo que aparece como polígonos cinza;
  • quando esse número velho aponta para memória que já foi reaproveitada, o jogo lê um endereço inválido e fecha (no GP3 2000, em gp3.exe+0x69480).

Não era defeito da pista nem do GP3RT: é um limite do GP3 com um erro no tratamento de quando ele é ultrapassado. Por isso as pistas mais caprichadas eram justamente as que mais sofriam.

A correção

Ao abrir o jogo, o GP3RT ajusta o Gp3.exe na memória (o arquivo não é alterado):

  • a lista passa de 2.999 para 16.000 itens por quadro;
  • a área de trabalho passa de ~100 KB para 2 MB;
  • se ainda assim faltar espaço, o item descartado recebe um número válido em vez do antigo, então o jogo não fecha.

A DLL reconhece sozinha o GP3 1.13 e o GP3 2000. Se o Gp3.exe for diferente do esperado, ela não mexe em nada.

No gp3rt.log aparece a linha:
3D edge limit: 2999 -> 16000 edges

Para desligar (não recomendado): edge_fix=0 no gp3rt.ini, seção [game].

Testes

  • Spa 98 com a câmera de TV afastada e muitos carros: os carros ficam completos e o jogo não fecha mais.
  • Teste de estresse com o limite reduzido de propósito para 500 itens: mais de 400 mil estouros e o jogo continuou rodando, sem fechar e sem lixo na tela.
  • Corrida normal no GP3 1.13 e no GP3 2000 sem nenhuma diferença visual.

O PO alto nessas pistas continua, porque é o peso real de desenhar tanta coisa. O que acaba é o fechamento e os carros sumindo.

E o Linux?

A versão Linux (GP3 Reborn para Linux 1.0.2) já tem a mesma correção e está pronta, mas ainda não será publicada. Ela traz uma tela própria para o GPxPatch e adaptações para que ele rode no Linux. O GPxPatch é um trabalho de outro autor, e por respeito a ele só vou publicar essa parte depois de pedir e receber a permissão dele.

Como atualizar

Substitua o ddraw.dll na pasta do jogo pelo desta versão. Seu gp3rt.ini atual continua valendo, e a correção vem ligada por padrão.

Obrigado a quem testou e mandou logs e imagens. Foram elas que levaram à causa. Ao relatar um problema, informe a versão do jogo (1.13 ou 2000), a pista, a câmera usada e anexe o gp3rt.log.


GP3RT 1.0.3 — Very detailed tracks: vanishing cars, grey polygons and the game closing

Package: GP3RT-1.0.3-Windows.zip (Windows 10/11 · GP3 1.13 and GP3 2000)

The symptom

On Belini's 1998 tracks (and other very detailed tracks), the same sequence kept happening:

  1. cars were drawn with wheels only, no bodywork;
  2. stray grey polygons and flickering trees appeared;
  3. a few seconds later the game closed by itself, with no message.

Spa 98 made it repeatable: leaving turn 10, the TV camera pulls back and shows a large part of the track with several cars, and the game closes. Rain and high PO made it worse.

How the cause was found

The track itself was ruled out first: the fault showed up on several Belini tracks, not just Spa, and adjusting the track's cameras did not help.

The real clue came from screenshots taken just before the crash. They showed cars without bodywork and large grey polygons in the same frame, always with the camera pulled back and many cars on screen. So the problem grew with how much was being drawn at once, not with a particular spot on the track.

The crash record always pointed to the same place in Gp3.exe, inside the polygon-drawing routine. Tracing that back to where its data comes from led to the list the game builds every frame, and to its limit.

The cause: an old limit in GP3 itself

Every frame, GP3 builds a list of the edges of every polygon it is about to draw. That list has fixed room for 2,999 entries, plus a work area of about 100 KB. That was enough for the original 1998/2000 tracks.

Community tracks have far more detail (trees, grandstands, objects). With a wide camera showing the track and the whole field, the list fills up. The game then:

  • drops what did not fit: car bodies tend to be left out, so only the wheels showed;
  • leaves an old number inside each dropped entry, pointing at data from an earlier frame. That garbage is what appears as grey polygons;
  • when the stale number points at memory that has already been reused, the game reads an invalid address and closes (GP3 2000: gp3.exe+0x69480).

It was not a track bug or a GP3RT bug: it is a GP3 limit with a mistake in how the game handles going past it. That is why the most detailed tracks were the ones that suffered most.

The fix

When the game starts, GP3RT adjusts Gp3.exe in memory (the file is not modified):

  • the list grows from 2,999 to 16,000 entries per frame;
  • the work area grows from ~100 KB to 2 MB;
  • if it still runs out, the dropped entry gets a valid number instead of the stale one, so the game no longer closes.

The DLL recognises GP3 1.13 and GP3 2000 by itself. If Gp3.exe is not what it expects, it changes nothing.

gp3rt.log shows:
3D edge limit: 2999 -> 16000 edges

To turn it off (not recommended): edge_fix=0 in gp3rt.ini, section [game].

Testing

  • Spa 98 with the TV camera pulled back and many cars: cars stay complete and the game no longer closes.
  • Stress test with the limit deliberately lowered to 500 entries: over 400,000 overflows and the game kept running, with no crash and no garbage on screen.
  • Normal races on GP3 1.13 and GP3 2000 show no visual difference.

High PO on these tracks remains, because that is the real cost of drawing so much. What is gone is the crash and the vanishing cars.

What about Linux?

The Linux version (GP3 Reborn for Linux 1.0.2) already has the same fix and is ready, but it will not be published yet. It includes its own GPxPatch screen and changes that let GPxPatch run on Linux. GPxPatch is another author's work, and out of respect for him I will only publish that part after asking for, and receiving, his permission.

How to update

Replace ddraw.dll in the game folder with the one from this release. Your current gp3rt.ini keeps working, and the fix is on by default.

Thanks to everyone who tested and sent logs and screenshots: they are what led to the cause. When reporting a problem, please include the game version (1.13 or 2000), the track, the camera used, and attach gp3rt.log.

Full Changelog: 1.0.1...GP3RT-1.0.3

GP3RT 1.0.2 - fix: GP3 / GP3 2000 closing when entering the track

Choose a tag to compare

@rods1182 rods1182 released this 04 Nov 04:03
48aea08

GP3RT 1.0.2

Correções

  • GP3 2000 (e às vezes o 1.13) fechava sozinho, sem mensagem, ao entrar na pista.
    Era um erro da própria DLL: duas rotinas que mostram a imagem na tela chamavam
    uma à outra sem parar quando chegavam, no mesmo instante, uma imagem pendente e
    uma vinda da parte do jogo que carrega a pista. A pilha estourava e o Windows
    fechava o jogo. Acontecia mais em PCs rápidos e com drivers de vídeo recentes
    (ex.: RTX 30xx, Intel UHD, Windows 11 24H2). Corrigido.
  • A DLL não mexe mais nos módulos que o GPxPatch injeta no jogo (evita outro
    fechamento na abertura com o GPxPatch).

Diagnóstico

  • O gp3rt.log agora registra estouro de pilha, mensagens de erro do jogo e quem
    encerra o processo, para achar problemas assim mais rápido.

Como atualizar

Copie o ddraw.dll deste pacote por cima do antigo, na pasta do jogo.
O gp3rt.ini atual continua valendo.


Fixes (English)

  • GP3 2000 (and sometimes 1.13) closed by itself, with no message, when entering
    the track.
    Two routines in the DLL that show the picture called each other
    endlessly when a pending frame and a frame from the game's loading thread arrived
    at the same time; the stack ran out and Windows closed the game. More frequent on
    fast PCs and recent video drivers. Fixed.
  • The DLL no longer touches modules injected by GPxPatch.
  • gp3rt.log now records stack overflows, the game's error messages and who ends
    the process.

To update: copy ddraw.dll over the old one in the game folder.