Ped Mod Project Progress Update and Merging Separated Files from LINE Video

First off is the progress update. Short and simple, but has explanation here and there.


The next... I know there are tutorials about how to download videos from LINE for the ones we like, but pay attention to this, especially the method where you can copy cached video files you watched until the end from the smartphone (Android ones, not sure about Apple/iPhone).

The reason I'm telling this is because one video in LINE is separated into several parts of files to be read by the app. Also, some timeline posts that contain one (or more) video(s) that you shared as a link cannot be opened/viewed via browser (in this case, error like the user has deleted the post, WTF?), like the case of these three videos I successfully merged in.


If you don't know what it means, these random-generated number files are a video separated in blocks of 1 MB per file that depends on how long the video is, and how better the video resolution is. This is the alternate method of downloading LINE videos to your computer for download by using the built-in file manager (by directing to /Android/data/jp.naver.line.android/cache/mm) on your Android smartphone while the LINE application is open.

The best way to spot the last video you watched until the end in LINE is by looking at its timestamp. The end of the file generated usually has size lower than 1 MB - that's where the video ends.

Files seemed to be separated in blocks, but the method of merging them into a video is not as easy as you think. Regular Windows Notepad doesn't work at all, since this will, at some point, make the next video block get corrupted (plays, but cannot be readable). As for Notepad++, it's similar to Windows Notepad. You copy-pasted the blocks into one file and then save it into a new file, but when it's played with any media player, the last two file blocks of the video became unreadable.

So the last resort will be HxD Hex Editor that I found several weeks ago when I browsed through the modding tools to extract NS:UNS4 raw materials for Boruto Ped Mod Project. The dude by the name ZealotTormunds (or Tormunds), shared the modding tools for NS:UNS4 and apparently, HxD Hex Editor is one of them and comes in handy for this. Check this link here.


The idea is similar to Notepad++, but in terms of keeping the hexes untouched (added or removed). It's a bit tricky at start, and the goal is to merge all separated files into one file as in you are using HJSplit to merge some spliced archives/videos, but once you know the basics, you'll get a hang of it.

Per block of the file, 1 MB of a file (exactly 1 MB) has an offset that ends in FFFFF, which the next offset should be 100000. Put in the second block from another file to the first file it's opened and the offset should change when you click "yes" during the prompt. Rinse and repeat for another file until you reached the last one that is under 1 MB. Save as a video file, so you won't have to rename it to make it playable (most of the LINE videos are in MP4 format).

The picture below will simplify how to merge separated video files with HxD Hex Editor.


There are other methods that's way much simpler than using HxD Hex Editor, but...


if using VLC Media Player doesn't work for you, using HxD Hex Editor will be the last resort of making the videos you "offload" from LINE's cached storage to PC playable, but the disadvantage will be, if you have a lot of numbered files (for example, 6 or 12), merging can take a lot of time, and has a chance of being unplayable if inserted incorrectly at some point of doing this. I've tried trice using Hex Editor to merge files - first and second one have failed due to the confusing file I supposed to insert in (thought that next block is the third one while the correct is the second one). Third one is a success.


I hope this comes in handy, because I learned it from a tutorial I found, but I had decided to improve upon the second method since "offloading" directly from the smartphone has this kind of annoying separated files that needs to be merged in order to be readable by the video player. No sh*t, though, tried LINE for PC, shared the timeline post, and then opened the link via web browser, error message displayed showing the video is deleted by the poster. WTF? Guess this method is the only way, though, since I can't install UC Browser or any sh*t apps on my phone (gotta be careful on what app you want to download, though). I don't play mobile phone games anymore, and my Google Play Game progress has been reset few months ago when my brother left. Yep, all Mobile Legends and PUBG Mobile progresses have been reset, pretending like nothing happened. I seriously want to play Naruto-based mobile phone games on my phone, but nah, I got PC and gaming on PC is where I'm good at.

Comments