ripa
Member-
Posts
20 -
Joined
-
Last visited
-
I'll just pop in here to say 'congratulations' and 'good work'
-
I didn't test dxwnd yet, but can it preserve fullscreen mode but with a different video mode? If not, that feature could be implemented since it's open source... edit: never mind, of course it's not that simple. If the fullscreen video mode was forced to something else, the game's graphics would be altered (and probably not work at all). I just found out dgVoodoo supports DirectDraw and old DirectX. Maybe it has some built-in scaling functionality.
-
Slippery No blaster bolt shall pass. Best thing about GoldSrc is cl_gibcount & sv_gravity.
-
Cool! Your maps include the road edge marker sticks and some of the tiles that were missing in my maps. Good job!
-
Final set of files. Add-on disk courses 4 and 5. disk-course5.zip disk-course4.zip
-
Third set: add-on disk courses 1, 2 and 3. disk-course3.zip disk-course2.zip disk-course1.zip
-
Second set of files: courses 4, 5, and main menu. mainmenu.zip course5.zip course4.zip
-
Here you go. First set of maps (sorry, max 3 attachments per message, max 256 KiB / attachment). course3.zip course2.zip course1.zip
-
Here's the maps from the add-on disk. There's several missing pieces in all of them. I think some of them are actual missing data - if you drive to those spots in the game, the car starts to sink into the ground. Others are missing props like bridges. I'll leave it up to Komojo to crack the problem of decoding those properly. I'll upload a ZIP file with the 3d .objs later. Veyrdite: incidentally I also found a way to get rid of the F6 nagging: patch these instructions with NOPs (90h) 0B4D:135C push ax 0B4D:135D call far ptr subr_37C8 0B4D:1362 add sp, 2 Ross: just "ripa" is fine
-
Great job Komojo! I think you've solved the hardest part. The map layout should be a simple 32x16 table of 2-byte little-endian words. Each word encodes the elevation of a tile, rotation of the tile, and the type of the tile. The elevation should be ((word & 0x3F00) >> 8), the tile type index should be (word & 0xFF), and the rotation bits should be (word >> 14). Memdump-to-obj.py is attached. Sorry that it's a steaming pile of crap (but it worked edit: These should be the offsets to the map layouts. I found them by searching the DAT files for the map layout data that I got from the memory dumps. DATAB.DAT 0x216e2 main menu SCENE01.DAT 0x1031f course 1 0x1a2ab course 2 0x1c3f8 course 3 0x21644 course 4 0x23791 course 5 SCENE02.DAT 0x1022c cape cod course 1 0x2166e cape cod course 2 0x26352 cape cod course 3 0x2849f cape cod course 4 0x2d95b cape cod course 5 For example, course 1 corner tile is bytes 2a 01 at SCENE01.DAT:0x1031f. Tile type (index) is 2a, elevation is 1, and rotation is 0. memdump-to-obj.zip
-
Sneak peek of Cape Cod:
-
I uploaded the ZIP archive to Sendspace again. I didn't actually crack any of the file formats of the game. Instead, I executed the game in debugger-enabled version of Dosbox and dumped the memory after the game had loaded each track. The Python script included in the archive should be able to extract the track 3d data in .OBJ (+ .MTL for color) format from each memory dump. I used IDA Free 5, Dosbox debugger, and Bitmap Memory Debugger ( http://www.theycamefromhollywood.com/bmd/ ) to discover enough information about the internal data formats used by the game to be able to write the Python script. Here's some copy-pasta of a PM I sent to someone else:
-
Yeah, FileDropper sucks. I can't download the file any more either. Let's try sendspace: https://www.sendspace.com/file/9ce6o5 As for the .OBJs. All I can recommend is to try importing the files in Blender. You can export to you favorite format from there. edit: re-re-uploaded to Sendspace edit2: sendspace sucks - OBJs available at viewtopic.php?p=227814#p227814
-
I only managed to extract the terrain data - no props like houses, traffic signs or cows. I think tree placement is random anyway. If anyone else wants to take a stab at extracting the props, I can post some technical info about the game. I tried that already, but unfortunately the exact same script I used for extracting the standard race courses did not work out of the box. It's probably not difficult to adapt it for the expansion disk race courses, but I need to take a break from this hacking. I re-rendered the overhead maps without the directional light source. The colors are now saturated and flat. I used averaging for extracting the dithered colors. I included the new renders as well as the old ones in the following ZIP file as lossless PNGs. Feel free to submit them to VGmaps! Also, the 3d files are included (Wavefront OBJ format), as well as the Python script I wrote for extracting the data from the game (but I doubt it will work for anyone else). I hope FileDropper doesn't suck. http://www.filedropper.com/td3-maps Cool!
-
As promised, here's the rest of the race courses. Renders and maps done in Blender. Order is: course 1, 2, 3, 4, 5, and finally main menu. As you probably notice, the maps repeat infinitely, which is why you can endlessly drive straight on that highway on course 3. edit: Switched to thumbnails.
×
- Create New...
This website uses cookies, as do most websites since the 90s. By using this site, you consent to cookies. We have to say this or we get in trouble. Learn more.