Page 1 of 1

New 3D Homebrew game Skunks!

Posted: Sun Jan 23, 2011 6:36 pm
by Anthony817
Remember Stunt Racer TeamXlink made a CDI out of? Well, the game engine that the game was made in has been used to make a new game, and the source code is released, so maybe we can have an updated version of Stunt Racer too!

Anyway, here is the new game, I found it over at Dreamcast.es

Translated from Spanish.
And now the fun: in our requests were discussed thread of this game: Skunks ... Well, as proof of the ODE library, here you have for your Dreamcast!

Skunks is a simple car game where we perform acrobatics in the style of the legendary Stunts. The most interesting is that it is fully 3D (very rare in homebrew, right?). To achieve this, this game is based on ... guess? Open Dynamics Engine.

This version only uses SDL (and therefore, does not use any 3D acceleration PVR). Still, his behavior is quite spectacular. Also generate new circuits is easy: D

Author: Matei Petrescu
License: GPLv3
Web: http://sourceforge.net/projects/skunks/

Changes to the original version:
- Added initial menu to choose track and car (7 circuits and 6 cars to choose from).
- Added technical that autoruns every time you complete the game, to save RAM.

Controls:
D-PAD: Move through the menu / control car
B: Reverse
Y: Aerial Camera
X / A: Move 3D Camera
L: Return to the Menu / Exit game.

Download includes the source code and binary.
Note that there are two binary (skunks.bin and dcloader.bin). If you make a bootable CDI, add the two bins and used as the primary dcloader.bin
Source
http://www.dreamcast.es/news.php?readmore=429#comments

Check out the source code for it too.

Code: Select all

ODE is a library of high-performance, open source to simulate rigid body dynamics. It is stable, mature and independent of the platform made in C / C + +. Has joint types and integrated mechanism of collisions with friction. ODE is useful for simulating vehicles, objects in virtual environments and virtual creatures.

 ODE and made headlines early in the Dreamcast homebrew. In 2003, L @ Cible ported an early version of this library (0.03 I think), and used it in an impressive technical demo (which you can try here: http://dcstuntracer.sourceforge.net/)

 What you have here is the latest version of the library ready to be compiled and used in KOS environment (ie, Dreamcast). In a moment the news comes fun: D
Source
http://www.dreamcast.es/news.php?readmore=428#comments

Re: New 3D Homebrew game Skunks!

Posted: Mon Feb 20, 2012 4:15 pm
by dark
Lately I've been really interested in checking this homebrew game out. But I don't understand how to make a cdi out of the binaries included with it (there is no 1st_read.bin? and renaming either of the binaries doesn't work either).

Does anyone have a cdi they could share?

Re: New 3D Homebrew game Skunks!

Posted: Mon Feb 20, 2012 4:39 pm
by VasiliyRS
Lately I've been really interested in checking this homebrew game out. But I don't understand how to make a cdi out of the binaries included with it (there is no 1st_read.bin? and renaming either of the binaries doesn't work either).
Download includes the source code and binary.
Note that there are two binary (skunks.bin and dcloader.bin). If you make a bootable CDI, add the two bins and used as the primary dcloader.bin

Re: New 3D Homebrew game Skunks!

Posted: Mon Feb 20, 2012 5:30 pm
by dark
Let me try again:
If you make a bootable CDI, add the two bins and used as the primary dcloader.bin
I am unable to make a bootable CDI of this. These instructions do not help me.

Re: New 3D Homebrew game Skunks!

Posted: Tue Feb 21, 2012 5:14 pm
by Indiket
1. Put the 2 binaries inside a folder.
2. Open Bootdreams, and set this folder to create the CDI.
3. Bootdreams will ask you to select the binary file. Select dcloader.bin
4. Create the IP.BIN? Yes
5. Rock&Roll!!! :D

About why there are 2 binaries, let me explain that. There are RAM issues with this port: when you try to reload new tracks and cars, RAM increases until goes for more than 16MB. So, one little trick is to reload the entire binary every time you want to change track. Imagine like you close, and open again an application: it's the same concept.

But to do that, you can't do it with one simple binary: you need a "loader" bin that reloads the other binary. I did some tests, and it worked well for 10-15 reloads so far.

Another question is if that method is OK, or maybe some guy should invest trying to optimize code... In any case, this dirty trick works :-P

Re: New 3D Homebrew game Skunks!

Posted: Tue Feb 21, 2012 5:32 pm
by dark
Thanks. I was using data2CDI before, but I'll give bootdreams a try.

Re: New 3D Homebrew game Skunks!

Posted: Tue Feb 21, 2012 5:59 pm
by dark
It's crashing. When I selected dcloader.bin bootdreams asked if I wanted to scramble it - I clicked yes. What is a scrambled or nonscrambled binary?

Re: New 3D Homebrew game Skunks!

Posted: Wed Feb 22, 2012 11:22 am
by dark
I got it to work. Yay!

Re: New 3D Homebrew game Skunks!

Posted: Wed Feb 22, 2012 10:15 pm
by Anthony817
Good to hear that. And you learned how to make a bootable cdi too! Double win! :)