April 29, 2017, 05:25:04 pm
Total Members Voted: 9
0 Members and 1 Guest are viewing this topic.
# coding: utf8result = b''; counter = 0with open('out.asm', 'rb') as f: for i in f.readlines(): if i[0:9] == b'INCLUDE "': with open(i[9:-3], 'rb') as g: result += g.read() counter += 1 else: result += iwith open('out.asm', 'wb') as f: f.write(result) print("Eradicated includes: %i" % counter)# run it multiple times to deal with nested includes
I tried generating that file, but I didn't have rgbasm on my Debian system. When I tried to compile it, it required a package I didn't have.That package didn't exist in the official repos, so I looked for an equivalent.When running make on rbgasm, the equivalent produced seveal screens worth of synatx errors.I uninstalled all out of discouragement.If anyone could give me a link to such a .map file, I'd be ready to give them big, big hug. And a truck filled with Mews chocolate / candies / toffees / sweets.
Page created in 0.086 seconds with 20 queries.