this post was submitted on 24 Aug 2023
9 points (90.9% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54577 readers
175 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

For a video that posted by the KTR scene group, was used by both RARBG and N1C to create torrents (V1 format).

now both of it are stuck at 90%+ due to age, is there a way to swap their data ~~to bring the progress to 100%~~?

thanks.

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago (1 children)

If they're supposed to be binary-identical data (same file checksums), you can use BiglyBTs Swarm Merging feature - without manually copying (which isn't as reliable due to the start/end of the files not bordering on the chunk boundaries.

If they've been modified in any way though, this won't work. However, you might be able to use its Swarm Discovery to find other torrents with the same data and complete with Swarm Merging.

[–] [email protected] 1 points 1 year ago

Thanks I will try

[–] [email protected] 3 points 1 year ago (1 children)

If the completed files have an identical checksum in both torrents, then copying the files locally in each download folders and verifying the torrents should mark the incomplete files as downloaded and propagate to other peers.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

thanks. I tried this method, but RARBG made modifications to the source file and the verification failed

[–] [email protected] 1 points 1 year ago

Yeah, you won't be able to swap the data between the two in that case.

[–] [email protected] 2 points 1 year ago

Can you share the torrents in question? I'd like to take a stab at merging them from hex dumps as explained in my other comment. Maybe develop a tool to automate it for other broken torrents.

[–] [email protected] 0 points 1 year ago (1 children)

Is it the exact same file in both torrents?

[–] [email protected] 1 points 1 year ago (1 children)

Not same in 2 torrents, Putting one into the other and check it will only give me 0% of the results.

cuz before posting torrent, RARBG will make changes to the source files, such as filling in its site address in the video attributes, while the seed published by N1C is the source file of the publishing group, and was not modified.

[–] [email protected] 0 points 1 year ago (1 children)

In that case I have no idea if it's possible. Sorry.

[–] [email protected] 0 points 1 year ago (1 children)
[–] [email protected] 0 points 1 year ago (1 children)

Maybe you could use version control like git to merge the files. But resolving any merge conflicts would probably be impossible.

I'm a bit high and just spitballing. Hopefully someone will come along and tell me how stupid the idea is and why :D

[–] [email protected] 0 points 1 year ago (1 children)

Lol, I think git only works in that level for text based files

[–] [email protected] 0 points 1 year ago (1 children)

I easily handles pictures and soundfiles. I see no reason why I wouldn't work with video files. In the end, everything is a text file.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It can recognize if a non text file is there or not, or if the size has changed but not much else. And the big difference is most text based formats are binary while media files are not

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Just for the fun of it I tried. You can add video files to git, no problem. Gives "large file" warning, but that's no problem unless you're trying to look at a diff with GUI client.

Everything is a binary file if you go down deep enough.

[–] [email protected] 0 points 1 year ago (1 children)

Yes you can add it but it will not let you edit lines of code. And no the data is stored in hex format, it can't be read binarily, have you ever tried to open a media file in a text editor?

[–] [email protected] 0 points 1 year ago (1 children)

I can open it in a text editor just fine. And you can edit it. In fact, in my example file I used I see big sections of "0000" compared to other sections that look like "712c 10a3 14bb 2980 0005 1c46 25b8 0040".

I'd post some screenshots but lemmy gives me errors. But that might actually be viable, the more that I think of it.

[–] [email protected] 0 points 1 year ago (1 children)

I believe in that case you may be able to merge the two files by dumping a hex of each, then running a diff on the two hexes and substituting valid hexes into any zero blocks.

I'm actually kind of curious about writing a script to handle this now that I'm presented with it. Can you link the two torrents for me so I can take a crack?

[–] [email protected] 1 points 1 year ago

I sent u a PM :)