Homebrew How to make ports from source codes?

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
It depends on the target platform and the starting platform, dependencies and others.

If you're "lucky", you'll need to re-write only rendering, input and (optional) audio system code.
If you're "not so lucky", you'll have to modify also CPU related code (ASM calls for examples) and everything that could cause issues related to the hardware (for example, enums dimension, vars definition (on ARM architecture, chars are unsigned, on MIPS architecture, they're signed for example), GPU directives...).
If you're "unlucky", you'll also need to optimize code to make it run on the target platform at a decent framerate (looks for example to DaedalusX64 emulator for PSP).

There are also a lot of source ports which are using libraries currently not available (or not completely available) on 3DS (openGL, SDL, SDL2 for example). In that cases, you'll also have to write a proper wrapper for these libraries.
 
  • Like
Reactions: solitonmedic

Nyannurs

Well-Known Member
Member
Joined
Aug 30, 2014
Messages
480
Trophies
0
XP
904
Country
Germany
You don't have to re-write it. You just need to go through the code, and fix all the things to work on the 3DS. I know I'm making it sound a lot easier than it really is, but I'm just trying to give a simple answer.
basically re-writing it
???
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: iH