np

nes-py

pypi i nes-py

72 Versions

8.2.1

3 months ago

Implement seed, options, and return_info keyword arguments for (NESEnv).reset method. Only seed is supported, options and return_info have no effect.


8.2.0

3 months ago

Update to support changes in gym 0.20:

  • explicitly cast reward signal to float
  • explicitly case done signal to bool

8.1.9

4 months ago

Update to support builds for M1 macs.


8.1.8

1 year ago
  • implement a simple type cast fix to support the PyPy interpreter's implementation of NumPy
  • officially support python 3.9
  • deprecate official support for Ubuntu 14.04
  • remove MacOS from build due to change in payment model for OSS projects on Travis CI
    • MacOS/Windows builds are too expensive to run on Travis CI

8.1.7

1 year ago
  • use pyglet 1.5.11

8.1.6

2 years ago

fix numpy version for linux builds.


8.1.5

2 years ago

Resolve version mismatch for dependency pyglet between this repository and the gym dependency. Gym requires a pyglet version in [1.4.0, 1.5.0], but 1.5.5 was required by nes-py. nes-py has dropped the requirement to mirror that of the 0.17.2 version of gym.


8.1.4

2 years ago
  • remove outdated documentation for currently unsupported features
  • screenshots

8.1.3

2 years ago
  • handle the ugly pyglet import logic within ImageViewer to remove the need to import ImageViewer from within the NESEnv method
  • insert logic to detect creation of ImageViewer from python threads that are not the main thread and throw a RuntimeError to fail gracefully
  • documentation for executing render logic in multiprocessing environments

8.1.2

2 years ago

fix issue where pyglet deprecated their frame limiting logic


8.1.1

3 years ago

8.1.0

3 years ago
  • g++ produces a 25% speedup on Linux machines over clang++
  • g++ produces a 0% speedup on MacOS machines over clang++
  • g++ is not available in Windows, nor is clang++ (MSVC)

8.0.2

3 years ago

chage SCANLINE_END_CYCLE from 340 to 341 to resolve scaline glitch.


8.0.1

3 years ago

8.0.0

3 years ago

Rename BinarySpaceToDiscreteSpaceEnv to JoypadSpace because BinarySpaceToDiscreteSpaceEnv is literally awful to type despite being very descriptive.


7.0.1

3 years ago

7.0.0

3 years ago
  • deprecate python 2 support
  • deprecate pygame module usage in favor of pyglet

6.2.2

3 years ago

Fix spaces to work with new versions of gym


6.2.1

4 years ago

6.2.0

4 years ago

Add an RNG to the environment using NumPy


6.1.0

4 years ago

Implement the get_action_meanings method to comply with some gym code like the noop reset wrapper.


6.0.0

4 years ago

Remove wrappers that are outside the scope of this project.


5.1.0

4 years ago

Support for 2 controllers (still needs work to be officially supported). The feature results in faster access to controller state buffers from python, so should be slightly faster as well.


5.0.2

4 years ago

fully reviewed code and resolved most of the bad smells


5.0.1

4 years ago

make _skip property public (i.e., skip) so it's more intuitive that this value may be mutated by end-users.


5.0.0

4 years ago

Move frame skip to a separate env wrapper and remove the frame limiting mechanism


4.1.2

4 years ago

Set a flag when a backup is created so that reset can know to use _backup instead of _LIB.reset(self._env)


4.1.1

4 years ago

Implement a state backup and restore solution for SimpleNES


4.0.1

4 years ago

fix matplotlib dependency (>=2.0.2 instead of >=2.3.2)


4.0.0

4 years ago

Use a direct buffer to create a NumPy vector wrapping around the RAM for the emulator instead of issuing reads and writes through the ctypes API.


3.0.3

4 years ago

Resolve an issue in the setup file that cause windows installs to fail


3.0.2

4 years ago

Comment out an unused variable to resolve a compiler warning from clang++


3.0.1

4 years ago

Optimize and refactor code for a 20% speed up.


3.0.0

4 years ago

Replace LaiNES with SimpleNES


2.0.2

4 years ago

2.0.0

4 years ago

1.1.0

4 years ago

Implement resizable windows in:

  • human play script
  • _simple_image_viewer used by render

1.0.0

4 years ago

Pass a done Parameter to _did_step to allows the callback to base logic on the completion state of the episode


0.11.1

4 years ago

unwrap the environment when calling backup and restore


0.11.0

4 years ago

Officially support Windows OS.


0.10.3

4 years ago

Fix memory leak where backup and restore were creating dangling pointers without deleting them first.


0.10.2

4 years ago

Use a virtual destructor to resolve a compiler error.


0.10.1

4 years ago

Fix a bug where the joypad wasnt being initialized correctly for debian systems.


0.10.0

4 years ago

implement in NESEnv:

  • _backup create a backup state to restore from automatically on subsequent calls to reset
  • _del_backup delete the backup state
  • _restore to restore the backed up state into the machine. reset automatically calls this if there is a backed up state

0.9.0

4 years ago

better play_human script to simplify client environments


0.8.10

4 years ago

0.8.9

4 years ago
  • resolve a bug where get_keys_to_actions was no longer accurate after using a BinarySpaceToDiscreteSpaceEnv on an environment.
  • fix issue where _did_reset was actually _did_reset_
  • remove unnecessary binary space
  • remove num buttons function from C++ code

0.8.8

4 years ago

remove some type hints and resolve some minor code problems to support python2


0.8.7

4 years ago

0.8.6

4 years ago

0.8.5

4 years ago

0.8.4

4 years ago

up to beta release


0.8.3

4 years ago

add new Travis CI features to simplify deployment


0.8.2

4 years ago

resolve magic value of iNES value check (use bytearray instead of bytes type)


0.8.0

4 years ago

implement popular wrappers:

  • reward cache
  • binary action space to discrete action space
  • downsample
  • clip reward
  • normalize reward
  • frame stack
  • death penalty

0.7.0

4 years ago

Bound reward into the defined range


0.6.0

4 years ago

define a mechanism to limit the number of steps in an episode


0.5.3

4 years ago

Full alpha release


0.5.1

4 years ago

Implement a frameskip mechanism


0.4.1

4 years ago

add a callback for info


0.4.0

4 years ago

Implement callbacks for polymorphism:

  • _frame_advance
  • _will_reset
  • _did_reset
  • _did_step

0.3.0

4 years ago

Define an API for accessing NES memory in Python


0.2.8

4 years ago

Correct a broken link in the README when publishing to PyPi


0.2.7

4 years ago

fix CLI to require the ROM path


0.2.6

4 years ago

appears to have an issue where debian systems installing from source try to use the git version (which is obviously not available in the sdist).


0.2.4

4 years ago

Create setup.py to compile LaiNES dependency into .so file.

  • tested on Darwin and Debian systems

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

Fix licensing in LICENSE and setup.py


0.0.0

4 years ago

Release simple C++ code based on LaiNES implementation

72 Versions

TagPublished
8.2.13mos ago
8.2.03mos ago
8.1.94mos ago
8.1.81yr ago
8.1.71yr ago
8.1.62yrs ago
8.1.52yrs ago
8.1.42yrs ago
8.1.32yrs ago
8.1.22yrs ago
8.1.13yrs ago
8.1.03yrs ago
8.0.23yrs ago
8.0.13yrs ago
8.0.03yrs ago
7.0.13yrs ago
7.0.03yrs ago
6.2.23yrs ago
6.2.14yrs ago
6.2.04yrs ago
6.1.04yrs ago
6.0.04yrs ago
5.1.04yrs ago
5.0.24yrs ago
5.0.14yrs ago
5.0.04yrs ago
4.1.24yrs ago
4.1.14yrs ago
4.0.14yrs ago
4.0.04yrs ago
3.0.34yrs ago
3.0.24yrs ago
3.0.14yrs ago
3.0.04yrs ago
2.0.24yrs ago
2.0.04yrs ago
1.1.04yrs ago
1.0.04yrs ago
0.11.14yrs ago
0.11.04yrs ago
0.10.34yrs ago
0.10.24yrs ago
0.10.14yrs ago
0.10.04yrs ago
0.9.04yrs ago
0.8.104yrs ago
0.8.94yrs ago
0.8.84yrs ago
0.8.74yrs ago
0.8.64yrs ago
0.8.54yrs ago
0.8.44yrs ago
0.8.34yrs ago
0.8.24yrs ago
0.8.04yrs ago
0.7.04yrs ago
0.6.04yrs ago
0.5.34yrs ago
0.5.14yrs ago
0.4.14yrs ago
0.4.04yrs ago
0.3.04yrs ago
0.2.84yrs ago
0.2.74yrs ago
0.2.64yrs ago
0.2.44yrs ago
0.2.34yrs ago
0.2.24yrs ago
0.2.14yrs ago
0.2.04yrs ago
0.1.14yrs ago
0.0.04yrs ago