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

    1. GTAForums Annual Awards 2018

    1. Red Dead Redemption 2

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

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    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 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 Mods
    10. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA 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

Grinch_

[SA]How to make a binary ipl.

Recommended Posts

Grinch_
Binary IPL

Welcome to this tutorial.I myself was working on binary ipl's for quite a while.At last found how it actually works by looking in the in game binary ipl's.It's kinda easy but saw no tut's for it.So,decided to create one myself.

If you don't know anything about ipl's I'll suggest you to read from below sites first covering the normal ipl files.
GTA Wikia

So,lets start.
Binary ipl files are normal ipls in binary form.Its only present in GTA San Andreas , GTA IV and Bully Scholarship Edition.

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

1.Text Editor(Notepad will do)
2.A IMG Editor.I suggest this one IMG Factory
3.A text to binary ipl compiler.I suggest Fastman92 processor
    Its a kinda hard to operate and without any GUI.So you can also use other tools if you like.

There are few differences between a normal ipl and a binary ipl.Firstly lets look at the structure,
Normal Ipl:

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

Binary Ipl:

15072, dummy, 0, 2579.87964, 645.50208, 9.93, 0, 0, 0, 1, -1

As you can see there is only two differences.

Firstly check the names,on normal ipls the name is the object name but when in binary form that becomes dummy.The name isn't really used.This also goes for normal ipl files as well.You can test via changing your object names to dummy or anything it's simply ignored.Game uses the object ID to spawn an object.

Secondly take a look at the decimel values,they are limited to 5 digits.So, it might change your co ordinates comparing to normal ones but that's so tiny that there's 99.9% chance  that you'll never notice.One more thing about binary ipl's are only inst and cars sections are supported,others are unknown.

Next thing is where exactly are these binary ipl's located?If you have looked into game files in data folder you would differently notice normal text ipls but no binary one's.Caues they are located in img archieves(to be exact models/gta3.img).

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

Lets 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 that 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 above code but keep the _stream extention in 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 archieve(gta3.img) 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 extention.
BRwnMNC.png

The file preview
bZiz7UI.png

You can leave this file empty but its necessary to load the binary file.Please be caution with naming.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.Done.

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

Edited by Inan-Ahammad

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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

×

Important Information

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