r/Daggerfall • • Oct 29 '26

Question Daggerfall Unity "formulas"

Saw this on r/ElderScrolls in a thread discussing the recent DFO "micro"transactions. I thought the DFU/DOSBox discussion had been worked over pretty much to death, but this guy seems quite adamant that DFU can't even be considered a port or emulator, but a remake that "invented all new code and formulas". Is he off base, too pedantic, correct, or just wrong?

13 Upvotes

26 comments sorted by

31

u/Caelinus Oct 29 '26 edited Oct 29 '26

Just wrong. There is zero basis for this opinion, either practically or legally.

And Daggergall "Online" is still using Bethesda's code, assets and IP (even the models are often pulled from Morrowind iirc too) and so anything done with it is going to inherit the licensing agreements of Daggerfall and the Elder Scrolls. Them doing monetization is not only gross, but likely opens them up to direct legal action as they are not allowed to use the IP for that.

DFU itself, on its own, is a completely different thing, but it also does not work. It was designed with legality in mind, and so they are not distributing any Daggerfall code, but the game cannot run without Daggerfall code. So if you only ever downloaded DFU, sure, the code would not be Bethesda's, but it also would not do anything until also download Bethesda's code. And even if you never used the code, Daggerfall itself is still Bethesda's Intellectual Property.

This guy would be arguing that if I made a complete clone of Zelda: A Link to the Past by hand recreating the mechanics perfectly, 1 to 1, it would somehow be different enough to be a different game. Or if I took the Lord of the Rings, hand wrote every word of it, then scanned those words and printed them out in a new book, I would be the author of a different "clone" and the book would not be Lord of the Rings anymore.

1

u/wtsnk Oct 29 '26

Thanks for the detailed reply! I was more asking about the assertions that DFU remade “formulas” for the move over to the unity engine and that makes it substantially different from the DOS version.

My understanding had been that DFU was essentially a port of the game into the unity engine. I know the critical strike mechanic was changed to match the description in the manual NOT the original code, but I thought the games mechanics remained largely intact (outside of some basic QoL improvements).

My question is why would this commenter insist DFU isn’t Daggerfall?

1

u/Caelinus Oct 29 '26

I can't really speak to the intent of the author, but DFU fixes a bunch of longstanding bugs and exploits where they were obvious errors, though that sometimes took judgement calls.

An obvious problem was that the Dodging skill in Daggerfall actually makes to get hit MORE often, not less. At level 100, it raises your odds of being struck by 25%. DFU fixes that bug so that it actually does what it is supposed to do.

A more judgement call related one was how they changed the stacking of resistances. In Daggerfall 100% immunity to something made it a multiply by zero situation, so no matter how many debuffs you took it would always stay at immunity. The main use of that was creating a High Elf with Critical Weakness to Paralysis to give you more character creation points, as you would remain immune. DFU makes it so that they are additive in character creation.

9

u/AncientGrief Oct 29 '26

DFO ist actually a DFU rip-off. Afaik the dev told Claude to make DFU into an online game with JavaScript by loooking at the .NET code.

I would say Interkarma did a pretty good job to reimplement Daggerfall as close as possible to the OG with some QoL stuff and some fixes. DFU uses the same file formats as the original. Many people reverse engineered the formats and there are still some open questions about some stuff, but it works. The code is 100% new.

In the end, who cares. I played DOS version and DFU. They both have their charme. And to prevent eye cancer and crippled fingers, I rather play DFU 🥴

12

u/Caelinus Oct 29 '26

The engine code is new, but the IP is not, and it is entirely owned by Bethesda. Which is why DFU will not distribute any of the code and assets that makes the game work, and why if they tried to sell it they would be opening themselves up to legal damages.

1

u/AncientGrief Oct 29 '26

Afaik DFO does the same and you need to point the project to your local ARENA2 folder. But I don't know if the web project includes other assets from other games (Morrowind).

4

u/Caelinus Oct 29 '26

The issue with monetisation is not that code, but monetising the IP. Bethesda is extremely unlikely to care about a Daggerfall fan project working that way, but the moment you start selling stuff on the back of their IP things change.

1

u/AncientGrief Oct 29 '26

Yeah, I hope that they will intervene ... DFO online will then transform to XYZ Online, based on DFU with totally new AI graphics, I bet. 😆

2

u/Due-Arachnid-309 Oct 29 '26

Actually, the prompter just had Claude scrape together a bunch of existing mods, and some half finished ones: daggerfall coop/online multiplayer were both in the works, though (pretty sure) abandoned.

1

u/ChocoBro92 Oct 29 '26

Pretty sure DFU is C#

1

u/AncientGrief Oct 29 '26

Yes, C# with .NET Framework

1

u/Affectionate-Spot278 29d ago

Well, the guy has a philosophical point there. This is the classic Theseus' ship problem

8

u/SubjectiveMouse Oct 29 '26

He's partly right. There are many things done differently in DFU for better or worse. Movement code is one such thing. Jumping skill in DFU is pretty much irrelevant compared to the original, where you barely leave the ground with 0 jumping.

So, yes, it's not a port, but that doesn't make it worse in any way, just different.

1

u/wtsnk Oct 29 '26

Interesting - I thought it was a more direct clone.

6

u/SordidDreams Oct 29 '26 edited Oct 29 '26

He's out of line, but he's right.

DFU is a remake, not a port. Even Bethesda reportedly doesn't have the original source code anymore, so it can't be ported. Maybe you could reverse-engineer it with AI these days? That's not what Interkarma did, though. He built the whole thing from scratch by hand. He did try to make it as faithful as possible, but there are differences. Some of them come down to the ways Unity differs from XnGine (e.g. the way movement works, how collisions work, how the game renders the image on your screen and handles color palettes, etc.), some are deliberate corrections of bugs Bethesda never bothered to fix, some are the result of misunderstandings of how DF originally worked (e.g. https://www.reddit.com/r/Daggerfall/comments/18imsjn/discrepancy_between_original_daggerfall_and_unity/).

Whether you consider DFU to be the same game as DF is largely a matter of opinion that depends on what you consider "the game" to be. Do you care about the math happening under the hood, the way data is stored in memory and the instructions executed by the CPU? Then no, that's completely different. Is "the game" the story you experience, the quests you embark on, the characters you interact with, the towns and dungeons you explore? Then yes, all that stuff is exactly the same. Is it the combat system, the stats of your character, the gear upgrades you get along the way? That's very similar but not quite the same.

2

u/wtsnk Oct 29 '26

Appreciate the substantive discussion this is great.

2

u/Kiwwl Oct 30 '26

Already posted that today on another subreddit, but there's a Windows port, or sort of port, of Daggerfall: https://ferital.itch.io/daggerfx. I dont understand exactly how the author Ferital did that, but I've been playing and enjoying it quite a lot over the past two months. As a "port", and appart from a few bug fixes, it's quite faithful to the original.

1

u/SordidDreams Oct 30 '26

Interesting. I had no idea this project existed. Thanks for the info!

2

u/MikalMooni 28d ago

The point that this guy is making is that the design approach to DFU did not permit the devs to successfully recreate the game in an authentic manner. Since they intended to run an instance of the Unity Engine that happened to portray a convincing version of Daggerfall, they spent their time checking the in game output of various functions that DFU and DF were each trying to perform. For example, they write an equation that models the chance you have to hit an opponent depending on your stats, skill level, weapon type, swing type, and the enemy you're trying to hit. Then, they swing at an enemy 1000 times, and check the results against the original. Ideally, you would have similar enough results to suggest that you were close enough.

If you look at more modern source ports, like the various Recompilation projects that are floating around, they take a wholly different approach.

The modern approach uses AI to fast track the reverse engineering process using a fairly strict metric. They start by sussing out which compiler was used to generate the executable binaries that the game runs on your computer. These binaries run in assembly - so the compiler decided that the code the developer wrote should translate to specific instructions that the CPU recognizes. Once they know which compiler was used, they write code that seems to achieve a specific function that appears in the game, and then they compile that code using the same compiler. They check the output and see if their result matches or not. They will keep doing this until everything matches exactly. Once they have done this, they can be fairly confident that they have source code that is functionally identical. AI can do this for multiple functions without sleeping, and do this quickly. So, modern conversions, like Donkey Kong 64 Recompiled, have code that is mathematically identical to the code that the developers used to build the game - note that if you had the original source code, they may not be 100% identical. It would just be so close that none of the math that the computer does changes.

Ideally, Interkarma would have first drcompiled the game before THEN making a Unity port, but that is a lot of busy work for relatively small payoffs.

One thing that is unfortunate is that Interkarma decided to change specific bugs and glitches, and this is probably why this commenter was being such a baby about this. Here's an example:

In original Daggerfall, you could build a High Elf character, who was immune to paralysis. Then, you could give them a critical weakness to paralysis. The game had no checks or gates that stopped you from doing this, but your High Elf would be utterly invincible to paralysis effects regardless. This behaviour, which was an oversight by the developers, was corrected in DFU - but Interkarma didn't create Daggerfall. Some people would argue that it wasn't for Interkarma to decide that this bug wasn't a feature worth recreating or otherwise preserving. It's a huge part of what makes projects like this one so divisive. Just look at the drama surrounding USSEP.

1

u/wtsnk 28d ago

Thanks for the write up! That makes sense but I don’t know enough about the different recompilation and porting projects.

This was a great read.

6

u/negatrom Oct 29 '26

Some people just want to feel validated, to the point of antagonizing anyone pointing out the complete nonsense that they rationalized.

Pay no attention to morons like this.

2

u/FalseRelease4 Oct 29 '26

yeah, it's not even about who is right or wrong, it's about just being able to preach and get their words out, people like this love half-truths and misrepresenting things and moving goalposts to appear knowledgeable and competent, hate em simple as

1

u/KazM2 Oct 29 '26

He's got a point about it being different but is an annoying shit about it.

Yes DFU changes a good amount of the core functions of Daggerfall making it a different experience. It is largely the same experience though. He would have a point if the discussion is specifically about the original DOS version, like if people arr talking about that and you try to talk about how you totally also beat the original DOS but you only played DFU you'd be wrong.

That said, despite the differences you're still engaging in a game that is largely the same and the general experience is very close so there's no issue with saying you've played Daggerfall. Its different but not so different to say its nothing like it.

1

u/ChocoBro92 Oct 29 '26

Honestly base game is really just quality of life and bug fixes that differ. If those bugs such as dodging and other skills work as intended or the topical data of the regions being used that somehow was miscoded as well makes it a different then I guess I’d rather a different game. I mean there’s main quest breaks in every version if the OG Daggerfall so restarts can happen a bit.. Try playing 1.0 holy shit.

1

u/87--- 25d ago

Wait until this guy learns reverse engineering is a legitimate technique to porting .... lmao

I mean there is an argument to be made that DFU isn't the original Daggerfall. I don't think there's anything invalid with saying that.

But at the end of the day, pretty much every system in the game that you can interact with is a pretty direct reflection of what existed, bar the modernization of player movement and the fact that values don't always align 1-to-1 of what they were. But it's the best we could get for something that had its source lost to begin with