ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Dec 10, 2018 5:19 pm

All times are UTC




Post new topic  Reply to topic  [ 30 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Tue Sep 25, 2018 6:42 am 

Joined: Thu Mar 29, 2018 8:12 am
Posts: 24
By sample do you mean upload some bndl files for you to look at? I'll upload a folder with a bunch of them in it. I get different errors with different bndl files. Some of them give me an offset can't be reached error. Some manage to extract a file or two before failing. I've yet to have one actually work, but they don't all fail in the same way.


Attachments:
File comment: The bndl files located in the playerskin folder of one of the patch archives.
some bndl files.zip [394.19 KiB]
Downloaded 9 times
Top
   
PostPosted: Tue Sep 25, 2018 9:55 am 

Joined: Thu Mar 29, 2018 8:12 am
Posts: 24
Another thing. From what I can tell, some folders in the archives have an underscore in their name. I'm going to need some way to import that kind of folder for this to work. I think that might actually be why I haven't managed to pull off a replacement yet.

EDIT: Perhaps by renaming the folder once it's imported, like naming it "player-isildur" and then renaming it after importing to "player_isildur"

EDIT2: Tried that. Archive is functional but it didn't work either. game.gamedb is where I got the file path I tried out from. I'll have to keep trying things out till I find the right file path.


Top
   
PostPosted: Tue Sep 25, 2018 11:44 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9431
The bndl files you provided have no real data in them.
Any bigger bndl?


Top
   
PostPosted: Thu Sep 27, 2018 11:04 am 

Joined: Thu Mar 29, 2018 8:12 am
Posts: 24
Most of the bndls are fairly small. I was confused that they were considered an archive format. I'll post some larger ones. I don't think there are any much larger than this, unless I've missed some.

I've had to take a bit of a break from working on the format, as I'm at crunchtime on some projects. I believe the biggest obstacle I've currently got is the file structure. Theres some files that I think have underscores in their names, and folders with the same. Some archives I've looked at in binary have had some very odd looking ways of showing file paths. Currently the game loads my archives fine, so I know they're not broken, but the files within aren't ever being used. I believe thats because the filepath or file name is wrong.

I should be able to start testing things again next week. Let me know if you need anything and I'll dig around for it. I've gotten in touch with the game developers but sadly they haven't been able to share any information on the file structure.


Attachments:
File comment: An example of the unusual file paths I mentioned.
Patch_00.zip [120.99 KiB]
Downloaded 11 times
some bndls.zip [275.08 KiB]
Downloaded 9 times
Top
   
PostPosted: Wed Oct 03, 2018 5:53 am 

Joined: Thu Mar 29, 2018 8:12 am
Posts: 24
I'm running out of ideas. Haven't heard back from the devs on the subject. Hopefully you have better luck aluigi.


Top
   
PostPosted: Wed Oct 03, 2018 1:14 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9431
Sorry, I can't help.


Top
   
PostPosted: Tue Oct 09, 2018 3:47 am 

Joined: Thu Mar 29, 2018 8:12 am
Posts: 24
I'm starting to think there might be an issue with the bms script. I'm almost certain that there are files with underscores in the file and folder names. And the bms script treats underscores as file seperators at the moment. Could be a change from Shadow of Mordor to Shadow of War. Would you be able to explain where the underscore as file seperator comes from? Might help me figure out what I'm missing with these filepaths.


Attachments:
File comment: A filepath.
filepaths.PNG [60.08 KiB]
Downloaded 1 time
Top
   
PostPosted: Tue Oct 09, 2018 7:02 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9431
When I analyzed the LTAR archives (the underscore->slash fix is used only on them) they had long names with underscores and no path separators, they looked like folders and not filenames.
I didn't find any separator in my tests with LTAR archives and nobody else has reported any issue till now.

Upload that LTAR archive that contains these full paths


Top
   
PostPosted: Tue Oct 09, 2018 7:52 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9431
That's really funny...

So, what you supposed was wrong, probably you were confusing the names of some archived BNDL or EMBB file with the TOC of the LTAR archive (the only one with underscore->path fix).

BUT while I was checking some LTAR archives here (yeah I ever verify what the users tell me) I noticed a sort of directory tree located after the file entries, luckily wasn't too hard to parse it.

Long story short: the filenames are only filenames without any folder separator, that explains why you were wrong with the image you pasted (it's impossible to have a full filename like "characters\modelcharacters\player\bodies\bodycelebrimbor\player_celebrimbor_quiverwraithproxy.mat") and I was wrong by using the underscore->path fix (maybe was it necessary in a very old version of the archives?).

Script 0.4 :D
http://aluigi.org/bms/shadow_of_mordor.bms


Top
   
PostPosted: Fri Oct 12, 2018 6:44 am 

Joined: Thu Mar 29, 2018 8:12 am
Posts: 24
Haha. Nice. The number of times I've theorised about a problem, gone to test it, and stumbled over the actual problem by happenstance. Still pretty busy at the moment. But I'm hoping to test that out at some point soon. Thanks for checking it out.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 30 posts ]  Go to page Previous 1 2

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited