✔️ NEW FEATURE: EF2000 Moving Map

Eggheads talking about bytes and stuff.
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

✔️ NEW FEATURE: EF2000 Moving Map

Post by Krishty »

EF2000 provides a moving map for Norway in the file IFF/256/norwmmap.lbm:

image.png
image.png (19.95 KiB) Viewed 2114 times

It does not require complex logic to display like TAW’s does. It is very much like the overview maps that I already implemented in the Ace Combat 3 extension. Should be quick and easy to implement.
  1. add the ILBM loader to the EF2000 extension;
  2. crop the map to 400×400;
  3. copy map logic from the Ace Combat 3 extension (possibly moving common functionality to the core?);
  4. ???
  5. PROFIT
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

@mikew do you know if there are overview maps for the abandoned levels from TFX (Angola, Korea, …) as well? I recall seeing something like this in an EF2000 data dump, but I don’t know the files names. Nor do I know if they use the same format.

Would be cool if we had overview maps for all of our EF2000 levels, not just for Norway.
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

I don't think so, but maybe they can be created from each set of level files.

EDIT: I'm pretty sure I've seen an .lbm for Iceland though.
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

608E8516.dat:
image.png
image.png (5.41 KiB) Viewed 2107 times

6A519215.dat:
image.png
image.png (3.53 KiB) Viewed 2107 times

7094FC24.dat
image.png
image.png (4.78 KiB) Viewed 2107 times

7A894338.dat must be Korea for sure:
image.png
image.png (5.27 KiB) Viewed 2107 times

There seems to be a ton more (dozens, really). You can search through them like this:
  1. Throw all EF2000 files into one folder, or search your extracted directory for *, thus displaying all in one window.
  2. Open one of the files with Lean Viewer. Lean Viewer will start to analyze all files from the Explorer window in the background.
  3. Use left and right arrow keys to jump between files. Lean Viewer will only jump to files it recognized, i.e. it will only open valid textures.
Maybe your reverse-hashing scripts find names if you hint them that strings like mmap, kor could be part of the name?
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

I hadn't actually seen the first post in this thread when I replied earlier, so missed some context.
It's been a while since I looked at the TFX2 dataset, so need to reacquaint myself with it.
Been travelling for a week, and while I took a PC and the files with me, haven't achieved that much. :(
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

Yeah, I only picked up this topic due to me fixing the F-22 in Norway bug. I saw that TAW provides moving maps, as does AC3 – but my EF2000 extension was the weirdo that had nothing to display 😅
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

I had a quick look at my EF2000 files and that last one above is indeed 'iff\256\korea.lbm' The one above it from Angola but I don't have its exact name.

These are TFX sized files, and in TFX, those pictures were used for various things like the moving map or mission planning. Here's a couple of pictures from the paper copy of my TFX manual.
tfx1.png
tfx1.png (681.36 KiB) Viewed 2095 times
tfx2.png
tfx2.png (1.02 MiB) Viewed 2095 times
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

mikew wrote: 2023-Mar-23, 16:34I had a quick look at my EF2000 files and that last one above is indeed 'iff\256\korea.lbm' The one above it from Angola but I don't have its exact name.
That’s of great help already. Thank you for the fantastic snapshots ❤️
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

Well, I could have made more effort to get them in focus, but the way the manual is bound makes that awkward to do without destroying it.
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

More names for possible campaigns:

Iraq as indicated by these ILBMs:
image.png
image.png (4.38 KiB) Viewed 272 times
image.png
image.png (21.11 KiB) Viewed 272 times

Regarding the names of moving maps (and more), there are a few files (could be .lev?) that help. E.g. 9249C74A:

Code: Select all

altitude
2400
0
clouds
inferno
day
l_cloudy
2000
libya_bl
2100
libya_bl
2500
libya_cl
3000
lib_clhi
10000
infared
libyamap
Together with similar files, it tells us the moving map name libyamap and the following possible color palettes:
  • libya_hi (high-altitude)
  • libya_tw (twilight)
  • lib_twhi (twilight high-altitude)
  • libya_cl (clouds)
  • lib_clhi (clouds high-altitude)
  • libya_bl (???)
  • nclear_l
  • nhi_liby
  • ncloud_l
  • nbl_liby
  • ncl_liby
  • nclhi_li
  • l_storm
  • libya_bl
For Angola, the map name should be angola. Palettes:
  • angola
  • ango_d (day)
  • ango_hi (high-altitude)
  • ango_tw (twilight)
  • ang_twhi (twilight, high-altitude)
  • ango_n (night)
  • ango_nhi (night, high-altitude)
  • ango_nc (night, cloudy)
  • ango_nbl (night, ???)
  • an_nclhi (night, cloudy, high-altitude)
The Atlantic map may or may not be the British oversea territory Tristan da Cunha, according to this unused texture:
image.png
image.png (28.78 KiB) Viewed 272 times
Its map name should be atlantic. Palettes:
  • atla_d (day)
  • atla_hi (high-altitude)
  • atla_n (night)
  • atla_nhi (night, high-altitude)
For Korea, the map name should be korea. Palettes:
  • korea
  • kore_d (day)
  • kore_hi (high-altitude)
  • kore_dc (day, cloudy)
  • kore_bl (???)
  • kore_cl (clear)
  • kor_clhi (clear, high)
  • kore_tw (twilight)
  • kor_twhi (twilight, high-altitude)
  • kore_n (night)
  • kore_nhi (night, high-altitude)
  • kore_nc (night, cloudy)
  • kore_nbl (night, ???)
  • kore_ncl (night, cloudy)
  • ko_nclhi (night, cloudy, high-altitude)
For Iceland, the map name should be swnorway (surprisingly). Palettes:
  • iceland
  • icel_d (day)
  • icel_hi (high-altitude)
  • icel_dc (day, cloudy)
  • icel_bl (???)
  • icel_cl (clouds)
  • ice_clhi (clouds, high-altitude)
  • icel_tw (twilight)
  • ice_twhi (twilight, high-altitude)
  • icel_n (night)
  • icel_nhi (night, high-altitude)
  • norw_n (night, this also goes under the newgame label instead of inferno)
  • icel_nc (night, cloudy)
  • icel_nbl (night, ???)
  • icel_ncl (night, clear)
  • ic_nclhi (night, clear, high-altitude)
For Faeroe, the map name should be faeroe. Palettes:
  • faeroe
  • faer_d (day)
  • faer_hi (high-altitude)
  • faer_dc (day, cloudy)
  • faer_bl (???)
  • faer_cl (clouds)
  • fae_clhi (clouds, high-altitude)
  • faer_tw (twilight)
  • fae_twhi (twilight, high-altitude)
  • faer_nc (night, cloudy)
  • faer_nbl (night, ???)
  • faer_ncl (night, cloudy)
  • fa_nclhi (night, cloudy, high-altitude)
  • faer_n (night)
  • faer_nhi (night, high-altitude)
That’s lots of palettes, and sadly I can only find a few of them under their name in colours/xxxxxxxx.col:
  • colours\an_nclhi.col
  • colours\ko_nclhi.col
  • colours\iceland.col
  • colours\icel_d.col
  • colours\icel_hi.col
  • colours\icel_dc.col
  • colours\icel_bl.col
  • colours\icel_cl.col
  • colours\ice_clhi.col
  • colours\icel_tw.col
  • colours\ice_twhi.col
  • colours\icel_n.col
  • colours\icel_nhi.col
  • colours\norw_n.col
  • colours\icel_nc.col
  • colours\icel_nbl.col
  • colours\icel_ncl.col
  • colours\ic_nclhi.col
But if I search did.dat for files with a size of exactly 768 B, that’ll give me almost 150 hits – with most of them indeed looking like palettes. I assume that there is ca. 120 palette files in there but we just don’t have their full path and extension.

Any idea how to find them?
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

Not more than what you're already doing.

TFX has a separate set of map files for each weather/TOD in the 'lev' folder, and the one you show seems to be libya_dc.txt.
Then you can take those palette names and look for them in the 'colours' folder.

Korea, Iceland etc came later of course, but seem to be along the same lines as TFX.
2024-02-16_23-38.png
2024-02-16_23-38.png (239.96 KiB) Viewed 267 times
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

mikew wrote: 2024-Feb-16, 22:52Then you can take those palette names and look for them in the 'colours' folder.

Korea, Iceland etc came later of course, but seem to be along the same lines as TFX.
2024-02-16_23-38.png
Wait, something is wrong here. How come you have colours/libya.col but I don’t?! All the palettes on the right are missing for me.

My SuperEF2000 did.dat is 40,484,862 bytes, SHA256 is d930779e0676685c00f278e08316536e1c556a53fadfa21f9aa6d3ae35a462b1

Also of note: I displayed Libya in 2016 with proper colors:
Image

But since 2017 I use the Norway color palette and I don’t know why I went back to do that. Time to dig into the git repostory …
Image
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

That's because I displayed the contents of TFX's did.dat.
While they put a fair amount of TFX's files (seemingly as filler) into TFX2's did.dat, it's not enough to recreate TFX.

Some months ago, I identified enough TFX files so that the game starts with an extracted set, but I can probably identify a lot more if I put some effort into it. Priorities...
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

mikew wrote: 2024-Feb-17, 09:19That's because I displayed the contents of TFX's did.dat.
Ooooooh yes makes sense!
mikew wrote: 2024-Feb-17, 09:19While they put a fair amount of TFX's files (seemingly as filler) into TFX2's did.dat, it's not enough to recreate TFX.
1. I feared that, but what’s the 140 palette files then? We have only identified 30 or 40 of them and using TFX’s names doesn’t work.

2. How about the EU did.dat that is 10 MiB larger? Have we ever decoded/extracted it? Is the additional size only from German/French translation?

————

Regarding TFXplorer displaying Libya vastly different between 2016-12-30 and 2017-09-09: That’s because the earlier version used the TAW palette on it, which is of course not contained in EF2000’s did.dat and hence was replaced with Norway’s.
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

Yes, the TFX1 .3 files don't specify the colour of flat terrain, so you added something in 2017 to fill in a background colour.
I can't remember if I'd converted the TFX files to a newer format so TFXplorer could load them.

The last time I looked at the larger did.dat from SuperEF2000 was from before we understood how the filename hashing worked, but it contains at least two TFX related .exe files.
I should take another look at it...
eeek2007.PNG
eeek2007.PNG (176.16 KiB) Viewed 247 times
January 2007!!!
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

Seeing executables in did.dat is tempting. So much to unpack there, literally!

I see seaworld in the right executable …

Okay, all I wanted was improve EF2000 compatibility by assigning the hidden levels their correct palettes and moving maps. We don’t know how to find the palette files, so I’ll pause this and work on more urgent things.
mikew
Data Genius
Posts: 558
Joined: 2022-Jan-09, 20:21

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by mikew »

TFX's seaworld is supposed to be South Georgia I think. That exe looks like it's a version of TFX as I can give it a parser file and it will play the DiD logo animation before freezing.

noname7605 is far more interesting as it looks like some sort of editor.
It exits immediately with "error: DID environment isnt ODYSSEY nor FWS" and I can't see if there's any switch I can set.
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

FWIW, here is a list of all palettes I could find in the SuperEF2000 did.dat.

Angola
  • colours/an_nclhi.col
Iceland
  • colours/iceland.col
  • colours/icel_bl.col
  • colours/icel_cl.col
  • colours/icel_d.col
  • colours/icel_nbl.col
  • colours/icel_nhi.col
  • colours/icel_tw.col
  • colours/ice_clhi.col
  • colours/ice_twhi.col
  • colours/ic_nclhi.col
Korea
  • colours/ko_nclhi.col
  • colours/ko_twhi.col
Norway
  • colours/norw_d.col
  • colours/norw_n.col
  • colours/pcd.col
  • colours/pct.col
  • colours/pcd_cd.col
  • colours/pcd_cr.col
  • colours/pcd_rn.col
  • colours/pcn.col
  • colours/pcn_cd.col
  • colours/pcn_cr.col
  • colours/pcn_rn.col
  • colours/pct_cd.col
  • colours/pct_cr.col
  • colours/pct_rn.col
  • colours/pd_cd.col
  • colours/pd_cd.pal
  • colours/pd_cr.col
  • colours/pd_cr.pal
  • colours/pd_rn.col
  • colours/pd_rn.pal
  • colours/pn_cd.col
  • colours/pn_cd.pal
  • colours/pn_cr.col
  • colours/pn_cr.pal
  • colours/pn_rn.col
  • colours/pn_rn.pal
  • colours/ptn_cr.col
  • colours/pt_cd.col
  • colours/pt_cd.pal
  • colours/pt_cr.col
  • colours/pt_cr.pal
  • colours/pt_rn.col
  • colours/pt_rn.pal
Unknown
  • colours/d_cr1.col
  • colours/d_cr2.col
  • colours/d_cr3.col
  • colours/fhl_bl.plt
  • colours/greyfade.plt
  • colours/pag_d.col
  • colours/pag_d.pal
  • colours/mix.col
  • colours/newpal.col
  • colours/newfade.col
  • colours/pit.col
  • colours/tmp.col
  • colours/day.col
  • colours/fws.col
  • colours/gui.col
  • colours/p_ev.col night vision
  • colours/p_mis.col night vision
  • colours/ian.col
  • colours/pal_dark.col
  • colours/palrobc.col
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

Test with iff/lbm/libya.lbm works well:
2024-03-10 Libya map.png
2024-03-10 Libya map.png (378.65 KiB) Viewed 129 times
I will try adding the other maps. Do we have a list of filenames under iff/lbm/?
User avatar
Krishty
Site Admin
Posts: 1270
Joined: 2022-Jan-09, 00:59

Re: 💡 OPEN FEATURE: EF2000 Moving Map

Post by Krishty »

I found maps for all but
  • Craig
  • NewWorld
  • Wales
  • Norway (the 200² tiles version)
Post Reply