Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Please be aware that this is not a tutorial request forum! Use the appropriate topic for the effect.
Grinch_

[SA]Creating Custom Binary IPL

Recommended Posts

Grinch_
Binary IPL
 

If you don't know anything about ipl I'll suggest you read from below sites first covering the text ipl files.

GTA Mods

Basically binary ipl files are text ipl in binary format.Its only present in GTA San Andreas, GTA IV, and Bully Scholarship Edition. Only INST CARS sections are found used by R*, about the rest sections are unknown. These files are basically located inside IMG archives

Before we start, I'm listing tools you'll need,

1.Text Editor(Notepad will do)
2.An IMG Editor. I suggest this one IMG Factory
3.A text to the binary ipl compiler. I suggest Fastman92 processor

Basically, binary & text ipl are totally the same. There's a structure for the binary ipl here. Let's take a look at an inst line


Normal Ipl:

Quote

15072, PLS_carpark, 0, 2579.8796445, 645.50208432, 9.93, 0, 0, 0, 1, -1

 

 

Binary Ipl:

Quote

15072, dummy, 0, 2579.8796445, 645.50208432, 9.93, 0, 0, 0, 1, -1

 

These above two lines are the placement data of the same object. First one is the line in text ipl files & the second one is the decompiled form of the binary line. It's not actually related to this converting thingy but I just wanted to point it out that the name is actually ignored by the game both in text & binary form. 


So, now extract the fastman92 processor in a folder. After that copy your ipl files there.
yZxOXPU.png

Let's take a look at our ipl file,
mh9RFsP.png
Now edit the fastman92_processor.bat
Hzj7UDf.png

You'll find a window like this,
djqOO0p.png

Next, you'll have to do is change this line,

fastman92_processor.exe /file_type ipl /input_type binary /input_game GAME_EXACT_BULLY_SCHOLARSHIP_EDITION_PC /input_filename "trich.ipb" /output_type text /output_game GAME_EXACT_BULLY_SCHOLARSHIP_EDITION_PC /output_filename "trich.ipl" /string_list data\bully_strings.txt

 

With this one below,

fastman92_processor.exe /file_type ipl /input_type text /input_game GAME_EXACT_GTASA_PC /input_filename "bin.ipl" /output_type binary /output_game GAME_EXACT_GTASA_PC /output_filename "bin_stream.ipl"

 

Change your input and output file names in the above code but keep the _stream extension in the output file name or you'll have to add it later.

Next, save it and run.

7UunMI5.png

After running you'll end up with something like this,
OAAWXTp.png

after this open up your IMG archive(gta3.img or other) using IMG Factory and import it and rebuild. Then create a new text file and rename it with your output file but without the _stream extension.

I've only used "bin_stream.ipl" file but multiple binary ipl files can also be loaded through a single text counterpart by using below naming scheme,

Quote

bin_stream0.ipl

bin_stream1.ipl

bin_stream2.ipl

bin_stream3.ipl

...

etc

 


BRwnMNC.png

The file preview
bZiz7UI.png

You can leave this file empty but it's necessary to load the binary file. Please be caution with naming. The only difference with this and the binary file should be "_stream" or it won't work.

After this copy this file location and goto your game directory data/ and open up the gta.dat file. Then goto ipl section paste your file location like this,
MRob35U.png

or if you got modloader you can just paste the location in a text file and put it in mod loader directory.
L242Yny.png

Then save it. Now run your game and check if the object is spawned or not.

Thanks to fastman92 and junior for their help with this.
Note: I learned all this through trial and error process. So, if I wrote anything wrong, please point it and I'll fix it as soon as I can. Thanks!

Edited by Grinch_

Share this post


Link to post
Share on other sites
fastman92

I recommend you to make a batch script for converting the file in both ways.

Fastman92 processor is command-line application. It's your task to make some form of GUI if necessary.

Share this post


Link to post
Share on other sites
Grinch_
5 hours ago, fastman92 said:

I recommend you to make a batch script for converting the file in both ways.

Fastman92 processor is command-line application. It's your task to make some form of GUI if necessary.

hmm.Still,its one of the best one yet.Cause most of them I've tied didnt work for me rather than this.

Edited by Inan-Ahammad

Share this post


Link to post
Share on other sites
fastman92

Binary placement files are also used in Bully Scholarship Editor.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.