Nintendo DS port

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Nintendo DS port

Post by Wolf01 »

i bought some cool accessories for my NDS lite which allow me to run programs and other files (like nes, gb, gbc, gba, power-pc and game gear roms, play mp3 and videos and look images) from the SD card plugged in with an adapter

i wish that one day will be possible to play also OTTD in the DS, some cool demos seem that are written in c:

i found in this site some documentation, tutorials and some demos: http://www.drunkencoders.com/index.php? ... =Documents

as far as i have see, is possible to test the programs with an emulator, so a NDS is not required and more people can help at the project without buy all the stuff
DanielB
Traffic Manager
Traffic Manager
Posts: 206
Joined: 19 Feb 2006 11:13
Location: Noordwijk (NL)

Post by DanielB »

Isn't the screen a bit too small for playing OpenTTD?
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

you have 2 screens, you can use the top screen to look at the infos like the finance window and the vehicles gui, in the bottom screen you can terraform, build, click on the vehicles with the pen

if is possible a porting for the cellular phones i think that is possible also a porting for the DS, where there is more space
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Well, it was possible for the PSP, it should be for the DS, although it's weaker.
Image
DeletedUser21
Tycoon
Tycoon
Posts: 11501
Joined: 20 Sep 2004 22:45

Post by DeletedUser21 »

But cheaper. :P

Well why not? It might even that the touchscreen makes a nice touch in rail-network-design. :wink:
Snuk the Great
Engineer
Engineer
Posts: 63
Joined: 26 Aug 2005 15:12

Post by Snuk the Great »

I am rather active in the DS homebrew scene and I was even yhinking about porting it to the DS. But then I kind of figured that I already have to many projects to start this as well. Adding to that I lack knowledge about the openTTD code (I've seen it, played with it, but thats about it) and knowledge about porting.

However if you plan doing it I could help you test it. I got a normal DS with a CF GBAMP. I also have an accesspoint which works with the wifi programs made on the DS so far. So If you need testing help, I could help you.
Snuk the Great
GrimRC
Engineer
Engineer
Posts: 5
Joined: 27 Aug 2006 18:59
Location: Stockport

SDL on DS?

Post by GrimRC »

Is SDL available for Nintendo DS? That'd be a huge leap forward, I'm sure.
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

Snuk the Great wrote:I am rather active in the DS homebrew scene[...]
teach me, master!
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

I think you've misunderstood him... he's a member of the Dominant/Submissive Alcoholics Anonymous chapter. ;)
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Snuk the Great
Engineer
Engineer
Posts: 63
Joined: 26 Aug 2005 15:12

Post by Snuk the Great »

richk67 wrote:I think you've misunderstood him... he's a member of the Dominant/Submissive Alcoholics Anonymous chapter. ;)
Ehm, yeah something like that :P.

No I am just one of those guys that test's on hardware (cause there is a lot of different hardware) and sends email's with bugreports and functionality issues. So I am not coding here. Got work enough as it is.

A few good sites to get help with this is http://gbadev.org and http://www.1emulation.com (the forums in perticular). And http://www.drunkencoders.com is my favorite DS homebrew newssite.
Snuk the Great
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

i just downloaded something from http://www.double.co.nz/nintendo_ds/dsemu.html#download
the winDS is really cool (but is only a demo to show what is possible to do)
i also found a PDA: http://www.dragonminded.com/?loc=ndsdev/DSOrganize
but i don't try it until is proved that works with super card lite (with microSD)
Snuk the Great
Engineer
Engineer
Posts: 63
Joined: 26 Aug 2005 15:12

Post by Snuk the Great »

Wolf01 wrote:i just downloaded something from http://www.double.co.nz/nintendo_ds/dsemu.html#download
the winDS is really cool (but is only a demo to show what is possible to do)
i also found a PDA: http://www.dragonminded.com/?loc=ndsdev/DSOrganize
but i don't try it until is proved that works with super card lite (with microSD)
I think WinDS has been 'inactive' for a while. The last time I downloaded it and heard news about it was at the last compo. These days I use other homebrew to do the things winDS does, and these programs do it even better.

Things you should check out are:
- DSorganize. You should realy test if it works. He has 'collored' versions and theres a table here telling you which to try.
- Moonshell. The mediaplayer for the DS, created by a Japanese guy. So his site holds many riddles, but its the nr1 app (in my opinion) on my DS.
- dsDoom. Even supports multiplayer :O.
- And you probably want to check this Compo as well. It has a bunch of games and apps which are truely sweet.

And there is more to be found, but this is supposed to be the OpenTTD forum :P.
Snuk the Great
User avatar
Thalass
Traffic Manager
Traffic Manager
Posts: 200
Joined: 02 Jul 2004 13:29
Location: Ontario, Canada

Post by Thalass »

Looks nifteh. Though I still lament my inability to get the PalmOS port of OTTD to work on my Palm TX. :(

That, and I can't find a linux-based OS to replace the PalmOS. :P
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

now i'm using DSLinux, based on uClinux
the only lack is the memory: 4MB of the DS and 32MB of the SuperCard Lite (this is my case, but other cards have less or more memory, and every card has a different firmware) but if i understood well, it is impossible to use, this doesn't allow to run graphics or big programs (a web browser with support for images will be a great thing, but for now i can always use the retawq browser)
the best thing is that is possible to store infos on text files and a "cardfile" application without make the filesystem weird like when using DSOrganizer
in the end, i think that one day will be possible to run more things, maybe also OTTD
User avatar
Ailure
Route Supervisor
Route Supervisor
Posts: 435
Joined: 26 Apr 2005 19:06
Location: Sweden

Post by Ailure »

I really need to get a SuperCard or something similar so I can get into the DS homebrewing scene. I was peeking into the GBA one, but never got a flash cart. (so I ran everything on a emulator)

Hmm, I thought memory would be a problem until I saw that DS and PSP almost have as much memory, PSP just have 2 MB extra video memory. I honestly never got the chanche to play the PSP port. Any limitations on that port, I don't think that a PSP would take a 20? And I'm quite sure the CPU won't be a problem either, ARM processors are rather powerful despite their frequency.

What I wonder about spefically is how both of the screens is going to be used.
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

i had this idea:
< top screen >
info windows like financial window, vehicles viewports, minimap, maybe toolbars...

< bottom screen >
main viewport, maybe toolbars, buttons for the guis (when opened in the top screen), depot's gui

< keys :roll: >
crosspad: move the view
L/R: select the tool (if toolbars on the top screen), select the main toolbar button
start: open main menu (save, options etc)
select: open options/patches menu
A,B,X,Y: customizable by the user as hotkeys (like A=build rail, B=financial window...)

< behaviour >
in the bottom screen you can play like you have a mouse, no pointer, you use the stick
when you have to insert a text, the bottom screen become a keyboard (like the DSlinux or DSOrganizer one)
User avatar
Ailure
Route Supervisor
Route Supervisor
Posts: 435
Joined: 26 Apr 2005 19:06
Location: Sweden

Post by Ailure »

Should work, though I had wierd ideas such as a 2D drawing plane for designing networks. I guess it would be a little easier to draw on a simplified 2D view than a isometric one... but we should try to get it running first. ;)

Probably my chanche to get used to the openTTD source (I honestly only compiled it...) and ARM devolopment as soon I finished thoose damned exams. I lack tools for actually testing the game on real hardware, but I saw a pretty good emulator that seems to work well on DS games using simple 2D. (mostly homebrewn games)

Remember that we are talking about low resolutions too, if you took a openTTD screenshot and then tried to view it on a DS with both screens it would look like something below.
Image

The DS isn't as wide as a PSP, but it's higher if you put both screens together and you can put both screens to a use.
Snuk the Great
Engineer
Engineer
Posts: 63
Joined: 26 Aug 2005 15:12

Post by Snuk the Great »

Ailure wrote:Should work, though I had wierd ideas such as a 2D drawing plane for designing networks. I guess it would be a little easier to draw on a simplified 2D view than a isometric one... but we should try to get it running first. ;)

Probably my chanche to get used to the openTTD source (I honestly only compiled it...) and ARM devolopment as soon I finished thoose damned exams. I lack tools for actually testing the game on real hardware, but I saw a pretty good emulator that seems to work well on DS games using simple 2D. (mostly homebrewn games)

Remember that we are talking about low resolutions too, if you took a openTTD screenshot and then tried to view it on a DS with both screens it would look like something below.
Image

The DS isn't as wide as a PSP, but it's higher if you put both screens together and you can put both screens to a use.
I think it might be essential to putt the buttons on the bottom screen, because that is the touch sensative one. And then put the buttons at the bottom to avoid breaking the isometric view.

And for the buttons I think the d-pad and the a,b,x and y button should be used to scroll. Both, because we have right and left handed people.
The L and R could be used for simpel things like showing and hiding certain items, like graphs or even the menu.

All and all I think it is possible to get a good interface, however it will require some hard thinking because of the lower resolution.
Snuk the Great
NoBrain2k
Engineer
Engineer
Posts: 11
Joined: 16 Oct 2004 00:13

Post by NoBrain2k »

The best way, imo, to do TT on the DS would be to have the main stuff on the bottom screen and then have either a zoomed out view or the map view on the top screen so that its really easy to find your way around. then if u press R or something it swaps them so u can scroll around easily with the stylus.

well thats how i see it anyway.
Snuk the Great
Engineer
Engineer
Posts: 63
Joined: 26 Aug 2005 15:12

Post by Snuk the Great »

NoBrain2k wrote:The best way, imo, to do TT on the DS would be to have the main stuff on the bottom screen and then have either a zoomed out view or the map view on the top screen so that its really easy to find your way around. then if u press R or something it swaps them so u can scroll around easily with the stylus.

well thats how i see it anyway.
Yeah, that would work even better!
Snuk the Great
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Amazon [Bot] and 12 guests