Skip to content

Commit

Permalink
+show tiles in firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoberon committed Apr 20, 2024
1 parent 022ce6f commit 96eb166
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# Information

#
### testing images using old Firefox

- get [Firefox
1.5.0.9](https://ftp.mozilla.org/pub/firefox/releases/1.5.0.9/win32/en-GB/)
and install it in Wine
- copy NPLS32.DLL into plugins folder
- run Firefox and open [test
image](https://entropymine.com/samples/cod/fox.cod)

## Coordinate format

Expand Down
33 changes: 33 additions & 0 deletions _posts/2024-04-19-viewing-tiles-with-firefox.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Viewing tiles with Firefox
---

Knowing the offsets of (potential) tiles, we can pick one (56057877)
and extract the tile into a file:

```sh
./src/mp.py -c extract -o img/tile_56057878.cod --offset 56057877 dsatnord.mp
```

Then we get [Firefox
1.5.0.9](https://ftp.mozilla.org/pub/firefox/releases/1.5.0.9/win32/en-GB/)
and install it using (the 32 Bit version of) Wine. From
[sunset.se](ftp://ftp.sunet.se/mirror/archive/ftp.sunet.se/pub/pc/windows/winsock-indstate/Windows95/WWW-Browsers/Plug-In/)
we can download
[ls26.txt](ftp://ftp.sunet.se/mirror/archive/ftp.sunet.se/pub/pc/windows/winsock-indstate/Windows95/WWW-Browsers/Plug-In/ls26.txt)
and
[ls26.exe](ftp://ftp.sunet.se/mirror/archive/ftp.sunet.se/pub/pc/windows/winsock-indstate/Windows95/WWW-Browsers/Plug-In/ls26.txt)
and run the latter with Wine. This results in a couple of files of
which only `NPLS32.DLL` is relevant for us. As described in
`ls26.txt`, we "Simply place this file in the plug-ins directory of
[our] 32-bit Netscape." For Firefox running in Wine this is
`~/.wine/drive_c/Program Files/Mozilla Firefox/plugins/`.

Now we can run Firefox using Wine and open a [test
image](https://entropymine.com/samples/cod/fox.cod). It should show
two white foxes. Opening the extracted tile should show a proper DSat
satelite image as follows:

![](/img/screenshot_firefox_plugin.png)

It works! :-)
Binary file added img/screenshot_firefox_plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 96eb166

Please sign in to comment.