mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 20:27:42 +00:00
Merge branch 'master' of https://github.com/AxioDL/PathShagged
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "MREA.hpp"
|
||||
#include "SCLY.hpp"
|
||||
#include "DeafBabe.hpp"
|
||||
#include "../DNACommon/BabeDead.hpp"
|
||||
|
||||
@@ -37,7 +38,7 @@ bool MREA::Extract(const SpecBase& dataSpec,
|
||||
const HECL::ProjectPath& outPath,
|
||||
PAKRouter<PAKBridge>& pakRouter,
|
||||
const PAK::Entry& entry,
|
||||
bool,
|
||||
bool force,
|
||||
std::function<void(const HECL::SystemChar*)>)
|
||||
{
|
||||
using RigPair = std::pair<CSKR*, CINF*>;
|
||||
@@ -113,8 +114,12 @@ bool MREA::Extract(const SpecBase& dataSpec,
|
||||
/* Skip AROT */
|
||||
rs.seek(head.secSizes[curSec++], Athena::Current);
|
||||
|
||||
/* Skip SCLY (for now) */
|
||||
rs.seek(head.secSizes[curSec++], Athena::Current);
|
||||
/* Read SCLY layers */
|
||||
secStart = rs.position();
|
||||
SCLY scly;
|
||||
scly.read(rs);
|
||||
scly.exportToLayerDirectories(entry, pakRouter, force);
|
||||
rs.seek(secStart + head.secSizes[curSec++], Athena::Begin);
|
||||
|
||||
/* Read collision meshes */
|
||||
DeafBabe collision;
|
||||
|
||||
Reference in New Issue
Block a user