#1 2026-09-28 07:45:02

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Linux Chrome 149.0

Battlefield 1942 game play recorder

bfstats | BF1942 replay is a web page where you can play a recording of a BF1942 round. I created it to see whether it would be possible to capture game events while playing and store them in a file. Turns out you can, with a little help from SiMPLE Forum - Battlefield 1942 Plus.

Here are a couple of recordings I took, it lets you roam the map, go FPV on other players and jump between skirmishes.
- Bocage
- Midway

If you are game and want to try it, you just need to turn on recording and watch it back. Post here what didn't work and send me your recording.

For those who are keen it's best if you know your way around dsound.dll and know how to install it
- Download BF42++ dsound.dll from here, https://github.com/sila-skandia/bf42plu … und-replay, it's the usual BF42++ with the round recording added to it
- Join a game like normal, in the console type `plus.recordReplays 1` and play like normal
- when you're done go over to bfstats | BF1942 replay and select the recording under `Battlefield 1942\replays` folder (file will end in .ndjson)

Let me know what you think!!

Last edited by skandia (2026-09-28 23:52:01)

Offline

    Positive reputation 3   Negative reputation 0

#2 2026-09-28 21:45:28

ziba128
Member
Reputation: +505
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,307
Website
Windows 10 Chrome 154.0

Re: Battlefield 1942 game play recorder

What the hell, this is absolutely wild?! I can't even believe I just watched a BF1942 round recording interactively through my phone browser, wtf...
This is the craziest thing for BF1942 I've ever seen, lol. I'm just amazed.
Would you mind giving a hint on how it works? Did you replicate the game's 3D engine including animations? Does it have its own physics to show interactions and collisions properly? How does the client capture everything happening on the map with such precision?

Offline

    Positive reputation 2   Negative reputation 0

#3 2026-09-29 00:06:48

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Linux Chrome 152.0

Re: Battlefield 1942 game play recorder

I need to write up the whole project for those interested, but I will tldr; what is involved:

- You are viewing a BF1942 implementation in JavaScript to make it work in the browser. So things like physics, ballistics and all the game mechanics were converted to JS.
- The models, maps, kits, poses, animations are extracted out of the game rfa archives, same with the sound files, their .con files  and so on.

You can actually play single-player with bots, which are just as dumb as the ones in the real game.

With the game engine in place, I needed a way to capture the game data while you're playing. Because we already have BF42+ it was hooking BF1942.exe and already doing this. I just added in capture for every possible event sent by the server. Because the Linux server binary was compiled with full debug symbols you can actually see the method names and data types to reverse engineer them. So that's what BF42++ is doing, and converting them to a JSON format I store.

Then the idea was to combine these recordings with my JS implementation and it worked surprisingly well.

Offline

    Positive reputation 1   Negative reputation 0

#4 2026-09-29 12:38:40

MONTAG
Player
Reputation: +147
Registered: 2022-03-16
Posts: 99
Android Chrome 152.0

Re: Battlefield 1942 game play recorder

Holy shhhhhh
This is madness! yikes
Well done!

Offline

    Positive reputation 0   Negative reputation 0

#5 2026-09-29 13:56:14

MONTAG
Player
Reputation: +147
Registered: 2022-03-16
Posts: 99
Windows 10 Chrome 153.0

Re: Battlefield 1942 game play recorder

I have a question tho. When following different players (especially ones flying planes) they were sometimes flagged as "out of range", their models frozen. Does it mean their animations weren't recorded since the one recording the game (you, in this case) was so far from them at that point that their models weren't rendered from your POV?

Offline

    Positive reputation 0   Negative reputation 0

#6 2026-09-29 15:59:24

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Unknown Firefox 156.0

Re: Battlefield 1942 game play recorder

Spot on. It can merge multiple recordings together so the more people recording their games and uploading them will increase coverage.

Offline

    Positive reputation 1   Negative reputation 0

#7 2026-09-29 19:04:39

ziba128
Member
Reputation: +505
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,307
Website
Android Opera 101.0

Re: Battlefield 1942 game play recorder

skandia wrote:

- You are viewing a BF1942 implementation in JavaScript to make it work in the browser. So things like physics, ballistics and all the game mechanics were converted to JS.

Ok, this is crazier than I thought. Does that mean you have somehow fully decompiled the game executable and now have its code?

Offline

    Positive reputation 0   Negative reputation 0

#8 2026-09-29 22:26:52

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Unknown Firefox 156.0

Re: Battlefield 1942 game play recorder

Yeah, here's the code if you're interested under the tools folder github.com/sila-skandia/bfstats/

Offline

    Positive reputation 1   Negative reputation 0

#9 2026-10-02 03:23:54

tragic
Administrator
United States
Reputation: +103
Registered: 2022-09-11
Posts: 103
Windows 10 Chrome 154.0

Re: Battlefield 1942 game play recorder

The players had a gentleman's agreement tonight for only Zook & Knives. I was able to record most of the round using Skandia's new recorder. We had a lot of fun. I love the first person perspective that's available for all players as well.

https://play.bfstats.io/map.html?mod=bf … 2ad.ndjson

Offline

    Positive reputation 2   Negative reputation 0

#10 2026-10-02 16:46:14

Lecter
Where´s Clarice?
Portugal
Reputation: +464
Location: Lisbon, Portugal
Registered: 2013-10-12
Posts: 1,142
Windows 10 Firefox 157.0

Re: Battlefield 1942 game play recorder

tragic wrote:

The players had a gentleman's agreement tonight for only Zook & Knives. I was able to record most of the round using Skandia's new recorder. We had a lot of fun. I love the first person perspective that's available for all players as well.

https://play.bfstats.io/map.html?mod=bf … 2ad.ndjson


This is crazy! Thanks for recording it Tragic, had a blast, really needed that almost 2 hours classic bf fun! Knives and zooks only, stalin and berlin!

Offline

    Positive reputation 1   Negative reputation 0

#11 2026-10-02 17:07:46

chief_hemp
Player
Switzerland
Reputation: +8
Registered: 2013-09-18
Posts: 38
Linux Firefox 157.0

Re: Battlefield 1942 game play recorder

well done - just crazy what is possible. on par with adding multiplayer feature to another old game that was originally just single player. im looking at you morrowind.

sadly it takes a discord account to upload recorded map round. not everybody is fond of that. maybe add some other method to it - like simple login perhaps?

Offline

    Positive reputation 0   Negative reputation 0

#12 2026-10-02 23:08:09

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Unknown Firefox 156.0

Re: Battlefield 1942 game play recorder

Love the zook only round, now you can name and shame the players roaming around using their machine gun smile

Chief, about the login I was using Discord because I thought it was convenient but a few people have expressed that same concern to me. I can add a new login option using username and password.

Offline

    Positive reputation 0   Negative reputation 0

#13 Yesterday 05:50:08

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Linux Chrome 152.0

Re: Battlefield 1942 game play recorder

User name and password login option has been added - no email required

Offline

    Positive reputation 0   Negative reputation 0

#14 Yesterday 07:51:54

chief_hemp
Player
Switzerland
Reputation: +8
Registered: 2013-09-18
Posts: 38
Linux Firefox 157.0

Re: Battlefield 1942 game play recorder

Great - thank you.

I've noticed some stutter while recording. first barley noticeable then it gears up to heavy stutters and fps drops to 12 for a short period of time - buffer flushing or so.  it may be related to wayland/plasma/kwin//nvidia/wine or something.

Offline

    Positive reputation 0   Negative reputation 0

#15 Yesterday 10:05:18

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Linux Firefox 155.0

Re: Battlefield 1942 game play recorder

My testing so far has been through Wine as well, the recording is writing server events send to BF1942.exe into a file under Battlefield 1942\replays, so it would hopefully only effect IO not frame rate.

Could you try flipping plus.recordReplays 0 to see if that instantly improves?

Offline

    Positive reputation 0   Negative reputation 0

#16 Yesterday 14:57:06

chief_hemp
Player
Switzerland
Reputation: +8
Registered: 2013-09-18
Posts: 38
Linux Firefox 157.0

Re: Battlefield 1942 game play recorder

sitting on a manjaro stable installation here - i guess its down to an unholy combination of qt 6.11.X and plasma 6.7.X and some wayland quirks. we will see how it goes after the next stable update.

Offline

    Positive reputation 0   Negative reputation 0

#17 Yesterday 23:26:29

skandia
Member
Reputation: +44
Registered: 2025-08-14
Posts: 28
Linux Chrome 152.0

Re: Battlefield 1942 game play recorder

Hey thanks for giving it a go.  I haven't played Coral on Simple before, but are they spawning a second carrier next to the usual one? In the recording the deck used to spawn the mustangs is not showing.

Offline

    Positive reputation 0   Negative reputation 0

Board footer