0.0.18 • Published 10 years ago

pokemonxy v0.0.18

Weekly downloads
2
License
-
Repository
-
Last release
10 years ago

node-pokemonxy

Various functions useful in making pokemonxy software

Quick Lazy Description:

Currenly this is good for loading pokemon pkx data and unencrypting/encrypting. You can use the library with the node-written proxy of your choice.

Somewhere in your code, after including this module, you want to do someting such as: var pokemon = require('pokemonxy');

Then you're going to want to create a pkx object and load a buffer of pkx data (from a file, through a proxy, etc) var dratiniPkx = readFileSync('dratini_encrypted.pkx'); var josh_pkmn = Object.create(pokemon.PKX); josh_pkmn = Object.load(dratiniPkx);

The load function knows if the data is encryped or not, and regardless, makes both available.

you can reference the encryped and unencrypred buffers like so: josh_pkmn.pkxEncryped josh_pkmn.pkxUnencryped

If you modify the buffers, you can reencrypt like so: josh_pkmn.encrypt();

You can write the buffers to network streams (probably unsuccessfully...), as well as files, or whatver your imagination desires :)

TODO: Make functions to modify all the details!

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago