Reading .mcn files?

Hello y’all,

I need to get some information out of a .mcn file that is used by the Cary WinUV program (for windows XP), I know the file contains the info we’re looking for but it’s not readable on a text editor as per screenshot (the same thing appears via OSS - code and cat). Same for Nano which gives me a lot of tiny amongi.

https://lemmy.world/pictrs/image/558c89a4-168b-41a1-8bf4-7fc24821ec1a.png

Cary WinUV for some reason doesn’t display the information we want, who know what they were thinking.

Anyone know a way to read the characters missing?

EDIT: Thanks everyone, I solved by saving it into csv through Cary WinUV but that may not work for everyone so thanks for all the replies

cerement, (edited )
@cerement@slrpnk.net avatar
  • hexdump comes stock with most distros, no editing features, but hexdump -C filename will at least let you see what’s in the file
  • from control characters and control codes, it looks like everything is separated by a set of three NUL characters (`
RaumEnde,

Use a hex editor to read binary files. I recommend ImHex imhex.werwolv.net because it includes all sorts of advanced analysis stuff.

mvirts,

Can you provide the file on GitHub or something?

TheOneCurly,
@TheOneCurly@lemmy.theonecurly.page avatar

Doing this by hand is challenging but possible.

First you need a hex editor, not a text editor. xxd on linux will get you started but you might want something a little more user friendly.

Then look for a label for a value you know, xxd and other hex editors will show ascii text on the side. Hopefully you’ll be able to identify the value (in hexadecimal, probably 4 bytes but could be 1, 2, or 8 as well) somewhere before or after the label. You might have to get familiar with endianness, two’s compliment, and binary floating point before the numbers make sense.

Once you know how to read a value after a label you’ll need to find some label for the information you don’t know. If it isn’t displayed in the program it might not have a super readable label.

Hannes1909,

Maybe strings can get some usefull output too?

skullgiver, (edited )
@skullgiver@popplesburger.hilciferous.nl avatar

deleted_by_author

  • Loading...
  • EuroNutellaMan,
    @EuroNutellaMan@lemmy.world avatar

    Won’t need wine, I have access to the computer that uses Cary winUV

    AJamesBrown,

    It looks like it’s in a binary format and is printing control characters because it isn’t a format intended to be viewed/edited. You could try opening it in a hex editor and see if you can make any sense from that.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines