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.
OpenMW support for other games: Oblivion, Skyrim, Fallout and more
- AnyOldName3
- Posts: 2674
- Joined: 26 Nov 2015, 03:25
Re: Elder-scrolls IV Oblivion
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
Hmm... compare ROAD chunks. My is here: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.
https://github.com/anahuj/esptools/blob ... fer_road.c
Line 4688 in "wbDefinitionsTES4.pas".
- AnyOldName3
- Posts: 2674
- Joined: 26 Nov 2015, 03:25
Re: Elder-scrolls IV Oblivion
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.
For anyone else wanting to take a look, https://github.com/ElminsterAU/xEdit/bl ... .pas#L4688 goes directly to the relevant xEdit code.
-
- Posts: 14
- Joined: 11 Jun 2019, 23:53
Re: Elder-scrolls IV Oblivion
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.
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.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".
Re: Elder-scrolls IV Oblivion
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!
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Elder-scrolls IV Oblivion
OpenMW will never be done, it's FOSS. It'll just grow. The plan is that OpenMW supports other TES/FO games.
- Capostrophic
- Posts: 794
- Joined: 22 Feb 2016, 20:32
Re: Elder-scrolls IV Oblivion
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.
May have broken it in the last bunch of revisions, didn't test them yet. Still, fun times ahead.
Re: Elder-scrolls IV Oblivion
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.