Are you loading from the softlist or fullpath?
With softlist loading you'll get something like:
Code:
mess64 -debug nes smb -plugin console _/ _/ _/_/ _/ _/ _/_/_/_/ _/_/ _/_/ _/ _/ _/_/ _/_/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/
mess 0.191 Copyright (C) Nicola Salmoria and the MAME team
Lua 5.3 Copyright (C) Lua.org, PUC-Rio
[MAME]>
MESS debugger version 0.191 (unknown) Currently targeting nes (Nintendo Entertainment System / Famicom (NTSC)) [MAME]> print(emu.softname()) smb [MAME]> print(manager:machine().images["cart"]:longname()) Super Mario Bros. (Euro, Rev. A) [MAME]> With fullpath loading you'll get empty strings for both. manager:machine().images["cart"]:filename() will get you the file name but that's all that's available.
|