How to open a file with no extension

Rydia

Member
May 5, 2015
113
0
0
Okay, so I got these files here on my pc, that is used for my level building works. It's supposed to contain maps, and models, but the problem is this file has no extension, and I can't pen it by double clicking. Is there a way to open a file without an extension, and if so, will this file need to be decompressed, or uncompressed, whatever the word is for it?
This file is called: PackedSegFile (and no extension)

these are the files btw:

http://www.mediafire.com/download/uf582ab4af4nw1d/PackedSegFile
http://www.mediafire.com/download/hbm0ex7kr812rl1/Textures.raw
the textures.raw file is unknown too, I tried opening that file with Photoshop and it were was a gray pixilated image. which can't be right, because it contains model textures.
 
Last edited:
Feb 25, 2011
16,983
1,616
126
Do you know what program they are supposed to open with? Typically you can manually open them that way. (Launch program, file->open, find document, open it.)

If you don't know, sometimes you can open it in a text editor and there'll be some text metadata before all the binary stuff. It might have a file format or a "created with..." blurb.
 

Rydia

Member
May 5, 2015
113
0
0
Do you know what program they are supposed to open with? Typically you can manually open them that way. (Launch program, file->open, find document, open it.)

If you don't know, sometimes you can open it in a text editor and there'll be some text metadata before all the binary stuff. It might have a file format or a "created with..." blurb.

They're supposed to open with either 3ds max, or Metasequioa (3d modeling program).
But I don't know exactly.

I tried opening it with notepad, and (no, no) it stopped responding.
 

ninaholic37

Golden Member
Apr 13, 2012
1,883
31
91
Do you know what program they are supposed to open with? Typically you can manually open them that way. (Launch program, file->open, find document, open it.)
This is how I always do it. Hopefully one of those two programs you mentioned will be able to open it and understand what's inside. The first file you posted seems like a package of different segments and types of data as the name implies.

edit: Perhaps there is also a third file, with an actual known extension, which can be used to open and arrange the data files in a meaningful way?
 
Last edited:

Rydia

Member
May 5, 2015
113
0
0
This is how I always do it. Hopefully one of those two programs you mentioned will be able to open it and understand what's inside. The first file you posted seems like a package of different segments and types of data as the name implies.

edit: Perhaps there is also a third file, with an actual known extension, which can be used to open and arrange the data files in a meaningful way?

package of different segments of data? so not any models or textures are in this file?

I opened packedsegfile with Notepad ++ and there was no metadata. This website might give you the answer.

really, NONE at all? that's strange.

from the website it seems the PackedSegFile may ONLY contain info about models and such and actual models and textures, like .obj, .3ds. etc.
 
Last edited:

Fardringle

Diamond Member
Oct 23, 2000
9,200
765
126
Find out what the file extensions are supposed to be, and rename the files to include the extensions. Or just open them directly in the appropriate programs as dave suggested.
 

cabri

Diamond Member
Nov 3, 2012
3,616
1
81
Open the expected program.

Most any windows program will have a File/Open menu option.

Usually is required for Microsoft certification.
 

ninaholic37

Golden Member
Apr 13, 2012
1,883
31
91
I think the problem is Rydia is trying to open data from a game (?), and the files are a collection of different types of data rolled up into one file, possibly without the header that tells where each chunk begins and ends.

Like when you try to open a DOOM.WAD file there's a bunch of stuff:
Trying to load the whole thing in MS-Paint would just load it as one picture, or in Audacity it would just open it as one huge sound file (with probably the wrong frequencies, if it's even raw wav data). The only programs that could open everything without a hitch would probably be Editors specifically created for the file that already have a general sense of what type of data to look for and what order/sizes they should be.
 
Last edited:

Rydia

Member
May 5, 2015
113
0
0
I think the problem is he's trying to open data from a game (?), and the files are a collection of different types of data rolled up into one file, possibly without the header that tells where each chunk begins and ends.

Like when you try to open a DOOM.WAD file there's a bunch of stuff:
Trying to load the whole thing in MS-Paint would just load it as one picture, or in Audacity it would just open it as one huge sound file (with probably the wrong frequencies, if it's even raw wav data). The only programs that could open everything without a hitch would probably be Editors specifically created for the file that already have a general sense of what type of data to look for and what order/sizes they should be.

I tried opening PackedSegfile and textures.raw in MS paint, and of course, MS paint can't open it.

I knows it silly, but I tried opening PackedSegfile in Audacity...

EDIT: Nothing but T.V. like static. I don't know why I even attempted to do so. But, (I guess) I'm some what getting somewhere.

BTW, ninaholic37, I am a girl, not a man, thank-you :)
 
Last edited:

sm625

Diamond Member
May 6, 2011
8,172
137
106
The best way to analyze the contents of PackedSegFile would be to copy and rename it to PackedSegFile.hex. Then use a hex editor or hex viewer. Notepad will open it, you just have to wait a while because it is a rather large file. But none of this is going to do you any good. That file is meant to be unpacked by some program, probably an emulator? Or is that file a game ROM?
 

Ketchup

Elite Member
Sep 1, 2002
14,558
248
106
I opened packedsegfile with Notepad ++ and there was no metadata. This website might give you the answer. http://www.shootersforever.com/foru...p?t=5566&sid=4d709940d46a413f9d6ca5b809b21e46

Rydia, are these files for a console video game?

http://www.shootersforever.com/foru...p?t=5566&sid=4d709940d46a413f9d6ca5b809b21e46


For me, "level building works" is a bit too vague. What game/app are you working on? These files should work with the app intended, so I don't understand why you are looking for something else.
 

Rydia

Member
May 5, 2015
113
0
0
Yes it is for a console video game, Perfect Dark to be more exact.
It is not a game rom, though.
So a hex editor and notepad won't work either. the hex editor seems like it would.
The game I'm working on is withheld.
 

Fardringle

Diamond Member
Oct 23, 2000
9,200
765
126
If someone else generated the files before sending them to you, just use the same program that they used. If they are pulled out of an existing game, disregarding the legality of the situation temporarily, you're still going to need whatever program was used to create the files.
 
May 11, 2008
21,683
1,295
126
They're supposed to open with either 3ds max, or Metasequioa (3d modeling program).
But I don't know exactly.

I tried opening it with notepad, and (no, no) it stopped responding.

I think notepad is limited to files of a certain size. It used to be 64kB, Do not know what is the current maximum file size for notepad.
 

Rydia

Member
May 5, 2015
113
0
0
If someone else generated the files before sending them to you, just use the same program that they used. If they are pulled out of an existing game, disregarding the legality of the situation temporarily, you're still going to need whatever program was used to create the files.

dern, DERN, I've contacted them days ago, and like always I get a belated reply........

So only the program ever used to make such file will be able to open such file. I actually get that, because one of my other programs named meta2tr generates files with no extension much like this one, and only that program meta2tr can use and operate the no extension file.

I think notepad is limited to files of a certain size. It used to be 64kB, Do not know what is the current maximum file size for notepad.

Notepad eventually opened it, after like 25 minutes, but of course it was filled with a buch of binary like data. (numbers, words, symbols, etc.)
 

John Connor

Lifer
Nov 30, 2012
22,757
617
121
Perfect Dark is a great game! Not the Xbox crap version though. Goldeneye is great too! I play both on the computer.
 
May 11, 2008
21,683
1,295
126
Notepad eventually opened it, after like 25 minutes, but of course it was filled with a buch of binary like data. (numbers, words, symbols, etc.)

I see. Well, that 64kB limitation notepad once had, was removed a long time ago. I always wondered if it was just increased a bit or that microsoft changed notepad in such a way that it could take in any file (I guess that 2GB or 4Gb is the limit.)

Maybe this can be of some use to you :

If i need to examine a file, i use this free hex editor : xvi32
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

It looks nicer in windows 7. :oops:
xvimain.gif


I needed to examine a wavefile and found this to be a good hex viewer/editor.
It opens a 60MB wave file in 2 or 3 seconds.

I needed to update myself because i had an old version 2.54, and i checked, V2.55 is virus free according to my virus scanner. :)
 

Rydia

Member
May 5, 2015
113
0
0
See, filled with a bunch of binary data. I was told by a cumputer tech that if it were decompressed the file format could be determined. (Or something like that) something like it can be opened with whatever it wants.

EDIT: hmm... do you think I should change these data entries to similar of a file already in (model type) file. Like .obj? will that work? (Is that possible)

Untitled.png
 
Last edited:

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,566
4,481
75
See, filled with a bunch of binary data. I was told by a cumputer tech that if it were decompressed the file format could be determined. (Or something like that) something like it can be opened with whatever it wants.

PackedSegFile can't be compressed much more. Which could mean it's "packed".

I tried running the Linux utility file on PackedSegFile. It couldn't determine the filetype. Which probably means it was made, or at least packed, with some proprietary system specific to the game you're working on.

One thought that occurs to me is that it might be a core dump from a segmentation fault. If so, it's not useful without the original executable that generated it and a debugger. Edit: Meaning it probably wouldn't be useful to you at all if that's what it is.
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
That "computer tech" probably thinks it is a standard archive format like zip or 7z.

But the game probably used some custom binary format, and you need a packer / unpacker program that understands that custom format. If the format is documented somewhere then other people modding the game might have written a program you can use.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,566
4,481
75

ninaholic37

Golden Member
Apr 13, 2012
1,883
31
91
I believe FF FF FF FF is -1 in 32-bit.

I think it's saying:

- The 1st piece of data is at A3 84 and is 01 FB bytes long.
- The 2nd piece of data is at A5 7C and is 01 FB bytes long.
- The 3rd piece of data is at A7 74 and is 01 FB bytes long.
etc.

The first number 0A 38 might be the amount of items as:

(A3 84 - 04 (first int)) / 0A 38 = exactly 16

Just guessing though :biggrin:
 
Last edited:

Rydia

Member
May 5, 2015
113
0
0
If so, it's not useful without the original executable that generated it and a debugger. Edit: Meaning it probably wouldn't be useful to you at all if that's what it is.

This is true, with another program I use called Meta2tr. it takes files generated by the level editor, and temporarily saves as a file with no extension. and only meta2tr can open it.

same must be going for this packedsegfile. I just do not have those specific tools use to generate packedsegfile atm, its gone. and those models are lurking somewhere in there binary jungle of that file.

The first number 0A 38 might be the amount of items as:

(A3 84 - 04 (first int)) / 0A 38 = exactly 16

to me, sound like amount of items in the file? idk, guessing here too!
 

Rydia

Member
May 5, 2015
113
0
0
I've hired a programmer to open the mysterious PackedSegfile for me. As the things I were doing were looking to break my PC. Hopefully this file can be cracked open. I'm crossing everything I got.

btw, are there lots of good programmers on this forum? Programmers who can crack open a file like this?