Homebrew Counter Strike Nintendo DS

Fewnity

Active Member
OP
Newcomer
Joined
Mar 7, 2021
Messages
28
Trophies
0
Age
22
Location
France
XP
286
Country
France
cs1-png.256380
cs2-png.256381

Hey everyone, I'm making Counter Strike for Nintendo DS for fun!

For this, i'm using libnds (devkitPro) and Nitro Engine (3D engine).
I still need to do a ton of things but the game will be multiplayer!

There is one map (Dust2) for the moment.
Because of the NDS limitations, I'm not sure that I can change the characters...
But I think the game will to fun to play ^^

Short video :


Do not hesitate if you have any questions!

The game on a real Nintendo DS.
cs4-jpg.256383
 

Attachments

  • cs1.PNG
    cs1.PNG
    178.6 KB · Views: 2,134
  • cs2.PNG
    cs2.PNG
    141.5 KB · Views: 1,535
  • Cs4.jpg
    Cs4.jpg
    240.5 KB · Views: 1,374

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Will you be publishing the source code for this?
And why exactly would if be difficult to change the characters?

(I guess) the problem wouldn't be as much as changing the model (mesh + texture), but actually animating (bone skin + skeleton) a mesh isn't something as standardized in NDS open source code. I'm actually at that stage, lol.

There are some editors that actually do that in official 3D formats used:
GitHub - scurest/apicula: Convert DS .nsbmd models


Also @OP good work getting multiplayer code working.


Edit: Game ports using OpenGL (normals, textures and diffuse/ambient lights) are using the DS 3D GPU directly as it seems to be an OpenGL 1.2 with some hard coded hacks:

Avoiding 16 Common OpenGL Pitfalls
OpenGL 1.2 adds a new glEnable mode called GL_RESCALE_NORMAL that is potentially more efficient than the GL_NORMALIZE mode. Instead of performing a true normalization of the transformed normal vector, the transformed normal vector is scaled based on a scale factor computed from the inverse modelview matrix's diagonal terms. GL_RESCALE_NORMAL can be used when the modelview matrix has a uniform scaling factor.

and features (fog, toon shading, etc). Which means, by doing that, you skip the animation stuff. (as it's performed realtime, rather than scripted/prerendered like these formats specify)


Edit: There's also another issue, the VideoGL library (written by Dovoto) seems to use DisplayLists which is what OpenGL 1.0 does, and OGL 1.1 introduces texture objects. Which give context and control to textures. This is entirely implementation defined and does not rely on hardware tricks as it gives proper context to textures emitted by a DisplayList. This is problematic if, say, a NDS client wants to render to texture (mapped a face of the polygon), which is used in animation and/or may want to choose another texture slot than it was assigned at the time the DisplayList ran. It's absolutely doable.
 
Last edited by Coto,

Fewnity

Active Member
OP
Newcomer
Joined
Mar 7, 2021
Messages
28
Trophies
0
Age
22
Location
France
XP
286
Country
France
Will you be publishing the source code for this?
And why exactly would if be difficult to change the characters?
Yes I will publish the source code of the game and of the server.

--------------------- MERGED ---------------------------

(I guess) the problem wouldn't be as much as changing the model (mesh + texture), but actually animating (bone skin + skeleton) a mesh isn't something as standardized in NDS open source code. I'm actually at that stage, lol.
My problem is CPU power for animations... The game engine use so much cpu for animations...
And yes I have some problem with models and animations... I need a md2 file (include model and animations) and for this i'm using MilkShape 3D, an old program with some problems...

--------------------- MERGED ---------------------------

Wow ! Looks good honestly !
Thanks :)
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,292
Trophies
4
Location
Space
XP
13,848
Country
Norway
cs1-png.256380
cs2-png.256381

Hey everyone, I'm making Counter Strike for Nintendo DS for fun!

For this, i'm using libnds (devkitPro) and Nitro Engine (3D engine).
I still need to do a ton of things but the game will be multiplayer!

There is one map (Dust2) for the moment.
Because of the NDS limitations, I'm not sure that I can change the characters...
But I think the game will to fun to play ^^

Short video :


Do not hesitate if you have any questions!

The game on a real Nintendo DS.
cs4-jpg.256383

You can definitely change the models. Mario Kart DS had fully 3D rendered characters and karts.
 

Fewnity

Active Member
OP
Newcomer
Joined
Mar 7, 2021
Messages
28
Trophies
0
Age
22
Location
France
XP
286
Country
France
You can definitely change the models. Mario Kart DS had fully 3D rendered characters and karts.
Yeah, I can, but I need to do so much optimization :(
I need to improve my occlusion culling system and I need to find a very low poly character with animations...
For the moment my game is limited to 6 players (with the "Minecraft" model), animation system is too heavy for the CPU. With a higher polygons counts character model the CPU will be in fire xD
 

Fewnity

Active Member
OP
Newcomer
Joined
Mar 7, 2021
Messages
28
Trophies
0
Age
22
Location
France
XP
286
Country
France
This looks really cool! Nice work with all this! Hope you will add all the cool old skool maps and weapons. This could be something really special when it's finished!

Btw, I remember MilkShape3D from back in the day when I was modding Quake!
Ahh yes.. Fun daze..!
Thanks ^^ For the moment, only Dust 2 will be in the game, but maybe later ;)

--------------------- MERGED ---------------------------

Awesome :O
Can't wait to test.
Be patient :P
 
  • Like
Reactions: KimKong

TheMiningBoyAlpha

Well-Known Member
Newcomer
Joined
Apr 24, 2018
Messages
80
Trophies
0
Age
19
XP
360
Country
United States
Yes I will publish the source code of the game and of the server.

--------------------- MERGED ---------------------------


My problem is CPU power for animations... The game engine use so much cpu for animations...
And yes I have some problem with models and animations... I need a md2 file (include model and animations) and for this i'm using MilkShape 3D, an old program with some problems...

--------------------- MERGED ---------------------------


Thanks :)

i can help model for ya, i dmed you (not about models) and i can help
 
  • Like
Reactions: banjo2

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-