A port of OpenTTD v0.7.0 to the Nintendo 3DS
I've only tried compiling this on Linux so I'm not sure if it will work on a non-Unix-like OS.
./configure --os=N3DS --host $DEVKITARM/bin/arm-none-eabi --enable-static --prefix-dir=$DEVKITPRO --with-sdl --without-png --without-threads --disable-network --disable-unicode --without-libfontconfig --without-zlib --without-libfreetype --without-icu
make
$DEVKITPRO/tools/bin/3dsxtool openttd openttd.3dsx
I don't know really what I'm doing when it come to writing configure files lol. If anyone has advice I'll gladly take it.
Memory restrictions. The later versions I tried would always crash, even with a small map, because they simply wouldn't fit into the application memory of the 3DS. (The OLD 3DS at least. I don't own a NEW model I could test with.) One of the other reasons I picked 0.7.0 specifically, is it's the version that the DS port uses. This gives me something I can borrow some ideas from. It also has plenty of the features you would expect from OpenTTD, like OpenGFX support.