Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 127 Bytes
f = File.new("Pacman.bin", "r")
print "var Pacman = [" + f.each_byte.map {|ch| "0x" + ch.to_s(16) }.join(", ") + "];"
f.close