Odamex Message Boards

Community Discussion => Technical Support => Topic started by: Zorro on November 14, 2006, 17:31:12

Title: wx based GetWad replacement
Post by: Zorro on November 14, 2006, 17:31:12
Is there any GetWad replacement built into the launcher?  If not, I'm going to see if I can quickly put one together.

EDIT: Well I'll be damned, GetWad is portable.  I guess I'll just do this for the hell of it, and possibly for license compatibility with odamex
Title: Re: wx based GetWad replacement
Post by: Russell on November 14, 2006, 22:36:14
Yeah, I've thrown the idea into the todo list, its a good one.

We could have an option to disable it aswell, since you can download wad's via the client too.
Title: Re: wx based GetWad replacement
Post by: Zorro on November 15, 2006, 15:23:13
oooh interesting.  You mean the way maps are distributed in games like CS:S and Garry's Mod?
Title: Re: wx based GetWad replacement
Post by: Manc on November 15, 2006, 20:16:43
Using this might be the preferred choice however, especially since small-bandwidth servers most likely will not have this option enabled, and downloading off the server is capped anyway so another downloading method would most likely prove to be faster.
Title: Re: wx based GetWad replacement
Post by: leileilol on November 15, 2006, 20:19:28
oooh interesting.  You mean the way maps are distributed in games like CS:S and Garry's Mod?

You mean Quakeworld? That started the whole auto-downloading trend, anyway

A cool way is to have the server substitute direct http protocol links to files not hosted by the server instead of serving itself.

Of course, this would wind up into doom2.wad piracy by rebellious servers.
Title: Re: wx based GetWad replacement
Post by: deathz0r on November 15, 2006, 21:31:48
Of course, this would wind up into doom2.wad piracy by rebellious servers.
Not likely, unless some server admin edits out the code that excludes doom.wad/doom2.wad from being sent and recompiles it.
Title: Re: wx based GetWad replacement
Post by: Manc on November 16, 2006, 10:20:44
Not likely, unless some server admin edits out the code that excludes doom.wad/doom2.wad from being sent and recompiles it.
Which is entirely possible and should not be ruled out...
Title: Re: wx based GetWad replacement
Post by: Voxel on November 16, 2006, 11:39:54
Not likely, unless some server admin edits out the code that excludes doom.wad/doom2.wad from being sent and recompiles it.

Good point, we will probably want to check this clientside as well.
Title: Re: wx based GetWad replacement
Post by: Zorro on November 16, 2006, 20:28:44
Good point, we will probably want to check this clientside as well.

I would have never thought of that.  That would bite the server admin right in the ass. :D
Title: Re: wx based GetWad replacement
Post by: AlexMax on November 16, 2006, 21:40:17
Not likely, unless some server admin edits out the code that excludes doom.wad/doom2.wad from being sent and recompiles it.

Being open source, there is nothing we can do about that though.  It's not like our tool would be facilitating piracy, if our defaults rule out commercial wads then we are showing good faith in preventing such piracy.  If someone wants to mod the source and strip out the download-prevention code, that's their bag, not ours.
Title: Re: wx based GetWad replacement
Post by: Zorro on November 16, 2006, 22:27:23
(back on topic) slowly and surely its coming.  The interface is 99.9% complete.  Now I just need to implement Search and Destroy.  I have already started, but it will still take some time.
Title: Re: wx based GetWad replacement
Post by: Manc on November 17, 2006, 00:23:58
Being open source, there is nothing we can do about that though.  It's not like our tool would be facilitating piracy, if our defaults rule out commercial wads then we are showing good faith in preventing such piracy.  If someone wants to mod the source and strip out the download-prevention code, that's their bag, not ours.
If you notice 2 points above, checking this client side limits the scope.  Before you start saying never and can't, we'll think and try.
Title: Re: wx based GetWad replacement
Post by: Voxel on November 18, 2006, 06:18:47
I have already started, but it will still take some time.

I look forward to seeing it. Might even make it into Odamex. Have already added clientside commercial wad checking to the source.

P.S. Manc: The forum keeps truncating my message if I use the full quote from Zorro in my message. Had to edit several times.
Title: Re: wx based GetWad replacement
Post by: Russell on November 19, 2006, 03:28:56
Here are some sample ones I imported from the GetWAD rc files.

Dialogs are named OdaWAD, couldn't think of a better name :P

Hope they help.
Title: Re: wx based GetWad replacement
Post by: Zorro on November 20, 2006, 22:53:42
Tomorrow I'll finally be able to code again.  I'll look into it then :P (woah, tomorrow is only 7 minutes away)

EDIT: 6
Title: Re: wx based GetWad replacement
Post by: Zorro on April 09, 2007, 06:59:00
Hmm, I'm reconsidering this.  I don't see a reason for a wad search program to have any dependence on a GUI library.  I am going to write it as a command line program.  This would allow it to be intergrated into server script, a launcher, or whatever.  I guess I'll begin "take 2" today or sometime soon.