Page 31 of 43

Re: Elder-scrolls IV Oblivion

Posted: 26 Mar 2019, 23:22
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.

Re: Elder-scrolls IV Oblivion

Posted: 27 Mar 2019, 00:24
by AnyOldName3
Elmister is pretty active on Discord, and can be pinged on the OpenMW server, so he should be able to answer questions.

Re: Elder-scrolls IV Oblivion

Posted: 27 Mar 2019, 07:01
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".

Re: Elder-scrolls IV Oblivion

Posted: 27 Mar 2019, 07:22
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.

Re: Elder-scrolls IV Oblivion

Posted: 27 Mar 2019, 20:28
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.

Re: Elder-scrolls IV Oblivion

Posted: 15 Jun 2019, 06:41
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.

Re: Elder-scrolls IV Oblivion

Posted: 24 Jul 2019, 06:23
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!

Re: Elder-scrolls IV Oblivion

Posted: 24 Jul 2019, 12:31
by psi29a
OpenMW will never be done, it's FOSS. It'll just grow. The plan is that OpenMW supports other TES/FO games.

Re: Elder-scrolls IV Oblivion

Posted: 26 Aug 2019, 22:52
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.

Re: Elder-scrolls IV Oblivion

Posted: 26 Aug 2019, 23:23
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.