Description
Marketplace ("Unreap.xex" included with ME2)
Tested on xenia-project/xenia@ea9625f
Issues:
XEX is named "Unreap.xex", normally gets launched by ME2's default.xex, but Xenia can't restart into another XEX atm.
Running it directly results in a "gamer profile changed, exiting to menu" message, but despite that message it actually seems to be caused by launch-data from default.xex not being set when the XEX is ran directly.
Seems to expect launch data of the form " -expectuser0.177.62.186.190.186.190.186.190" (with a leading space character), and the launch-data buffer needs exactly 1000 bytes allocated.
With that launch data set it'll now load up "properly", shows a save-game list but doesn't actually seem able to detect any ME1 saves right now.
Strangely, it doesn't seem to use XamContentAggregate
or any XamContent*Internal
functions anywhere in the XEX (like Banjo-Kazooie uses for loading Banjo-Tooie saves), instead it seems to use XamContentCreateEnumerator
, with content-type 0x3 / XContentType::Publisher
.
Maybe this is a special content-type that allows enumerating savegames from other titles with the same publisher? Maybe based on title id, with ME1 being 4D5307E8, this could explain why the importer is 4D5308C5 while ME2 itself is 454108CE.
(I don't really get how XamContentCreateEnumerator
would be able to return things from other titles though, since XCONTENT_DATA enumerated by it doesn't include any title ID...)
Unfortunately haven't had any success getting it to detect any ME1 saves, could be something to do with STFS headers being missing (I've only tested with master's STFS code), or maybe the ME1 save I'm testing with isn't complete enough to be imported by ME2.
Log:
xenia.zip (with launch data set)
Screenshot(s):
Labels:
kernel-save-file-errors
kernel-unimplemented-feature
kernel-xex-switching
state-load