Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2015, 05:17
atom0s's Avatar
atom0s atom0s is offline
Family
 
Join Date: Jan 2015
Location: 127.0.0.1
Posts: 396
Rept. Given: 26
Rept. Rcvd 126 Times in 63 Posts
Thanks Given: 54
Thanks Rcvd at 730 Times in 279 Posts
atom0s Reputation: 100-199 atom0s Reputation: 100-199
[C++] xiunpack - Final Fantasy XI Unpacker

I'm sure this is not going to interest many here at all but figured I'd share since I did release this as open source. So some may find the code useful for other means.

What is xiunpack?
xiunpack is a file unpacker for Final Fantasy XI game binary files. These files are "protected" with a special POL1 section which is actually the .text sections data "encrypted". When the file is loaded, the OEP is altered to execute a stub at the end of the POL1 section to unpack the data at the start of the section back into the .text section. Once this is completed, the stub then jumps back to the original OEP inside of the .text section and continues as normal.

Github Source Code
Code:
https://github.com/atom0s/xiunpack
Tutorial
I have also written a full tutorial on how to this works here on my personal site:
Code:
http://atom0s.com/forums/viewtopic.php?f=2&t=42
Reply With Quote
The Following 6 Users Gave Reputation+1 to atom0s For This Useful Post:
bolo2002 (01-16-2015), Loki (01-15-2015), mr.exodia (01-16-2015), user1 (02-08-2015), Zipdecode (01-15-2015)
  #2  
Old 01-15-2015, 17:21
Loki Loki is offline
Lo*eXeTools*rd
 
Join Date: Jan 2009
Posts: 122
Rept. Given: 156
Rept. Rcvd 65 Times in 30 Posts
Thanks Given: 58
Thanks Rcvd at 18 Times in 13 Posts
Loki Reputation: 65
Always interested in reading your stuff and your blog. FFXI might not be something I play, but I enjoy reading this kind of article.

Thanks for posting
Reply With Quote
  #3  
Old 01-16-2015, 05:57
atom0s's Avatar
atom0s atom0s is offline
Family
 
Join Date: Jan 2015
Location: 127.0.0.1
Posts: 396
Rept. Given: 26
Rept. Rcvd 126 Times in 63 Posts
Thanks Given: 54
Thanks Rcvd at 730 Times in 279 Posts
atom0s Reputation: 100-199 atom0s Reputation: 100-199
Quote:
Originally Posted by Loki View Post
Always interested in reading your stuff and your blog. FFXI might not be something I play, but I enjoy reading this kind of article.

Thanks for posting
Aww, thanks Loki. Glad you like what I make / post. I have a ton more stuff over on my personal site, I can post up some more of the open source stuff here too once I have the ability to post more.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT +8. The time now is 07:35.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )