Dspython: Difference between revisions

From GameBrew
(Created page with "{{Infobox DS Homebrews}} {{Infobox DS Homebrews |title=dspython |image= |description=Port of the Python programming language for Nintendo DS. Based on NDSPython. |author=L...")
 
m (Text replacement - "Category:Other DS applications" to "Category:Other Applications on DS")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox DS Homebrews}}
{{Infobox DS Homebrews
{{Infobox DS Homebrews
|title=dspython
|title=dspython
|image=
|image=Dspython4.png
|description=Port of the Python programming language for Nintendo DS. Based on NDSPython.
|description=Port of the Python programming language for Nintendo DS. Based on NDSPython.
|author=Lorenzo Mancini
|author=Lorenzo Mancini
Line 9: Line 8:
|version=2011
|version=2011
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/dshomebrew/dspython.7z
|download=https://dlhb.gamebrew.org/dshomebrew/dspython.7z?k33p0fil35
|website=https://github.com/develer-staff/dspython
|website=https://github.com/develer-staff/dspython
|source=https://github.com/develer-staff/dspython
|source=https://github.com/develer-staff/dspython
Line 37: Line 36:
https://dlhb.gamebrew.org/dshomebrew/dspython3.png
https://dlhb.gamebrew.org/dshomebrew/dspython3.png
https://dlhb.gamebrew.org/dshomebrew/dspython2.png
https://dlhb.gamebrew.org/dshomebrew/dspython2.png
==Known issues==
Can only run one script for each setup ([https://github.com/develer-staff/dspython/issues see issues]).


==Credits==
==Credits==
* Richard Tew did the original work of [http://www.disinterest.org/NDS/Python25.html porting Stackless Python 2.5 on Nintendo DS]; this project is a continuation of his work. Please see [https://raw.github.com/develersrl/dspython/master/README.old README.old] for a list of the original credits.
Richard Tew did the original work of [http://www.disinterest.org/NDS/Python25.html porting Stackless Python 2.5 on Nintendo DS]; this project is a continuation of his work. Please see [https://raw.github.com/develersrl/dspython/master/README.old README.old] for a list of the original credits.


* Greg Ewing is the author of [http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Pyrex], the extension language on which dspython bases its libnds wrapper.
Greg Ewing is the author of [http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Pyrex], the extension language on which dspython bases its libnds wrapper.


==External links==
==External links==
* Author's website - [https://www.develer.com/trac/dspython https://web.archive.org/web/20121023045825/https://www.develer.com/trac/dspython/] (archived)
* Author's website - [https://web.archive.org/web/20121023045825/https://www.develer.com/trac/dspython/ https://www.develer.com/trac/dspython] (archived)
* GitHub - https://github.com/develer-staff/dspython
* GitHub - https://github.com/develer-staff/dspython


[[Category:DS homebrew applications]]
 
[[Category:Other DS applications]]
[[Category:Other Applications on DS]]

Latest revision as of 06:24, 4 May 2024

dspython
Dspython4.png
General
AuthorLorenzo Mancini
TypeOther Apps
Version2011
LicenseMixed
Last Updated2011/01/22
Links
Download
Website
Source

dspython is a homebrew port Python programming language for Nintendo DS.

This work introduces a concrete way to expose Nintendo DS hardware to Python; it uses the Pyrex extension language to produce valid libdns wrappers in form of Python modules. It has been built upon the original port of Stackless Python 2.5 port to Nintendo DS by Richard Tew. It has been updated by Liu Zhenhai to build with the latest version of the toolchain.

Some sections of libnds have been wrapped, including framebuffer access, touchscreen reading, console emulation, irq handling and 3D functions.

Installation

Download contains the complete environment required to run Python programs on the Nintendo DS:

Unpack dspyenv.zip, copy both NDSPython.nds and the python/ directory to the root of your homebrew storage.

Start your Nintendo DS and run NDSPython.nds: the file main.py located in the python/ directory will be automatically launched.

To run example scripts (in the nitrofiles folder), just save one of them as /python/main.py on your homebrew storage device, and exectue NDSPython.nds.

  • 3D drawing (3D, touchscreen reading) - main_3d.py
  • Paint (writing to framebuffer, touchscreen reading) - main_draw.py
  • Showpic (load binary as image, D-pad reading) - main_showpic.py
  • Stopwatch (timer handling) - main_stopwatch.py
  • Crush (simple game using 3D and touchscreen) - main_crush.py

Screenshots

dspython3.pngdspython2.png

Known issues

Can only run one script for each setup (see issues).

Credits

Richard Tew did the original work of porting Stackless Python 2.5 on Nintendo DS; this project is a continuation of his work. Please see README.old for a list of the original credits.

Greg Ewing is the author of Pyrex, the extension language on which dspython bases its libnds wrapper.

External links

Advertising: