Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Factor 5 .DAT

Featured Replies

  • Author
  • Localization

CosmicDreams, posted Thu Sep 13, 2018 6:45 pm (38287)


Hello!
I've recently been trying to rip models and textures from Rogue Squadron 2 and 3 on the gamecube.
The Factor 5 bms script works pretty much perfectly on the base game archives in the Rogue2 and Rogue3 folders, However there is more .dat files inside the script errors on.

Code:
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file C:\Users\faint\Documents\ROGUE LEADER\Rogue2\Extract\briefing.dat
- open script C:\Users\faint\Documents\SwitchDumps\Tools\QuickBMS\factor5.bms
- set output folder C:\Users\faint\Documents\ROGUE LEADER\Rogue2\Extract\test

  offset   filesize   filename
--------------------------------------

Error: incomplete input file -1:
       Can't read 8 bytes from offset 00000000.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.


Last script line before the error or that produced the error:
  143 get DUMMY longlong MEMORY_FILE

Press ENTER or close the window to quit


This happens for every dat file inside the extracted game archives.
Any idea's what could be wrong?
https://cdn.discordapp.com/attachments/419711036837330956/489868811324096543/briefing.dat
Here's the dat file i used to get the above error although the same error happens on every dat as i said before.
  • Author
  • Localization

aluigi, posted Thu Sep 13, 2018 7:38 pm (38302)


Do you have other "briefing" files with different extensions?
I can't confirm if this is a factor5 archive.
  • Author
  • Localization

CosmicDreams, posted Thu Sep 13, 2018 8:04 pm (38304)


Pretty much everything in the extracted archives are .DAT files.
There's a couple .smm though. Whatever those are.
https://cdn.discordapp.com/attachments/419711036837330956/489887574358360067/xwing_ha.dat
https://cdn.discordapp.com/attachments/419711036837330956/489888101594955797/frontend.dat
https://cdn.discordapp.com/attachments/419711036837330956/489888221937926172/XWing.dat
https://cdn.discordapp.com/attachments/419711036837330956/489887536022290452/vader_ha.dat
Here's a couple of other DAT files from various folders.
I have a feeling its raw data rather than archives at this point.
Some must be archives though, especially the "frontend" and "briefing" files.

EDIT: I think SMM files might be models. But some of them seem too small to be models.
  • Author
  • Localization

CosmicDreams, posted Fri Sep 14, 2018 10:45 am (38334)


Any updates?
  • Author
  • Localization

aluigi, posted Fri Sep 14, 2018 5:49 pm (38364)


It's just data.
What I can see are the first two 32 bit fields that are an offset and size.
Can't help.
  • Author
  • Localization

CosmicDreams, posted Fri Sep 14, 2018 6:59 pm (38370)


Oh i totally forgot about this file.
https://cdn.discordapp.com/attachments/419711036837330956/490234758022955018/resDir.dir
It wasn't originally a .dir file(i can't remember what it was) but it seems to be a TOC of sorts.
It was in the root of the main data.dat file when i extracted it.
It mentions files that don't actually exist too i think.
Further making me wonder if it really is just data...
  • Author
  • Localization

aluigi, posted Fri Sep 14, 2018 7:13 pm (38372)


Yes it's a toc but it's referred to a particular data file having a size of 23 megabytes (25.021.444 bytes), not related to those dat you posted.
If you are interested in seeing the format with quickbms (debug mode automatically enabled) take a look at this script:
Code:
debug 1
endian big
for
    getdstring NAME 0x20
    get OFFSET long
    get SIZE long
    get SOME_CRC long
next
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.