Android Question How can I edit an uncompressed b4xlib ?

Colly

New Member
I need to make some changes to a library, specifically "B4XOpenMap.b4xlib."

I changed the extension to .zip, then uncompressed it with 7zip, this resulted in one folder named files (with some image files in it ) and four files, three with a .bas extension and a manifest.txt file.

How do I edit these files ?, so far the only thing I've been able to do is to edit them in notepad++ .

I hoped I would be able to edit them in the IDE, but all i can open is .b4a (source files) files.

I'm new to b4a and have scoured the forum for hours but all i have seen is "edit the files", but not how to edit them (apologies if i've been dumb and missed the obvious).
 

Mariano Ismael Castro

Active Member
Licensed User
I need to make some changes to a library, specifically "B4XOpenMap.b4xlib."

I changed the extension to .zip, then uncompressed it with 7zip, this resulted in one folder named files (with some image files in it ) and four files, three with a .bas extension and a manifest.txt file.

How do I edit these files ?, so far the only thing I've been able to do is to edit them in notepad++ .

I hoped I would be able to edit them in the IDE, but all i can open is .b4a (source files) files.

I'm new to b4a and have scoured the forum for hours but all i have seen is "edit the files", but not how to edit them (apologies if i've been dumb and missed the obvious).
Create a new project and then look for the import option, from there you can add the .bas file to your project and modify it.
 
Upvote 0

Chris2

Active Member
Licensed User
Longtime User
AddExistingModule.png

...and select the .bas files that you've extracted from the b4xlib.

If the code in these modules refers to the image files that you mentioned then you will need to add thee to your project's files too.
 
Upvote 0

emexes

Expert
Licensed User
Longtime User
If you right-click the b4xlib in Windows File Explorer and choose Open with, 7-Zip File Manager,

then right-click the file you want to edit and choose Edit,

then 7-Zip will extract the file and load it into Windows Notepad for you,

but I'll leave it for you to see if it compresses the saved edited file back into the b4xlib Zip archive.

1760522397205.png


1760522715980.png
 
Upvote 0
Top