PDA

Click to See Complete Forum and Search --> : Opening game files


tizzy
Jul 18th, 1999, 02:01 AM
I want to be able to open various game files in my programs. For example, GTA maps, FlightSim textures, Carmageddon *.pix files etc etc. Do you need a special decoder of something? If yes, is there anyway of writing this decoder? Is there any humanly possible way of doing this using ordinary controls and the API if needed, and, if not, how else could you do it? Cheers for any help.

tizzy
Jul 23rd, 1999, 07:41 PM
someone answer PLEASE!!!

Dandre
Jul 23rd, 1999, 10:44 PM
Hi,

I might have a solution

In VB you get a GET and PUT statement.
If you create for example your own game, here is an example.

Let's say you wan't to create a password and name, here's an example code:
{Save}

Dim PassWord

Open "game.dat" for random as #1
Put #1,1,PassWord
Close #1

Text1.Text=PassWord



{Open}

Dim PassWord

Open "Game.dat" for random as #1
Get #1,1,PassWord
Close #1

Text1.Text=PassWord



Well I hope that helps you and so on.
Play around with it for a while and so on.
!!! Remember !!!
The 'Dim PassWord' must have a data string for example 'Dim PassWord "as String"'


I tried to use this statements to get some Dune 2000 files and so on. Well I didn't succeed but I'm trying on other things.

Well I hope you succeed!


------------------
\\|//
|o o|
-ooo-------ooo-------
E - Mail: dandrev@hotmail.com
---------------------

tizzy
Jul 28th, 1999, 01:19 AM
Thanks, it helps a bit. I was thinking more specificly about picture files though - I want to create a game file editor. I'm sure it can be done because I have various programs that can edit game files.

*Super Sniper*
Feb 23rd, 2000, 08:18 AM
<<Need Some Move Help?>>
<<Yes or No; Back to the top!>>