Programs for converting *.3SH files from Stunts (1990)


     1. 3sh2txt
     2. stconv


1. 3sh2txt

File 3sh2txt.bas - program written in FreeBASIC for converting *.3SH files from
Stunts into text files - author LuCas Pedrosa - https://raceforkicks.com/

3SH2TXT.EXE - executable file for DOS / DOSBox.

So you can open DOSBox, enter directory 3sh2txt and type:

3SH2TXT.EXE ST789D.3SH >> car.txt

Exit DOSBox and edit the resulting CAR.TXT file as follows:

Delete first line, with "streamlength".

Replace "type 12" with "type 6" and "type 11" with "type 2".


2. stconv

Then compile program stconv:

gcc stconv.c -o stconv -lm -Wall -W

Type:

./stconv CAR.TXT

The resulting files car0.geo and car0.col (already provided) contain the data
of the 3D model, which can be viewed with program view3d or simple3d from here,
details inside:

https://sourceforge.net/projects/simple3d/files/SDL_grf/

With some adjustments, any such 3D model stored in a *.3SH file can be used in
my games, of course:

https://matei.one
