ID:2917046
 
Resolved
Compiling a project where the .dme was renamed to another extension could cause some files (skins, maps) not to be included correctly, and produce odd output.
BYOND Version:515
Operating System:Linux
Web Browser:Chrome 122.0.0.0
Applies to:Dream Maker
Status: Resolved (515.1634)

This issue has been resolved.
Descriptive Problem Summary:
When compiling, you normally get something like:
DM compiler version 514.1589
loading goonstation.mdme
loading foo.dmm
saving goonstation.mdme.dmb (DEBUG mode)


Goonstation, a SS13 fork, uses relative paths to compile our maps in. So, it'd look something like:
DM compiler version 514.1589
loading goonstation.mdme
loading interface/skin.dmf
loading ../cogmap2.dmm
loading ../z2.dmm
loading ../z3.dmm
loading ../z4_blank.dmm
loading ../z5.dmm
saving goonstation.mdme.dmb (DEBUG mode)


However, with the advent of 515, we get:
DM compiler version 515.1633
loading goonstation.mdme
loading (null)
loading (null)
loading (null)
loading (null)
loading (null)
saving goonstation.mdme.dmb (DEBUG mode)


Which, as you can tell, is not ideal. I presume this is an issue because it's relatively pathed up a directory or something. Regression anyways.

Tested on Linux, can't seem to reproduce on Windows.

Numbered Steps to Reproduce Problem:
1. compile with maps (presumably using relative pathing)
2. cry

Expected Results: to not stop showing names

Actual Results: see above

Does the problem occur:
Every time? Or how often? yes
In other games? idk
In other user accounts? yes
On other computers? yes

When does the problem NOT occur? 514

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
514, maybe some 515 version idk

Workarounds:

don't relatively path i guess but this is a regression


oh also i can't select 515 as the byond version in the dropdown here
I need the source to compile so I can investigate this issue.
confirmed to also happen to nebula on linux/ubuntu
Zewaka wrote:
confirmed to also happen to nebula on linux/ubuntu

happens specifically with a build script that renames a copy of the dme to mdme. changing it to `.m.dme` made it work fine
Lummox JR resolved issue with message:
Compiling a project where the .dme was renamed to another extension could cause some files (skins, maps) not to be included correctly, and produce odd output.