ⒶⓊⓉⓄ-ⒷⓊⒷⒷⓁⒺ
Latest Version: V2.0
Changes:
Script now uses windows built-in ftp client, winscp removed.
General code cleanup.
[DOWNLOAD]
What's this for?
This is an automated script that will clone any psp bubble on your vita!
Why would I want to use this?
This would allow you to have a vhbl and still keep the original game/bubble intact!
This has the potential to allow you to have seperate working bubbles for:
The original base game
VHBL
TN-V
ARK
Any homebrew that supports being loaded directly via pboot.pbp
All at the same time!
(Please note that as of writing this, TN-V and ARK will not work due to a lack of an epsp kernel exploit, I will update this post if/when TN-V/ARK are working)
How does it work?
The script is based on the old manual method (in spoiler tag below) but uses sqlite3 and windows ftp to automate the process.
How to use this script:
This batch script is intended for use on windows.
This script requires that you have a vita on 3.60 with MolecularShell installed.
It also requires that you have a psp demo/game installed on your vita beforehand.
1. Backup your app.db file from 'ur0:/shell/db/app.db' (the script also creates a backup in case you don't, but please don't rely on the generated backup).
2. Download the zip file for the latest version above.
3. Extract the zip folder anywhere on your computer.
-Make sure you have enough free space on your computer and vita memory card to store another copy of the base game.
4. Open auto-bubble.bat.
5. Enter the titleid of your base game (entering an incorrect titleid could break your app.db file).
6. Enter the desired titleid of your clone bubble.
7. Enter the desired name of your new bubble.
8. Confirm that you have entered the correct information.
9. Open MolecularShell on your vita and press 'select'.
10. Input+verify the vita ip. (if prompted, allow program through firewall)
11. Choose if you want the tool to install VHBL onto the bubble for you.
12. Wait for the tool to upload the cloned bubble.
13. Reboot your vita.
14. Enjoy your new bubble
Notes:
This script isn't the cleanest or most elegant solution and the code could definitely do with some cleaning up (especially the sqlite stuff, I'd only used a gui for sql before today).
I can not be held responsible for any damage occurred as result of using this script or following any of my tutorials.
If your homescreen gets messed up due to this script and you forgot to make an app.db backup, rename the 'bkp_app.db' file that the script creates (in the same directory as the script) to 'app.db' and copy it to 'ur0:/shell/db/app.db'. That 'should' fix any problems caused, if not, rebuild your database.
Please report any bugs or issues found, I'll be happy to fix any problems with the script
Latest Version: V2.0
Changes:
Script now uses windows built-in ftp client, winscp removed.
General code cleanup.
[DOWNLOAD]
What's this for?
This is an automated script that will clone any psp bubble on your vita!
Why would I want to use this?
This would allow you to have a vhbl and still keep the original game/bubble intact!
This has the potential to allow you to have seperate working bubbles for:
The original base game
VHBL
TN-V
ARK
Any homebrew that supports being loaded directly via pboot.pbp
All at the same time!
(Please note that as of writing this, TN-V and ARK will not work due to a lack of an epsp kernel exploit, I will update this post if/when TN-V/ARK are working)
How does it work?
The script is based on the old manual method (in spoiler tag below) but uses sqlite3 and windows ftp to automate the process.
How to use this script:
This batch script is intended for use on windows.
This script requires that you have a vita on 3.60 with MolecularShell installed.
It also requires that you have a psp demo/game installed on your vita beforehand.
1. Backup your app.db file from 'ur0:/shell/db/app.db' (the script also creates a backup in case you don't, but please don't rely on the generated backup).
2. Download the zip file for the latest version above.
3. Extract the zip folder anywhere on your computer.
-Make sure you have enough free space on your computer and vita memory card to store another copy of the base game.
4. Open auto-bubble.bat.
5. Enter the titleid of your base game (entering an incorrect titleid could break your app.db file).
6. Enter the desired titleid of your clone bubble.
7. Enter the desired name of your new bubble.
8. Confirm that you have entered the correct information.
9. Open MolecularShell on your vita and press 'select'.
10. Input+verify the vita ip. (if prompted, allow program through firewall)
11. Choose if you want the tool to install VHBL onto the bubble for you.
12. Wait for the tool to upload the cloned bubble.
13. Reboot your vita.
14. Enjoy your new bubble
Notes:
This script isn't the cleanest or most elegant solution and the code could definitely do with some cleaning up (especially the sqlite stuff, I'd only used a gui for sql before today).
I can not be held responsible for any damage occurred as result of using this script or following any of my tutorials.
If your homescreen gets messed up due to this script and you forgot to make an app.db backup, rename the 'bkp_app.db' file that the script creates (in the same directory as the script) to 'app.db' and copy it to 'ur0:/shell/db/app.db'. That 'should' fix any problems caused, if not, rebuild your database.
Please report any bugs or issues found, I'll be happy to fix any problems with the script
Here's a 'mini' tutorial I just made (sorry if it's hard to follow, I might do a video tomorrow if nobody else has)
This tutorial assumes that you already have HENkaku/molecularShell, a dbeditor, an ftp client and knowledge on how to use such utilities.
I take no responsibility for any damage caused by following this tutorial (if anything happens, just rebuild your databse and it 'should' be fixed).
1. Duplicate the folder for your base game in ux0: pspemu/PSP/GAME/YOURGAME, give it whatever ID you want, I don't think it matters, as long as you don't have anything else with the same ID. (eg: if your original app was NPEG00005, duplicate the folder and call the new one NPEG00006).
2. Dump your ur0:shell/db/app.db file.
3. In the app.db file, go to tbl_appinfo and make the table only show the titleid of your base bubble (eg: NPEG00005). You should only see 25 rows of data.
4. Select all of the data in the key and val columns, then copy the contents to your clipboard.
5. Filter visible columns to only show the titleid of your new/clone bubble (eg: NPEG00006). You shouldn't see any records.
6. Create 25 new records, select the key+val columns of your new records and then paste your clipboard contents.
7. Input your new bubble id (eg: NPEG00006) in the titleid field of all of the records that you just pasted data into.
8. Replace any data containing your original bubble id (NPEG00005) with your clone bubble titleid (NPEG00006), make sure you only do that for the new records that you created and not any pre-existing records.
9. Go to tbl_appinfo_icon and create a new record.
10. Set pageid and pos (0-9) to an unoccupied slot on your homescreen.
11. Set iconpath to anywhere you have an icon, it's not really important which icon you use so you can copy the same path from any other bubble if you want.
12. Set title to whatever you want it to be called.
13. Set type to 0.
14. Set TitleID to your new clone-bubble titleid (eg: NPEG00006).
15. Set icontype to 0 for a .dds icon, or 5 for a .png icon.
16. Set parentalLockLv to a number between 0 and 5 (doesn't matter unless you actually use the parental lock).
17. Set status to 0 (not sure what this does or if it's required, but that's what I did).
18. Go to tbl_livearea and create a new record.
19. Set the TitleId of the new record to your clone-bubbles id (eg: NPEG00006).
20. Copy all data excluding the titleid from the row for your base bubble (eg: NPEG00005) into your new record you made for your clone bubble.
21. Save your app.db changes and copy it back to your vita.
22. Reboot your vita and try your new bubble!
If I've forgotten anything, if this needs any corrections or if there's any way you think this could be improved, please tell me so that I can make this tutorial better for everyone.
Happy cloning
This tutorial assumes that you already have HENkaku/molecularShell, a dbeditor, an ftp client and knowledge on how to use such utilities.
I take no responsibility for any damage caused by following this tutorial (if anything happens, just rebuild your databse and it 'should' be fixed).
1. Duplicate the folder for your base game in ux0: pspemu/PSP/GAME/YOURGAME, give it whatever ID you want, I don't think it matters, as long as you don't have anything else with the same ID. (eg: if your original app was NPEG00005, duplicate the folder and call the new one NPEG00006).
2. Dump your ur0:shell/db/app.db file.
3. In the app.db file, go to tbl_appinfo and make the table only show the titleid of your base bubble (eg: NPEG00005). You should only see 25 rows of data.
4. Select all of the data in the key and val columns, then copy the contents to your clipboard.
5. Filter visible columns to only show the titleid of your new/clone bubble (eg: NPEG00006). You shouldn't see any records.
6. Create 25 new records, select the key+val columns of your new records and then paste your clipboard contents.
7. Input your new bubble id (eg: NPEG00006) in the titleid field of all of the records that you just pasted data into.
8. Replace any data containing your original bubble id (NPEG00005) with your clone bubble titleid (NPEG00006), make sure you only do that for the new records that you created and not any pre-existing records.
9. Go to tbl_appinfo_icon and create a new record.
10. Set pageid and pos (0-9) to an unoccupied slot on your homescreen.
11. Set iconpath to anywhere you have an icon, it's not really important which icon you use so you can copy the same path from any other bubble if you want.
12. Set title to whatever you want it to be called.
13. Set type to 0.
14. Set TitleID to your new clone-bubble titleid (eg: NPEG00006).
15. Set icontype to 0 for a .dds icon, or 5 for a .png icon.
16. Set parentalLockLv to a number between 0 and 5 (doesn't matter unless you actually use the parental lock).
17. Set status to 0 (not sure what this does or if it's required, but that's what I did).
18. Go to tbl_livearea and create a new record.
19. Set the TitleId of the new record to your clone-bubbles id (eg: NPEG00006).
20. Copy all data excluding the titleid from the row for your base bubble (eg: NPEG00005) into your new record you made for your clone bubble.
21. Save your app.db changes and copy it back to your vita.
22. Reboot your vita and try your new bubble!
If I've forgotten anything, if this needs any corrections or if there's any way you think this could be improved, please tell me so that I can make this tutorial better for everyone.
Happy cloning
Last edited by orly3,