{"id":67,"date":"2025-09-30T13:11:52","date_gmt":"2025-09-30T13:11:52","guid":{"rendered":"https:\/\/www.alatnet.dev\/?p=67"},"modified":"2025-09-30T13:11:52","modified_gmt":"2025-09-30T13:11:52","slug":"descent-in-unity","status":"publish","type":"post","link":"https:\/\/www.alatnet.dev\/?p=67","title":{"rendered":"Descent in Unity"},"content":{"rendered":"\n<p>So&#8230; I guess it&#8217;s about time that I actually start using this website for something.<br>Figured I try giving a dev log a go.<\/p>\n\n\n\n<p>With that said, I am working on, well, I wouldn&#8217;t say recreating, remaking, or upscaling, but maybe an upmake?  Upmake seems like the right word choice for this.  Anyway, I&#8217;m upmaking Descent 1 and 2 from the Dos and Win95 era in Unity.  Why? Well, why not!  That and I have plans for the Unity version than just having it BE the Unity version.<\/p>\n\n\n\n<p>So, what have I done currently?<br>With the C# library from InsanityBringer, <a href=\"https:\/\/github.com\/InsanityBringer\/LibDescent\" data-type=\"link\" data-id=\"https:\/\/github.com\/InsanityBringer\/LibDescent\">LibDescent<\/a>, and the help from the Descent Developer Discord and the r\/Descent Discord, I have been able to:<br>&#8211; Load hog files as a scripted object in unity.<br>&#8211; Load Textures in indexed format as an 8bit red channel texture.<br>&#8211; Load Palettes as a 16&#215;16 texture which can be used in a shader for the Textures loaded in index format.<br>&#8211; Load High Rez textures that are in PCX format (and other formats).<br>&#8211; Load the font files. (This one was really tricky)<br>&#8211; Load sound effects.<br>&#8211; Load the BGM as a midi file then using <a href=\"https:\/\/github.com\/sinshu\/meltysynth\" data-type=\"link\" data-id=\"https:\/\/github.com\/sinshu\/meltysynth\">MeltySynth<\/a> get it synthesized into an audio format that Unity can use.  (Havent tested the audio but it does synthesize.)<br>&#8211; Load the polymodels for the various enemies, objects, and player ships.<br>&#8211; Load the levels and separated out specific parts to be able to handle gameplay elements, such as doors, and energy stations.<\/p>\n\n\n\n<p>Currently, I haven&#8217;t done much since then and real life has made me pause this for a while.  But I&#8217;m going to see about doing some dev streaming on my twitch and getting back into the swing of things.<\/p>\n\n\n\n<p>What I currently have planned is to work on shaders and the material system.  I have a unique idea of using Texture Arrays and embedding texture lookups into the level model itself to have the level textures work.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So&#8230; I guess it&#8217;s about time that I actually start using this website for something.Figured I try giving a dev log a go. With that&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,12,4,11,5],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-descent","category-dev-log","category-programming","category-unity","category-video-games","wpcat-10-id","wpcat-12-id","wpcat-4-id","wpcat-11-id","wpcat-5-id"],"_links":{"self":[{"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":1,"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alatnet.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}