Archivo de la categor铆a ‘General’

DreeRally: 3d system implemented!

Hi all!

As is always happening in recent weeks, the advances in the future are still many :).

This time the part I have reimplimented is the 3d system in the race. This system consists of 3D elements and textures that are painted on some of these objects.

The truth is to see the “simplicity” of the solution, since the 3d objects are only polygons painted in one color and in the upper part a texture is incorporated, the solution looks very good.

After several weeks of work with a lot of help from Simone (thank you very much) we have been able to understand how it works and thus be able to reimplement it (it is at 99%).

I leave a video of how the development is currently:

Throughout the following days, the specification of the 3d system files of the game will be added to the project wiki.

Greetings to all.

Dreerally: first complete race with IA rivals

Hi!, good news from here,

I have started to rewrite the IA module and you can see the first results! :). Here is the first complete race for the IA players (they win me 馃檨 ).

This situation confirms the information published on the wiki about circuit files (https://github.com/enriquesomolinos/DreeRally/wiki) with one modification. THe OHI file is not the optimal way, this file contain the routes to ovaertake other players, or to avoid mines, so this file allow IA players to modify the optimal route defined in the file LR1.

 

Lighting system

First of all, I wanted to wish a happy new year to all the Death Rally fans.

To start the year, I have a good news: the lighting system of the game has been fully implemented, with some bugs that can be corrected in the future, but we must bear in mind that the format of the files has been deciphered.

The lighting system is defined by the TRX_SHA.bpk file of each circuit. This file is composed of three-dimensional points (the z-coordinate is not used, but it seems that there was a forecast to use it according to the source code), and by triangles that are defined by these points.

Then externally a mask is applied to the colors (they are 8 bits) that the only thing that does is add to those 8 bits the value of the mask.

There are two masks: the file VARJO.bpk, which is used for shadows, and the file TRX_LIT.bpk, which is used to illuminate the headlights of the car (depending on the circuit the headlights can illuminate differently). As an anecdote, the light of the headlights of the car, although it may seem a lie, is defined by three triangles!

Then I leave in format table the shadow file format:

 

| Offset (byte)聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 | Size (bytes)聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽| Information
|0聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽|4聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽|number of points
|4聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽|4聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽|number of shawdows
|8聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽|4 *number of points聽 聽 聽 聽 聽 聽 聽 聽 聽 | x coordenate
|12+(4*number of points)聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽|4*number of points聽 聽 聽 聽 聽 聽 聽 聽 聽 聽| y coordedate
|12+ (8*number of points)聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 |4*number of points聽 聽 聽 聽 聽 聽 聽 聽 聽 聽| z coor. (zero values, not used)
|12+ (12*number of points)聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 |4*number of shadows聽 聽 聽 聽 聽 聽 聽 聽| index to search x, y coor of the first point of the shadow
|12+ (12*number of points) +(4*number of shadows) |4*number of shadows聽 聽 聽 聽 聽 聽 聽 聽| index to search x, y coor of the second point of the shadow
|12+ (12*number of points) +(4*number of shadows) |4**number of shadows聽 聽 聽 聽 聽 聽 聽| index to search x, y coor of the third point of the shadow

And finally I leave the video where you can see how the shadows look in Dreerally.

The next step is to decipher the specific textures of the circuits.

Greetings to all.

DreeRally update: powerups in race

Hi all, After a time of research on how power ups work in a race, I can say and show how it works in Dreerally.

At the moment there are small bugs, easily remedied, since the way in which power ups are managed in Death Rally is easy and clear.

I attached a small video:

a greeting

Huge update.

Hello everyone,

After a few weeks without writing anything about the project, I am pleased to show you the progress I am making in the races.

At this time we can play full races. This confirms my theory about the vai.bpk file of the circuits, which are used to be able to know at what point you are in the circuit and thus to know in which position you go in the race. At the moment it remains to understand the file sce (this is a complicated task), sha, ohi and confirm my theory about the file LR1.

There is, of course, a need to rewrite the AI module, the entire collision subsystem, the powerups and the behavior of the mines, spikes, rockets …

The most important thing is that the development continues and every time I start to have more clear how everything works.

A greeting

First in race video!

Hello everyone,

I am pleased to be able to show you this simple or small video in which you can see the progress of the development.

This time we can see the images of how the vision is in the race!

Phase 3 Sentinel Reached!

Today we have good news, The development phase has evolved to phase 3 (sentinel)! .

From this point we can say that we leave behind phase two of the development that has taken a long time, but that involves knowing the configuration files, savegames, track records, hall of fame and above all, knowing how the circuits work and are defined (Many files are involved).

I put a couple of videos for you to see the progress in development. It should be noted that there are many bugs to be corrected, but I am happy that all the menus are playable and only need a few small adjustments.

In the following weeks I will explain each type of file that make up the circuits (inf, bpk, vai, lr1 …).

But now let’s focus on phase 3 (luckily the other phase is past). This phase has as main objective to get a full playable version !. It mainly remains to know the format of the videos, sounds and sound effects. But probably the most complicated task will be the reimplementation of the graphic engine for the races to be able to implement the logic of the races.

As always I invite you to follow the blog to see the news in the development and the format of the files and I also encourage you to leave your comments, improvements … which are appreciated 馃檪

First screenshots!

I’m glad to publish the first screenshots of the dreerally development:

 

captura captura4 captura3 captura2

 

At this moment, I’ve changed the development phase, because we are on phase 2!

Welcome to the DreeRally Project

Greetings, driver. Welcome to the DreeRally (Death Rally Engine Reimplementation) project.

DreeRally is a reimplementation of engine for the classic Remedy game, Death Rally.

The main objetive is recreating the classic game under open source license and allow to port all platforms because i’m using the SDL library.

In the future I’d like to allow people to modify the normal behaviour modifing circuits, cars, drivers….

Polls
Sorry, there are no polls available at the moment.
Donate

Help us to mantain this web and develop DreeRally