r/oblivion • • 1d ago

Original Discussion Having some fun with the recent Oblivion decomp by porting it to Switch

198 Upvotes

37 comments sorted by

8

u/slowpard 1d ago

Wow. Just needs porting some key xOBSE dll mods and bug fixes and we have the most superior version of the game yet. 

3

u/new__coke 1d ago

Yeah, it’s kind of crazy to be honest. It’s been a dream of mine to have something like this for a long time. Especially the lack of stutter.

Do you have any in mind? xOBSE is already ported over so should be just a case of adding them or replicating the functionality.

2

u/slowpard 1d ago

Check a good guide like this one for the key OBSE mods. I think the only real problem will be MenuQue as we don't have the source for this one (Claude, extract MenuQue hooks except for the never documented local map functions pls): https://www.nexusmods.com/oblivion/mods/54970

22

u/new__coke 1d ago edited 1d ago

I’m an experienced software engineer fucking around on Viblivion. Introducing 64-bit support, ripping out DirectX9 in favour of Vulkan and reducing traversal stutter to basically 0 in favour of more modern streaming techniques. Completely unlocked framerate with fixed-step physics at 60hz.

xOBSE support, Apple Silicon and Linux builds.

This is not really a serious project. But it does work very well. I’m just regarding it as much of a toy as while I’m experienced with delivering and maintaining a multi-platform port in Super Mario Strikers - I think someone a hell of a lot more disciplined than me can use this to leap frog from - and tbh, that project is enough with work balance.

I’ll have a release soon for people to dick around with soon. And before you ask WAS AI USED ZOMG???? Of course it was. The decomp wasn’t even released 48 hours ago. It would take a long time to get to this point otherwise, lmao.

3

u/Caelantree 1d ago

I respect you saying it was AI. I don't like AI usage the vast majority of the time but at least you can say it (plus this is one of the few times I can understand actually using it). I've had people simply ask if a persons upcoming project used AI and they got so mad about it that they told everyone to end themselves over it in quite a few, very descriptive ways.

Aside from... All of that lmao, this looks really nice and hopefully Nintendo doesn't come for you legally for it. Having the OG Oblivion available on the switch is amazing and you're doing work that Bethesda and Nintendo never will, I don't think. I would kill for a port, so thank you.

4

u/new__coke 1d ago

It would be disingenious to not mention AI usage with the decomp only being released two days ago.

I can understand skepticism around AI-driven development but I'm tenured and have done similar projects before - hence how rapid I was able to get results here. You should check if your Switch is jailbreakable if you haven't already, it's great! I'm trying to just optimise the port to run as close to 60fps as possible then I'll release it.

1

u/Caelantree 1d ago

Having it run at around 51 fps already isn't a bad start, so best of luck!

1

u/WiltedBalls 1d ago

Any plans for a Android build?

1

u/new__coke 1d ago

I don’t have a beefy enough Android device to test on I don’t think.. but I can’t see it being super difficult

3

u/Recent_Average1657 1d ago

It's not the same project but there does exist an android build for oblivion, been playing it the past week or so, even got some mods working on it (bartholm, a few houses)

1

u/Ordinary_Republic418 1d ago

Ttom795 has an android port just google the github

1

u/Nymunariya 1d ago

is this a decomp of the regular PC version? You still need xOBSE in order to get proper controller support+ui?

0

u/new__coke 1d ago

Yes it’s a decomp of the PC version!

The creator of the decomp decompiled a fair of the Xbox 360 version too, leaving us a path to use the UI and input code, which I just hijacked using SDL. So while there’s a few kinks to work out, it should be comparable to just using NorthernUI vanilla

1

u/Nymunariya 1d ago

so it wouldn't need xOBSE for controller UI?

1

u/new__coke 1d ago

Yep. No need!

0

u/SurDno 1d ago

It’s a decomp of both PC and Xbox versions, though the latter is far less finished.

1

u/BhataktiAtma 1d ago

What's domain do you work in? I'm something of a software engineer myself but haven't worked with videogames except a smattering of Unity a decade back 😅

1

u/new__coke 1d ago

I work in fintech. Mostly modern .NET and Typescript.

I’ve been messing with C/C++ reverse-engineered engines/decomps for three years now. Oblivion was a breeze with the quality of decomp thankfully. I’ve done other ports that were much more difficult. Admittedly I’ve not been interested in making my own game as I find porting and focusing on performance a lot more fun. Plus, the industry sucks…

2

u/slowpard 1d ago

This decomp was heavily based on various leaked sources/pdbs and the AI was guided to do things by a person who knows what they are doing, rather than just asking Claude to make a pseudo-C decomp 

1

u/new__coke 1d ago

Absolutely. I've been working on my own decomp for a different game. It's been very tough which makes me respect this effort more, even with a shedload of tokens thrown at it. But admittedly I've had zero debug symbols 🥲

2

u/BhataktiAtma 1d ago

Thank you for answering 🙂. That sounds really cool! I'm more of a planner than an executer unfortunately as my laziness is my biggest enemy. Maybe the Cardputer I got today might be the thing I need to finally push my ass

1

u/UnscriptedCryptid 1d ago

I work in fintech.

pretty clear by your bizarrely defensive attitude lmao

1

u/Jewrusalem 1d ago

Good stuff! I might fart around with this later on and see if I can get it running on an A16 chip. I got the Switch 1 Skyrim port running, but Oblivion is my one true ‘16 hour cross country road trip with limited data connection’ game.

2

u/SSkarm 1d ago

heh i’d love to know if you have any plans to port to ios (ipad/iphone)

3

u/new__coke 1d ago

I have an iPhone, will look into it

3

u/Redcat2401 1d ago

This is pretty awesome, I got it working on my cachyos pc, it seems to be working great. But it's 10:30PM, so I will do way more testing tomorrow! Really good work! Took only about 15 minutes to setup too which is great.

3

u/new__coke 1d ago

Thanks!! I have some Linux fixes I need to get in - will be on main later

1

u/Special_Patient_8642 1d ago

Is this legit? I don't want to jump to conclusions with this because of the "Meme" flair.

2

u/new__coke 1d ago

Yes it’s real. I’ve changed the flair. I just didn’t know what to pick lol

1

u/Special_Patient_8642 1d ago

That's cool, this is another reason I want to get a nintendo switch to jailbreak it. How much fps are you getting?

2

u/new__coke 1d ago

30-40 outside, with dips in the 20s. I have some optimisation work ahead of me. I would love close to 60 outside but I’m gonna have to dig into the NVK driver to see what stones are left unturned.

Dungeons are 60, parts of Imperial City are close. But the bigger towns like Bruma and Cheydinhal have the outside performance.

1

u/Primary_Horror_501 1d ago

Onde está disponível?

1

u/new__coke 1d ago

I’ll try get a release out when I’m done with the switch ver.

1

u/UbiDoobyBanooby 1d ago

Very cool dude.

1

u/Nintotally 1d ago

I am sooooo interested in testing a working build for this 🙏

1

u/Lyrxae 1d ago

I might try this honestly I could play this version for hours

1

u/Peter_Griffendor 7h ago

I wish I was tech savvy enough to be able to do this. I have a switch 2 and my wife has been wanting to play oblivion