libpvz: a library to manipulate Plants vs. Zombies
Go to file
2021-10-31 18:26:17 +08:00
examples pyvz_utils.py: fix window detection with `plantsvszombies.exe'. 2017-12-16 23:40:49 +08:00
pyvz core.py: again fix Memory.put(). 2021-10-31 18:26:17 +08:00
src Use `struct' explicitly, except for opaque structures. 2018-09-06 01:40:55 +08:00
utils cffi_prep.py: no longer import ffi (unused there). 2019-02-01 21:25:11 +08:00
bootstrap Import libpvz v0.2.0. 2016-02-12 20:10:22 +08:00
configure.ac Migrate to Gitea, "for obvious reasons". 2019-11-07 18:02:23 +08:00
Makefile.am Bump version number to `0.3.2'. 2018-01-12 16:45:31 +08:00
README Migrate to Gitea, "for obvious reasons". 2019-11-07 18:02:23 +08:00
setup.py Migrate to Gitea, "for obvious reasons". 2019-11-07 18:02:23 +08:00

libpvz: a library to manipulate Plants vs. Zombies
==================================================

About
-----

This is libpvz [1], a library written to ease the manipulation of Plants vs.
Zombies [2] v1 emulated under Unix-like operating systems.  Low level
functions are provided in the `libpvz' C library, while more complicated
functions are provided in the `pyvz' Python module built upon the C library.
For now, Linux is the only supported platform, and only the x86_64 architecture
is tested (though x86 is expected to be supported as well).

[1] <https://gitea.com/CasperVector/libpvz>.
[2] <https://www.popcap.com/plants-vs-zombies>.


Use
---

Building:
$ ./bootstrap                           # If building from the git repo.
$ ./configure
$ make
$ python ./setup.py build

Testing:
$ make check                            # If you want to run `libpvz_test'.
$ export LD_LIBRARY_PATH="$(pwd)"/src/.libs \
  PYTHONPATH="$(pwd)"/build/lib.some_path
$ ...                                   # Do what you want to do.

Installing:
# make install
# python ./setup.py install


Copying
-------

Copyright (c) 2013,2016-2019 Casper Ti. Vector
Licence: CC0 v1.0 [3].

[3] <https://creativecommons.org/publicdomain/zero/1.0/>.

(Note that only this library is covered by these terms; Plants vs. Zombies
itself is owned by PopCap.)