Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Issues With Variant 2.1 (x86) Unpacker #102

Open
atom0s opened this issue Jul 2, 2023 · 7 comments
Open

Multiple Issues With Variant 2.1 (x86) Unpacker #102

atom0s opened this issue Jul 2, 2023 · 7 comments
Assignees
Labels
c: plugin Category: Plugin p: high Priority: High t: bug Type: Bug

Comments

@atom0s
Copy link
Owner

atom0s commented Jul 2, 2023

The variant 2.1 (x86) unpacker has several bugs. Because of how this variant works, it makes use of the SteamDRMP.dll file to handle various parts of the unpacking/decryption. The current way that Steamless is handling this causes the offsets being pulled to not be correct all the time. While some v2.1 files work fine, others fail entirely because the data being used is wrong.

Additional patterns would be ideal to confirm which offsets are being used for which parts of the unpacking.

The main issue(s) stem from:

There needs to be a better manner of handling these offsets that are pulled from the DLL to ensure all files making use of this variant work correctly.

The following issues are affected by this problem: #16, #46, #101

@atom0s atom0s added c: plugin Category: Plugin p: high Priority: High t: bug Type: Bug labels Jul 2, 2023
@atom0s atom0s self-assigned this Jul 2, 2023
@JollyWizard
Copy link

JollyWizard commented Dec 11, 2023

Issues with Obulis, which reports v2.1 as well.

After unpacking with default options, it reports that steam must be running. Tried with various options and get same result or it launches and the process terminates immediately. I ran it from the CLI and no errors were reported before the process dies.

@atom0s
Copy link
Owner Author

atom0s commented Dec 11, 2023

Issues with Obulis, which reports v2.1 as well.

After unpacking with default options, it reports that steam must be running. Tried with various options and get same result or it launches and the process terminates immediately. I ran it from the CLI and no errors were reported before the process dies.

If Steamless worked on the file, then that kind of error is due to the game also using the Steamworks API. (steam_api.dll / steam_api64.dll) Steamless does not remove that.

@JollyWizard
Copy link

Issues with Obulis, which reports v2.1 as well.
After unpacking with default options, it reports that steam must be running. Tried with various options and get same result or it launches and the process terminates immediately. I ran it from the CLI and no errors were reported before the process dies.

If Steamless worked on the file, then that kind of error is due to the game also using the Steamworks API. (steam_api.dll / steam_api64.dll) Steamless does not remove that.

Thanks for clarifying. I wasn't familiar with the symptoms.

@atom0s
Copy link
Owner Author

atom0s commented Mar 30, 2024

Parts of these issues have been fixed with the latest version of Steamless. (3.1.0.5)

@rec32
Copy link

rec32 commented Aug 18, 2024

I got an exception with game "Iron Front: Liberation 1944" (Iron Front: Digital War Edition) which uses SteamStub 2.1

Index out of range. The index must be a positive number and its size must not exceed the size of the collection

No options helped against this, I'm using 3.1.0.5

@atom0s
Copy link
Owner Author

atom0s commented Aug 18, 2024

I got an exception with game "Iron Front: Liberation 1944" (Iron Front: Digital War Edition) which uses SteamStub 2.1

Index out of range. The index must be a positive number and its size must not exceed the size of the collection

No options helped against this, I'm using 3.1.0.5

Hello, can you upload the exe for that game somewhere and link it here?

@MapleHinata
Copy link

I'm currently encountering this issue with the latest depot of Final Fantasy XIII (AppId 292120), with the default options, the latest version of Steamless reports an failure when attempting to decrypt the .text section, with the "Use Experimental Features" option enabled, Steamless outputs a broken executable.

Here is the executable.
ffxiiiimg.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: plugin Category: Plugin p: high Priority: High t: bug Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants