Duke4.net Forums: MrFlibble - Viewing Profile - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Reputation: 551 My posts turn threads into gold
Active Posts:
1,200 (0.38 per day)
Most Active In:
General Gaming (440 posts)
28-April 10
Profile Views:
Last Active:
User is offline Nov 10 2018 12:38 PM

My Information

Age Unknown
Birthday Unknown
Not Telling Not Telling

Contact Information


Topics I've Started

  1. Scaling sprites by combining waifu2x and xBRZ output

    13 June 2018 - 05:52 AM

    So I was toying around with various ways to scale up video game sprites and managed to produce these results for Duke3D enemies:
    Posted Image
    (this is converted to the Duke3D palette, original image scaled twice using nearest neighbour for comparison).

    Basically, I noticed that waifu2x does a decent job scaling up pre-rendered images, which would make it good for Duke3D sprites if only sprite edges weren't handled so badly. On the other hand, xBRZ can produce very smooth edges but does nothing to enhance image detail.

    The obvious solution was to combine both approaches, keeping xBRZ's smooth edges and the detail that waifu2x can produce.

    So the steps I took to produce the above image:

    1. Assembled the sprites into a single image (obviously). I also created from it a set of solid colour shapes with the colour replacement tool found in GrafX2.

    2. Scaled the sprite sheet to 4x its original size using both waifu2x and the xBRZ Scaler Test. Also scaled up the shape sheet with xBRZ and neutralised all transition colours in the resulting image (again, using GrafX to only keep one colour for shapes and another for the background).

    3. Used the scaled up shape sheet to produce shapes that are 3 pixels thinner (note: if you see a blue outline it's an optical illusion). I did this by treating the shape colour as the background colour (using KolourPaint) and placing four copies of the background around the original image -- this thins the shapes by one line of pixels, and repeating this thrice gives a three-pixel thinning result.

    4. Pasted the thinned shapes over the xBRZ-scaled sprites, getting a thin outline. I also completely removed the outer one pixel thin outline.

    5. Pasted the resulting outline over the waifu2x-scaled sprites, covering the rough edges (resulting image).

    6. I did not like how the 4x sprites came out so I loaded them in GIMP and first converted them to the Duke3D palette and then scaled down to 2x the original size using nearest neighbour method. The result is shown above.

    I'd say the results are pretty interesting, perhaps such sprites could serve as the base for some true high-resolution sprites after touch-up by an artist?
  2. Browser version of EDuke32?

    02 December 2017 - 02:50 AM

    This is just a thought that occurred to me when I recently visited the site of JS-DOS, which is a browser implementation of DOSBox. I was trying to figure out if it had better performance compared to EM-DOSBox, or whatever stuff is used by archive.org's online Classic PC Games collection. JS-DOS happens to have a playable shareware version of Duke3D on their site, which I played a bit to get an idea how well it worked (the answer is: pretty slow), as well as Doom which I then compared to the archive.org version (it seems that JS-DOS is faster in this case).

    Anyways, some time after this it suddenly occurred to me that, given that the source code of Doom is available, there's no reason why a browser-based version should be using an implementation of DOSBox with its obvious performance drawbacks (apart from saving the effort of writing the browser port). After all, there's the official browser version of Wolfenstein 3-D (it doesn't have the aspect ratio correction option sadly). From this, the idea of a browser version of EDuke32 was an obvious logical step further.

    So here's my question: is a play-in-your-browser version of EDuke32 possible? I Googled the topic a bit and did not get any immediate results pointin to the existence of such version. If implemented, would it be as robust in performance as the regular OS-based builds? Personally I think it would be a nice thing to have because such a version is potentially more accessible to many users than other options. A version running on the official site with the shareware episode could become an excellent way to introduce new players to the game. What do you think?
  3. A way to remove some JPEG compression artefacts from old screenshots

    19 September 2017 - 12:08 AM

    The invention of JPEG image format, while bringing many advantages in the era of slow Internet connections, also resulted in a lot of damage to video game screenshots published online back in the day, especially of games using 256 colours or less in their palettes.

    For example, here's an old screenshot from Shadow Warrior (magnified at 2x using nearest neighbour method for better visibility) which was available at 3D Realms website in 1998 (Wayback Machine link):
    Posted Image

    The image is extensively distorted by various JPEG compression artefacts, including one known as "mosquito noise"

    I've been trying to figure out a way to reduce these kinds of artefacts, and came up with the following method using GIMP. The result is shown below:
    Posted Image

    The image is now cleaned up of most of visible mosquito noise while preserving the details. Described below are the steps to achieve this:

    1. Import the source image into GIMP. Personally I prefer to first convert it from JPEG to a lossless format prior to importing but I'm not sure if this makes any difference.

    2. Scale the image to 400% of its original size (which is 1280x800 in the case of a 320x200 image) setting interpolation to None (other software may call this the nearest neighbour interpolation).

    3. Apply Median filter at the redius of 2. To do this, go Filters -> Enhance - > Despeckle, in the dialog box uncheck Adaptive and Recursive (if checked), set Radius to 2, Black level to -1 and White level to 256. In Photoshop, just use the Median filter with the same radius. This will reduce some of the mosquito noise.

    4. Apply selective Gaussian blur (Filters -> Blur -> Selective Gaussian Blur). The Radius and Threshold levels might need to be adjusted for each image individually to achieve adequate mosquito noise removal. For the image above, I used Radius 4 and Threshold 25.

    5. Apply the Pixelise filter (Filters -> Blur -> Pixelise) with pixel width and height both set to 4. This will effectively revert the image to its state when it was scaled up from the original size at 400% with the nearest neighbour interpolation.

    6. Scale the image down to its original size. The Sinc3 interpolation method seems to produce good results here.

    Note that wile this method reduces visible mosquito noise, it does not address other distortions resulting from JPEG compression, such as discolouration, colour distortion, blurring and loss of image detail due to the former. Thus, better quality source images will
  4. Alien Rampage now available from GOG.com

    22 August 2017 - 10:28 AM


    You can get a seven-level shareware here:
  5. Interviews etc. with Apogee/3DR people

    24 June 2017 - 03:20 AM

    Over the recent years I have come across various interviews with game developers, including people related to Apogee/3D Realms. Some of these are still online, some are only accessible via the Wayback Machine. It seems reasonable to keep track of them as potentially interesting information can be obtained from these documents.

    Currently the idea is to sort links by person, and by publication date for each person. I'm not listing the Apogee Legacy Interviews as they are already neatly organized on their own.

    George Broussard
    GameSlice Interview (w/ Scott Miller) (1996)
    Gamecenter.com Shadow Warrior Q&A (late 1996)
    The Adrenaline Vault Interview (22 March 1997)
    PC Games Shadow Warrior Guided Tour (1H 1997)

    Richard "Levelord" Gray
    Ritualistic Interview (8 April 1998)
    Ritualistic Interview (25 December 1998)
    Gamedesign.net Interview (1999)
    GameSpy Interview (2000)
    Shacknews Interview (20 August 2012)
    TesAll Interview (30 January 2014)
    duke64nukem.com Interview (8 October 2016)
    Lecture at the Geek Picnic event (10 July 2017)

    Jason Hall
    The Adrenaline Vault Interview (31 March 1997)

    Tom Hall
    GameSlice Ion Storm Interview (w/ John Romero) (1997?)
    DOS Games Archive Interview (ca. April 2002)

    Lee Jackson
    GameSpy Interview (7 July 2000)
    The Cyber Den Interview (27 January 2016)

    Bobby Prince (blog)
    The Adrenaline Vault Interview (12 October 1997)

    Scott Miller
    GameSlice Interview (w/ George Broussard) (1996)
    The Adrenaline Vault Interview (11 May 1997)
    Gamasutra Interview (21 August 2009)
    Arcade Attack Interview (22 April 2017)

    Nick Newhard
    The Adrenaline Vault Interview (26 April 1997)

    John Passfield (official website)
    Tsumea Interview (12 October 2002)
    RGB Classic Games Interview (31 October 2005 - a fitting date for a talk with the author of Halloween Harry)
    1 More Castle Interview (July 2012)
    Gamasutra Blog Post (1 June 2015)

    John Romero (official website)
    Next Generation Online Interview (13 May 1997)
    GameSlice Ion Storm Interview (w/ Tom Hall) (1997?)

    Paul Schuytema
    Online Gaming Review (OGR) Interview (1998?)

    Joe Siegler (blog)
    RGB Classic Games Interview (31 January 2006)

    Ken Silverman (official website)
    RGB Classic Games Interview (21 November 2005)
    Arcade Attack Interview (1 May 2017)

    Jon St. John
    Arcade Attack Interview (15 May 2017)

    Charlie Wiederhold
    Gamedesign.net interview (1999)

    Sunstorm Interactive (official website)
    The Adrenaline Vault Interview (26 July 1997)
    Online Gaming Review (OGR) Overview & Interview (1998?)

All copyrights and trademarks are property of their respective owners. Instead of reading this text, you could be playing Ion Maiden! ;) © 2018 Voidpoint, LLC

Enter your sign in name and password

Sign in options