-
Notifications
You must be signed in to change notification settings - Fork 1
/
prtbuild.txt
66 lines (53 loc) · 2.68 KB
/
prtbuild.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Super Pooh. Ñóïåð Âèííè-Ïóõ. v2.07
(c) FaMe SoftWare 1995-96
e-mail: bmv(a)mail.ru
official GitHub repository: https://github.com/D0NM/Vinnie
(c) -=CHE@TER=- 2022-2024
e-mail: _ctpax_(a)mail.ru
web: http://ctpax-cheater.losthost.org/htmldocs/pooh.htm
Source codes for Super Pooh port.
Compilation with EDITOR or DEMO macros not tested.
Some files missing (like mouse) - you can still find them in official repository.
Also original game source codes can be found here (without any fixes):
https://web.archive.org/web/20190804150759/http://famesoft.ru/SuperPoohSrc20120317021020.rar
To compile for DOS16 (realtime mode) you'll need the following files:
MOD-OBJ.OBJ - from official home page (archive "modobj.zip"): https://awe.com/mark/dev/modobj.html
FAMEGRAF.OBJ - generated from "FAMEGRAF.ASM" with "asmbuild.bat"
JOYSTICK.OBJ - generated from "JOYSTICK.ASM" with "asmbuild.bat"
JOY.C - joystick code
JOY.H - joystick code
KEYS.C - keyboard code
KEYS.H - keyboard code
FAMELIB.CPP - library game code
FAMEMISC.CPP - misc game code
POOH.CPP - main game code
ALL.H - additional header files
FAMEGRAF.H - additional header files
You can use Borland Turbo C version at least 3.0 to compile source codes (make a project with all these files).
Please not that if you replace MOD-OBJ.OBJ with MODOBJ-R.OBJ from registered version of modplayer code for PC Speaker patch will not work!
Also note that you need to set a "Large" model to compile source codes.
Do not forget to post-process final file:
C:\TC3\BIN\TDSTRIP.EXE POOHD.EXE
C:\UTILS\LZEXE.EXE POOHD.EXE
TDSTRIP.EXE - is a Borland Turbo Debugger Symbols Stripper
LZEXE.EXE - is an executable file packer (version 0.91)
To compile for Win32 (Windows x86) you'll need the following files:
modmusic/modmusic.c - music player code for "IN_SK00L.DLL" (archive "oldsk00l_last_beta.zip"): https://www.rift.dk/projects/oldsk00l/
modmusic/modmusic.h - music player code
modmusic/in2.h - Winamp2 input plugin header file
modmusic/out.h - Winamp2 output plugin header file
JOY.H - joystick code
KEYS.H - keyboard code
FAMELIB.c - library game code
FAMEMISC.c - misc game code
POOH.c - main game code
ALL.H - additional header files
FAMEGRAF.H - additional header files
famegraf.c - C code substitute for FAMEGRAF.ASM assembler code for DOS
platform.c - Windows routines
platform.h - Windows routines
setpoohw.c - very simply standalone setup tool for Windows
SETPOOH.CPP - updated code for setup tool for DOS
You may need to replace *.CPP extension with *.c ("c" lowercased) or you may get a "__gxx_personality_v0" error in GCC.
I use to compile GCC 3.2 (mingw special 20020817-1) from DEV-CPP distributive.
Use "winbuild.bat" to build both files "poohw.exe" and "setpoohw.exe" for Windows.