本文内容仅供存档说明,代码基本已经migrate进nop90的SDL移植,开发用途建议使用nop90的移植
接上文,就是因为3DS上根本没有能好好用的SDL 1.2,所以自己移植咯……先给GitHub Repo:https://github.com/nbzwt/SDL-1.2-N3DS
其实我发现啊,这些个SDL 3DS移植的关系真是复杂,首先是有一个叫xerpi的人,在3年前fork了一份SDL2的repo,然后加入了对3DS的支持,虽然看commit记录似乎有模有样的样子,但是仔细看代码的话,应该是完全没有完成,而且因为库的原因也没有办法继续编译了。之后是nop90这个人,他在做SDL1.2的移植,很多代码直接用了xerpi的,当然他也做了不少修改,比如说按键部分,图形部分,至少应该是大概可以用了(当然用起来我感觉不对,哪有Flip一次不够得多来几次才能确保刷新的道理,还一言不合就卡死)。当然我可能就是第三个跳进坑里的人,在nop90的基础上继续移植(其实除了按键部分没有动,其它的都重写了)。
XianJian QiXia Zhuan 仙劍奇俠傳 (also known as The Legend of Sword and Fairy and “PAL”) is an action RPG created by Taiwan’s Softstar Entertainment Inc. The game is considered by many as simply one of the best Chinese RPG ever created. Since its first release in 1995 (DOS Version), many new versions and sequels (including a prequel) were created. However, none could replace the breath-taking and tragic tale it was born from. Here, we meet our protagonist Li Xiaoyao; an aspiring martial artist and the lovely Zhao Ling’er, a charismatic Nuwa descendant.
A great thanks to all ndless/nSDL developers! I got this in less than 5 hours thanks to these libraries available.
I deleted all the musics or voices (as there is no way to play them back). Now the main program is 384KB in size while the resources are 21.9MB total. Monochrome models will run the game, but that would take up all the available space. I am thinking about further compress it. Save/Load not working currently.