OpenMW support for other games: Oblivion, Skyrim, Fallout and more

Feedback on past, current, and future development.
User avatar
cc9cii
Posts: 523
Joined: 28 Mar 2013, 04:01

Re: Elder-scrolls IV Oblivion

Post by cc9cii »

5000 line file in pascal is not going to be easy to decipher, but thanks for pointing out (I don't think I looked at any pascal code since uni, which was quite some time ago - brings back memories, along with fortran and lisp that I tried hard to forget)

Just to be clear - reading the ESM files down to sub-record level is straight-forward (since the file itself tells you the name & size of the record, sub-record, etc). Understanding what it is meant to represent is the difficult part. Hopefully there are some good comments in that code.
User avatar
AnyOldName3
Posts: 2668
Joined: 26 Nov 2015, 03:25

Re: Elder-scrolls IV Oblivion

Post by AnyOldName3 »

Elmister is pretty active on Discord, and can be pinged on the OpenMW server, so he should be able to answer questions.
anahuj
Posts: 31
Joined: 29 Dec 2013, 03:26

Re: Elder-scrolls IV Oblivion

Post by anahuj »

AnyOldName3 wrote: 26 Mar 2019, 18:53 In case you've not taken a look, I've chatted with Elminster and xEdit should have one of the most complete descriptions of the ESM formats for each game. Here's the Oblivion stuff, for example: https://github.com/ElminsterAU/xEdit/bl ... nsTES4.pas

It's highly likely that there's stuff here that isn't on the UESP and you haven't reverse engineered yourself yet.
Hmm... compare ROAD chunks. My is here:
https://github.com/anahuj/esptools/blob ... fer_road.c

Line 4688 in "wbDefinitionsTES4.pas".
anahuj
Posts: 31
Joined: 29 Dec 2013, 03:26

Re: Elder-scrolls IV Oblivion

Post by anahuj »

cc9cii wrote: 26 Mar 2019, 23:22 Understanding what it is meant to represent is the difficult part.
That is a good project plan. I have archived all of the official TES forums between 2006-2010 after I got Oblivion. Maybe something there about Oblivion.
User avatar
AnyOldName3
Posts: 2668
Joined: 26 Nov 2015, 03:25

Re: Elder-scrolls IV Oblivion

Post by AnyOldName3 »

I'll mention your code to Elminster. Maybe seeing that implementation is something useful to xEdit. It's also possible that they do know how the record works but that because "this can currently not be represented declaratively", it's not ended up in their implementation.

For anyone else wanting to take a look, https://github.com/ElminsterAU/xEdit/bl ... .pas#L4688 goes directly to the relevant xEdit code.
ponyrider0
Posts: 14
Joined: 11 Jun 2019, 23:53

Re: Elder-scrolls IV Oblivion

Post by ponyrider0 »

Hi, I know I'm a little late to the discussion since my fork (https://github.com/ponyrider0/openmw) was first mentioned on this thread. FYI, I've finally rewritten my fork's Readme with technical details so that other people can more easily figure out what exactly it is that I've been doing. Anyway, I've had a good amount of success with interpreting and implementing the TES4 records based on UESP and wbDefinitionsTES4.pas. So feel free to check out my implementation on some of the things you all might be missing.

anahuj wrote: 27 Mar 2019, 07:01 Hmm... compare ROAD chunks. My is here:
https://github.com/anahuj/esptools/blob ... fer_road.c

Line 4688 in "wbDefinitionsTES4.pas".
I read through your implementation and would agree with you. That's how I would interpret the wbDefinitionsTES4.pas, as well as how I would have implemented parsebuffer_road.c. I don't have a ROAD implementation, but you can check out my PGRP export function here: https://github.com/ponyrider0/openmw/bl ... d.cpp#L298.
trymeout
Posts: 9
Joined: 24 Jul 2019, 06:07

Re: Elder-scrolls IV Oblivion

Post by trymeout »

Once OpenMW is done, I would like to see an OpenOB project which would allow users to play Oblivion on other systems such as Linux!
User avatar
psi29a
Posts: 5356
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Elder-scrolls IV Oblivion

Post by psi29a »

OpenMW will never be done, it's FOSS. It'll just grow. The plan is that OpenMW supports other TES/FO games.
User avatar
Capostrophic
Posts: 794
Joined: 22 Feb 2016, 20:32

Re: Elder-scrolls IV Oblivion

Post by Capostrophic »

Working on extended NIF support just for fun, it's based on the upstream OpenMW. It can currently load and render severely stripped down Oblivion meshes (20.0.0.5) and probably not much else. Maybe Fallout 3/New Vegas if you strip down their meshes to Oblivion too.

May have broken it in the last bunch of revisions, didn't test them yet. Still, fun times ahead.
User avatar
TheMan
Posts: 5
Joined: 02 Apr 2018, 16:57

Re: Elder-scrolls IV Oblivion

Post by TheMan »

Great news Capostrophic, Have you been in contact with cc9cii regarding his implementation of the nif code? Last time he spoke he said he was going to release the code soon, and that was a few months ago.
Post Reply