Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Assembly-CSharp/Global/BGSCENE_DEF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,10 @@ public void ExportMemoriaBGX(String bgxExportPath)
foreach (BGOVERLAY_DEF bgOverlay in this.overlayList)
{
bgsStr += $"OVERLAY\n";
bgsStr += ExportMemoriaBGXOverlay(bgOverlay, fileName);
// Write overlay PNGs NEXT TO the .bgx, not the process CWD (the game root).
// ExportMemoriaBGXOverlay derives the .bgx "Image:" ref with Path.GetFileName(),
// so it stays bare/relative while the file lands in the field folder.
bgsStr += ExportMemoriaBGXOverlay(bgOverlay, folder + fileName);
}
foreach (BGANIM_DEF bgAnim in this.animList)
{
Expand Down