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

    2. News

    1. Red Dead Redemption 2

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

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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. Forum Support

    2. Site Suggestions

Sign in to follow this  
powerofpencil

gta3.img won't rebuild - I/O error 131 etc

Recommended Posts

powerofpencil

My gta3.img won't rebuild no matter which program I use. Some error/problem would always come up..

 

When I try with ALCI error "Failed to set entrydata" appears

When I try with Spark some Microsoft Windows error appears

When I try with IMGTOOL error "I/O error 131" appears

When I try with G-IMG some Microsoft Windows error appears

When I try with Crazy IMG Editor it just gets stuck then exits

 

Is there another program I have yet tried with? However if 5 programs don't work, 3 of them being the most famous img files programs, then obviously the problem is not them.

 

Ideas?

 

Notes:

- Yes, I have run all programs as Administrator, and my gta3.img's read-only is not ticked, also I have full control on it

Edited by powerofpencil

Share this post


Link to post
Share on other sites
fastman92

Run IMG tools as administrator to make sure that you have privileges to modify IMG archive when it's installed in "Program Files" directory.

 

Click right on exe -> Run as administrator.

 

Also make sure that IMG archives have no "read-only" attribute. Untick this attribute in properties of whole GTA SA directory.

Share this post


Link to post
Share on other sites
powerofpencil
Run IMG tools as administrator to make sure that you have privileges to modify IMG archive when it's installed in "Program Files" directory.

 

Click right on exe -> Run as administrator.

 

Also make sure that IMG archives have no "read-only" attribute. Untick this attribute in properties of whole GTA SA directory.

Forgot to mention that, gonna edit main post. Thanks for replying anyway! biggrin.gif

Share this post


Link to post
Share on other sites
fastman92

What's size of your gta3.img in bytes?

 

Open task manager -> Processes.

Make sure there's no gta_sa.exe active.

 

Download Unlocker and check whether gta3.img isn't used by any process. Maybe antivirus.

 

I checked an error code.

 

 

ERROR_NEGATIVE_SEEK

131 (0x83)

An attempt was made to move the file pointer before the beginning of the file.

Edited by fastman92

Share this post


Link to post
Share on other sites
powerofpencil
What's size of your gta3.img in bytes?

 

Open task manager -> Processes.

Make sure there's no gta_sa.exe active.

 

Download Unlocker and check whether gta3.img isn't used by any process. Maybe antivirus.

 

I checked an error code.

 

 

ERROR_NEGATIVE_SEEK

131 (0x83)

An attempt was made to move the file pointer before the beginning of the file.

- It's 4,084,637,696 bytes.

 

- It's not active in task manager > Processes.

 

- The Unlocker says "it's not locked".

Share this post


Link to post
Share on other sites
fastman92

You've reached the limit of 2 GB, most of IMG editors use unsigned to store position to seek in IMG archive.

It actually is attempting to seek up to 4 084 637 696 - (2^32) = -210 329 600th byte.

 

Game limit of IMG archive is 4 GB, but most of IMG editors lack in support of archives over 4 GB.

 

Use IMG Manager

It works on unsigned integer, thereby it supports IMG archives up to 4 GB in size.

 

I advise to split up gta3.img and gta_int.img: http://www.gtaforums.com/index.php?showtop...st&p=1061116009

But export some of files from gta3.img to any directory to keep a size under 2 GB. Run IMG_ORganizer.bat.

Restore these files back to gta3.img and run IMG_Organizer.bat again.

Script can't work on archives over 2 GB as well.

 

You will have a structure of IMG archives similar to GTA IV. No more big gta3.img file.

Installing mods is possible too. Just Run Img_organizer.bat after putting files to gta3.img or gta_int.img depending on where they had to be put to.

IMG Limit Adjuster 3.0 or newer is required

Edited by fastman92

Share this post


Link to post
Share on other sites
powerofpencil

 

You've reached the limit of 2 GB, most of IMG editors use unsigned to store position to seek in IMG archive.

It actually is attempting to seek up to 4 084 637 696 - (2^32) = -210 329 600th byte.

 

Game limit of IMG archive is 4 GB, but most of IMG editors lack in support of archives over 4 GB.

 

Use IMG Manager

It works on unsigned integer, thereby it supports IMG archives up to 4 GB in size.

 

I advise to split up gta3.img and gta_int.img: http://www.gtaforums.com/index.php?showtop...st&p=1061116009

But export some of files from gta3.img to any directory to keep a size under 2 GB. Run IMG_ORganizer.bat.

Restore these files back to gta3.img and run IMG_Organizer.bat again.

Script can't work on archives over 2 GB as well.

 

You will have a structure of IMG archives similar to GTA IV. No more big gta3.img file.

Installing mods is possible too. Just Run Img_organizer.bat after putting files to gta3.img or gta_int.img depending on where they had to be put to.

IMG Limit Adjuster 3.0 or newer is required

My game crashes on load (I've installed everything you said)

 

It does work with SAMP doesn't it?

 

What do I do with the 'source' folder of 'GTA SA Img Limit Adjuster'? Where do I put it if anywhere?

Share this post


Link to post
Share on other sites
powerofpencil

My SAMP just crashes dude, and I did exactly as instructed. The only thing I see is missing is GTA San Andreas v1.0 [uS] HOODLUM No-CD Fixed EXE:

EXE size: 14 383 616 bytes

 

I made a search on google and couldn't find this gtasa.exe version, but I doubt this is the reason my SAMP crashes.

Should I move any files to models folder? Because I read somewhere I need to put some files in models folder, is it true? Or is it just GTA SA directory and data folder?

 

Is there any chance you can just upload me yours so I could just extract?

Share this post


Link to post
Share on other sites
fastman92

Source - no where, you don't need. It's for programmers.

 

IMG Organizer doesn't work with SA-MP since gta.dat is not loaded on SA-MP. It always uses default gta.dat

You have to install mods in huge gta3.img. Use IMG Manager by XMan.

Share this post


Link to post
Share on other sites
powerofpencil

 

Source - no where, you don't need. It's for programmers.

 

IMG Organizer doesn't work with SA-MP since gta.dat is not loaded on SA-MP. It always uses default gta.dat

You have to install mods in huge gta3.img. Use IMG Manager by XMan.

Alright.

 

IMG Manager is great, it seems the archive now fully rebuilds with no errors, however in-game I see no difference. The mods I installed (Sultan mod in this case) appear as if not installed - I see in-game the same custom Rockstar sultan car.

Share this post


Link to post
Share on other sites
fastman92

Rebuilding is necessary to keep IMG archive as small as possible.

The present IMG editors lack in adding or removing files. Old files arent't really removed, img editors don't do that hence IMG archive is growing up and amount of unused space in IMG archive rises by the time of editing.

Nothing changes in game, maybe performance a little.

Share this post


Link to post
Share on other sites
powerofpencil
Rebuilding is necessary to keep IMG archive as small as possible.

The present IMG editors lack in adding or removing files. Old files arent't really removed, img editors don't do that hence IMG archive is growing up and amount of unused space in IMG archive rises by the time of editing.

Nothing changes in game, maybe performance a little.

What do you suggest me to do then if I want to install a mod and rebuild my archive?

Share this post


Link to post
Share on other sites
fastman92

You don't need to rebuild. Just if you see that it's unnaturally big, bigger than it ought to be, then rebuild archive.

I am also not sure if IMG Manager has overcome this issue.

Share this post


Link to post
Share on other sites
powerofpencil
You don't need to rebuild. Just if you see that it's unnaturally big, bigger than it ought to be, then rebuild archive.

I am also not sure if IMG Manager has overcome this issue.

I need to rebuild archive not only for new installed mods, but also I have this problem when I aim M4 the animation is bugged (no it's not about the anim folder I have the original one) and I was told others had it too and what they did to fix it was rebuild their gta3.img archives.

Share this post


Link to post
Share on other sites
fastman92
You don't need to rebuild. Just if you see that it's unnaturally big, bigger than it ought to be, then rebuild archive.

I am also not sure if IMG Manager has overcome this issue.

I need to rebuild archive not only for new installed mods, but also I have this problem when I aim M4 the animation is bugged (no it's not about the anim folder I have the original one) and I was told others had it too and what they did to fix it was rebuild their gta3.img archives.

Wrong thinking.

On standard game "anim\anim.img" is unused.

Files are placed in gta3.img instead.

 

You may try to export all files from anim.img and import these into gta3.img, you'll restore original animations then.

Share this post


Link to post
Share on other sites
powerofpencil

 

You don't need to rebuild. Just if you see that it's unnaturally big, bigger than it ought to be, then rebuild archive.

I am also not sure if IMG Manager has overcome this issue.

I need to rebuild archive not only for new installed mods, but also I have this problem when I aim M4 the animation is bugged (no it's not about the anim folder I have the original one) and I was told others had it too and what they did to fix it was rebuild their gta3.img archives.

Wrong thinking.

On standard game "anim\anim.img" is unused.

Files are placed in gta3.img instead.

 

You may try to export all files from anim.img and import these into gta3.img, you'll restore original animations then.

Ok so this time I added the sultan files without rebuilding archive. There are no changes confused.gif It's as if I didn't install the sultan mod at all

 

And about the anim - I just did as you said, exported them from anim.img and imported into gta3.img and it still bugs when I aim the M4. Note that I also have the original M4 so it's not the weapon itself confused.gif

Share this post


Link to post
Share on other sites
fastman92

I don't know the answer, i guess you have to start modding of GTA SA again and see what mod that you install makes it buggy.

Share this post


Link to post
Share on other sites
powerofpencil

Ok, thanks for helping me! smile.gif

Share this post


Link to post
Share on other sites
powerofpencil

I still have that problem, anyone else please? smile.gif

Share this post


Link to post
Share on other sites
rs4playpop

 

The building Lord really invincible, thought very have routines.

 

 

 

 

__________________________________________________________

You may also like:Rs Gold[/url|nike air max 2012

 

Share this post


Link to post
Share on other sites
powerofpencil
The building Lord really invincible, thought very have routines.

 

 

 

 

__________________________________________________________

You may also like:Rs Gold[/url|nike air max 2012

What? cry.gif

Share this post


Link to post
Share on other sites
powerofpencil

Fixed! Help me here instead please! smile.gif

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
Sign in to follow this  

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