I tried to dissasemble Dune2.exe to get its map seed generator.
I converted about 1000 ASM lines to Pascal, then MrFlibble, posted C++ code which already does most things (see his posts below). So I took the C++ code and FINISHED IT.
* Generating spice fields
* Fixed tiles converting via "ICON.MAP"
SEED2MAP.exe <seed> <name>
The generator creates map using <seed>, prints the map on standard output and then creates binary file <name> with indexes of tiles in the file "icon.icn".
Source code included.
This means now we have FULL map generator which is exactly same as in Dune2.
No more "seed revealing" or "savegame map extracting", this code generates whole map from one seed number.