Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Forum Support

    3. Suggestions

List of files inside IMG archive?


pdescobar
 Share

Recommended Posts

I would like to be able to get a list of the files in the various .IMG archives (specifically those from San Andreas) so that I could search through it with grep or from an external script. From what I understand, the IMG has an internal directory of some kind (something.dir) but I could find no way within IMG Tool 2.0 or Spark 0.9.2018 to extract that directory or get a simple text directory list. I even tried doing a "select all" on the file list in each program but I couldn't copy it afterwards.

 

Does anyone know of a relatively easy way to get such a list?

Link to comment
Share on other sites

Well, you wrote the audio tools, so shouldn't you be able to write a small tool to extract the lists quickly? The img format is very simple, and fully documented.

 

But since I'm a nice person, here are the lists for all of SA's IMGs, generated with REspawn's IMG 2.0:

img_toc.zip (210 KB)

Link to comment
Share on other sites

Well, you wrote the audio tools, so shouldn't you be able to write a small tool to extract the lists quickly? The img format is very simple, and fully documented.

 

But since I'm a nice person, here are the lists for all of SA's IMGs, generated with REspawn's IMG 2.0:

img_toc.zip (210 KB)

Thanks steve. And yes, I probably would have written something to do it myself if I had no positive responses. I was hoping I was simply missing something and wouldn't have to, though. tounge2.gif

 

Thanks again.

Link to comment
Share on other sites

just out of curiosity, what do you need the list(s) for?

My primary computer is old and slow, so SA is installed on a laptop of another family member that I don't always have access to. There have been times recently when I wanted to find which archive contains a certain file, wanted to understand the file naming conventeions better, wanted to know whether there's a matching dff to go with a txd, etc, and I thought it'd be useful if I had a list of files on this computer that I could quickly search through. So, I figured I'd ask if there was an easy way to get such a list. I'm still quite new to GTA modding so sometimes I just like poking about out of sheer curiosity. It may not be tremendously useful, but it's just something I wanted to have at my disposal. biggrin.gif

Link to comment
Share on other sites

Well, as long as you have enough disc space, you could just copy all the interesting files over, even without being able to run the game. I do have copies of the PS2 versions of VC and SA, and LCS for PSP on disc, just to look at the files.
Link to comment
Share on other sites

Well, as long as you have enough disc space, you could just copy all the interesting files over, even without being able to run the game. I do have copies of the PS2 versions of VC and SA, and LCS for PSP on disc, just to look at the files.

Disk space is indeed the problem. I have copies of most of the data directory's text files and have enough room for a couple of the smaller sfx archives and audio streams (along with needed audio/CONFIG/ files) to do some basic testing during SAAT development, but I don't have nearly enough free space for gta3.img (or SPC_GA.) I'll hopefully be buying a new PC in a couple weeks, but until then I make do with what I can. biggrin.gif

Link to comment
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
 Share

  • 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.