HSP : Hot Soup Processor ver3.6 / onion software 1997-2021(c)

Title

List of extension plug-in modules

  1. Introduction
  2. Extension plugin
    1. HSPEXT.DLL
    2. HSPINET.DLL
    3. HGIMG3.hrt
    4. HSP3Dish
    5. HGIMG4.hrt
    6. OBAQ.DLL
    7. HSPCV.DLL
    8. HSPDB.DLL
    9. HSPDA.DLL
    10. HSPCMP.DLL
    11. HSP3IMP.DLL
    12. HSPOGG.DLL
    13. HSPSOCK.DLL
    14. HSPUSBIO.DLL
    15. HSP3IMP.DLL
    16. HSPPRINT.DLL
    17. HSPSW.DLL
    18. HSPMUCOM.DLL
    19. ZLibWrap.dll
  3. Module
    1. d3module
    2. Artlet2D
    3. HSP3DISH.hrt
    4. SQLele
    5. hsp3util.as
    6. hsp261cmp.as
    7. form_decode.as
    8. mod_getenv.as
    9. mod_img.as
    10. hspmath.as
    11. mod_fontdlg.as
    12. mod_aht.as
    13. mod_joystick.as
    14. mod_menu.as
    15. mod_picfont.as
    16. mod_rss.as
    17. mod_stbar.as
    18. modclbk3.hsp
    19. mod_dmxusb.as
    20. Win32 API definition
  4. Other extension plugins
  5. Extension plug-in specifications

Introduction

With HSP, it is possible to add functions in the form of extension plug-ins and modules. This makes it possible to perform processing that cannot be achieved with the HSP itself.

HSP extension plug-ins are standard files with DLL or HPI extensions. This file must be in the same directory as the HSP itself (HSP3.EXE) It will not be. Also, when creating an EXE file, you can put it in a PACKFILE to make one EXE file. can not. If you created an EXE file that uses the extension plug-in, Put the extension plugin in the same directory.

Modules are files for adding functionality like extension plugins, It is used by adding it to the source script. Unlike HSP extension plugins, modules are in the same directory as the EXE file You don't need to put the file.

The following extension plug-ins are included as standard. Please refer to the separate text for details on how to use each plugin.

Extension plugin

HSPEXT.DLL

Introduction of HSPEXT.DLL
Extension plugin HSPEXT.DLL --- Author: Onitama Author's page

An extension plug-in that supports a wide range of non-standard functions. By using this extension DLL, more than 40 new instructions have been added. Registry operations, simple mathematical functions, serial communication, extended image operations, Many functions such as extended file access can be controlled from HSP.

Furthermore, by installing application capture instructions, applications other than HSP can be used. You will be able to control it.

These instructions are for tools and utilities that cannot be realized by HSP alone. There are many things that are useful for creating, and it enables more advanced application development.

For details, refer to the separate document " hspext.txt ".

HSPINET.DLL

Introduction of HSPINET.DLL
Extension plugin HSPINET.DLL --- Author: Onitama Author's page

A plugin for internet access. You can easily access the http and ftp servers.

Not only can you get the data on the specified page, but you can also access it via a proxy server. There are many options such as getting the update date and time. When connecting via ftp, you can perform detailed operations from the directory list to sending the ftp command. In addition, it is equipped with instructions to acquire the CRC42 and MD5 values ​​of the file.

For details, refer to the separate document " hspinet.txt ".

HGIMG3.hrt

Introduction of HGIMG3.hrt
Extended Runtime HGIMG3.hrt --- Author: Onitama Author's page

A runtime with high-performance 2D / 3D image processing functions. This is a DirectX-only function that supports 2D / 3D graphic display.

Wide range from 2D games using sprites to full-scale software using 3D models You can use it. The main functions added by HSP3HG.hrt are as follows.

  • DirectX, advanced drawing system for full color mode
  • Drawing engine that can set 2D sprites, 3D polygons, etc. with common commands
  • 2D sprite rotation enlargement / reduction, α composition, transparent color removal processing, tiling (BG display)
  • World management that can mix 2D sprites and 3D polygons on 3D coordinates
  • Polygon model with 3D hierarchical structure can be managed
  • Animation display of 3D one-skin model using bones is possible
  • Animation-like rendering (toon shading) display is possible
  • BMP, JPG, GIF, PNG, DDS, TGA, TIFF format texture support
  • Japanese font texture rendering function including antialiasing
  • Support for texture images with alpha channel
  • Sprite display, movement management and collision detection
  • HSP3 compatible floating point geometry calculation
  • Event list registration function enables highly flexible autonomous processing
  • Equipped with easy-to-use direct drawing commands
  • Equipped with sound functions including stream playback

For details, refer to the separate document " hgimg3.txt ". This runtime is currently in development. Please use the successor HGIM G4.

hsp3dish.hrt

Introduction of HSP3 Dish
Extended Runtime hsp3dish.hrt --- Author: Onitama Author's page

It is a runtime equipped with high-speed 2D drawing function and sound function. It can be operated not only on Windows but also on android, iOS, Linux, RaspberryPi, html5 (WebGL) without modifying the source code.

It includes standard sprites compatible with HSPDX plug-ins, OBAQ plug-ins, and simple network communication functions, and can be widely used from 2D games to full-scale software. In addition, the HGIMG4 runtime with 3D capabilities includes all the functionality of HSP3Dish as a subset.

For details, refer to the separate document " hsp3dish_prog.htm ".

HGIMG4.hrt

Introduction of HGIMG4.hrt
Extended Runtime HGIMG4.hrt --- Author: Onitama Author's page

A runtime with high-performance 2D / 3D image processing functions. It is an OpenGL / DirectX 9 function that supports advanced 2D / 3D graphic display.

Wide range from 2D games using sprites to full-scale software using 3D models You can use it. The main functions added in HGIM G4 are as follows.

  • OpenGL / ES or DirectX 9 drawing, shader language support
  • Physics engine (Bullet) support integrated with scene management
  • FBX format model file reading, animation support
  • Supports multi-texture, bump map, heightmap, LOD
  • Font data (TTF) rendering support
  • Off-screen rendering and various post-effect support
  • Supports operation on iOS, Android, Linux, html5 (WebGL) as well as Windows
  • HSP and HSP3Dish same license terms, open source

For details, refer to the separate document " hgimg4.html ".

OBAQ.DLL

Introduction of OBAQ for HSP3
Extension plugin OBAQ for HSP3 --- Author: Zener Works, Inc./kuni/onitama Author's page

It is a plug-in that allows you to easily use the functions of the physics engine (OBAQ). By using OBAQ, it is possible to handle rigid body collisions and gravity simulations based on 2D. OBAQ specializes in 2D and has simple settings and instructions so that anyone can easily realize natural movements by physics. Think of it as a handy system for supporting games, demonstrations, etc., rather than highly accurate technical calculations.

OBAQ has a built-in sprite manager, which makes it easy to draw sprites using only standard functions. In addition, by managing the display coordinates by the user, it is possible to support display systems using DirectX, etc.

For details, refer to the separate document " obaq.txt ".

HSPCV.DLL

Introduction of HSPCV.DLL
Extension plugin HSPCV.DLL --- Author: Onitama Author's page

OpenCV It is a plug-in that can be used easily.

HSPCV allows you to handle advanced image processing and algorithms. Besides, reading and writing of various formats (PNG, JPEG, TIFF, etc.), and Movie (avi) file operations, reading capture devices such as USB cameras, etc. It provides many functions related to video. The main functions added by HSPCV.DLL are as follows.

  • Image of arbitrary size Image manipulation (copy, addition, subtraction, multiplication, etc.)
  • High quality image resizing, smoothing, rotating
  • Image Extraction, inversion, and color conversion by threshold from image
  • Loading and saving image files that support various formats
  • Image acquisition via capture device such as USB camera
  • avi Load and save video files
  • Image recognition such as face extraction
  • Template matching to extract areas close to any image

For details, refer to the separate document " hspcv.txt ".

HSPDB.DLL

Introduction of HSPDB.DLL
Extension plugin HSPDB.DLL --- Author: Onitama Author's page

A plugin for database access. To various databases via ODBC You will be able to access it. If there is a corresponding ODBC driver, Oracle, MS-SQL Server, dBase, Paradox, etc. You can access the database, control it with SQL, and pass data.

To use HSPDB, Windows has ODBC and compatible drivers Must be installed.

For details, refer to the separate document " hspdb.txt ".

HSPDA.DLL

Introduction of HSPDA.DLL
Extension plugin HSPDA.DLL --- Author: Onitama Author's page

It is a plug-in for various data access.

It is very useful when managing a large amount of character strings and numerical values ​​together. In particular, the sorting function for numbers and character strings can sort even a large amount of data in a short time. Also, write some or all of the variable data used in the source script to a file, It has a function to read. In addition, there are functions such as converting CSV format files to arrays and searching, generating real random numbers, etc. It is prepared.

For details, refer to the separate document " hspda.txt ".

HSPCMP.DLL

Introduction of HSPCMP.DLL
Extension plugin HSPCMP.DLL --- Author: Onitama Author's page

It is a plug-in with HSP system function.

HSP related functions (compile, execute, object creation, executable file creation) that the script editor has It is controllable. By controlling the system functions of HSP from HSP scripts, You can customize and batch process uniquely for each user. It also has a support function for AHT (extended template).

For details, refer to the separate document " hspcmp.txt ".

HSP3IMP.DLL

Introduction of HSP3IMP.DLL
Extension plugin HSP3IMP.DLL --- Author: Onitama Author's page

It is a plug-in with HSP runtime function.

Since the operation screen of HSP3IMP.DLL functions as a child window of the specified window, It is possible to use the screen of HSP3 in the same way as pasting parts. Also, not only for HSP, but also for applications written in general languages ​​such as C / C ++. HSP functions can be added.

For details, refer to the separate document " hsp3imp.txt ".

HSPOGG.DLL

Introduction of HSPOGG.DLL
Extension plugin HSPOGG.DLL --- Author: Onitama Author's page

It is a plug-in for sound playback that supports DirectSound.

It has the same functions as the sound function commands (dmm ~) that can be used with HGIM G3. When you do not use the 3D function but want to use only the sound function, It can be used when you want to combine it with other drawing plug-ins.

For details, refer to the separate document " hspogg.txt ".

HSPSOCK.DLL

Introduction of HSPSOCK.DLL
Extension plugin HSPSOCK.DLL --- Author: Onitama Author's page

It is a plug-in for TCP / IP socket communication.

By using this extension DLL, you can send and receive data via LAN or the Internet. It is now possible to create simple client / server software. For communication with other machines, for internet clients, It can be used in many situations such as online games.

For details, refer to the separate document " hspsock.txt ".

HSPUSBIO.DLL

Introduction of HSPUSBIO.DLL
Extension plugin HSPUSBIO.DLL Ver0.30 Author: K-K Author's page

It is a plug-in for using USB-IO from HSP.

USB-IO is Morphy Planning , Techno You can use the ones sold by Kit-san and Km2Net-san . By using this extension DLL, it is possible to control various hardware via USB-IO. You will be able to use it from simple tests to full-scale operation. There is also "mod_usbio.as" implemented as a module instead of a DLL. Here, the same function as HSPUSBIO.DLL is realized only by the module. Please use it properly as needed.

For details, refer to the separate document " hspusbio.txt ".

HSPPRINT.DLL

Introduction of HSPPRINT.DLL
Extension plugin HSPPRINT.DLL --- Author: Onitama Author's page

hspprint is a plug-in that enables image printing on printer devices connected to Windows. This extension DLL adds new instructions for printing. In order to use hspprint.dll, Windows 2000 or later system and valid You will need a printer device (local or network) with the driver installed. hspprint is a simple plugin for printing specified images. It does not support printing of characters using arbitrary fonts and printing of vector data. Please check the function of the plug-in before using it.

For details, refer to the separate document " hspprint.txt ".

HSPSW.DLL

Introduction of HSPSW.DLL
Extension plugin HSPSW.DLL --- Author: Onitama Author's page

Enables the Steam integration function of the STEAMWORKS SDK. By using HSPSW, acquisition / cancellation / reset of STEAM achievements, acquisition / setting of STEAM status value, etc. are supported.
These features are available on Steam-delivered software.

For details, refer to the separate document " hspsw.txt ".

HSPMUCOM.DLL

Introduction of HSPMUCOM.DLL
Extension plugin HSPMUCOM.DLL --- Author: Onitama Author's page

A tool called MUCOM88 (MUSIC LALF), an FM sound source driver that was running on NEC's PC-8801 series, can be run on Windows. MUCOM88 HSP MUCOM is a DLL that summarizes the functions of Windows. With HSPMUCOM, you have a wide range of control from scripting languages, from simple music playback to MML interpretation.

For details, refer to the separate document " hspmucom.txt ".

ZLibWrap.dll

Introduction of ZLibWrap.dll
Extension plugin ZLibWrap.dll --- Author: Onitama Author's page

It provides a simple compression / decompression function for zip files. It can be used with two simple instructions, Zip Compress and Zip Extract.

For details, please refer to the zipfile.as file and zipfile_test1.hsp and zipfile_test2.hsp in the sample folder.

Module

d3module

Introduction of d3module
Extension module d3module Ver1.66 Author: S.Programs Author's page

This module is for simple 3D display with HSP standard runtime.
Because it does not depend on DirectX or 3D accelerator, the same execution result can be obtained in many environments. It is very useful when you want to easily use a 3D display. Also, if you use d3module and HSPLet, you only need to know HSP. One of the benefits is that you can create 3D applets that run on your browser.

This module is made by Mr. S. Programs and is included in the HSP main unit. Opinions and impressions about the module are not onion software, but Please give us your feedback to S. Programs.

For details, refer to the separate document " d3module.txt ".

Artlet2D

Introduction to Artlet2D
Extension module Artlet2D Ver1.01 R3 Author: S.Programs Author's page

Artlet2D is a module for handling image data with alpha channel (transparency component) in HSP using GDI +. Apart from the HSP standard drawing commands, the following functions can be used.

  • Pixel format 32bit ARGB virtual image buffer
  • Mutual image copy between HSP screen and Artlet2D virtual image
  • Basic figures such as line segments, ellipses, and rectangles, free curve drawing function
  • Anti-aliased smooth edge drawing
  • color instruction with alpha value
  • Gradient brush, texture brush
  • Free pen width, various pen styles
  • Text display that can be automatically folded and aligned vertically and horizontally within a rectangular area
  • Smooth image enlargement / reduction copy
  • Transparency of specified color range, gamma adjustment, brightness adjustment by color matrix,
  • Copy mode such as translucent, sepia conversion
  • Change drawing position and rotation angle by coordinate conversion matrix
  • Reading and writing png files with alpha channel
  • This module is made by Mr. S. Programs and is included in the HSP main unit. Opinions and impressions about the module are not onion software, but Please give us your feedback to S. Programs.

    For details, refer to the separate document " Artlet2D.txt ".

    SQLele

    Introduction of SQLele
    Extension module SQLele Ver1.16 Author: S.Programs Author's page

    SQLele is a module for easy handling of SQLite with HSP.
    For example, media player file list, address book and calendar data, image processing software Undo / Redo management, character dialogue in the game, save data and high score. .. ..
    In order to manage the data inside such applications, I have used HSP to some extent with the experience of designing data structures and manipulating them with string manipulation instructions and memory manipulation instructions, and writing routines for sorting and extraction. I think most users have it.
    I think that it is enough for many apps in terms of function and performance, but if you want to efficiently develop apps that handle complex data, why not try using a free SQL database engine called SQLite?
    With SQLite, you only need to add one DLL to your HSP app to use the SQL database in your application. There is no need to install a DB server or configure ODBC settings.

    This module is made by Mr. S. Programs and is included in the HSP main unit. Opinions and impressions about the module are not onion software, but Please give us your feedback to S. Programs.

    For details, refer to the separate document " SQLele.txt ".

    hsp3util.as

    Introduction of hsp3util.as
    Extension module hsp3util.as --- Author: Onitama Author's page

    Convenient instructions for use with HSP3 are defined. Text command, emes command, etc. that display and modify character strings character by character Gettimestr, getdatestr command, to get the date and time as a string A bmppalette instruction is added to retrieve the palette of BMP files. It is also equipped with instructions for converting between arrays and multi-line strings.

    For details, refer to the module source script and instruction help.

    hsp261cmp.as

    Introduction of hsp261cmp.as
    Extension module hsp261cmp.as Ver3.0 Author: Onitama Author's page

    Defines an HSP2.61 compatible instruction set. Only the description close to HSP2.61 is possible, and some instructions and operations are Please note that it will not be fully compatible.

    For details, refer to the module source script and instruction help.

    form_decode.as

    Introduction of form_decode.as
    Extension module form_decode.as --- Author: Onitama Author's page

    A form_decode instruction is added to restore the URL encoding sent by cgi to the original string. This is a convenient module when creating cgi using HSPCL.

    For details, refer to the module source script and instruction help.

    mod_getenv.as

    Introduction of mod_getenv.as
    Extension module mod_getenv.as --- Author: Onitama Author's page

    A getenv instruction is added to get the value of the environment variable into the variable. It can be used when you want to refer to the environment variables at runtime with cgi etc.

    For details, refer to the module source script and instruction help.

    mod_img.as

    Introduction of mod_img.as
    Extension module mod_img.as --- Author: Onitama Author's page

    An imgload command for loading images is added. It can read BMP, JPEG, GIF, ICO and PNG formats. (However, please note that reading from packfile is not supported)

    For details, refer to the module source script and instruction help.

    hspmath.as

    Introduction of hspmath.as
    Extension module hspmath.as --- Author: Onitama Author's page

    Constants and macros for performing advanced mathematical calculations are defined. Constants such as pi and functions such as radian-degree interconversion are added.

    For details, refer to the module source script and instruction help.

    mod_fontdlg.as

    Introduction of mod_fontdlg.as
    Extension module mod_fontdlg.as --- Author: Onitama Author's page

    This module is not supported by default to display the font selection dialog. You can easily call the common dialog for font selection.

    See the module source script for more information.

    mod_aht.as

    Introduction of mod_aht.as
    Extension module mod_aht.as --- Author: Onitama Author's page

    This module is for parsing and supporting the AHT description of scripts. It is used to implement functions such as Peas editor and simple input.

    See the module source script for more information.

    mod_joystick.as

    Introduction of mod_joystick.as
    Extension module mod_joystick.as --- Author: MIA Author's page

    It is a module to get the status of the joystick connected to Windows. The jstick instruction, which can detect the analog state and can obtain the value compatible with the joyGetPosEx and stick instruction, is added.

    For details, refer to the module source script and instruction help.

    mod_menu.as

    Introduction of mod_menu.as
    Extension module mod_menu.as --- Author: HSPWiKi Author's page

    It is a module to create a menu bar and support operations such as selection. You can use the basic functions of the menu bar supported by Windows.

    For details, refer to the module source script and instruction help.

    mod_picfont.as

    Introduction of mod_picfont.as
    Extension module mod_picfont.as --- Author: Onitama Author's page

    It is a module to have basic character fonts such as 0 to 9 and A to Z as images and display them. You can use it when you use your own character font. It also comes with a sample (mkfont.hsp) to convert existing fonts to images.

    For details, refer to the module source script and instruction help.

    mod_rss.as

    Introduction of mod_rss.as
    Extension module mod_rss.as --- Author: Onitama Author's page

    A module for reading RSS using an XML parser (MSXML). You can get RSS by directly specifying the network URL.

    For details, refer to the module source script and instruction help.

    mod_stbar.as

    Introduction of mod_stbar.as
    Extension module mod_stbar.as --- Author: Onitama Author's page

    A module for creating and configuring the status bar.

    See the module source script for more information.

    modclbk3.hsp

    Introduction of modclbk3.hsp
    Extension module modclbk3.hsp --- Author: tds12 Author's page

    It is a module that can define the callback function used in API call on HSP.

    For more information, see Module source scripts and samples.

    mod_dmxusb.as

    Introduction of mod_dmxusb.as
    Extension module mod_dmxusb.as --- Author: Onitama Author's page

    Controls DMX devices such as ENTTEC DMX US PRO connected via USB. See the module source script for more information.

    Win32 API definition

    Introduction of Win32 API definition
    Extension module Win32 API definition --- Author: sakura / Onitama Author's page

    Win32 API call definition file. By importing this file with the #include instruction, you can call system-defined functions.

    • advapi32.as advapi32.dll definition
    • comctl32.as comctl32.dll definition
    • comdlg32.as comdlg32.dll definition
    • gdi32.as gdi32.dll definition
    • kernel32.as kernel32.dll definition
    • shell32.as shell32.dll definition
    • user32.as user32.dll definition
    • winmm.as winmm.dll definition

    For details, refer to the module source script and Win32 API help.

    Other extension plugins

    The specifications of the HSP extension plug-in are open to the public, and the users created it. There are many plugins. Many plug-ins that greatly expand the possibilities of HSP are also introduced on the HSP official homepage.

    Introduction of extension plug-in tools (HSPTV!)

    https://hsp.tv/make/tool.html

    Extension plug-in specifications

    For detailed specifications for creating HSP extension plug-ins, please refer to the HSP Development Kit (HSPSDK) folder.

    ONION software