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

Full mod unlock #5

Closed
mario50245 opened this issue Jul 5, 2024 · 10 comments
Closed

Full mod unlock #5

mario50245 opened this issue Jul 5, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@mario50245
Copy link

mario50245 commented Jul 5, 2024

Hello

I tell you that I tried the extractor but it only works in some mods, not in all since they have the reinforced hashfs v2, even if I try to unlock it, it doesn't work.
image

here is an example

In fact, I drag the mod to the extractor but it closes immediately, the extractor cannot extract it and that is because the hash does not detect it as it is blocked with that scs# city

@sk-zk
Copy link
Owner

sk-zk commented Jul 5, 2024

That's actually HashFS v1 based on the header. Can you run the extractor from a commmand prompt and post the error message?

@mario50245
Copy link
Author

mario50245 commented Jul 6, 2024

hello

How are you, here I leave you a common error that the file is not unzipped and it is because it is not executed by the version of hashfs

https://drive.google.com/file/d/1D72mP3AMi2SMH2KJx9lLOKRWxhK7DUnb/view?usp=sharing

and the truth is that I don't know how to use C# to unlock it :(

and here is another video with another extractor that exists and you will give details of the specific error

https://drive.google.com/file/d/1AzAHZApG0-dOhj7wXugzEf2NQdQ8dbmE/view?usp=sharing

@sk-zk
Copy link
Owner

sk-zk commented Jul 7, 2024

That second extractor is just a wrapper around mine actually, so those error messages are very useful.

Two things are happening here. Problem No. 1 is that the mod author, as stated by the error message, chose to omit the top level directory listing, so a simple one-click extraction is not possible. Instead, you need to do partial extractions of paths that are known to exist – start with /def and work forward from there.

Problem No. 2 is that the extractor, as CrVault's wrapper attempts to do this, hits an edge case I forgot to handle. Do you have a link to the mod? It'd make it easier for me to fix this.

@mario50245
Copy link
Author

mario50245 commented Jul 7, 2024

  1. Regarding the first. Query is it difficult to extract range by range? And do I have to use a specific command?

  2. https://drive.google.com/file/d/1RPZoL8mph6pQRvrbyR1VWuLQfrdPb7_E/view?usp=sharing here I uploaded the mod

  3. The only thing I want to unlock the bus example mods for is to only add specific engine sounds and change some data but in the folders. Edit the mod itself in blender not because it doesn't even deal with blender :(

  4. and I also want to unlock maps that have that lock to edit them for personal use. In fact, I don't publish any photos or anything for that matter since I keep everything confidential :( Is there any way these mods can be unlocked simply or with some command in CMD?

  5. I knew how to unlock the AEMs through hex neo editor, which replaces a hexadecimal column, but unlocking hashfs is the most difficult thing I have ever seen. Not even SXC was able to do it :(

@mario50245
Copy link
Author

mario50245 commented Jul 7, 2024

I tried it with -P and it gives me this error
I tried -a, -s, -p, -P and in all of them it gave me an error
image

@mario50245
Copy link
Author

mario50245 commented Jul 7, 2024

  • a
    image

  • P

image

otro error con el -a

image

@sk-zk
Copy link
Owner

sk-zk commented Jul 8, 2024

  1. [...] here I uploaded the mod

Great, thanks

  1. [...] Is there any way these mods can be unlocked simply or with some command in CMD?

That's what CrVault's tool is for. I've never used it though so I don't know how well it works.

  1. Regarding the first. Query is it difficult to extract range by range?

What do you mean by range?

And do I have to use a specific command?

Yep, the option is -p, note the lowercase p. Here's a sample call (paths are separated by commas):

extractor "path/to/the/mod.scs" -p=/manifest.sii,/def

(Alternatively, you can write paths to a plain text file, separated by line breaks, and pass it with -P=bla.txt, with
an uppercase P.)

This will extract the manifest as well as the /def directory, which will almost always have a directory listing present
and is therefore easily extractable. You can then look through the .siis to discover the direct paths to other
files in the archive, and then extract those. This is the part which CrVault's tool can do automatically.

I tried it with -P and it gives me this error
I tried -a, -s, -p, -P and in all of them it gave me an error

I've added some usage samples to the readme which should help you out.


Anyway, I fixed the crash you ran into, and I'll release a new version of the extractor which includes the fix sometime next week.

sk-zk added a commit that referenced this issue Jul 8, 2024
@sk-zk sk-zk added the bug Something isn't working label Jul 8, 2024
@mario50245

This comment was marked as off-topic.

@sk-zk

This comment was marked as off-topic.

@sk-zk
Copy link
Owner

sk-zk commented Jul 15, 2024

Fixed in 2024-07-15

@sk-zk sk-zk closed this as completed Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants