dethrace-labs / dethrace

Reverse engineering the 1997 game "Carmageddon"
https://twitter.com/dethrace_labs
GNU General Public License v3.0
870 stars 46 forks source link

question for a port on the ds(i) #420

Closed EhanMMMZET closed 2 weeks ago

EhanMMMZET commented 2 weeks ago

hi, is it possible to compile a port for the ds or dsi?

madebr commented 2 weeks ago

We don't know! You tell us :)

I'm curious what the performance would be. Get in touch with us if you're interested in working on a port. (You can post here, or on the Discord server)

EhanMMMZET commented 2 weeks ago

We don't know! You tell us :)

  • Upstream SDL2 supports n3ds, so input and video should work.

  • I don't think miniaudio supports n3ds, so audio won't work/compile.

  • Jeff did an impressive job in BRender to make it build on aarch64 by implementing all assembly into C, so that should work.

  • dethrace itself is also implemented in portable C

  • n3ds will need an implementation for a few harness functions

I'm curious what the performance would be.

Get in touch with us if you're interested in working on a port.

(You can post here, or on the Discord server)

firstly, that's pretty good news, and secondly, i don't have enough experience with compiling and building code so i don't think i'll be able to build this port, but i'd be happy to see someone else do!

EhanMMMZET commented 2 weeks ago

We don't know! You tell us :)

  • Upstream SDL2 supports n3ds, so input and video should work.

  • I don't think miniaudio supports n3ds, so audio won't work/compile.

  • Jeff did an impressive job in BRender to make it build on aarch64 by implementing all assembly into C, so that should work.

  • dethrace itself is also implemented in portable C

  • n3ds will need an implementation for a few harness functions

I'm curious what the performance would be.

Get in touch with us if you're interested in working on a port.

(You can post here, or on the Discord server)

and uhh i mean the original nintendo ds, 3ds port can also be good

EhanMMMZET commented 2 weeks ago

i've done some research and found that sdl IS supported on the original ds(i), secondly i believe armkitpro can provide audio playback and other compiling, so with a bit of work it could work

madebr commented 2 weeks ago

That's awesome to hear. A few months ago, I backported dethrace to SDL 1.2 so that can be used as a starting point for devs interesed. https://github.com/madebr/dethrace/tree/sdl-1.2

I'll leave it up to you to find a motivated ds developer :)

EhanMMMZET commented 2 weeks ago

That's awesome to hear. A few months ago, I backported dethrace to SDL 1.2 so that can be used as a starting point for devs interesed.

https://github.com/madebr/dethrace/tree/sdl-1.2

I'll leave it up to you to find a motivated ds developer :)

ok, why not