暂无描述

louyihua 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
English.lproj f56380d1ef Initial commit. 11 年之前
Pal.xcodeproj 5209110704 Mac & ios project/icon file update 8 年之前
SDL2 7c086bed94 Refactor 5: UWP version is ready 8 年之前
adplug 77bf04e2cc Minor change in licensing information & bug fix in makemessage.py 8 年之前
android 303175cdc5 Android compile fix 8 年之前
data cadc24ba3c moved overlay.bmp to data folder 9 年之前
ios 145280df36 IOS & WinPhone with same util set. MP3 player can use enhanced instructions now. Better touch support if KeepAspectRatio is set. 8 年之前
libmad b5be2d0873 Fix android compilation bug. 8 年之前
liboggvorbis 1539d48b16 Readme update & wp/arm compile fix 8 年之前
native_midi a7235db0d7 Added VS.net 2008 Project 11 年之前
win32 ab97bf0e65 WinRT: Bug fix for UTIL_BasePath(), description improvement; Win32: OPL choice fix 8 年之前
winrt 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
.gitignore 891255b290 [WIP] Refactor 4: Commit for windows store version & fix bugs in WP version 8 年之前
.travis.yml 27a58c1eab before_install 11 年之前
AUTHORS.txt 77bf04e2cc Minor change in licensing information & bug fix in makemessage.py 8 年之前
Info.plist 8d4be3267d Initial check-in. 11 年之前
Makefile 0d76153910 Compilation fix 8 年之前
Makefile.cygwin 8d4be3267d Initial check-in. 11 年之前
Makefile.dingux 8d4be3267d Initial check-in. 11 年之前
Makefile.gph 8d4be3267d Initial check-in. 11 年之前
Makefile.psp c800480a26 Merge SVN revision 84209 (by pal_Bazzi). 11 年之前
Makefile.sdl2 25fbf23041 Compilation compatibility for non-WIN32 platforms 8 年之前
Makefile.wii 8d4be3267d Initial check-in. 11 年之前
README.txt 1539d48b16 Readme update & wp/arm compile fix 8 年之前
ascii.h 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
battle.c 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
battle.h d6035000dc SDL 1.2.15 compatibility 9 年之前
codepage.h 77bf04e2cc Minor change in licensing information & bug fix in makemessage.py 8 年之前
common.h 85c5018aac [WIP] Refactor 3 (cont): Fix WP(ARM) compilation bug & move the location of SDL2 folder 8 年之前
ending.c 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
ending.h fd9a91e7c6 Unified version 8 年之前
fight.c d14db7fa8d Various bug fix 8 年之前
fight.h fd9a91e7c6 Unified version 8 年之前
font.c 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
font.h 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
fontglyph.h 77bf04e2cc Minor change in licensing information & bug fix in makemessage.py 8 年之前
game.c 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
game.h d70187aec1 Emacs 11 年之前
getopt.c d70187aec1 Emacs 11 年之前
getopt.h d70187aec1 Emacs 11 年之前
global.c 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
global.h 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
gpl.txt 8d4be3267d Initial check-in. 11 年之前
input.c d2d077f77b Combine call to PAL_Shutdown & exit(), and abnormal termination detection on WP platform. 8 年之前
input.h 25f11cd80a Home & End support in item & magic selection. 8 年之前
input_PSP.c 0a3bdfeebc SDL2: fixed event handling 9 年之前
itemmenu.c cc1edf8f0d [WIP] Various change for refactor 8 年之前
itemmenu.h d70187aec1 Emacs 11 年之前
magicmenu.c cc1edf8f0d [WIP] Various change for refactor 8 年之前
magicmenu.h d6035000dc SDL 1.2.15 compatibility 9 年之前
main.c 4105283155 Several changes 8 年之前
main.h 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
main_PSP.c 4105283155 Several changes 8 年之前
makemessage.py 174f929f43 [WIP] Refactor 2: new configuration model & WP8.1 enhancement 8 年之前
map.c e5ac3699f1 Change SWAPxx into SDL's built-in SDL_SwapLExx. 8 年之前
map.h d70187aec1 Emacs 11 年之前
midi.c 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
midi.h 614e33d3c2 Bug fix: dead lock on exit, overlay on non-touch devices 8 年之前
mp3play.c 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
oggplay.c 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
overlay.c 85c5018aac [WIP] Refactor 3 (cont): Fix WP(ARM) compilation bug & move the location of SDL2 folder 8 年之前
palcfg.c 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
palcfg.h 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
palcommon.c 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
palcommon.h 174f929f43 [WIP] Refactor 2: new configuration model & WP8.1 enhancement 8 年之前
palette.c 5fa74edd95 SDL_GetTicks() ralted fix, avoiding possible bugs on extreme cases when SDL_GetTicks() wrapped, and remove some redundant codes on SDL 2.0 drawing. 8 年之前
palette.h d70187aec1 Emacs 11 年之前
play.c d2d077f77b Combine call to PAL_Shutdown & exit(), and abnormal termination detection on WP platform. 8 年之前
play.h d70187aec1 Emacs 11 年之前
players.h 77bf04e2cc Minor change in licensing information & bug fix in makemessage.py 8 年之前
private.c d6035000dc SDL 1.2.15 compatibility 9 年之前
res.c d6035000dc SDL 1.2.15 compatibility 9 年之前
res.h d6035000dc SDL 1.2.15 compatibility 9 年之前
resampler.c cb4b7bd42c Full resampler support, minus bug fix. Remove the codepage autodetection which is not working for TC/SC. 8 年之前
resampler.h 2c3f1ef5d4 Fix rix play 9 年之前
rixplay.cpp 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
rngplay.c 5fa74edd95 SDL_GetTicks() ralted fix, avoiding possible bugs on extreme cases when SDL_GetTicks() wrapped, and remove some redundant codes on SDL 2.0 drawing. 8 年之前
rngplay.h d70187aec1 Emacs 11 年之前
scene.c d6035000dc SDL 1.2.15 compatibility 9 年之前
scene.h d6035000dc SDL 1.2.15 compatibility 9 年之前
script.c d14db7fa8d Various bug fix 8 年之前
script.h fd9a91e7c6 Unified version 8 年之前
sdlpal.cfg.example d10c87f95b Change OPL settings 8 年之前
sdlpal.dev 8d4be3267d Initial check-in. 11 年之前
sdlpal.icns 5209110704 Mac & ios project/icon file update 8 年之前
sdlpal.ico 305aba1c83 Change ICON & fix dialog 8 年之前
sdlpal.tgt 8d4be3267d Initial check-in. 11 年之前
sdlpal.wpj 8d4be3267d Initial check-in. 11 年之前
sdlpal.xpm 8d4be3267d Initial check-in. 11 年之前
sound.c 05c493e98b Move config function definitions to palcfg.c & slightly layout change of WinRT setting page 8 年之前
sound.h 174f929f43 [WIP] Refactor 2: new configuration model & WP8.1 enhancement 8 年之前
text.c 4105283155 Several changes 8 年之前
text.h 174f929f43 [WIP] Refactor 2: new configuration model & WP8.1 enhancement 8 年之前
ui.c 8b01585662 Change: Customization for status screen. 8 年之前
ui.h 174f929f43 [WIP] Refactor 2: new configuration model & WP8.1 enhancement 8 年之前
uibattle.c 8b01585662 Change: Customization for status screen. 8 年之前
uibattle.h 112754ca15 Remove PAL_UNICODE definition 8 年之前
uigame.c 4105283155 Several changes 8 年之前
uigame.h 77bf04e2cc Minor change in licensing information & bug fix in makemessage.py 8 年之前
util.c 12fb55e489 WinRT enhancement 8 年之前
util.h 7c086bed94 Refactor 5: UWP version is ready 8 年之前
video.c 12fb55e489 WinRT enhancement 8 年之前
video.h 9963fee8d1 New options on window size & aspect ratio control. 8 年之前
yj1.c 77bf04e2cc Minor change in licensing information & bug fix in makemessage.py 8 年之前

README.txt

SDLPAL
======

SDLPAL is an SDL-based reimplementation of the classic Chinese-language RPG
"Xian Jian Qi Xia Zhuan" (also known as PAL or Legend of Sword and Fairy).


LICENSE
=======

SDLPAL is originally created by Wei Mingzhi from 2009.
Copyright (c) 2009-2011 Wei Mingzhi .
Copyright (c) 2011-2015 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 getopt.c file is based on source code in OpenBSD.

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 & libvorbis (http://www.vorbis.com/)

And some of the OPL simulation cores this program used are from the DOSBOX
project (http://www.dosbox.com).

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 UNDER WINDOWS
=====================

The following compilers/IDEs are supported under Windows:

1) Microsoft Visual Studio 2013 or higher (official)
2) Dev-C++ 4.9.9.2 (unofficial)
3) Open Watcom 1.7 (unofficial)

To compile, open the respective project file (sdlpal.sln, sdlpal.dev, or
sdlpal.wpj). You need to have SDL 2.0 development files installed.


COMPILE UNDER GNU/LINUX
=======================

To compile, type:

make

You need to have SDL 2.0 development files installed. The compiled executable
should be generated with the filename 'sdlpal' at the top directory of source
files.

SDLPAL should also be able to compile and run under other UNIX-like systems,
however it's not tested.


COMPILE UNDER MAC OS X
======================

To compile, open the project Pal.xcodeproj with Xcode, and click Build. You
need to have SDL framework installed at /Library/Frameworks.

The compiled bundle should work as a "universal" binary which works on both
Intel and PowerPC.


CLASSIC BUILD
=============

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 "classic" build which is
100% the same as the original game.


RUNNING THE GAME
================

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
==================

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-