Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/04/21 in all areas

  1. GRF Editor: Encryption The Movie Hello again, rAthena, I'm Haziel. I'm a Pixel Artist and also a Scripter. (Also, you can check my work here and here, and if you ever need any Sprite/Script Service, check here! You can also add me on skype (it's on my signature)) Most of the people who know me or hired me for any kind of service know that I don't charge more than it's fair. What upsets me is the people who use my work without authorization, most of the cases, paid material that took hours, days or, sometimes, weeks to be concluded. So, hoping to protect my work, and the custom content of your servers' owners, I've decided to write a guide explaning in detail how to use @Tokei's awesome tool. 1. List of Materials • GRF Editor, if you're not familiar with this software, it is the best GRF Management Tool ever coded. • The files you want to protect, the encryption is made by file so, there's no need to encrypt the whole GRF. • Your Hexed must be 2012-04-10 or above, it won't work on 2010 Clients. • Decide your Hexed filename, it's essential for the encryption to work. 2. Generating Encryption Key GRF Editor uses a Key Encryption Method, what means that your protection is based on a password. Choose a password you'll remember or note it somewhere, you won't be able to decrypt your files without it and always save a Backup of the files you'll encrypt. Password chosen, you'll need to generate the DLL, the one that will allow your Client to read encrypted files. Open the GRF Editor and navigates on the top menu to Tools > GRF Encryption, you'll see the window below. First, Input your Key on the Encryption Password field. Next, select your Client on the Client Path field, it is needed for the DLL to be coded to its filename or be modified if needed. IMPORTANT: The Client being asked here is for the Hexed, IT IS NOT the Patcher, Launcher or Loader. The name of the DLL can also be changed, it will output a modified Hexed of ready to read it. With everything set, click in Generate File(s), and it will pop up a folder where your DLL has been generated, add/replace the one in your Client folder. 3. Encrypting Files Files can now be encrypted. Open your GRF, GPF or THOR, select the files you want to protect. Right-click it and select EncryptIon > Encrypt. Enter the Password you previously defined, confirm and the file will be highlighted in Orange. The colour might not show up when you're working on a THOR file or opens a GRF/THOR previously encrypted, that's normal behavior. Once the GRF or THOR is saved, you won't be able to read the file. Normally an error will pop, but you can test it ingame, if you've done it correctly, it will be displayed properly. As far as I've tested, the Encrypted Files works in the DATA folder if extracted. If you want to Encrypt or Decrypt a whole GRF, you can select Tools > GRF Encryption with the GRF open by the software and choose the options Encrypt GRF or Decrypt GRF. You will be asked for the Key, and then It'll run the process through the entire GRF and export it to a new folder. The same process can be made with THOR files, even if it displays any reading error, patched Encrypted files will work. I hope that's clear enough and that it may help you. Post any question you may have in the comments below and I'll try to help. My best regards, Haziel
    1 point
  2. That is not a script, it is an atcommand src. Test this: https://github.com/coookie1010/Server-Patches/blob/main/rA-whosell.diff
    1 point
  3. Ah yeah, this might be a bit misleading ... The idea is that several generated files have fixed names, so if you do multiple conversions in a row, in the same folder, those will be overwritten yes. Generating unique files names (with a prefix) or saving files in a unique folder for each model could fix that problem. If you don't mind duplicating texture data, you can use the "--glb" argument to generate GLB files (these won't have the overwriting problem as they contain everything in a single file: rag2gltf.exe --glb data\model.rsm I created two issues on github to keep track of your suggestions: https://github.com/L1nkZ/rag2gltf/issues
    1 point
  4. I have been fiddling around with it and found a way to actually make "ok" sprites with it This was my result: http://www.framecompare.com/image-compare/screenshotcomparison/91BFMNNU?fbclid=IwAR0nw7btJdrFkXcXkU7-nfEZ2YMDDu9nWb9CyGVk5KlfGbjEcvbRZyReokQ We should try training a model with ToS Sprites maybe? ---------> https://drive.google.com/drive/folders/0B92X6lQqXBPSbFBfQVdwcHpRaG8 Here are the models I used and the order.. there might be better ones or better order but wtv http://www.mediafire.com/file/vf04k6jz0amflzu/models.rar/file Can you please tell me which models did you use for rune knight? I have been playing around and I found that there are no Pixel res-upscalers that soften the edges which is what almost everyone wants im sure. So the only way I found is to re-pixelize it after it was upscaled to your desired size, these are my results Tests are here: http://www.framecompare.com/screenshotcomparison/7YLZLNNX EDIT: One of the most consistent ways of doing this that I've found is 1x_Alias_200000_G.pth > cartoonpainted_400000.pth after that sharpen the result in Photoshop with Smooth focus 300% 3pix Radius 100% Noise Reduction this usually works best with sprites so Its worth tryng it
    1 point
  5. prontera,155,181,5 script Sample 4_F_KAFRA1,{ getinventorylist; for (.@i = 0; .@i < @inventorylist_count;. @i++) { if (@inventorylist_equip[.@i]) { mes "item is equipped."; } if (@inventorylist_expire[.@i]) { mes "item has expired time."; } if (@inventorylist_bound[.@i]) { mes "item is bounded."; } } } you can use getinventorylist to get all the information
    1 point
×
×
  • Create New...