LuaPerks

Lua Scripting ››
Parent Previous Next

LuaPerks


FCEUX has several extension libraries integrated that are not included in LUA normally, but can be called from the external modules. These modules were collected into a common library called LuaPerks and built into FCEUX. The included libraries are very powerful compared to standard EmuLua functionality. Their functions can be called without using require.



IUP library


IUP (Portable User Interface) is a multi-platform toolkit for building graphical user interfaces.


Usage example: creating custom dialogs.


http://www.tecgraf.puc-rio.br/iup/



IM library


IM is a toolkit for Digital Imaging. IM is based on 4 concepts: Image Representation, Storage, Processing and Capture. The main goal of the library is to provide a simple API and abstraction of images for scientific applications.


The most popular file formats are supported: TIFF, BMP, PNG, JPEG, GIF and AVI. Image representation includes scientific data types. About a hundred Image Processing operations are available.


Usage example: dumping level maps during playing.


http://www.tecgraf.puc-rio.br/im/



CD library


CD (Canvas Draw) is a platform-independent graphics library. It is implemented in several platforms using native graphics libraries: Microsoft Windows (GDI) and X-Windows (XLIB).


The library contains functions to support both vector and image applications, and the visualization surface can be either a window or a more abstract surface, such as Image, Clipboard, Metafile, PS, and so on.


Usage example: drawing hitboxes over level maps.


http://www.tecgraf.puc-rio.br/cd/



LuaSocket library


LuaSocket is a Lua extension library that is composed by two parts: a C core that provides support for the TCP and UDP transport layers, and a set of Lua modules that add support for the SMTP (sending e-mails), HTTP (WWW access) and FTP (uploading and downloading files) protocols and other functionality commonly needed by applications that deal with the Internet.


Usage examples: netplay, local data transmission.


http://w3.impa.br/~diego/software/luasocket/home.html



WinAPI library


This module provides some basic tools for working with Windows systems, finding out system resources, and gives you more control over process creation. In this introduction any plain reference is in the winapi table, so that find_window means winapi.find_window. Normally winapi works with the current Windows code page, but can be told to use UTF-8 with @{set_encoding}; interally string operations are in Unicode.


Usage example: making the emulator window jumping.


https://github.com/stevedonovan/winapi


Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator