Coder Social home page Coder Social logo

helpdeco's People

Contributors

pabs3 avatar pmachapman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

helpdeco's Issues

Images don't display

Using the -r flag, the decompiler seems to generates these lines in places where the images are: {\field {\*\fldinst import bm0.bmp}}, but none of the RTF editors I tried (LibreOffice Writer, MS Word, Wordpad) show the images. (The bitmaps are exported correctly.) What editor should I use so they display correctly?

gcc / Makefile?

Hi @pmachapman .

Maybe replace?:

helpdeco/gcc/Makefile

Lines 19 to 38 in 198537c

prefix = /usr/local
distdir = helpdeco-2.1.4
vpath = ../src
files = \
compat.c compat.h \
helpdec1.c helpdeco.c helpdeco.h \
splitmrb.c zapres.c \
Makefile \
helpfile.txt NEWS README README.de ChangeLog
CFLAGS+=-Wall
build: helpdeco splitmrb zapres
helpdeco: helpdeco.o helpdec1.o compat.o
zapres: zapres.o compat.o
clean:
rm -f *.o helpdeco zapres splitmrb

to

prefix = /usr/local
distdir = helpdeco-2.1.4
vpath = ../src
files = \
        ../src/compat.c \
        ../src/compat.h \
        ../src/helpdec1.c \
        ../src/helpdeco.c \
        ../src/helpdeco.h \
        ../src/splitmrb.c \
        ../src/zapres.c \
        Makefile \
        ../helpfile.txt \
        ../NEWS \
        ../README \
        ../README.de \
        ../ChangeLog

CC=gcc
CFLAGS+=-Wall
LDFLAGS+=-s

all: build

build: helpdeco splitmrb zapres

helpdeco: ../src/helpdeco.o ../src/helpdec1.o ../src/compat.o
        $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)

splitmrb: ../src/splitmrb.o ../src/compat.o
        $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)

zapres: ../src/zapres.o ../src/compat.o
        $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)

clean:
        rm -f ../src/*.o helpdeco zapres splitmrb

Support for MVB files

It's an extension to the HLP format with an added emphasis on photo and video support, and it had its own viewer titled Multimedia Viewer. Running it currently through helpdeco doesn't work, and binary file rippers like Jaeder Naub extract media such as text into small fragments. There is some limited documentation at this page, and an example of a program that utilizes MVB can be found here.

Using in 2023

In light of there being no binary download that I can see, I tried building using gcc on macOS 12.6.6

$ cd gcc
$ make
gcc -Wall   -c -o ../src/helpdeco.o ../src/helpdeco.c
In file included from ../src/helpdeco.c:25:
../src/helpdeco.h:26:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~
1 error generated.
make: *** [../src/helpdeco.o] Error 1

I can resolve that with:

#if defined(__MACH__)
  #include <stdlib.h>
#else 
  #include <malloc.h>
#endif  

But further issues appear.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.