Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SDLPAL 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = SDLPAL | image = https://dlhb.gamebrew.org/3dshomebrew/SDLPAL.jpg|250px | type = Other Apps | version = v2.0.2 | licence = Mixed | author = Ze...")
 
m (Text replacement - "Category:3DS homebrew games" to "")
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS Homebrews
| title = SDLPAL
|title=SDLPAL
| image = https://dlhb.gamebrew.org/3dshomebrew/SDLPAL.jpg|250px
|image=Sdlpal5.png
| type = Other Apps
|description=Port of The Legend of Sword and Fairy to the 3DS.
| version = v2.0.2
|author=SDLPAL Team
| licence = Mixed
|lastupdated=2021/02/14
| author = ZephRay
|type=Role Playing
| website = https://github.com/nbzwt/sdlpal
|version=2.0
| download = https://dlhb.gamebrew.org/3dshomebrew/SDLPAL.rar
|license=GPL-3.0
| source = https://dlhb.gamebrew.org/3dshomebrew/SDLPAL.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/sdlpal.7z SDLPAL & English Patch
|website=https://sdlpal.github.io/sdlpal
|source=https://github.com/sdlpal/sdlpal
}}
}}
<youtube>swZp8xbD2YI</youtube>
SDLPAL is a SDL-based open-source cross-platform reimplementation of the classic Chinese RPG game The Legend of Sword and Fairy (Simplified Chinese: 仙剑奇侠传, Traditional Chinese: 仙劍奇俠傳, also known as Chinese Paladin, or PAL for short). It is availble in both Chinese and non-official English.
 
This port is created by Wei Mingzhi in 2009 and has been taken over by the SDLPAL development team. Many of the ideas of this program are based on documents from [https://github.com/palxex/palresearch PAL Research Project], and portions of the code are based on the work done by Baldur and [https://github.com/louyihua louyihua].
 
Note that this program does not include any code or data files of the original game, which are proprietary and copyrighted by SoftStar Inc.
 
==Installation==
'''Note:''' You must obtain the data files from a licensed copy of the game in order to run it.
 
Copy the CIA file to your SD card, then create a new folder named sdlpal in 3ds folder of your SD card.
 
Extract the game data files to the sdlpal folder (except for 2 folders and the AVI files, they are not needed).
 
Copy the sdlpal.cfg to the sdlpal folder just created (delete the .example at the end of the file name), so you should have sdmc:/3ds/sdlpal/sdlpal.cfg.
 
Open sdlpal.cfg, change CODEPAGE=0 to CODEPAGE=1 (delete the # in front of the line to enable it).
 
For n3ds/o3ds:
* If you are using n3DS, turn on CPU+L2 boost in your CFW menu.
* If you are using o3DS, open sdlpal.cfg, change both STEREO and USESURROUNDOPL to 0, lower both SAMPLERATE and OPLSAMPLERATE to 22050.
 
You can now install the CIA file and play the game in Chinese. To apply the [http://www.romhacking.net/translations/2441 English patch] (included):
* Extract everything except sdlpal.cfg in the win directory to the sdlpal directory of the SD card.
* Overwrite m.msg, sss.mkf and word.dat, add m_chs.slf and m_eng.slf.
* Open sdlpal.cfg and edit this line MESSAGEFILENAME=./m_eng.slf.
 
==User guide==
===FAQ===
Please see https://github.com/sdlpal/sdlpal/wiki/FAQ_CHS (Chinese).
 
==Controls==
D-Pad/C-Pad - Move, Select
 
A/Start - Enter
 
B/Select - Menu


= README.txt SDLPAL =
L - Accelerate the game (not working on o3DS, up to maximum 3X of the speed so you can skip fight animation etc)


= SDLPAL is an SDL-based reimplementation of the classic Chinese-language RPG &quot;Xian Jian Qi Xia Zhuan&quot; (also known as PAL or Legend of Sword and Fairy). LICENSE =
==Screenshots==
https://dlhb.gamebrew.org/3dshomebrews/sdlpal2.png
https://dlhb.gamebrew.org/3dshomebrews/sdlpal3.png


= SDLPAL is originally created by Wei Mingzhi from 2009. Copyright (c) 2009-2011 Wei Mingzhi [mailto:[email protected] [email protected]]. Copyright (c) 2011-2016 SDLPAL development team. All rights reserved. SDLPAL is distributed under the terms of GNU General Public License, version 3 (or any later version) as published by the Free Software Foundation. See gpl.txt for details. Many of the ideas of this program are based on documents from PAL Research Project (https://github.com/palxex/palresearch), and portions of the code are based on the work done by Baldur and louyihua. The resampler code is based on the code in Kode54's foo_input_adplug project (https://github.com/kode54/foo_input_adplug). This program made extensive use of the following libraries: SDL (http://www.libsdl.org/) Adplug (http://adplug.sourceforge.net/) SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/) libmad (http://www.underbit.com/products/mad/) libogg &amp; libvorbis (http://www.vorbis.com/) FLTK (http://www.fltk.org) And some of the OPL simulation cores this program used are from the DOSBOX project (http://www.dosbox.com) and MAME project (http://mamedev.org/). Please see authors.txt for additional authors. This program does NOT include any code or data files of the original game, which is proprietary and copyrighted by SoftStar Inc. COMPILE FOR WINDOWS =
https://dlhb.gamebrew.org/3dshomebrews/sdlpal4.png
https://dlhb.gamebrew.org/3dshomebrews/sdlpal6.png


= The Microsoft Visual Studio 2013 or higher is supported under Windows. To compile the WIN32 desktop version, open the Visual Studio project file 'sdlpal.sln' under the 'win32' directory. To comiple the WinRT version, open one of the project files (SDLPal.UWP.sln, SDLPal.Windows.sln, SDLPal.WindowsPhone.sln) under the 'winrt' directory. Please note that, to compile the UWP version, Visual Studio 2015 or higher is required. For all situations, you need to have SDL 2.0 development or source files installed at the SDL2 directory under the source tree. COMPILE FOR GNU/LINUX OR UNIX =
==Media==
'''SDLPAL 3DS Review (Chinese)''' ([https://www.youtube.com/watch?v=swZp8xbD2YI 充满游戏]) <br>
<youtube>swZp8xbD2YI</youtube>


= To compile, type: cd unix make You need to have SDL 2.0 development files installed. The compiled executable should be generated with the filename 'sdlpal' at the current directory. By default, SDLPAL uses the FLTK library to provide setting GUI at launch. If you do not want to use the library, please define the macro 'PAL_NO_LAUNCH_UI' in the makefile. SDLPAL should also be able to compile and run under other UNIX-like systems, however it's not tested. COMPILE FOR MAC OS X =
==Compatibility==
Compatible with both o3DS and n3DS.


= To compile, open the project Pal.xcodeproj with Xcode, and click Build. You need to have SDL framework installed at /Library/Frameworks. COMPILE FOR IOS =
Tested on Citra.


= You need to have SDL2 source extracted in the SDL2 folder.To compile, open the project iOS/SDLPAL/SDLPal.xcodeproj with Xcode, and click Build. COMPILE FOR ANDROID =
==Changelog==
'''v2.0 2021/02/14'''
* Experimental release for 2021-02-14.


= You need to have SDL2 source extracted in the SDL2 folder. To compile, type: cd android/jni ndk-build cd .. ant debug COMPILE FOR NINTENDO 3DS =
'''v1.1 2017/02/18'''
* Merged new functionality from [https://github.com/nbzwt/sdlpal/releases/tag/v1.1 mainline repository].


= To compile, type: cd 3ds make make cia You need to have DevkitPro ARM and SDL 1.2 for 3DS portlib installed. The compiled executable should be generated with the filename 'sdlpal' at the current directory. COMPILE FOR OTHER PLATFORMS =
'''v1.0 2017/02/17'''
* Initial release, based on a extremely outdated version of sdlpal. Fully playable with Pal DOS resource file:


= To be written. CLASSIC BUILD =
==Credits==
Copyright (c) 2009-2011, [https://github.com/CecilHarvey Wei Mingzhi].


= By default, SDLPAL uses a revised battle system which is more exciting yet somewhat harder than the original game. If you prefer the traditional turn-based battle system, uncomment the following line: //#define PAL_CLASSIC 1 in the file common.h and recompile. This will build a &quot;classic&quot; build which is 100% the same as the original game. RUNNING THE GAME =
Copyright (c) 2011-2021, SDLPAL development team.


= The data files required for running the game are not included with the source package due to copyright issues. You must obtain them from the original CD. To run the game, copy all the files on the original CD to a directory, then copy the SDLPAL executable to the same directory, and run the executable. Note that the filenames of data files should be in lower-case under GNU/Linux (or other UNIX-like operating systems). CONFIGURE THE GAME =
This program made extensive use of the following libraries:
* [http://www.libsdl.org/ SDL]
* [http://www.libsdl.org/projects/SDL_mixer/ SDL_mixer]
* [http://www.underbit.com/products/mad/ libmad]
* [http://www.vorbis.com/ libogg &amp; libvorbis]
* [https://www.opus-codec.org/ libopus &amp; opusfile]
* [http://www.fltk.org FLTK]
* [https://github.com/schellingb/TinySoundFont TinySoundFont]
* OPL player from [http://adplug.sourceforge.net/ Adplug]
* OPL emulation cores from [http://www.dosbox.com DOSBOX project], [http://mamedev.org/ MAME project] and [https://github.com/chocolate-doom/chocolate-doom Chocolate Doom project]
* Audio resampler from [https://www.foobar2000.org/components/view/foo_input_adplug foo_input_adplug]
* AVI player from [https://ffmpeg.org/ ffmpeg]
* Image decoder from [https://github.com/nothings/stb stb]


PAL has several variants using different and incompatible resource files. Now SDLPAL supports several configuration options for supporting such variants. To set these configuration options, create a file named as 'sdlpal.cfg' (make sure to use lower-case file name in UNIX-like operating systems) in the game directory created by the above step. If no configuration file exists, SDLPAL uses default values that supports the original resources of DOS version. Please refer to the 'sdlpal.cfg.example' for configuration file format. -END OF FILE-
==External links==
* Official website - https://sdlpal.github.io/sdlpal
* Author's website (zephray) - https://www.zephray.me/post/sdlpal_3ds_port
* GitHub (SDLPAL team) - https://github.com/sdlpal/sdlpal
* GitHub (zephray) - https://github.com/zephray/sdlpal-old
* GitHub (weimzh) - https://github.com/weimzh/sdlpal
* GBAtemp - https://gbatemp.net/threads/release-the-legend-of-sword-and-fairy-sdlpal-a-classical-dos-rpg-port-to-3ds.461422

Latest revision as of 06:34, 6 Mayıs 2024

SDLPAL
Sdlpal5.png
General
AuthorSDLPAL Team
TypeRole Playing
Version2.0
LicenseGPL-3.0
Last Updated2021/02/14
Links
SDLPAL & English Patch Download
Website
Source

SDLPAL is a SDL-based open-source cross-platform reimplementation of the classic Chinese RPG game The Legend of Sword and Fairy (Simplified Chinese: 仙剑奇侠传, Traditional Chinese: 仙劍奇俠傳, also known as Chinese Paladin, or PAL for short). It is availble in both Chinese and non-official English.

This port is created by Wei Mingzhi in 2009 and has been taken over by the SDLPAL development team. Many of the ideas of this program are based on documents from PAL Research Project, and portions of the code are based on the work done by Baldur and louyihua.

Note that this program does not include any code or data files of the original game, which are proprietary and copyrighted by SoftStar Inc.

Installation

Note: You must obtain the data files from a licensed copy of the game in order to run it.

Copy the CIA file to your SD card, then create a new folder named sdlpal in 3ds folder of your SD card.

Extract the game data files to the sdlpal folder (except for 2 folders and the AVI files, they are not needed).

Copy the sdlpal.cfg to the sdlpal folder just created (delete the .example at the end of the file name), so you should have sdmc:/3ds/sdlpal/sdlpal.cfg.

Open sdlpal.cfg, change CODEPAGE=0 to CODEPAGE=1 (delete the # in front of the line to enable it).

For n3ds/o3ds:

  • If you are using n3DS, turn on CPU+L2 boost in your CFW menu.
  • If you are using o3DS, open sdlpal.cfg, change both STEREO and USESURROUNDOPL to 0, lower both SAMPLERATE and OPLSAMPLERATE to 22050.

You can now install the CIA file and play the game in Chinese. To apply the English patch (included):

  • Extract everything except sdlpal.cfg in the win directory to the sdlpal directory of the SD card.
  • Overwrite m.msg, sss.mkf and word.dat, add m_chs.slf and m_eng.slf.
  • Open sdlpal.cfg and edit this line MESSAGEFILENAME=./m_eng.slf.

User guide

FAQ

Please see https://github.com/sdlpal/sdlpal/wiki/FAQ_CHS (Chinese).

Controls

D-Pad/C-Pad - Move, Select

A/Start - Enter

B/Select - Menu

L - Accelerate the game (not working on o3DS, up to maximum 3X of the speed so you can skip fight animation etc)

Screenshots

sdlpal2.png sdlpal3.png

sdlpal4.png sdlpal6.png

Media

SDLPAL 3DS Review (Chinese) (充满游戏)

Compatibility

Compatible with both o3DS and n3DS.

Tested on Citra.

Changelog

v2.0 2021/02/14

  • Experimental release for 2021-02-14.

v1.1 2017/02/18

v1.0 2017/02/17

  • Initial release, based on a extremely outdated version of sdlpal. Fully playable with Pal DOS resource file:

Credits

Copyright (c) 2009-2011, Wei Mingzhi.

Copyright (c) 2011-2021, SDLPAL development team.

This program made extensive use of the following libraries:

External links

Advertising: