Jump to content

» «

[REL|BETA]Coin's Text to Bin Launcher

7 replies to this topic
  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007
  • None


Posted 19 November 2010 - 02:43 AM

Coin's Text to Bin Launcher
T2B Original autor: Delfi

This is my first Public Tool for the Community. Its a bit rusty, but works.

This Launcher was designed to make the Conversion of Text files
to GTA San Andreas IFP files easier. Using Delfi's T2B.
For GTAForums.com

I may make a better version with Java next year. But first I have to learn it in College.

How to Use:

First you need a Decompiled IFP file. In order to do have one,
take the IFP you want to edit and use "IFP DUMP" from KAM 3D MAX Scripts.

Once its decompiled, hit F11 in 3D Studio MAX and copy the whole text into
notepad. Remove Path line (first line) and save as Text file.

You can edit it the way you need, I show you how in this tuto:


When you have your TXT file finished, run "Launcher.exe" and write the
name of the TXT file you want to convert to IFP. Do not use quotation marks.

example: ped.txt

Hit enter and now write the name for the IFP file.

example: ped.ifp

You will be asked if you want to view some Information from TXT file.

This information will be displayed:

====    Header    ============
Version Identifier: "ANPK"
Offset to end of file: "X"
Internal Name: "The Internal Name of the IFP, the one the game uses."
Number of Animations: "X"
====    Animation Info    ====
Animation 1 : "Animation Name"
Animation X : "Animation Name"

Animation Info will list all the anims.

Keep in mind the Header Structure in your TXT has to match the IFP Dump output,
like this:

//This is Header Section
c 4
i 1
25058 <--- Has to be in this position (Offset)
c 24
PARKOUR <--- Has to be in this position (Name)
i 1
5 <--- Has to be in this position (Number of Anims)

If your TXT fails to keep that structure the Launcher will probably fail
when listing Header Info.

Do not remove the comments like "//Animation X starts here".

The program will save all this info in a file called "Information.txt"
Keep in mind this file will be overnighted each time you list a new TXT.

Now you will be asked to start the Proccess, write Y and hit enter.
If the file is small it should be done in ms.
If its a big file it can take a few seconds.

Once done the program will wait until you press any key.

The Information.txt and the new IFP will be created in the same
directory T2B.EXE and my Launcher are.

The download includes 2 Decompiled IFP files so you can test the program quick.

Any questions, bugs... ask them here.

  • Function-X-

    Negativity Replenish

  • Members
  • Joined: 07 Jan 2008
  • None
  • Contribution Award [Mods]


Posted 19 November 2010 - 02:56 AM

Awesome cookie.gif !

  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007
  • None


Posted 19 November 2010 - 03:34 AM

Some pics:

user posted image

user posted image

user posted image

Still awaiting approval.

  • indraCG

    3d Modeller

  • Feroci
  • Joined: 29 Sep 2009
  • None


Posted 19 November 2010 - 04:26 AM

great work coin god....is this work with cutscene animation?

  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007
  • None


Posted 19 November 2010 - 02:17 PM Edited by goin-god, 19 November 2010 - 02:21 PM.

Most probably wont. I have to check the Cutscenes IFP structure yet.

I wrote this in 2-3 hours thinking about the normal IFP's.

  • quechus13


  • Members
  • Joined: 19 Dec 2008
  • None


Posted 19 November 2010 - 02:22 PM

very cool coin you get icon14.gif icon14.gif and cookie.gif cookie.gif cookie.gif cookie.gif

  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007
  • None


Posted 19 November 2010 - 09:27 PM Edited by goin-god, 19 November 2010 - 09:38 PM.

Just tried the tool with a Cutscene IFP and it crashes. As I spected.

The problem is the Version id. As I read in the IFP documentation it uses ANPK wich my tool can't read, yet.

Gotta fix that and see If I catch new errors.

edit: Structure is a little diferent, but shouldn't take much time to fix.

edi2: Found a mayor problem, seems that T2B can't compile cutscene ifp's. And I don't have the source code from it.

I could try to make a workaround with my tool, but I can't promise anything.

  • shindogg


  • Members
  • Joined: 06 Dec 2006


Posted 28 July 2012 - 05:08 AM

seems nice i guess, but what i really need is a bin to text launcher, the opposite of what you have here. i want to convert an ifp to txt. i tried to use gmax ifp dump with ped.ifp but all it does is make my pc lag for like 10 minutes & doesnt create a txt file anywhere. please help

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users