racer home

From old content to new content

 

Home Keeping it running on ancient hardware.


Dolphinity Organiser - free planning, project management and organizing software for all your action lists

Introduction

Racer v0.5.0 was really the last 'stable' version before v0.9. New versions often gave little problems when trying to keep up the content. v0.9 of Racer will be a version that will be available for quite some time, to provide a non-moving target for content developers.

A lot has changed since v0.5, and an attempt here is made to list all the things that you need to watch out for when trying to use older content. Old content will normally NOT work with v0.9 right out of the box. This is due to required graphics shading mostly, to make shadowmapping and such to work.

First, make yourself familiar with the development page to help you combat any problems while developing. A main thing before distributing your content is make sure QLOG.txt is empty of warnings or errors.

Cars

The following things have changed for cars:

Optional things that are new and would be good to try for cars:

Quick conversion of cars without Cg car.shd files

A quick guideline to convert older cars to use the new (and mostly simpler) Cg system is described here. These days .shd files are often split into vf_* entries, describing actual Cg shaders, and the materials (shader_*) describing the textures and using one of the 'vf_*' references for the basic type of material. A good start point is just the standard shaders:

vf_standard
{
vertex_shader
{
file=dyn_standard_v.cg
}
fragment_shader
{
file=standard_f.cg
}
} ... shader_body~vf_standard
{
layer0
{
map=body.tga
}
}

Note that the fragment shader uses 'dyn' (dynamic) to make sure that vertices get transformed with the model's rotation matrix (car 3D models move around, whereas most track objects always stay at a fixed placed and thus need to transformation).

An example conversion is Stecki's Mercedes-Benz CLK DTM, which was from 2003 something, now for Racer v0.9 at RacerDownloads. It does lack finishing touches like projected headlights, flares, bumpmaps etc.

Tracks

Tracks also require work.

 


Dolphinity Organiser - free planning, project management and organizing software for all your action lists

(last updated November 13, 2012 )