Jump to content


  • Content Count

  • Joined

  • Last visited

About theru

  • Rank
  • Birthday 11/01/1981

Profile Information

  • Gender

Contact Methods

  • Website

Recent Profile Visitors

2,343 profile views
  1. added to github a super easy nuub friendly decompressing skyrim SE dds bc7 unorm programming just a few lines and how to convert the pixels to another format and saving it. in this case i choosed qimage wich expands to 1000 other formats for someone thats not as lazy as me can prolly do something usefull with this . U need qt5 DeVIL and directTEX libs/dlls to compile it. but anyway its super simple formula(tut) and even a turd can understand it to i dunno.. convert it to another languages? skyrim-se-ddsbc7compressed if ure to lazy to check the github just look at this cute code piece #include <iostream> #include <stdio.h> #include <assert.h> #include <math.h> #include <float.h> #include "IL/il.h" #include "IL/ilu.h" // #include <float.h> #include <string.h> // memset, memcpy #include <d3d11.h> #include <d3d10.h> #include "DirectXTex.h" #include "QtWidgets/qapplication.h" #include "QtGui/qimage.h" #include "QtGui/qpixmap.h" struct rgba_t { unsigned char red; unsigned char green; unsigned char blue; unsigned char alpha; }; void copypix(const DirectX::Image* img) { size_t w=img->width; size_t h=img->height; const uint8_t* pPixels = img->pixels;/*<pointer to pixel data>*/; uint32_t PixelIndex = 0; QImage* qimg = new QImage(w, h, QImage::Format_RGB888); qimg->fill(QColor(Qt::white).rgb()); for (size_t y = 0; y < img->height; ++y) { for (size_t x = 0; x < img->width; ++x) { rgba_t ColorBuffer; ColorBuffer.red = pPixels[PixelIndex]; ColorBuffer.green = pPixels[PixelIndex + 1]; ColorBuffer.blue = pPixels[PixelIndex + 2]; ColorBuffer.alpha = pPixels[PixelIndex + 3]; // Advance pPixels += 4; qimg->setPixel(x, y, qRgb(ColorBuffer.red, ColorBuffer.green, ColorBuffer.blue)); } } qimg->save("femalehead.png"); } void loadFile() { std::unique_ptr<DirectX::ScratchImage> image(new (std::nothrow) DirectX::ScratchImage); DirectX::TexMetadata info; HRESULT res = DirectX::LoadFromDDSFile(L"femalehead.dds", DirectX::DDS_FLAGS_NONE, &info, *image); if (SUCCEEDED(res)) { std::unique_ptr<DirectX::ScratchImage> cimage; if (DirectX::IsCompressed(info.format)) { std::cout << "compressed" << std::endl; auto img = image->GetImage(0, 0, 0); size_t nimg = image->GetImageCount(); std::unique_ptr<DirectX::ScratchImage> timage(new (std::nothrow) DirectX::ScratchImage); HRESULT hr = DirectX::Decompress(img, nimg, info, DXGI_FORMAT_UNKNOWN , *timage); if (FAILED(hr)) { wprintf(L" FAILED [decompress] (%x)\n", hr); } else { std::cout << "decompressed succesfully" << std::endl; auto& tinfo = timage->GetMetadata(); info.format = tinfo.format; info.width == tinfo.width; info.height == tinfo.height; info.depth == tinfo.depth; info.arraySize == tinfo.arraySize; info.mipLevels == tinfo.mipLevels; info.miscFlags == tinfo.miscFlags; info.dimension == tinfo.dimension; image.swap(timage); cimage.reset(); auto limg = image->GetImage(0, 0, 0); copypix(limg); //HRESULT hr = DirectX::SaveToTGAFile(limg[0], L"test.tga"); } } std::cout << "" << std::endl; } } int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); //ilInit(); //iluInit(); loadFile(); return a.exec(); system("PAUSE"); }
  2. theru

    Sexual objectification

    just becouse a person get arousal or get sexual intrest dosnt give or permit the right to in any way downgrade anyone in such objectified/ sexual pointify view. this goes for either gender. theres no tip a toe around this, always have this respect regardless.
  3. https://www.loverslab.com/topic/91714-3d-max-2018-pluginunloader/


    might be useful for someone thats doing max plugins and wanna avoid restarting max all the time when testing changes ^^.


    1. BenChang


      Sounds amazing- I'm confused though, what exactly does this do?

    2. theru


      loads the plugin static, only load the classes not the dll itself so it never get registred inside max,wich alow  unload without max crashing or that u need to restart max ^^

  4. idea comes from this https://codeload.github.com/scorpion007/unload first i tried to rebuild it with no succes. after that point it got totaly change make over to work pretty much 90 % is changed. if u wanna test it u put it in plugin folder,go to utilitys and u will see unload plugin when creating new menu;(add new bar to utility panel) unload panel is in the list. to add a plugin need ofc the normal stuff in dll such as LibInitialize, LibShutdown,LibDescription,LibNumberClasses,LibVersion,LibClassDesc, u dont need main when loading plugins withis extension, and file extension is not importent either any works as long u have thoose functions^^ and its a plugin ofc theres 3 ways adding normal way by max, or by class or qt, i recommend dont use max method in ma or from this plugin, the dll will be stucked in memory. use either qtlib option or normalway,. these function will load just the classes from dll, and while dll still will be unloaded in max^^,this gives u benefits to use classes as normal in max and still be able to rebuild the dll without restarting max might be some bugs stuff i forgot, but licence is "do wtf u want" just leave a credit back to me somewhere in a tiny tiny note =P http://i65.tinypic.com/qycsoi.jpg my github is here https://github.com/nexustheru/MaxUnloadPLugin release is here(totaly beta hybrid) but it works =P https://github.com/nexustheru/MaxUnloadPLugin/releases
  5. u want the link for it or ?? http://www.mediafire.com/file/ukz3z3x67fhr11l/BDO+Dark+Knight+UUNP+HDT+v1.21.7z
  6. theru

    what would you do...if

    one week freepass and u wouldt do anything .. no man ^^ i dont belive u XD
  7. theru

    what would you do...if

    what would u do if u had one week in another persons body (soul switching)just like this movie http://www.imdb.com/title/tt1488555/ , and maybe the counterpart is a girl. if i were a guy id prolly try to bone as many girls as possible >.< =P a total slugg ye xd
  8. no idea dont play fallout :) but if they dont have fallout its easy to konvert to it from skyrim
  9. lol dos it matter what language it is? i used google as anyone else
  10. theru

    Some advice?

    well i wish u good luck and i hope u do the right decision
  11. theru

    Some advice?

    sometime u need to cut it short and just walk away, if u think ure doing u or her a favor by comming back to her or stay ure wrong, as time goes and this continue this so called friendship will be beyond repair and both of u will be broken and so hurted for next potential relationship .( future ones). and u will have lost the friendship u might could have beore damage is to much
  12. theru

    Some advice?

    well it needs 2 people in relationship and as i understand it ure not really commited in both body and mind becouse u want girl nr 2, if u really preciate the time u had with girl A and have respect for her and care for her let her go, she will have the chance to find the person right for her( no need be in relation if both are unhappy). break up as friends w8 a month or so then try with girl b the one u really want.
  13. http://dragonporn.ldblog.jp/ http://modtype.doorblog.jp/ http://bbs.3dmgame.com/thread-5511254-1-1.html has alot but u need a translator if u dont understand korean
  14. i caaaame in liiike a wreeeeecking baaaaallll!