Created
January 22, 2019 20:21
-
-
Save Th3Fanbus/1421885bc27e8d34264e2a9fffaa7323 to your computer and use it in GitHub Desktop.
What the hell did I make? I don't remember what this was...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <vector> | |
#include <iterator> | |
#include <algorithm> | |
const std::string folder = "DUMP/"; | |
const std::vector<std::string> filenames = { | |
"010216CD-9C09-4EB5-B7DA-D0A2865092D4_1281.ROM", | |
"01359D99-9446-456D-ADA4-50A711C03ADA_1333.ROM", | |
"04EAAAA1-29A1-11D7-8838-00500473D4EB_1142.ROM", | |
"077AFE00-4404-47E7-A4C7-B673580F8D5D_1213.ROM", | |
"08F2C63B-08DE-4CCD-8670-ACFE644A1C48_326.ROM", | |
"0AA31BC6-3379-41E8-825A-53F82CC0F254_1113.ROM", | |
"0AC2D35D-1C77-1033-A6F8-7CA55DF7D0AA_1345.ROM", | |
"0B4BDCFF-74B2-45AD-91E1-8F6634C8A1DC_1329.ROM", | |
"0D1ED2F7-E92B-4562-92DD-5C82EC917EAE_1318.ROM", | |
"0E0DB566-F7A9-4DBF-9A74-FA5B1371A12F_745.ROM", | |
"0F69F6D7-0E4B-43A6-BFC2-6871694369B0_1368.ROM", | |
"116E1ACF-2533-4CC2-820A-BBC10A2AB07C_180.ROM", | |
"12345678-930A-4A95-AB04-2E6CFDFF6631_1053.ROM", | |
"12C67BE1-AD2E-4F13-A95F-6EDC2C4392DE_1421.ROM", | |
"1314216C-CB8D-421C-B854-06231386E642_656.ROM", | |
"1323C7F8-DAD5-4126-A54B-7A05FBF41515_469.ROM", | |
"13AC6DD0-73D0-11D4-B06B-00AA00BD6DE7_86.ROM", | |
"142204E2-C7B1-4AF9-A729-923758D96D03_1119.ROM", | |
"14257B56-BDA2-4FAF-8E4F-C885DF75583C_904.ROM", | |
"157C666C-7C74-4E4A-B639-7BBA21487CE1_794.ROM", | |
"15B9B6DA-00A9-4DE7-B8E8-ED7AFB88F16E_156.ROM", | |
"16271FCA-55D9-4A33-93FC-5A3EB128DE21_421.ROM", | |
"16271FCA-55D9-4A33-93FC-5A3EB128DEB6_1189.ROM", | |
"16D0A23E-C09C-407D-A14A-AD058FDD0CA1_507.ROM", | |
"17088572-377F-44EF-8F4E-B09FFF46A070_1300.ROM", | |
"174CF46D-B167-4E6A-B1CD-D41E24EFA0F9_544.ROM", | |
"177B2C74-9674-45F4-AAEB-43F5506AE0FE_607.ROM", | |
"1A931FB8-C466-454A-B684-73ADA2CB050B_29.ROM", | |
"1BA0062E-C779-4582-8566-336AE8F78F09_1449.ROM", | |
"1CE12314-AFBC-11F0-8A3E-AB44B8EE3120_987.ROM", | |
"1D88C542-9DF7-424A-AA90-02B61F286938_1322.ROM", | |
"1DACE8EE-CD97-491E-8A0C-305D6437323C_1245.ROM", | |
"210DCB72-BC14-4A19-A29B-F696EB7DE12B_752.ROM", | |
"21E34727-3881-4DEE-8020-D8908A980311_1237.ROM", | |
"221F1D4F-034C-4BEA-B2BB-B7A9672B06D7_1197.ROM", | |
"2374EDDF-F203-4FC0-A20E-61BAD73089D6_275.ROM", | |
"24CCD374-3DF6-4181-86F6-E3C66920A145_429.ROM", | |
"25ACF158-DD61-4E64-9A49-55851E9A26C7_689.ROM", | |
"2688B232-9C02-4C12-BE1F-857C0FF2AAE3_1065.ROM", | |
"26A2481E-4424-46A2-9943-CC4039EAD8F8_515.ROM", | |
"26A2481E-4424-46A2-9943-CC4039EAD8F8_516.ROM", | |
"271DD6F2-54CB-45E6-8585-8C923C1AC706_322.ROM", | |
"27F4917B-A707-4AAD-9676-26DF168CBF0D_373.ROM", | |
"29BE380A-FBC0-462B-A6C2-5C5A076CAFDE_1289.ROM", | |
"2ADB8F5B-C7D4-4E7E-BE2A-23634DF668A1_920.ROM", | |
"2BB5AFA9-FF33-417B-8497-CB773C2B93BF_1352.ROM", | |
"2D1E361C-7B3F-4D15-8B1F-66E551FABDC7_499.ROM", | |
"326E7ACE-2133-1BA2-800A-B9C00ACCB17D_172.ROM", | |
"333BB2A3-4F20-4C8B-AC38-0672D74315F8_1360.ROM", | |
"3470CCF0-6054-11DD-AD8B-0800200C9A66_732.ROM", | |
"34989D8E-930A-4A95-AB04-2E6CFDFF6631_1049.ROM", | |
"362C7275-4D8F-4607-8D8F-28893A8ACD60_1233.ROM", | |
"37DA43A1-BB9A-4805-9B92-0BDE11191149_615.ROM", | |
"3B42EF57-16D3-44CB-8632-9FDB06B41451_1296.ROM", | |
"3C35B99D-D4B7-4885-ABD9-2BEA4B9F3A01_632.ROM", | |
"3D9D911C-510E-4834-95A7-7E3E1DEE6778_1139.ROM", | |
"3DCE5A33-0152-4B67-99DC-B8E0A25DDF59_739.ROM", | |
"3F78CB8D-72EE-414E-B023-DACA003BDDF5_1273.ROM", | |
"3FD1D3A2-99F7-420B-BC69-8BB1D492A332_1429.ROM", | |
"43172851-CF7E-4345-9FE0-D7012BB17B88_833.ROM", | |
"43172851-CF7E-4345-9FE0-D7012BB17B88_838.ROM", | |
"459C70C3-9344-4484-9F93-7822530D0D11_896.ROM", | |
"472A583E-70CF-465A-BB77-53ADFCDB5883_940.ROM", | |
"4B13CE01-3370-466E-A251-4D0AB6B5A9E8_759.ROM", | |
"4C006CD9-19BA-4617-8483-609194A1ACFC_1158.ROM", | |
"50F6096D-7C98-4C78-9A1D-C5A1833B6A88_1128.ROM", | |
"52715B77-04A5-487A-B980-CDC371B5BEC8_1221.ROM", | |
"532CED8F-1BA8-46CB-A437-C6C2E9058A5A_1441.ROM", | |
"53F019E9-BB0C-424B-870A-1FAF10B1CB4C_1409.ROM", | |
"53F019E9-BB0C-424B-870A-1FAF10B1CB4C_1411.ROM", | |
"54AB7A17-AD08-4F86-83C2-4CF398EBC0AD_1225.ROM", | |
"5552575A-7E00-4D61-A3A4-F7547351B49E_132.ROM", | |
"55E76644-78A5-4A82-A900-7126A5798892_849.ROM", | |
"580DD900-385D-11D7-883A-00500473D4EB_1150.ROM", | |
"5820EEB4-C135-4854-9D2A-AA9EFC4475E9_881.ROM", | |
"59287178-59B2-49CA-BC63-532B12EA2C53_389.ROM", | |
"5AAB83E5-F027-4CA7-BFD0-16358CC9E453_397.ROM", | |
"5AE3F37E-4EAE-41AE-8240-35465B5E81EB_50.ROM", | |
"5BBA83E5-F027-4CA7-BFD0-16358CC9E123_912.ROM", | |
"5C0FB3B9-F7BB-467B-A4DC-89D7D5A58432_995.ROM", | |
"5E9CABA3-F2B1-497A-ADAC-24F575E9CDE9_13.ROM", | |
"5F6A843E-D188-41A3-BA3C-A83D8997DC7F_623.ROM", | |
"5F6A843E-D188-41A3-BA3C-A83D8997DC7F_628.ROM", | |
"6298FE18-D5EF-42B7-BB0C-2953283F5704_235.ROM", | |
"62D171CB-78CD-4480-8678-C6A2A797A8DE_108.ROM", | |
"643DF777-F312-42ED-81CC-1B1F57E18AD6_1380.ROM", | |
"6869C5B3-AC8D-4973-8B37-E354DBF34ADD_704.ROM", | |
"68DB9E58-4B9C-4E60-8DA6-9A714DC3EDD3_640.ROM", | |
"6B4FDBD2-47E1-4A09-BA8E-8E041F208B95_1388.ROM", | |
"6B844C5B-6B75-42CA-8E8E-1CB94412B59B_1061.ROM", | |
"6DB9486F-6AF6-4090-984D-238482CE3EA4_491.ROM", | |
"6ECFCE51-5724-450C-A38A-58553E954422_1400.ROM", | |
"70E1A818-0BE1-4449-BFD4-9EF68C7F02A8_62.ROM", | |
"70E1A818-0BE1-4449-BFD4-9EF68C7F02A8_67.ROM", | |
"750890A6-7ACF-4F4F-81BD-B400C2BEA95A_227.ROM", | |
"753630C9-FAE5-47A9-BBBF-88D621CD7282_211.ROM", | |
"77B35E10-AC21-4DFB-B094-DDA8878A6521_1443.ROM", | |
"79AA6086-035A-4AD9-A89A-A6D5AA27F0E2_1396.ROM", | |
"7B8DB049-C7C7-4D3B-809F-926DEE47CCA2_243.ROM", | |
"7BB28B99-61BB-11D5-9A5D-0090273FC14D_1186.ROM", | |
"7D113AA9-6280-48C6-BACE-DFE7668E8307_1125.ROM", | |
"7DADBC98-6489-4D1C-907A-8EE243AF805B_1261.ROM", | |
"7FED72EE-0170-4814-9878-A8FB1864DFAF_116.ROM", | |
"80023209-6386-4C1D-909B-63506A2146FF_786.ROM", | |
"8401A046-6F70-4505-8471-7015B40355E3_1302.ROM", | |
"84DDA68C-CA5A-4C30-9261-DD6DE7E45A95_762.ROM", | |
"84DDA68C-CA5A-4C30-9261-DD6DE7E45A95_767.ROM", | |
"858EBE6F-360F-415B-B7DC-463AAEB03412_1081.ROM", | |
"899407D7-99FE-43D8-9A21-79EC328CAC21_1174.ROM", | |
"899407D7-99FE-43D8-9A21-79EC328CAC21_1179.ROM", | |
"8B5FBABD-F51F-4942-BF16-16AAA38AE52B_648.ROM", | |
"8B8214F9-4ADB-47DD-AC62-8313C537E9FA_1341.ROM", | |
"8C376010-2400-4D7D-B47B-9D851DF3C9D1_1417.ROM", | |
"8C783970-F02A-4A4D-AF09-8797A51EEC8D_967.ROM", | |
"8D3BE215-D6F6-4264-BEA6-28073FB13AEA_148.ROM", | |
"8D6756B9-E55E-4D6A-A3A5-5E4D72DDF772_453.ROM", | |
"90CB75DB-71FC-489D-AACF-943477EC7212_349.ROM", | |
"921CD783-3E22-4579-A71F-00D74197FCC8_857.ROM", | |
"9257B1B6-82DF-4B69-A83B-C16D671B9A9F_775.ROM", | |
"97AF1D95-203C-42DE-8D6B-D13EB7E5A55A_950.ROM", | |
"98584C0B-49D6-4BAF-B542-ECEE2582409C_536.ROM", | |
"9A1E0C57-9FA9-437B-84E6-8254FEF3ACE3_1407.ROM", | |
"9A9A912B-5F53-4586-8820-704485A29D21_865.ROM", | |
"9B3F28D5-10A6-46C8-BA72-BD40B847A71A_1089.ROM", | |
"9CC55D7D-FBFF-431C-BC14-334EAEA6052B_140.ROM", | |
"9CF30325-DC5C-4556-A8B0-74215C5F7FC4_1413.ROM", | |
"9D63F04B-DF9C-4F21-811C-31348E67FBAC_712.ROM", | |
"9EA28D33-0175-4788-BEA8-6950516030A5_1364.ROM", | |
"9F3A0016-AE55-4288-829D-D22FD344C347_78.ROM", | |
"A062CF1F-8473-4AA3-8793-600BC4FFE9A8_678.ROM", | |
"A062CF1F-8473-4AA3-8793-600BC4FFE9A8_683.ROM", | |
"A08276EC-A0FE-4E06-8670-385336C7D093_687.ROM", | |
"A0BAD9F7-AB78-491B-B583-C52B7F84B9E0_365.ROM", | |
"A1902AB9-5394-45F2-857A-12824213EEFB_552.ROM", | |
"A29A63E3-E4E7-495F-8A6A-07738300CBB3_1101.ROM", | |
"A29A63E3-E4E7-495F-8A6A-07738300CBB3_1106.ROM", | |
"A59A0056-3341-44B5-9C9C-6D76F7673817_599.ROM", | |
"A89EC8E0-0BA1-40AA-A03E-ABDDA5295CDE_445.ROM", | |
"AA652CB9-2D52-4624-9FAE-D4E58B67CA46_1384.ROM", | |
"ABB74F50-FD2D-4072-A321-CAFC72977EFA_124.ROM", | |
"ACAEAA7A-C039-4424-88DA-F42212EA0E55_306.ROM", | |
"AEF82756-87F2-4CF6-BE80-E59055295AA1_959.ROM", | |
"B0D6ED53-B844-43F5-BD2F-61095264E77E_298.ROM", | |
"B13EDD38-684C-41ED-A305-D7B7E32497DF_1011.ROM", | |
"B1DA0ADF-4F77-4070-A88E-BFFE1C60529A_594.ROM", | |
"B1DA0ADF-4F77-4070-A88E-BFFE1C60529A_595.ROM", | |
"B6B9295F-CABF-4CEC-BB14-FE4246F2173A_817.ROM", | |
"B6B9295F-CABF-4CEC-BB14-FE4246F2173A_822.ROM", | |
"B716A6F8-F3A1-4B8E-8582-5A303F1CDD64_251.ROM", | |
"B7D19491-E55A-470D-8508-85A5DFA41974_188.ROM", | |
"B98999A4-E96F-475A-99FC-762126F50F5A_664.ROM", | |
"BB1FBD4F-2E30-4793-9BED-74F672BC8FFE_314.ROM", | |
"BC3245BD-B982-4F55-9F79-056AD7E987C5_582.ROM", | |
"BC327DBD-B982-4F55-9F79-056AD7E987C5_1041.ROM", | |
"BC485CD2-8E96-45FB-BB0D-3BD3B5F82D89_9.ROM", | |
"BE33A7B9-13CB-464E-BF5B-B97A9F5730CA_928.ROM", | |
"BFD59D42-FE0F-4251-B772-4B098A1AEC85_267.ROM", | |
"BFD8ABE9-C091-6543-A94D-136E5BADD22D_1265.ROM", | |
"BFE205C9-5B17-4F8F-9375-89614AF8E199_1166.ROM", | |
"C194C6EA-B68C-4981-B64B-9BD271474B20_381.ROM", | |
"C1FBD624-27EA-40D1-AA48-94C3DC5C7E0D_1356.ROM", | |
"C7542254-A8F7-40BA-9BB9-390D31977775_936.ROM", | |
"C866BD71-7C79-4BF1-A93B-066B830D8F9A_1337.ROM", | |
"CBC59C4A-383A-41EB-A8EE-4498AEA567E4_54.ROM", | |
"CD84562C-6864-40A3-A081-C8D35E82B920_1205.ROM", | |
"CE366D33-B057-4C03-8561-CAF17738B66F_259.ROM", | |
"CEF68C66-06AB-4FB3-A3ED-5FFA885B5725_1003.ROM", | |
"D31EAA20-8436-4E34-9A06-C47C78E19F18_100.ROM", | |
"D36DDD2D-1C66-4210-B77A-2FD9F920E51F_1253.ROM", | |
"D57C852E-809F-45CF-A377-D77BC0CB78EE_802.ROM", | |
"D57C852E-809F-45CF-A377-D77BC0CB78EE_807.ROM", | |
"D933DEDE-0260-4E76-A7D9-2F9F2440E5A5_413.ROM", | |
"DAC2B117-B5FB-4964-A312-0DCC77061B9B_43.ROM", | |
"DAF4BF89-CE71-4917-B522-C89D32FBC59F_1030.ROM", | |
"DDB412A6-E3F3-4E9E-90A3-2A991270219C_841.ROM", | |
"DDB412A6-E3F3-4E9E-90A3-2A991270219C_846.ROM", | |
"DE23ACEE-CF55-4FB6-AA77-984AB53DE811_483.ROM", | |
"DE23ACEE-CF55-4FB6-AA77-984AB53DE823_290.ROM", | |
"DED7956D-7E20-4F20-91A1-190439B04D5B_1019.ROM", | |
"DF5CD25A-8E55-46BA-8CDA-BC7DB7BF9C64_873.ROM", | |
"DFD8D5CC-5AED-4820-A2B6-5C55E4E640EF_825.ROM", | |
"E008B434-0E73-440C-8612-A143F6A07BCB_1310.ROM", | |
"E03ABADF-E536-4E88-B3A0-B77F78EB34FE_21.ROM", | |
"E052D8A6-224A-4C32-8D37-2E0AE162364D_357.ROM", | |
"E1AF9F5B-7CDE-4F98-91ED-5E67868282B8_1434.ROM", | |
"E23F86E1-056E-4888-B685-CFCD67C179D4_196.ROM", | |
"E2A74738-8934-48F5-8412-99E948C8DC1B_1033.ROM", | |
"E4536585-7909-4A60-B5C6-ECDEA6EBFB54_10.ROM", | |
"E4536585-7909-4A60-B5C6-ECDEA6EBFB54_1299.ROM", | |
"E4536585-7909-4A60-B5C6-ECDEA6EBFB54_947.ROM", | |
"E4ECD0B2-E277-4F2B-BECB-E4D75C9A812E_405.ROM", | |
"E53734A3-E594-4C25-B1A2-081445650F7F_219.ROM", | |
"E79A7050-8109-40D1-B3C0-2A3C74C40204_560.ROM", | |
"E9312938-E56B-4614-A252-CF7D2F377E26_1097.ROM", | |
"EDA39402-F375-4496-92D3-83B43CB8A76A_461.ROM", | |
"EFD652CC-0E99-40F0-96C0-E08C089070FC_524.ROM", | |
"F3331DE6-4A55-44E4-B767-7453F7A1A021_164.ROM", | |
"F54D676F-ED6F-43CE-B4E5-A8CC580B0BC2_528.ROM", | |
"FC1B7640-3466-4C06-B1CC-1C935394B5C2_341.ROM", | |
"FC63ED62-949D-4FB0-B754-D558A6367C56_720.ROM", | |
"FD236AE7-0791-48C4-B29E-29BDEEE1A811_1404.ROM", | |
"FD236AE7-0791-48C4-B29E-29BDEEE1A838_1372.ROM", | |
"FD93F9E1-3C73-46E0-B7B8-2BBA3F718F6C_1073.ROM", | |
"FE6F8ACD-55A6-4C6B-B448-64E659DE94B3_437.ROM", | |
"FF259F16-18D1-4298-8DD2-BD87FF2894A9_1376.ROM" | |
}; | |
int main() { | |
for (size_t i = 0; i < filenames.size(); i++) { | |
std::ifstream s(folder + filenames[i], std::ios::binary); | |
if (!s) return -1; | |
std::cout << filenames[i] << ": " << s.rdbuf() << "\n\n\n\n\n"; | |
//system("sleep 1000"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment