Jump to content

WadCheck by ketmar - use BEFORE uploading to idgames! (detect duplicate lumps from iwads)


Doomkid

Recommended Posts

Ok so... how i use it

I tried opening it directly, dropping a pwad, an iwad, etc. It simply opens and closes.

Share this post


Link to post
3 minutes ago, URROVA said:

Ok so... how i use it

I tried opening it directly, dropping a pwad, an iwad, etc. It simply opens and closes.

Maybe you should run it with cmd.exe?

EDIT:

It really doesn't work at least for me (I'm on W7 64 bit)

Edited by SilverMiner

Share this post


Link to post

This is a Windows program, are you in Windows? Does it just close the instant you open it? Tested on Windows 7 64 bit and it works fine but haven't tested on my Win 10 pc yet..

Share this post


Link to post

Yes, im on Win10 x64, really does nothing. I tried running on cmd, and on git bash, and it doesnt show a gui, or a text message or nothing :/

Share this post


Link to post

Hey @ketmar, I know I haven't spoken to you about this util in ages... but looks like we have some bug reports coming in :)

 

Very strange to hear it isn't working, not sure what could be wrong. Hopefully ketmar might have some suggestions when he sees this. I think the concept behind this tool is really important, since I know so many people get their files rejected from idgames for using unmodified resources.

Share this post


Link to post

Offtopic qstion: the Doom 1 textures for Doom 2 texture pack on realm667 counts as unmodified ID resources? If yes i have to replace various textures from my wip mod :/

Share this post


Link to post

I created a small program to do this too.

 

It is written in python (so, cross-platform) and will detect duplicated IWAD lumps from across common Doom-engine games (Doom, Strife, Heretic, Hexen, etc.). You do not need to supply any IWADs.

 

Is there interest in this? If someone would be willing to test it out and finds it useful, I could probably add a small GUI to make it easier to use. Right now it only works from a shell or command prompt.

 

(edit)

Here is an example of what it does:

python wadtest.py test.wad
Found IWAD duplicated lump: D_ADRIAN is a duplicate of D_THE_DA from tnt (size: 00004309)
Found IWAD duplicated lump: D_MESSG2 is a duplicate of D_COUNTD from tnt (size: 00021848)

 

Edited by JadingTsunami

Share this post


Link to post

I personally would get plenty of use out of such a thing, Jading. Like with Slade and XWE, or Doom Builder and Eureka, or so many other examples, having different options for tools that do essentially the same thing is always a good idea, in my book.

Share this post


Link to post
7 hours ago, JadingTsunami said:

I created a small program to do this too.

 

It is written in python (so, cross-platform) and will detect duplicated IWAD lumps from across common Doom-engine games (Doom, Strife, Heretic, Hexen, etc.). You do not need to supply any IWADs.

 

Is there interest in this? If someone would be willing to test it out and finds it useful, I could probably add a small GUI to make it easier to use. Right now it only works from a shell or command prompt.

 

(edit)

Here is an example of what it does:


python wadtest.py test.wad
Found IWAD duplicated lump: D_ADRIAN is a duplicate of D_THE_DA from tnt (size: 00004309)
Found IWAD duplicated lump: D_MESSG2 is a duplicate of D_COUNTD from tnt (size: 00021848)

 

I have python (3) so i can run it :)

If you can publish it will be good

Share this post


Link to post

Thanks. Since there is interest I will try to work on cleaning it up so it can be published.

 

I'll post another thread when I have something. It may be a little while since I have other projects I'm working on too.

Share this post


Link to post
On 10/28/2020 at 4:43 PM, URROVA said:

Yes, im on Win10 x64, really does nothing. I tried running on cmd, and on git bash, and it doesnt show a gui, or a text message or nothing

can't it be blocked by your av?

 

On 10/28/2020 at 4:47 PM, Doomkid said:

Hopefully ketmar might have some suggestions when he sees this.

sadly, i haven't the slightest idea. the thing does absolutely nothing "smart", it is a straightforward winapi app (as can be seen in the source, which is in k8vavoom repo). the only thing i can blame (except some hidden bug i cannot see with Wine) is some antivirus -- they're so special these days that they can be triggered by almost anything.

Edited by ketmar

Share this post


Link to post

ah, and please, make sure that it is started from some folder it can write into. preferably without spaces and non-ascii chars (they should be fine, but it's better to play safe here). it still should start and show it's window even if something is very wrong, tho, but it won't hurt to make its life slightly easier. ;-)

Edited by ketmar

Share this post


Link to post

@Doomkid, that tool seems to run fine. I have Avast AV, and it checked OK the exe no problems. On Windows 10 you will need to confirm running the file and also ensure the database gets created first (it falls over if you try to analyse a WAD with no database file present) Any chance a pre-built, empty DB could be included with this? 

Share this post


Link to post
On 11/2/2020 at 6:06 PM, smeghammer said:

it falls over if you try to analyse a WAD with no database file present

sure, that's the idea -- you can build database over any set of wads, and even have different databases for different checks.

 

but i guess that most people will use it to check against IWADs, so yeah, including prebuilt db for iwads looks like a good idea.

Edited by ketmar

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...