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

Script to generate SPDownload.txt file #75

Closed
napzero opened this issue Sep 10, 2018 · 9 comments
Closed

Script to generate SPDownload.txt file #75

napzero opened this issue Sep 10, 2018 · 9 comments

Comments

@napzero
Copy link

napzero commented Sep 10, 2018

I'm not sure how you create your SPDownload files, but I'm sharing a small batch file I made to generate them. Perhaps it will be helpful.

create-new_SPDownload_txt.zip

@texhex
Copy link
Owner

texhex commented Sep 11, 2018

Thanks Matthew, but right now I'm a little bit stuck about the use for this.

I think this would be more of a tool for a contributor than a normal user, right? I would expect normal users just download the SP, store the files and be done with it without touching SPDownload.txt.

Or do you use it internal for your installation? If so, the use case would be interesting for me.

@napzero
Copy link
Author

napzero commented Sep 12, 2018

I never though of just downloading the SP, I always create/update the SPDownload.txt and then run the StartExampleDownloads.bat. I trust the script to extract everything to the right place.

I've only used this a handful of times, but it helps me create the SPDownload.txt without thinking about the SP range numbers (maybe lazy, but I don't like repeating what I can automate).

Sorry if this is such a trivial thing, I have a couple more ideas but haven't had time to write them out yet.

@texhex
Copy link
Owner

texhex commented Sep 12, 2018

Ah, now I understand. And yes, you are right - using the script that way make handling the SP download and extraction a lot easier. To be honest, I never thought about using it that way.

Give me some days to think about it how to describe this and come up with a new name; ExampleDownload doesn't make sense when using that workflow.

@napzero
Copy link
Author

napzero commented Sep 12, 2018

If I may make a name suggestion... SP-LoadAllMissing

@napzero napzero closed this as completed Sep 14, 2018
@texhex
Copy link
Owner

texhex commented Sep 15, 2018

@napzero Why did you closed it?

@napzero
Copy link
Author

napzero commented Sep 15, 2018

Not really sure, just figured it didn't need to stay open.

@texhex texhex reopened this Dec 19, 2018
@texhex
Copy link
Owner

texhex commented Dec 19, 2018

@napzero Well, it was a little bit more than "some days" but I finally took the time to make the necessary changes. The download PS is now named "StartSoftPaqDownloads" and there is a new section inside readme that links to the issue and your batch file.

Please have a look at https://github.com/texhex/BiosSledgehammer#adding-firmware-files and let me know what you think.

@napzero
Copy link
Author

napzero commented Dec 27, 2018

Looks cool, thanks. I was thinking though... why is there a separate SPdownload.txt file for each model... wouldn't it be easier to maintain if all of them were listed in a single file like a database? Not a trivial question, I know. It would require a substantial rewrite, right?

@texhex
Copy link
Owner

texhex commented Dec 27, 2018

Thanks, so I will leave the text as is.

Regarding your question: Yes, this would for one require a rewrite but at the same time a central "SoftPaq Catalog" file/database would not make any sense as BIOS Sledgehammer is designed around the principle that there is one folder per model that holds all required files and settings. Creating a central files for SoftPaq would violate this principle.

In case several models share the same BIOS download, they will also share the same BIOS settings so you can create a \Shared folder for those and have everything in one folder again.

@napzero napzero closed this as completed Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants