Lord of the Rings: Fellowship of the Ring .sdu files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Puterboy1
veteran
Posts: 116
Joined: Fri Mar 02, 2018 3:05 am
Been thanked: 5 times

Lord of the Rings: Fellowship of the Ring .sdu files

Post by Puterboy1 » Thu Aug 02, 2018 3:55 am


Pingu
advanced
Posts: 79
Joined: Sat Apr 16, 2016 3:15 am
Has thanked: 4 times
Been thanked: 17 times

Re: Lord of the Rings: Fellowship of the Ring .sdu files

Post by Pingu » Thu Aug 02, 2018 6:08 am

The format is just headerless VAG files with names strung together. You have two options:

- Wait until someone writes a script to support it. Here's the format for it, I'm just lazy to write BMS to support it (For anyone who wants to implement BMS for this):

Code: Select all

string "SRSC"
goto 0x10

for each loop while The current position != end of file:
uint16- name length
name string name length
uint16- reference name size
string - reference name (length = uint16 prior)
seek 0x4c to size.
uint32 - size
From here is hard to implement the proper offset. To do so, seek through bytes until they don't equal 0. Change position by -1, and then by -0x10 to get the proper offset. Save that position Log. Then seek the size of the file to get to the next entry. Or manually set a file count (in this case 0xFDD).


Or simply run this file through PSound as it's headerless VAG. Maybe I'll write a tool to handle this more clearly in the future.

Post Reply