• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

[TOOL] preBuildOS

10 posts in this topic

Posted (edited) · Report post

Description:

Many cookers use bepe's BuildOS to cook ROMs. As you know BuildOS fails if there are multiple files with same name in OEM or SYS packages:

post-815469-1294953950_thumb.png

This tool automatically finds and deletes redundant .rgu and .dsm files and also removes duplicate files by name according to packages priority (determined by their directory name).

How to use:

Simply put preBuildOS in a directory beside OEM and SYS folders and open it.

post-815469-1294954307_thumb.png

This will automatically perform cleanup

post-815469-1294954651_thumb.png

and move deleted files and folders to deleted_sys and deleted_oem:

post-815469-1294955716_thumb.png

preBuildOS is a command-line tool. You can use it with --oem and --sys arguments:

prebuildos --sys=<path_to_sys_folder> --oem=<path_to_oem_folder>

Download:

preBuildOS.exe

Edited by fardjad
0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for the tool Fardjad ;)

Pinned

0

Share this post


Link to post
Share on other sites

Posted · Report post

Works like a charm! Thanks!

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Honestly I was watching this thread for replies and feedbacks since I released the tool. I wanted to add more features and bug fixes to this utility to make it useful for cookers (I'm not interested in cooking ROMs. I was just playing with these things to learn more.)

I heard from many cookers that deleting duplicate files is really boring, so I made this utility and gave it to a few users before I post it here... And now there are only 38 downloads and 2 replies. So it seems there is no need to continue the development.

Also it's really strange that users in this community don't want to share their knowledge anyway; Before I make the tool public, one of the testers asked me not to release it! Well... I know there is competition between cookers but I personally prefer to share everything because I hope others do so. This way we gain knowledge and make our community better and better.

I have sent more than 5 PMs to a few experts here to ask them something (It was about the relocation problem with osKitchen O2 project) and almost no one answered. It seems everyone wants to publish their work just for the fame!

OK, I know this is somehow irrelevant to this topic, but I really became disappointed when I saw this state... I think there is no need to continue working on these projects.

Edited by fardjad
0

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you for a wonderful tool

0

Share this post


Link to post
Share on other sites

Posted · Report post

just right after i stopped cooking :lol: good job!

0

Share this post


Link to post
Share on other sites

Posted · Report post

just right after i stopped cooking :( good job!

You just saved me about an hour of work waiting for buildOS to fail on 32 different files. I think it is wonderful that you created this tool. I would like, personally, if you could make it a priority thing where you get shown the duplicates and then you choose the priority of the packages, cause once you run this tool your kitchen gets ripped apart and you have to put everything back where it goes except the new project you are working on. A lot of duplicates can be taken care of by the option.xml file, where some things don't get "cooked" together.

Otherwise this is beautiful, but I don't use it on i8000.

X

0

Share this post


Link to post
Share on other sites

Posted · Report post

Honestly I was watching this thread for replies and feedbacks since I released the tool. I wanted to add more features and bug fixes to this utility to make it useful for cookers (I'm not interested in cooking ROMs. I was just playing with these things to learn more.)

I heard from many cookers that deleting duplicate files is really boring, so I made this utility and gave it to a few users before I post it here... And now there are only 38 downloads and 2 replies. So it seems there is no need to continue the development.

Also it's really strange that users in this community don't want to share their knowledge anyway; Before I make the tool public, one of the testers asked me not to release it! Well... I know there is competition between cookers but I personally prefer to share everything because I hope others do so. This way we gain knowledge and make our community better and better.

I have sent more than 5 PMs to a few experts here to ask them something (It was about the relocation problem with osKitchen O2 project) and almost no one answered. It seems everyone wants to publish their work just for the fame!

OK, I know this is somehow irrelevant to this topic, but I really became disappointed when I saw this state... I think there is no need to continue working on these projects.

Thanks for the great tool that helps us cooks, and also I am of the opinion to share up its own knowledge and experience for the good of the whole comunity, I would be willing as a beta tester for the project osKitchen O2 Mod

0

Share this post


Link to post
Share on other sites

Posted · Report post

You just saved me about an hour of work waiting for buildOS to fail on 32 different files. I think it is wonderful that you created this tool. I would like, personally, if you could make it a priority thing where you get shown the duplicates and then you choose the priority of the packages, cause once you run this tool your kitchen gets ripped apart and you have to put everything back where it goes except the new project you are working on. A lot of duplicates can be taken care of by the option.xml file, where some things don't get "cooked" together.

Otherwise this is beautiful, but I don't use it on i8000.

X

I just spent an hour trying to find a way around this while repeatedly rebuilding and renaming doubles...

Then this took precisely 0.23 seconds to fix the rest...

Thank you!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, thanks for the tool and sharing :-)

When merging bases and adding OEM I came across the need to weed out also duplicate modules/files this is something that your tool does as well - thanks :-)

So in the context of checking to make things unique it is very handy!

I will not be able to use that on a regular base (i.e. in the cooking workflow) as I have on purpose duplicate files in package directories. These have to be selected either/or and not together.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.