Commit graph

  • e6eb0fedaa Tools completly moved outside of niotso now cleanup Jip 2024-05-13 21:37:34 +02:00
  • 01d8cb2539 Added a TODO for next time Jip 2024-05-13 21:17:17 +02:00
  • 52b0e0671f got it working up until the demos, still need to check and redo all the tools Jip 2024-05-13 20:59:48 +02:00
  • 948bd8474c work in progress, cleaned up the directories and split them up into folder which make more sense, Still need to compile libvitaboy and all the tools Jip 2024-05-13 18:38:21 +02:00
  • 66ce473514 New farextract naming logic and a rewritten UTalk decompressor master Fatbag 2013-03-07 16:17:18 -06:00
  • 558726a9f1 Corrected the memory exhaustion trap behavior used when calling realloc Two more steps are currently required to complete hitutils: write hitld, with support for multiple objects and even .a archives, and implement scan_branch_destinations in hitdump. Then we can seamless modify The Sims 1's HIT routines. Fatbag 2013-01-23 21:13:25 -06:00
  • 0ec39fd968 Added hitasm Fatbag 2013-01-23 15:58:58 -06:00
  • 5488883991 Rewrote hitdump to use a parser and Shutdown_M Fatbag 2012-12-26 09:51:32 -06:00
  • 6dddbd2efa Added rtti-reader and made various cleanups, switching to Shutdown_M for error handling Fatbag 2012-12-03 12:31:24 -06:00
  • 5444c9aea6 Fixed the update-libraries script (thanks to Anderson Souza) and added a basic Linux daemon for the server Fatbag 2012-11-11 17:10:53 -06:00
  • bb904c4698 Mirrored rendering by libvitaboy Renderer Fatbag 2012-10-27 23:45:56 -05:00
  • 6393955683 Fixed the build system for Linux Andrew D'Addesio 2012-10-20 13:23:42 -05:00
  • aa50ab78ec More build system changes Andrew D'Addesio 2012-10-18 23:03:05 -05:00
  • 3ab4f0caed Made fixes for compiling with other distributions of MinGW Andrew D'Addesio 2012-10-18 09:51:23 -05:00
  • 227617b540 Moved to git Andrew D'Addesio 2012-10-17 03:21:00 -05:00
  • 6b0b0c1d9c Added hitdump. It's not yet complete in the sense that it can tolerate any input file you give it, but it can correctly disassemble every HIT file in both games now. Fatbag 2012-07-26 13:35:45 -05:00
  • 90c703188b Linux x86-64 build of everything but the client, FARDive, and libpq. For libvitaboy Renderer, this is made possible with the new libgldemo. Fatbag 2012-07-02 12:14:12 -05:00
  • 9b5b1758c2 Forgot resource.rc Fatbag 2012-06-28 07:01:07 -05:00
  • 56f6487206 * Fixed MP3 playback with libmpg123 * Finally removed the dependency on libstdc++ with TDM GCC, reducing the size of the exe from 153kB to 87kB Fatbag 2012-06-28 07:00:45 -05:00
  • f00c41f26c Adding and removing files for the last commit Fatbag 2012-06-27 22:45:19 -05:00
  • 5713fc1bd1 * Some files were still encoded with Windows newlines. I fixed all of that. * Started using the static keyword in a few more places in the client * Updated libpng, libmpg123, and freetype to the latest versions, with position-independent code turned off rather than set to "both" Fatbag 2012-06-27 22:44:50 -05:00
  • ecafff8c5c Removed the Z-Buffer field for SPR# chunks Fatbag 2012-06-17 19:45:18 -05:00
  • 2c5957928a Fixed BMP->PNG conversion in iff2html; this has been lacking BGR->RGB conversion since I adopted OptiPNG. Fatbag 2012-06-16 14:00:13 -05:00
  • dd15e0d42a Added BHAV parsing and displaying, and started using the transparent color field in SPR2 chunks to remove the magenta background in some sprites. Fatbag 2012-06-15 20:45:11 -05:00
  • e51ce26db9 Added support for SPR2, DGRP, and OBJf in the iff library and in iff2html. Fatbag 2012-06-15 10:18:12 -05:00
  • bc978bfa0b * Rewrote all of the chunk parsers to use a bytestream reader. Most noticeably, all of the string-reading code is shared now, and all of the "Size -="s have been taken out. * Condensed STR# reading of formats 0, -1, -2, and -4 together. * The STR# parser now supports "formatless" format 0 STR# chunks. * Made all of the command-line tools cross-platform; replaced file IO with fopen()/etc, and replaced time measurement with clock(). There is no longer a dependency on Windows.h. * Added a "Server GUI" folder to tools. Niotso Server will basically be a background daemon., and communication would "normally" be through the command line until you run a GUI. Fatbag 2012-06-14 09:19:13 -05:00
  • cb40cbd867 Shaved off about 5MB from freetype. It's far larger than any other library I'm pulling in. Fatbag 2012-06-12 03:31:12 -05:00
  • 10827bf2df Added libpq to the Libraries folder. Finally, I have been waiting for this day. libpq is seriously unready out of the box; you have to edit 3 header files to get it to work outside the PostgreSQL build environment. Fatbag 2012-06-04 22:27:28 -05:00
  • 4b395ba3ad Fixed SPR# version 1001 seeking; you have to count up the sprites in the file manually. Fatbag 2012-05-31 17:54:15 -05:00
  • ec45a6ce82 The iff parsing code now accepts SPR# chunks with a "blank sprite", one that has zero dimensions. Fatbag 2012-05-31 07:38:10 -05:00
  • 31282d91f2 Corrected row_pointers passed to libpng for SPR# images; they're top-down, not bottom up. Fatbag 2012-05-31 06:49:02 -05:00
  • 1a9433163b Fixed a BGR->RGB swapping incompatibility with OptiPNG, which is even stated at the top of the file. Due to the state that it leaves libpng, and the fact that the libpng API offers no way to look at the transformed pixel data, this conversion must be done on the pixel data manually. Fatbag 2012-05-30 00:04:41 -05:00
  • aced66a7af Added OptiPNG's opngreduc.c functionality to iff2html. The results are fantastic for typical SPR# images, reducing images to about half the size they were before. Fatbag 2012-05-29 23:26:57 -05:00
  • 67fa76c747 Added Propeng's tsoscan, and removed old files from libpng and zlib Fatbag 2012-05-28 23:51:49 -05:00
  • 1f7061d98a * Updated libpng and zlib * Added SPR# parsing to the iff library * iff2html now displays BMP_/FBMP, PALT, and SPR# chunks Fatbag 2012-05-28 23:37:38 -05:00
  • 78f1ca1d6f Fixed Pascal string reading in GLOB chunks Fatbag 2012-05-25 16:44:44 -05:00
  • 62ad3dfc4f Added PALT viewing to iff2html Fatbag 2012-05-25 15:48:09 -05:00
  • 783227a630 Added FCNS, GLOB, TMPL, and rsmp parsers to the iff library Fatbag 2012-05-24 01:53:56 -05:00
  • bc51bb4aad * License header formatting change * New IFF chunk formats supported: CST, FBMP, CATS * Rebranded libfar to simply far * Started preliminary work on the hitutils package Fatbag 2012-05-21 23:27:44 -05:00
  • 55659f43b5 * Libraries are now being compiled only as static or as shared, not both, quickening the compile process. * Implemented the rewrite of the iff library, submitted by Propeng. The linked list has been completely replaced with vectors or normal arrays. * Started work on the cur and tga parsers Fatbag 2012-04-29 00:44:41 -05:00
  • 5c7a36592e Client: Separated the LoginScreen scene away from Scene.hpp, so it's compiled once as its own translation unit. FileHandler: Added read support for XA, UTK, and MP3 to File::ReadSoundFile. Fatbag 2012-04-22 03:52:39 -05:00
  • 06f13d50ac Graphics: Added font rendering functions Graphics::DrawText and Graphics::StringImage. FileHandler: Added support for wav Audio: Added support to play back a sound with XAudio2. We can't delete sounds until we make our own system to keep track of available voices. LoginScreen scene: Upped framerate from 15fps to tickless, and added new logic to clone the scrolling text at the bottom. All of it. Fatbag 2012-04-20 19:37:08 -05:00
  • 64a5c0a425 Reverted to the original GetLastError() method for CreateMutex(), as, it turns out, Microsoft lied. Even when the function fails, it returns non-NULL. Fatbag 2012-04-13 23:16:34 -05:00
  • c5117169b9 Just learned that PostThreadMessage(ThreadID, WM_QUIT, 0, 0) works while PostQuitMessage(0) does not. Fixed an issue where, if the system fails before the window is created, the message loop thread is never killed. Fatbag 2012-04-13 23:08:36 -05:00
  • 4294cb41f7 Split off the Windows message handler into a separate thread. Fatbag 2012-04-13 22:55:13 -05:00
  • d9afae7022 I forgot to add the new file. Fatbag 2012-04-10 00:07:25 -05:00
  • 7a5124a687 Added Graphics::DrawText which can draw text on to an image with alignment. No multi-line support yet. Fatbag 2012-04-09 23:58:16 -05:00
  • 7d9259b63d Added eagames.bmp reading to the LoginScreen scene. Fatbag 2012-04-08 12:20:25 -05:00
  • cb751c0bb8 Removed changes by Nicholas. These will need to be re-submitted through Trac and manually validated. Fatbag 2012-04-06 13:27:40 -05:00
  • 7442579090 Commits disappearing? Test... thnor 2012-04-05 18:15:01 -05:00
  • 2a87e619ae Sprite formats are now completely supported (PNGs work great too)! thnor 2012-04-05 00:50:46 -05:00
  • 6c85920535 Support for sprites was added to libiff. Support for SPR# and SPR2 was added to iff2html. thnor 2012-04-04 00:24:25 -05:00
  • 02dff475c8 Added BHAV support to FileHandler and iff2html Split "chunk.c" functionality into bhav.h, bhav.c, stbl.h, stbl.c rothn 2012-04-02 20:07:46 -05:00
  • 4442056335 Added libmpg123 to FileHandler. This and libjpeg-turbo are now being assembled by GCC and NASM, respectively. Fatbag 2012-03-25 20:51:30 -05:00
  • 705da4ba5c Realized I had forgotten to initialize the UserInput struct to 0. Fatbag 2012-03-21 21:31:46 -05:00
  • 551f3c834f Proper scene logic, whoo! Fatbag 2012-03-21 20:58:06 -05:00
  • 2e7f3b24ca New Scene class definition. Also fixed a compile error for some users involving the definition of IID_IXAudio2 Fatbag 2012-03-21 20:00:22 -05:00
  • 8bb608d5ce Fully functional cst parser. Fatbag 2012-03-18 23:06:08 -05:00
  • b746dbe407 Fixed random garbage produced by iff2html with personglobals.iff due to one of the STR# chunks (animation) not specifying its PairCount. Fatbag 2012-03-13 18:58:17 -05:00
  • 64fddcf78e iff2html is working and can properly parse STR# chunks. Fatbag 2012-03-13 00:12:27 -05:00
  • a4a7b82bb7 Added prerelease version of libvitaboy 1.0.1 Fatbag 2012-03-10 14:56:32 -06:00
  • 432d12397c Made the iffexport utility (design based on libfar), added in an HTML5 z-buffer renderer, and made tags for libfar 1.0.0 and libvitaboy 1.0.0. Fatbag 2012-03-04 13:28:34 -06:00
  • f23bcd7b4d Added libjpeg-turbo to FileHandler with a working File::ReadImageFile() function. The dependency on SOIL in libvitaboy Renderer has therefore been removed. Fatbag 2012-02-27 02:55:53 -06:00
  • 83ad5d89d1 Aside from adding the new source files for libjpeg-turbo, added SLERP quaternion interpolation to libvitaboy Renderer. Fatbag 2012-02-22 16:25:23 -06:00
  • 7bf2669441 Detects system refresh rate; also detects system resolution when entering fullscreen. Will also update these values when the user changes the display settings. Fatbag 2012-02-20 12:11:47 -06:00
  • 3aea20fa94 100% working time synchronization and skeletal animation interpolation Fatbag 2012-02-19 22:54:20 -06:00
  • ad9054fbd7 Added instructions for libvitaboy Renderer to Renderer.cpp Fatbag 2012-02-19 11:00:10 -06:00
  • 6df7a494a1 Fixed writing to Skeleton.Bones[-1] when FindBone() returns -1 because, say, PELVISPOLY does not exist Fatbag 2012-02-19 01:00:11 -06:00
  • e3f6880ed2 Working animations, albeit without time synchronization; will run too fast, but working nevertheless Fatbag 2012-02-19 00:15:34 -06:00
  • b05b32d5f5 libvitaboy: added missing file Fatbag 2012-02-13 20:55:44 -06:00
  • 048a5ca2b2 libvitaboy: Completely working model renderer. No animation as of yet. Fatbag 2012-02-13 20:55:19 -06:00
  • 860f67d522 Working skeleton parser and "renderer", though at the moment the body mesh does not map correctly on to the skeleton. Fatbag 2012-02-07 15:49:09 -06:00
  • c3e5da64f3 Corrected 2 hopefully last behaviors in libvitaboy Renderer: * The texture now blends the way it should (switched GL_CLAMP_TO_EDGE to GL_REPEAT) * The Shannon texture showed the face was being mirrored Fatbag 2012-02-05 22:00:17 -06:00
  • 1df1cf0244 Flipped z/x and up/down keyboard buttons into the correct places on the libvitaboy renderer. Fatbag 2012-02-05 21:17:48 -06:00
  • a134def031 Working head renderer, with pixel-perfect results. As for bodies, all appendages are rendered in the same place... Fatbag 2012-02-05 21:02:28 -06:00
  • 008363ce8f Placing the _build folder in .hgignore so I don't have to rebuild and reupload the binaries. Fatbag 2012-02-04 16:04:40 -06:00
  • aa9ef65d64 Various library changes Fatbag 2012-02-04 01:19:52 -06:00
  • 74169b403b Added ANIM parsing code. Lots of printf()s for now, to be rewritten later. Fatbag 2012-02-04 01:19:15 -06:00
  • f9b59088a1 Added freetype under cmake. My immediate next job is libvitaboy. Fatbag 2012-01-30 00:08:04 -06:00
  • 17c3bb1145 Switched over to cmake. Everything now works in one command. Fatbag 2012-01-28 12:11:34 -06:00
  • b3985e7306 Fixed silly mistake regarding 16-bit capping behavior Fatbag 2012-01-21 16:31:36 -06:00
  • 085ac5227c In the UTK library, renamed the last variables with "math" meanings to algorithmic meanings. Fatbag 2012-01-21 16:23:52 -06:00
  • 331dc3d823 Fixed formatting Fatbag 2012-01-17 20:31:52 -06:00
  • 250458b384 Decent analysis of UTalk Fatbag 2012-01-17 20:23:53 -06:00
  • e53580919a Working UTK decompression! Fatbag 2012-01-12 15:52:41 -06:00
  • 8d06606f28 Compliant XA decompression code added to the FileHandler interface Fatbag 2011-12-14 01:10:04 -06:00
  • 1a279588f1 In the process of setting up a convenient Makefile build system Fatbag 2011-12-06 03:09:32 -06:00
  • 8a16e52bf6 Somewhat of a start Fatbag 2011-11-24 00:53:35 -06:00