No Description

louyihua 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
English.lproj f56380d1ef Initial commit. 12 years ago
Pal.xcodeproj 5209110704 Mac & ios project/icon file update 9 years ago
adplug 8be28cfaed Less warnings in GCC 9 years ago
android 56cbdfb63f Compilation fix for non-WIN systems (cont.) 9 years ago
data cadc24ba3c moved overlay.bmp to data folder 10 years ago
ios 5209110704 Mac & ios project/icon file update 9 years ago
libmad 0d76153910 Compilation fix 9 years ago
liboggvorbis 0d76153910 Compilation fix 9 years ago
native_midi a7235db0d7 Added VS.net 2008 Project 11 years ago
winphone 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
.gitignore 42c3490ca3 Windows phone related fix, remove VC6 & VS2010 support, and update readme.txt. 9 years ago
.travis.yml 27a58c1eab before_install 12 years ago
AUTHORS.txt 42c3490ca3 Windows phone related fix, remove VC6 & VS2010 support, and update readme.txt. 9 years ago
Info.plist 8d4be3267d Initial check-in. 12 years ago
Makefile 0d76153910 Compilation fix 9 years ago
Makefile.cygwin 8d4be3267d Initial check-in. 12 years ago
Makefile.dingux 8d4be3267d Initial check-in. 12 years ago
Makefile.gph 8d4be3267d Initial check-in. 12 years ago
Makefile.psp c800480a26 Merge SVN revision 84209 (by pal_Bazzi). 11 years ago
Makefile.sdl2 25fbf23041 Compilation compatibility for non-WIN32 platforms 9 years ago
Makefile.wii 8d4be3267d Initial check-in. 12 years ago
README.txt 42c3490ca3 Windows phone related fix, remove VC6 & VS2010 support, and update readme.txt. 9 years ago
ascii.h 112754ca15 Remove PAL_UNICODE definition 9 years ago
battle.c f0e7a2bfed A new audio player model 9 years ago
battle.h d6035000dc SDL 1.2.15 compatibility 10 years ago
codepage.h f8ecb44987 Typedef for WCHAR on non-windows systems and warning-disable remove for windows 9 years ago
common.h 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
ending.c f0e7a2bfed A new audio player model 9 years ago
ending.h fd9a91e7c6 Unified version 9 years ago
fight.c 112754ca15 Remove PAL_UNICODE definition 9 years ago
fight.h fd9a91e7c6 Unified version 9 years ago
font.c f6451477de Fix a bug on embedded fonts. 9 years ago
font.h 112754ca15 Remove PAL_UNICODE definition 9 years ago
fontglyph.h 112754ca15 Remove PAL_UNICODE definition 9 years ago
game.c f0e7a2bfed A new audio player model 9 years ago
game.h d70187aec1 Emacs 11 years ago
getopt.c d70187aec1 Emacs 11 years ago
getopt.h d70187aec1 Emacs 11 years ago
global.c 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
global.h 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
gpl.txt 8d4be3267d Initial check-in. 12 years ago
input.c 42c3490ca3 Windows phone related fix, remove VC6 & VS2010 support, and update readme.txt. 9 years ago
input.h da9dd32f14 silenced VS2013 warnings 10 years ago
input_PSP.c 0a3bdfeebc SDL2: fixed event handling 10 years ago
itemmenu.c 8be28cfaed Less warnings in GCC 9 years ago
itemmenu.h d70187aec1 Emacs 11 years ago
magicmenu.c 8be28cfaed Less warnings in GCC 9 years ago
magicmenu.h d6035000dc SDL 1.2.15 compatibility 10 years ago
main.c 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
main.h 56cbdfb63f Compilation fix for non-WIN systems (cont.) 9 years ago
main_PSP.h e5ac3699f1 Change SWAPxx into SDL's built-in SDL_SwapLExx. 9 years ago
map.c e5ac3699f1 Change SWAPxx into SDL's built-in SDL_SwapLExx. 9 years ago
map.h d70187aec1 Emacs 11 years ago
midi.c f0e7a2bfed A new audio player model 9 years ago
midi.h d6035000dc SDL 1.2.15 compatibility 10 years ago
mp3play.c d25dd1d449 Configurable volume 9 years ago
oggplay.c 0d76153910 Compilation fix 9 years ago
palcommon.c e5ac3699f1 Change SWAPxx into SDL's built-in SDL_SwapLExx. 9 years ago
palcommon.h fd9a91e7c6 Unified version 9 years ago
palette.c 0a3bdfeebc SDL2: fixed event handling 10 years ago
palette.h d70187aec1 Emacs 11 years ago
play.c f0e7a2bfed A new audio player model 9 years ago
play.h d70187aec1 Emacs 11 years ago
players.h f0e7a2bfed A new audio player model 9 years ago
private.c d6035000dc SDL 1.2.15 compatibility 10 years ago
res.c d6035000dc SDL 1.2.15 compatibility 10 years ago
res.h d6035000dc SDL 1.2.15 compatibility 10 years ago
resampler.c cb4b7bd42c Full resampler support, minus bug fix. Remove the codepage autodetection which is not working for TC/SC. 9 years ago
resampler.h 2c3f1ef5d4 Fix rix play 9 years ago
rixplay.cpp 0d76153910 Compilation fix 9 years ago
rngplay.c e5ac3699f1 Change SWAPxx into SDL's built-in SDL_SwapLExx. 9 years ago
rngplay.h d70187aec1 Emacs 11 years ago
scene.c d6035000dc SDL 1.2.15 compatibility 10 years ago
scene.h d6035000dc SDL 1.2.15 compatibility 10 years ago
script.c f0e7a2bfed A new audio player model 9 years ago
script.h fd9a91e7c6 Unified version 9 years ago
sdlpal.cfg.example 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
sdlpal.dev 8d4be3267d Initial check-in. 12 years ago
sdlpal.icns 5209110704 Mac & ios project/icon file update 9 years ago
sdlpal.ico 305aba1c83 Change ICON & fix dialog 9 years ago
sdlpal.rc 8d4be3267d Initial check-in. 12 years ago
sdlpal.sln b0c92f2aa4 DOSBOX opl without interference & WIN95 SC fix 9 years ago
sdlpal.tgt 8d4be3267d Initial check-in. 12 years ago
sdlpal.vcxproj 288bbfe608 Compilation fix. 9 years ago
sdlpal.vcxproj.filters 288bbfe608 Compilation fix. 9 years ago
sdlpal.wpj 8d4be3267d Initial check-in. 12 years ago
sdlpal.xpm 8d4be3267d Initial check-in. 12 years ago
sound.c 42c3490ca3 Windows phone related fix, remove VC6 & VS2010 support, and update readme.txt. 9 years ago
sound.h d25dd1d449 Configurable volume 9 years ago
text.c 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
text.h cb4b7bd42c Full resampler support, minus bug fix. Remove the codepage autodetection which is not working for TC/SC. 9 years ago
ui.c 112754ca15 Remove PAL_UNICODE definition 9 years ago
ui.h 112754ca15 Remove PAL_UNICODE definition 9 years ago
uibattle.c 112754ca15 Remove PAL_UNICODE definition 9 years ago
uibattle.h 112754ca15 Remove PAL_UNICODE definition 9 years ago
uigame.c 56cbdfb63f Compilation fix for non-WIN systems (cont.) 9 years ago
uigame.h 6bd2c3e469 Some fixes for better japanese support 9 years ago
util.c 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
util.h 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
video.c 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
video.h 9963fee8d1 New options on window size & aspect ratio control. 9 years ago
yj1.c 0d76153910 Compilation fix 9 years ago

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.

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/)

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