It is currently Sun Apr 23, 2017 11:07 am

 All times are UTC + 1 hour

 Page 1 of 1 [ 5 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: LuckySoft/Stella Games UtilitiesPosted: Sun Dec 11, 2011 12:13 am
 veteran

Joined: Fri Nov 05, 2010 10:14 pm
Posts: 137
Has thanked: 0 time
Have thanks: 47 times





You can make the ads go away by registering

I've finally gotten around to updating these programs and linking them with the latest games. Here's me restoring the tools after the purge. The tools are linked against Secrets of Power: Alexander the Great, engine build 1240. Note that for these programs to work you will have to supply the game engine core files, as those are copyrighted and not included in the distribution files. All command line apps will display usage text if you run them without arguments. Use those to help you figure out what to do, and if you still have questions ask here.

Stella Games LzmaPack Decryptor and Unpacker
This tool allows you to extract files from Data.pack. You can extract all files, one file, files that match a certain glob, and encrypt/decrypt the pack for whatever reason. Encryption key is not included, so you'll have to extract it out of the game launcher. Save the key text inside a Unicode text file, or else the key won't work. Here's the typical usage scenario:
Code:
LuckySoftUnpack.exe /in=path\to\Data.pack /extract /keyfile=path\to\key.txt

This will extract all files in the LzmaPack to a directory named Data_decrypted.pack that is in the same directory as the input file.

Stella Games Assembly Deobfuscator
This tool decrypts the assemblies from the 'bin' folder inside the game folder and attempts to restore their original names. The resulting files can then be referenced by .NET programs for use. You will need to point the tool to Startup.bin, which is the initial assembly deobfuscator. Startup.bin must be from a game later than Elementals: The Magic Key (i.e. Mystery of Mortlake Mansion and Secrets of Power: Alexander the Great), because the version in Elementals is obfuscated in itself. After that, pick the bin directory, and click on "Deobfuscate". You'll see the log window scroll, and when it's done you may see files that need "rectifying". Pick one, click on "Rectify", and swap the letters from the bottom box until it successfully deobfuscates. Note that you do not need to deobfuscate 1h0iv6hs00twjvh8wr.bin and z03zw30tp0nn0sjixs.bin, as they are merely flags and their contents are in one of the other files.

Stella Games UData Binary/Udl Transcoder
Once you've unpacked the game files, you've probably noticed that most of the .resource files are in some sort of binary format. This tool will allow you to convert the file between binary, compact, and formatted formats. Double click on a .resource or .metadata file to convert it to text and view it, and right click on it to convert to one of the three formats. It doesn't get any simpler.

Stella Games Image Decompositor (Noveau)
This is a rewrite of the previous image decompositor, and does not use the game engine to do the decompositing. This program takes all the image resources that have been composited, and separates those images back out. This makes it easy to find the images and edit them if you wish. Just supply the repository root path (must be extracted) to the tool, and it'll separate out all the files that are in composites. The output format is PNG, and the input can be DDS, PNG (as of Alexander the Great), and Targa (very recently). As usual, do not steal other people's art assets and use it in your own projects.

The reason the program was rewritten is because the engine needs to be wrangled to not alpha blend, and in Alexander the Great transparency is very screwed up. Therefore I used a proven library (FreeImage and System.Drawing) to read and write images, putting problematic code out of the way. It works much faster than the game engine, and doesn't run out of memory or crash like the game engine does.

Updated June 6, 2013
v.2.1:
- Rewritten decomposing process to decompose images by composites, resulting in no duplicate loading of composites.

Startup.bin and these programs
If you can't get a copy of Engine.dll, you can still run these programs. Just obfuscate them with Startup.bin and run them under Startup.bin.
To obfuscate:
Code:
Startup.bin --obf path\to\program.exe

If not in it already, move the obfuscated file to the bin folder.
To run:
Code:
Startup.bin ProgramName arg1 arg2 arg...

LzmaPack BMS script
I haven't managed to get it working, but I'll say it's theoretically correct. I think QuickBMS expects every compressed section to have its own decoder bytes, but in the LzmaPack it's defined once at the beginning.

GRAF Format Wiki Page
http://wiki.xentax.com/index.php/GRAF:S ... s_LzmaPack

If you have any problems, please leave a reply. If you need to have the programs linked against an older game (Alexander the Great refactored all of their code so the namespaces are different), reply with the version.txt file and game name and I'll try recompiling it for you.

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

_________________
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC

Last edited by GMMan on Thu Jun 06, 2013 5:29 pm, edited 9 times in total.

Top

 Post subject: Re: LuckySoft/Stella Games UtilitiesPosted: Sat Feb 18, 2012 11:03 pm
 veteran

Joined: Fri Nov 05, 2010 10:14 pm
Posts: 137
Has thanked: 0 time
Have thanks: 47 times
New tool has been posted. It separates game images from the composites into individual files. Useful for making art out of game assets.

_________________
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC

Top

 Post subject: Re: LuckySoft/Stella Games UtilitiesPosted: Tue Dec 04, 2012 10:39 am
 veteran

Joined: Fri Nov 05, 2010 10:14 pm
Posts: 137
Has thanked: 0 time
Have thanks: 47 times
Tools have been relisted on this page, but not yet uploaded. I'll have it on the tools blog soon.

_________________
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC

Top

 Post subject: Re: LuckySoft/Stella Games UtilitiesPosted: Thu Jun 06, 2013 5:29 pm
 veteran

Joined: Fri Nov 05, 2010 10:14 pm
Posts: 137
Has thanked: 0 time
Have thanks: 47 times
Stella Games Image Decompositor (Noveau) has been updated.

_________________
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC

Top

 Post subject: Re: LuckySoft/Stella Games UtilitiesPosted: Wed Sep 23, 2015 8:31 pm
 ultra-n00b

Joined: Sat Sep 19, 2015 7:38 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
Hi GMMan. I downloaded all these applications.I did deobfuscation. Found Engine.dll. Posted in Bat script file. and gave me a sign

The input file is C:\ -------- \ Data.pack
The output file / directory is Data_decrypted.pack
Error: Can not open GammaXoringStream as a LzmaPack. Please make sure your key is valid.

Tell me where to get the key. Where and how to unpack it?...

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 5 posts ]

 All times are UTC + 1 hour

#### Who is online

Users browsing this forum: No registered users and 3 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ General Discussion    Holy Cow!    Game news    Game Tech Tips    Cool mods    Website Game Modding    Tutorials    3D/2D models    Audio file formats    Graphic file formats    Video file formats    Game Archive    Compressed files and methods    Code Talk    Game Localization    Savegames    Old posts    Retro games MultiEx Commander Tools & Programs    Game specific tools    General game tools