User talk:Necrotek

From Len'en Wiki
Jump to navigation Jump to search

Welcome to the Len'en Wiki! Please enjoy your stay, and we wish you many successful edits.

Check out the most recent changes to the wiki, so you can get an idea on what other editors are editing.
Questions? You can ask at the central discussion page or on the talk page associated with each article, or post a message on my talk page.
Confused on what's allowed? We have some general guidelines we like to follow.

We're glad to have a new member of the community! And don't forget, any edits you may do to a page will be much appreciated.

Tony64 (Talk/Con.) 21:05, 9 June 2015 (UTC)

Uploading an image[edit]

Hi Necrotek :) It appears that you know how to extract images from the dat.led files. As such, could I ask you to upload an image to File:Le01Tsubakura.png, the image of the real Tsubakura from the Extra stage of Evanescent Existence? I'd love to know how you're able to extract images from these files. Cheers :) ― Tony64 (Talk/Con.) 14:04, 10 June 2015 (UTC)

Hm... To avoid going into details about available images, what is the difference between real one and Tsurubami in disguise? There is one different image of him where his hat doesn't have an "eye" on it, is it the one?
About data files, some time ago I made one half for fun, half to make a translation at some point, I disassembled part of the game which was responsible for that and made an extractor (much later I found out that it wasn't JynX invention and he uses an existing freely available application for that). Necrotek (talk)
Yes, that is the one without the eye on xyr hat, also (seen in-game) another differene is that the fake Tsubakura is smiling, and the real one isn't. If you want, you could also upload the extractor in a .zip format to the wiki and I'll create and game tools page to host it, like on the Touhou Wiki. ― Tony64 (Talk/Con.) 15:52, 10 June 2015 (UTC)
I was thinking about sharing extraction tools before but on the other hand, there is a matter of ethics. The fact that the archive uses a password of hinting meaning that JynX doesn't look forward to people sneaking into game resources, it makes me feel uneasy about making them publicly available. Because of that, he might change data format for future games or even get disheartened by that. True, Touhou games have tools despite of ZUN opinion on this matter, but Jynx doesn't have as much of fans as him. So.... I really don't know if it's ok to do that. Necrotek (talk) 16:19, 10 June 2015 (UTC)
I see your point as something like this is indeed controversial. Don't worry, if you don't want to share because of this controversy, that's okay. But he does allows his games to be free for download and he must've known that someone is bound to get into the data files and start sharing them. If you happen to change your mind though, let me know. :) ― Tony64 (Talk/Con.) 16:42, 10 June 2015 (UTC)
(Sigh) Alright. I hope that I will be wrong and my worries are baseless.
Search for "DXライブラリのダウンロード", there you can get set of tools, one of them related to these archives. And password... I'd like not to write it directly here. Take a look at inners of game executable file and search for copyright lines, the password is a little bit above (in Romaji, all words combined together), a quote from JoJo's Bizarre Adventure according to Google. Necrotek (talk) 17:05, 10 June 2015 (UTC)
Somehow it doesn't work for me. I drag the dat.led file into the decoder and all I get is an empty folder. Am I missing something? --Popfan (talk) 14:37, 10 August 2015 (UTC)
Also, I just asked JynX how he feels about us accessing the data files. He says it can't be helped if people gain access to them, but he does ask us to avoid misuse. Tweet --Popfan (talk) 15:27, 10 August 2015 (UTC)
I see. Ok, I can provide a precise details of how to deal with his files. Where it'd be better to write down? As a result, you can make a download section and add necessary tools there. Necrotek (talk) 19:06, 10 August 2015 (UTC)

Don't forget EX-Lumen from the Extra Stage of Earthen Miraculous Sword.--SakuraMiya (talk) 14:52, 10 June 2015 (UTC)

Data.led access[edit]

  • Visit DXライブラリ homepage and download any of its three versions (VisualC++, BorlandC++ or Gnu C++, it doesn't matter)
  • Run downloaded file to initiate self-extraction
  • Open created folder and navigate to ./Tool/DXArchive/ (there you should be able to see DxaDecode.exe and DxaEncode.exe executable files)
  • In order to extract dat.led file, move that file to DXArchive folder and run "DxaDecode.exe -K:KisamaMiteiruna dat.led" (or you can just define fullpath to dat.led file instead of moving it)
  • In order to repack data, run "DxaEncode.exe -K:KisamaMiteiruna <path to directory to pack>" (where instead of <path...>, specify what is asked)

Feel free to delete/edit this section when it's not needed anymore.

Just in case you don't know, I've added this content here. ― Tony64 (Talk/Con.) 20:58, 17 August 2015 (UTC)
Yep, I noticed :) So, hopefully people will find that info useful. Necrotek (talk) 21:28, 17 August 2015 (UTC)
I'm having trouble repacking the data in that the game itself doesn't seem to be able to recognize it anymore. See, when I encode it with the given instructions, I get a dat.dxa file which I then rename into dat.led, but if I move that into the game folder and try to run the exe to look at my changes, none of the assets are loaded. Am I supposed to run the encoder in a Japanese locale? --Popfan (talk) 10:13, 26 August 2015 (UTC)
Hm, true, repacked data isn't accepted by the game, the same for my self-made extractor. To tell the truth, I didn't bother to check it before, I just verified that repacked file unpacks completely the same, expecting to work with game too.
I'll take a look and see if it can be managed without much harass. Meanwhile, if you want just to check modified resources with the game and don't really go for archived version, you can just put folder dat with its content to game folder and remove dat.led file - the game will use files from that folder with no problem. Necrotek (talk) 15:37, 26 August 2015 (UTC)
Ok, solved. As it turned out, different versions of DX archives have different structure. While extracting tools seems to be compatible with different versions of archives, this rule doesn't apply for the game. Until now JynX uses archive tools of v1.03 so you would need to use encoding tools of the same version. I didn't check all possible versions of DxLib to find the newest one with usable version of archive tools but it seems you can fetch 3.05 (for example, this one). I checked it for the second game and it seems to work so I expect it to be suitable for all games we have at this point. I'm partly lazy to update page with tools right now so feel free to do that (I will do it at some point later if no one does it before me). Necrotek (talk) 16:45, 26 August 2015 (UTC)