Page 1 of 1
How to edit existing .pb files
Posted: Tue Feb 24, 2015 4:32 pm
by BenBublil
Hello guys, first of all I want to say that I'm totally new to PureBasic, so don't laugh if the question is funny
I want to edit some .pb files I got. I need to know how to open those files to be able to edit the code.
When I open the file, it opens the File Viewer with it, but I don't want that, I want the code to be opened instead.
How do I do that?
Thank you, hope to hear from you guys soon!
Re: How to edit existing .pb files
Posted: Tue Feb 24, 2015 4:55 pm
by normeus
download PureBasic
http://www.purebasic.com/download.php
This is a demo version or just go ahead and buy it.
install it and it will register itself to open pb code files then you can edit them.
Norm.
Re: How to edit existing .pb files
Posted: Tue Feb 24, 2015 5:05 pm
by Lothar Schirm
pb files are text files, so you can edit them with any text editor, e.g. notepad. But why do you want to edit them without the PureBasic IDE?
Re: How to edit existing .pb files
Posted: Tue Feb 24, 2015 5:46 pm
by BenBublil
Lothar Schirm wrote:pb files are text files, so you can edit them with any text editor, e.g. notepad. But why do you want to edit them without the PureBasic IDE?
The thing is, it's not a normal text file. It has many many weird symbols in it, like the computer doesn't know what is it, it's far from understandable..
I bet you know what I mean. Maybe the files I have are not normal .pb files? I don't know. You tell me guys!
If this helps, here's what the Notepad opens for me (some of the symbols cannot be written in this post):
= ŽDE @DJì
edge_right‡ (@0 RÒ *a
fÆDfÀC8
ÎÌL=f†DfÀC8
ÎÌÌ=šY4DfÀC8
«ªª>3ã•DfÀC8
‰ˆˆ<3ã•DfÀC8 *a
c= €?8
ÎÌL=
c= €?8
ÎÌÌ=
Œ> €?8
«ªª> €? €?8
‰ˆˆ< €? €?8 *Y
€? €?% €?- €?8
ÎÌL= €? €?% €?- €?8
gfæ> €? €?% €?- €?8 *;
8
ÎÌL= 8
gfæ> 8 *ï
€?0 8
À@08
:B ÀC08
08
ÎÌL= €?0 8
À@08
:B ÀC08
08
gfæ> €?0 8
À@08
:B ÀC08
08 JÆ
door_right‡ (@0 R¬ *N
ÀUDÍÀC8
ÎÌL= ÀUDÍÀC8
ÎÌÌ> `’DÍÀC8
ÎÌL= `’DÍÀC8 *N
ƒÀ‚? €?8
ÎÌL=ƒÀ‚? €?8
ÎÌÌ>íÿ1; €?8
ÎÌL=íÿ1; €?8 *Y
€? €?% €?- €?8
ÎÌL= €? €?% €?- €?8
gfæ> €? €?% €?- €?8 *;
8
ÎÌL= 8
gfæ> 8 *ï
€?0 8
€@08
€‹C ÀC08
08
ÎÌL= €?0 8
€@08
€‹C ÀC08
08
gfæ> €?0 8
€@08
€‹C ÀC08
08 J¹ edge_left‡ (@0 R *‡
fFDfÀC8
ÎÌL=fFDfÀC8
ÎÌÌ=šyÌCfÀC8
‘>333Â ÀC8
‰ˆˆ<š™r ÀC8
‰ˆ=ÍÌÂfÀC8
‰ˆˆ<ÍÌÂfÀC8 *‡
c= €?8
ÎÌL=
c= €?8
ÎÌÌ=ñ»)> €?8
‘>d? €?8
‰ˆˆ<"Æ? €?8
‰ˆ=åD“? €?8
‰ˆˆ<åD“? €?8 *Y
€? €?% €?- €?8
ÎÌL= €? €?% €?- €?8
gfæ> €? €?% €?- €?8 *;
8
ÎÌL= 8
gfæ> 8 *ï
€?0 8
À@08
:B ÀC08
08
ÎÌL= €?0 8
À@08
:B ÀC08
08
gfæ> €?0 8
À@08
:B ÀC08
08 JÅ door_left‡ (@0 R¬ *N
f&{CÍÀC8
ÎÌL=f&{CÍÀC8
ÎÌÌ>fæÜÂÍÀC8
ÎÌL=fæÜÂÍÀC8 *N
Öâ“? €?8
ÎÌL=Öâ“? €?8
ÎÌÌ>øÿL; €?8
ÎÌL=øÿL; €?8 *Y
€? €?% €?- €?8
ÎÌL= €? €?% €?- €?8
gfæ> €? €?% €?- €?8 *;
4C 4C8
ÎÌL= 4C 4C8
gfæ> 4C 4C8 *ï
€?0 8
€@08
€‹C ÀC08
08
ÎÌL= €?0 8
€@08
€‹C ÀC08
08
gfæ> €?0 8
€@08
€‹C ÀC08
08 R$
SCENE_OPEN*
0
?0
HELP!
Re: How to edit existing .pb files
Posted: Tue Feb 24, 2015 6:35 pm
by infratec
Hi,
that's not a PureBasic sourcecode file.
Bernd
Re: How to edit existing .pb files
Posted: Tue Feb 24, 2015 7:26 pm
by BenBublil
Can one of you see the file? To try to understand what it is? It's super weird, it has a .pb in its title..
Link:
http://www.filedropper.com/buttontop
Re: How to edit existing .pb files
Posted: Tue Feb 24, 2015 8:26 pm
by eJan
"button_top.pb"
It is not PB source file (only .pb extension??). If you have installed Pure Basic, then the .pb source file will be opened with PB IDE. Try using some example from PB Help.
Re: How to edit existing .pb files
Posted: Tue Feb 24, 2015 8:35 pm
by Danilo
Google: "File Format List pb"
Alphabetical list of filename extensions (M–R) > P:
Code: Select all
Ext. Description Used by
----------------------------------------------
PB Fax FAXability Plus
PB Phonebook WinFax Pro
PB Proboard Conf. files Proboard
PB Setup file PixBase
Are you using one of this programs?
Re: How to edit existing .pb files
Posted: Wed Feb 25, 2015 12:26 am
by BenBublil
I think I solved it.
These files are compiled files of PB. Not the actual source code!
What do you guys think?
Re: How to edit existing .pb files
Posted: Wed Feb 25, 2015 11:31 am
by Lord
BenBublil wrote:I think I solved it.
These files are compiled files of PB. Not the actual source code!
What do you guys think?
Don't think so. That is not an *.exe-File.
There are some hints that it has to do something with graphics:
"edge_righ", "door_right", "edge_left", "door_left", "SCENE_OPEN".
Re: How to edit existing .pb files
Posted: Wed Feb 25, 2015 1:48 pm
by T4r4ntul4
where exactly did you find this file?
Re: How to edit existing .pb files
Posted: Sat Feb 28, 2015 8:20 pm
by BenBublil
where exactly did you find this file?
I was trying to extract an iTunes app an old friend of mine has published.
He doesn't have them anymore, since he deleted them from the computer.
That's why I thought it was compiled files!
Any answers?
Re: How to edit existing .pb files
Posted: Sun Mar 01, 2015 12:31 pm
by T4r4ntul4
i think we can not help you with that. its obviously not a PureBasic file.
try to search on the internet to a 'itunes app viewer' or something.