pmachapman / helpdeco Goto Github PK
View Code? Open in Web Editor NEWWinHelp Decompiler
License: GNU General Public License v3.0
WinHelp Decompiler
License: GNU General Public License v3.0
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?
Hi @pmachapman .
Maybe replace?:
Lines 19 to 38 in 198537c
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
The 64-bit build is buggy and broken for Visual Studio on Windows.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.