EnglishFrenchSpanish

OnWorks favicon

textpack - Online in the Cloud

Run textpack in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command textpack that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


textpack - Pack and unpack Flex files containing text

SYNOPSIS


textpack -c FLEXFILE [TEXTFILE]

textpack -x FLEXFILE [TEXTFILE]

DESCRIPTION


Text Flex files are used for the storage of strings by the games Exult supports. While
expack(1) can operate on such files, using textpack to pack and unpack them is more
comfortable.

The first parameter determines the mode of operation, -c stands for creation, -x for
extraction.

Creation
TEXTFILE (or stdin if it is missing) is read and must conform to the file format (see
below). FLEXFILE will be created containing the strings from this input.

Extraction
The strings contained in FLEXFILE are extracted and written to TEXTFILE (if given, stdout
otherwise) in the file format documented below.

File Format
Empty lines, and lines starting with a pound sign (#) are ignored. Other lines must begin
with a number, followed by a colon (:). The number is the index of the string and may be
given either in decimal, in octal prefixed with 0; or in hexadecimal prefixed with 0x.
Anything following the colon belongs to the string and gets stored in the Flex verbatim.
Lines are limited in length to 1024 characters.

EXAMPLES


textpack -x text.flx
Writes all the strings contained in text.flx to stdout in the format discussed
above.

textpack -c text.flx strings.list
Reads strings.list and puts its contents into the Flex file text.flx

Example text file
# An example
0:the zeroth string
# strings may be empty
1:
# holes are allowed, strings 2 to 16 will be empty
17:string seventeen
# 13 hexadecimal == 19 decimal, 24 octal == 20 decimal
0x13:nineteen
024:twenty
# numbers need not go up
18:eighteen
# this will overwrite the definition from above
19:overwritten

Use textpack online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 2
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 3
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 4
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 5
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 6
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • More »

Linux commands

Ad