Looking for a .nds or .gba exporter

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
jimbobert94
Prole
Posts: 16
Joined: Mon Jun 25, 2012 7:17 am

Re: Looking for a .nds or .gba exporter

Post by jimbobert94 » Sat Jul 27, 2013 11:48 pm

slime wrote:The Nintendo DS has a 67 MHz processor. That's not anywhere close to powerful enough to do what LÖVE does.

Also, less double-posts and meaningless image macros please. :)
We can export 3d games to it with blender, but not 2d? That doesn't sound right.

User avatar
slime
Solid Snayke
Posts: 2887
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Looking for a .nds or .gba exporter

Post by slime » Sat Jul 27, 2013 11:51 pm

You're welcome to contribute your own, if you think it's possible.

jimbobert94
Prole
Posts: 16
Joined: Mon Jun 25, 2012 7:17 am

Re: Looking for a .nds or .gba exporter

Post by jimbobert94 » Sat Jul 27, 2013 11:59 pm

slime wrote:You're welcome to contribute your own, if you think it's possible.
Image

User avatar
veethree
Inner party member
Posts: 820
Joined: Sat Dec 10, 2011 7:18 pm

Re: Looking for a .nds or .gba exporter

Post by veethree » Sun Jul 28, 2013 12:24 am

jimbobert94 wrote:
slime wrote:You're welcome to contribute your own, if you think it's possible.
Image
slime wrote:Also, less double-posts and meaningless image macros please. :)

User avatar
RedHot
Citizen
Posts: 87
Joined: Mon May 27, 2013 2:43 pm
Location: Poland

Re: Looking for a .nds or .gba exporter

Post by RedHot » Sun Jul 28, 2013 10:19 am

@jimbobert94

It's never a bad idea do dream big.

Don't listen to the party poopers. It is possible. There are open source nds emulators. Learn about hardware architecture of nds or gba. You will be dealing with ARM cpus here. Try to understand what a RISC cpu is. Heck it might take a year or 2 but try to make it :)

Long story short if you feel this stuff is hot and you won't give up after a couple of months it is possible. There will be dirty hacks, there will be limitations (a lot) but it will work ;)

User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Looking for a .nds or .gba exporter

Post by raidho36 » Sun Jul 28, 2013 10:47 am

There's an easier way: just learn to program NDS games, with NDS tools. Though you will most likely have to learn C or even assembly. Lua is for sure the best scripting language for embedding to games, but it's performance is pretty far from blazing fast, even with LuaJIT. I mean, seriously, how do you even expect handheld's puny processor to munch Lua code?

User avatar
RedHot
Citizen
Posts: 87
Joined: Mon May 27, 2013 2:43 pm
Location: Poland

Re: Looking for a .nds or .gba exporter

Post by RedHot » Sun Jul 28, 2013 5:52 pm

There would be no such thing as running LUA code in an interpreted way. Lua code would need to be compiled for an NDS instruction set.

User avatar
MPQC
Citizen
Posts: 65
Joined: Fri Jun 28, 2013 2:45 pm

Re: Looking for a .nds or .gba exporter

Post by MPQC » Mon Jul 29, 2013 2:20 pm

RedHot wrote:@jimbobert94

It's never a bad idea do dream big.

Don't listen to the party poopers. It is possible. There are open source nds emulators. Learn about hardware architecture of nds or gba. You will be dealing with ARM cpus here. Try to understand what a RISC cpu is. Heck it might take a year or 2 but try to make it :)

Long story short if you feel this stuff is hot and you won't give up after a couple of months it is possible. There will be dirty hacks, there will be limitations (a lot) but it will work ;)
It is possible, nobody here is going to really deny that. However, you are not going to get any uses out of it, and will most likely not get anywhere past a POC. It most likely just will not be usable.
raidho36 wrote:There's an easier way: just learn to program NDS games, with NDS tools. Though you will most likely have to learn C or even assembly. Lua is for sure the best scripting language for embedding to games, but it's performance is pretty far from blazing fast, even with LuaJIT. I mean, seriously, how do you even expect handheld's puny processor to munch Lua code?
Pretty much this. I've made a DS game before (link if anyones interested), but that was years ago. You're not going to get very far by using Lua unfortunately.

User avatar
seanmd
Prole
Posts: 35
Joined: Sat Jun 22, 2013 7:47 am

Re: Looking for a .nds or .gba exporter

Post by seanmd » Mon Jul 29, 2013 5:19 pm

There are actually some pretty impressive C frameworks for writing nintendo ds games. It's not so much that it's impossible as it is that love depends on some pretty general purpose tech to display stuff to the screen because it's meant to be platform independent. On a DS you really want to use hardware modes and dedicated (platform specific) calls to manage texture/sprites and their display.

Also, all numbers in lua are floats whereas the DS has no FPU (floating point unit) on either of its processors and would require software conversion -- further eating up your meager allotment of clock cycles.

szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

Re: Looking for a .nds or .gba exporter

Post by szensk » Mon Jul 29, 2013 11:47 pm

seanmd wrote:Also, all numbers in lua are floats whereas the DS has no FPU (floating point unit) on either of its processors and would require software conversion -- further eating up your meager allotment of clock cycles.
You're definitely correct here, but he could build lua with just integers instead of doubles to get ameliorate that problem. Instead of floats, you'd want to use fixed point numbers.

But you're going to have to re-implement the API so if you want a game to run on NDS, there are Easier Ways™.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests