printz's Doomworld Forums Blog

printz's Doomworld Forums Blog

Porting AutoWolf to DOS June 7, 2013, 9:21 am
I'm considering porting Automatic Wolfenstein to DOS. This will allow me to both keep a low footprint on most data and be efficient, and more importantly, make it work wherever DOSBox can be installed (I can sidestep Android development by providing a DOS binary instead, for example. Currently I can run it on my phone, but performance sucks).

I've released an 'experimental' DOS binary here, however it requires Wolf3D 1.4 by Activision/GT. It also contains the source code (which is equivalent to Git commit 400bfcb 20130607 "Committed a tentative..."). It's a 16-bit binary built using Borland Turbo C 3. It's based on alpha01, which is older than the latest alpha02, and much older than the unstable Git builds.

Here's a demo video on map E1M1. Note that it uses the same robotic walking as alpha01 (I didn't port alpha02 or any Git revision to DOS, I wanted to start simple).
[yt]04n72MSuZIA[/yt]

Changing C++11 of the SDL code to Borland C language was somewhat fun, because it resulted in streamlining of what was basically non-OOP static class code (I later changed that to OOP, but it was still working on singletons) into simple functions with either program or object-file scope.

However, I obviously had to face the limitations of the 16-bit segmented memory architecture. Since I work with lots of caches of 64x64 (map-sized) data, I'm going to consume a lot of space. I understand that I can use the 'far' qualifier if I want to get past the 64k near segment. Documentation on 16-bit unprotected programming seems quite low these days...

You may notice the performance penalty. Whenever the bot reaches an objective (item, secret wall), you'll observe a split-second lag. Pathfinding seems much slower here. Could it be that 'far' memory access is too slow? Currently it's storing the Dijkstra (in fact just breadth-first) search in a 4096-long priority queue that resides in the far memory.

Anyone with DOS knowledge can tell me how much code and how much data I can throw at a 16-bit program? :)
0 Comments

Today's my birthday January 7, 2011, 10:49 am
I'm getting 22 today. A new year is coming for me. I hope it will be helluva more fun that the previous one, considering I'm finishing this hard and unfun semester, and difficulty is going downhill from here. I hope I'll make more printed circuit boards in the new year (that's my non-Doom hobby for now), and that I get faster at PWAD editing too (I feel like I talk too much and provide too little in this department). I'm also going to participate in a robot-toy-car programming competition this year, where I need to make it learn a racing track and afterwards make it move by itself...
3 Comments

Seems like I finally made the Doom 3 banners show up! May 14, 2010, 3:22 pm
I hope it stays this way. Lately, I wondered why Doomworld shows at the top left pictures of the Doom Movie, but never of Doom 3 (WHAT!?!).

Then I changed the display settings, from the homepage, to something else. Then I changed them back to random, and now Yes, I can see Doom 3 monsters in the corner! Thankfully, this place is not populated only by Doom purists.
6 Comments

Tried World of Warcraft January 9, 2010, 8:51 am
I finally got the curiosity for World of Warcraft (after reading lots of wowwiki, for the lore) so I downloaded my 10-day trial. And after a bunch of sessions, I can say I'm not impressed, at all.

The beginning of the game consisted of my character talking to static NPCs giving me standard kill/fetch/talk-to quests, each rewarded by something or something else. You pretty much know what you have to do, and the characters stand there all the time giving directions to all players coming to them.

At first I got quite a beating :( but it was because I was venturing outside my character level's scope. Unfortunately, once I met the monsters I was supposed to kill, I realized all I have to do is right click them and wait. Do the same a few more times, until the kill quest is done. It would have been cooler if these monsters attacked me first; but this was rather dumb. Actually, the killer monsters I mentioned before did seem to jump for me...

Is the game going to get more interesting and have epic intrigues, or is it the same till the end? Feels rather Diablo-ish to me, minus the features that make the Diablos great, such as demons galore and bloodshed. I don't get it how I could possibly become "an addict" to it. It may only be the curiosity to see new landscapes, but the all-too-familiar combat-and-fetch gameplay let me down. I've seen it in Diablo.

Of course, everyone is different and likes different crap, but what I'm trying to point here is that the "WoW addiction" didn't hit me. I hope it will hit me some time after I know what the real thing is like, though :(
31 Comments

Something's butchering my hard drive December 27, 2008, 5:10 pm
I don't know if I'm supposed to say it here, but from yesterday (12/27) my virus scanner detected the w32/hllp.philis.bx virus on all executables of my computer (all detected as *.exe.exe though, not as simple *.exe) and resorted either to "cleaning" or "deleting" them. Some files weren't really "deleted", especially the ones officially installed. But some have been lost. I could find neither my favourite Doom executables (Eternity, Doom, Doomp, Doom2p), nor a hex editor I like using (zapit), nor mus2midi from XWE (which survived). Most "installed" software seemed intact, though I didn't check on everything.

Unfortunately after about three hours the infection was detected again, on all executables again.

I may mention that I changed my provider (and thus router) prior to catching this infection -- either this or it is the antivirus's fault: could it be that its scheduled scanning was being wrong? I hope it's only an antivirus error causing all this.

I have Windows XP SP3 by the way. And McAfee VirusScan Enterprise 7.0.0.

Maybe I should switch to another OS...? Or simply another antivirus? :)

I hope I can get to use this computer again by daylight... :/
4 Comments

Damn, what's happening, another Doomworld instability concerning"view current users"? September 14, 2007, 3:29 pm
Here's this pic. Why are guests creating threads??? Arrows added by me using Paint.

OTOH, most actual users are doing nothing, just standing there like statues at the forum's front page.
11 Comments

Who's gay who's straight December 21, 2006, 3:18 pm
nt
28 Comments

Next