Coders and would-be coders alike, this is the place to talk about programming.
-
Haoose
- mega-veteran

- Posts: 277
- Joined: Tue Mar 01, 2011 9:34 pm
- Has thanked: 68 times
- Been thanked: 181 times
-
Contact:
Post
by Haoose » Thu Jul 02, 2015 7:03 pm
Hi.
This is a script for par-files from games in Origin.
Code: Select all
get ID long
if ID == 1007747626
set POS 0
else
set POS 4
endif
encryption XOR "q@pO3o#5jNA6$sjP3qwe1"
get SIZE asize
math SIZE -= POS
log "decrypted_par.txt" POS SIZE
Does anyone know assignment of first 4 bytes of par-file?
Most likely it is a checksum.
-= GP-team =-

-
Ekey
- M-M-M-Monster veteran

- Posts: 1638
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 62 times
- Been thanked: 817 times
Post
by Ekey » Tue Jul 07, 2015 12:59 am
here
You do not have the required permissions to view the files attached to this post.
-
Haoose
- mega-veteran

- Posts: 277
- Joined: Tue Mar 01, 2011 9:34 pm
- Has thanked: 68 times
- Been thanked: 181 times
-
Contact:
Post
by Haoose » Wed Jul 08, 2015 1:41 am
Origin PAR Tool by Ekey (h4x0r) & Haoose
Code: Select all
https://cloud.mail.ru/public/GMGu/7942FU3kR
http://rghost.ru/6nQvQ6SCP
http://www46.zippyshare.com/v/jVLM1h2u/file.html
http://sendfile.su/1135370
https://www.sendspace.com/file/072rp6
Open - decode par-file
Patch - patching par-file for use game in offline mode (removes the substring "RequiredToPlayV1,")
Save - encode par-file
Enjoy 
-= GP-team =-

-
mirh
- n00b
- Posts: 12
- Joined: Tue Nov 18, 2014 8:05 pm
- Has thanked: 113 times
- Been thanked: 4 times
Post
by mirh » Mon Sep 07, 2015 3:01 pm
You may want to check this.
It only results in gibberish in your tool.
You do not have the required permissions to view the files attached to this post.
-
HammerTank
- ultra-n00b
- Posts: 2
- Joined: Sat Jun 23, 2018 2:58 pm
Post
by HammerTank » Sun Sep 02, 2018 11:50 am
How are the first 4 bytes calculated actually? Can anyone tell?
-
Puterboy1
- veteran
- Posts: 86
- Joined: Fri Mar 02, 2018 3:05 am
- Been thanked: 4 times
Post
by Puterboy1 » Fri Sep 07, 2018 5:17 am
No, but I’ll bet it’s distinctive...that is I feel there have been others that have tried before to extract the files from the game.
-
HammerTank
- ultra-n00b
- Posts: 2
- Joined: Sat Jun 23, 2018 2:58 pm
Post
by HammerTank » Wed Nov 07, 2018 6:19 pm
Hmm, sadly none of the creators is reachable anymore.
