Disc Image Creator GUI - A Simple / Effective Interface

FatArnold
Posts: 301
Joined: Mon Jun 08, 2026 1:27 am

Re: Disc Image Creator GUI - A Simple / Effective Interface

Post by FatArnold »

Thank you!

It's already on github but the code is quite terrible as I'm a horrible coder and have so little time to work on it right now.

The flag system info is very useful, thanks. Image
number78
Posts: 110
Joined: Mon Jun 08, 2026 1:28 am

Re: Disc Image Creator GUI - A Simple / Effective Interface

Post by number78 »

FatArnold wrote:Thank you!

It's already on github but the code is quite terrible as I'm a horrible coder and have so little time to work on it right now.

The flag system info is very useful, thanks. Image
Oh, cool it's python. Good work! I started knocking one up in Vb.net as I thought this project might be dead, but I think having sourcecode on git will lead to some collaboration. My vb.net version didn't have profiles yet, so it was pretty trashy Image

i was thinking it might be cool to get crc after dump, then scrape redump search page to see if unique or verify, then make that visible in UI - but feature creep can be a trap!
number78
Posts: 110
Joined: Mon Jun 08, 2026 1:28 am

Re: Disc Image Creator GUI - A Simple / Effective Interface

Post by number78 »

Hey FatArnold

here is some crc32 check / then check if new disc or verify disc from redump...

import requests
import zlib
from bs4 import BeautifulSoup

#fn needs to be set from GUI

buffersize = 65536

with open(fn, 'rb') as afile:
    buffr = afile.read(buffersize)
    crcvalue = 0
    while len(buffr) > 0:
        crcvalue = zlib.crc32(buffr, crcvalue)
        buffr = afile.read(buffersize)

crc = (format(crcvalue & 0xFFFFFFFF, '08x'))
#print (crc)

url1 = "https://redump.info/discs/quicksearch/"
r = requests.get(url1 + crc)
r.encoding = 'utf-8'
soup = BeautifulSoup(r.text, 'html.parser')
soup2 = soup.find_all('title')
soup3 = [e.get_text() for e in soup2]
if str('Discs') in str(soup3):
    print ("This disc is a new entry to Redump DB!")
else:
    print ("This disc can be used to verify a Redump DB entry")
Post Reply