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. DLC
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
      7. The Diamond Casino Heist
    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

_CP_

GTA San Andreas Mobile Modding

Recommended Posts

nick7

there is texture limit, you can't add texture without executable patching.

  • Like 1

Share this post


Link to post
Share on other sites
lpgunit

there is texture limit, you can't add texture without executable patching.

 

That's a drag. I thought of downscaling the textures to accommodate for the limited memory of the portable devices, but even that didn't work. I could just consolidate the textures into a single 512x512 file, but that would call for editing the UV mapping on the model, and I'm not arsed to do a separate version of the mod for mobile devices either.

 

EDIT: Here's what I ended up with so far:

k99wf9.png

 

I'm glad the reflections worked well on the mod, as I used the default SA material on some surfaces, i.e. the paint.

Edited by lpgunit
  • Like 1

Share this post


Link to post
Share on other sites
nick7

IDX structure is very easy. First 4 bytes is an item count.

 

 

DWORD dwCount;

where item is

 

 

struct OSWIDXITEM {  DWORD dwOffset;  DWORD dwSize;  WORD  wNameLength;  CHAR  szName[ wNameLength ];};
OSW is a ZIP file with "store" compression method that means uncompressed file.

 

So, I made a little program for fixing or generating IDX files:

San Andreas Audio Fixer (SAAF)

screen-01.png

 

Tips:

1) I'm using 7zip, but you can use winrar or something else what supports zip format and allows you to set compression type.

2) Add files to archive. It's easier even to create a new archive with store compression (see screenshot for 7zip).

3) rename your ZIP into OSW (MR.zip -> MR.osw).

4) run SAAF and open your OSW file.

5) SAAF asks you to create or fix IDX file, so just click 'Yes'.

6) Done. Copy OSW and IDX files (MR.osw and MR.osw.idx) to your phone.

 

Seems to be game doesn't accept stereo files, so you should downmix it to mono (if you're using LAME, add -a key).

I've tested it with -v -a -b 192 (VBR4 192 kbps mono).

 

Here's example conversions from PC:

Download Radio X (192 kbps, mono)

Download Los Santos Radio (192 kbps, mono)

Edited by nick7
  • Like 4

Share this post


Link to post
Share on other sites
lpgunit

IDX structure is very easy. First 4 bytes is an item count.

 

DWORD dwCount;

 

where item is

 

struct OSWIDXITEM {  DWORD dwOffset;  DWORD dwSize;  WORD  wNameLength;  CHAR  szName[ wNameLength ];};

OSW is a ZIP file with "store" compression method that means uncompressed file.

 

So, I made a little program for fixing or generating IDX files:

San Andreas Audio Fixer (SAAF)

screen-01.png

 

Tips:

1) I'm using 7zip, but you can use winrar or something else what supports zip format and allows you to set compression type.

2) Add files to archive. It's easier even to create a new archive with store compression (see screenshot for 7zip).

3) rename your ZIP into OSW (MR.zip -> MR.osw).

4) run SAAF and open your OSW file.

5) SAAF asks you to create or fix IDX file, so just click 'Yes'.

6) Done. Copy OSW and IDX files (MR.osw and MR.osw.idx) to your phone.

 

Seems to be game doesn't accept stereo files, so you should downmix it to mono (if you're using LAME, add -a key).

I've tested it with -v -a -b 192 (VBR4 192 kbps mono).

So it's possible to replace an existing station with a completely new one, right? Or add songs to it at the very least?

 

On another note, TXDf*cker works with Wine on Linux - I haven't tried adding or extracting textures with it yet, but I can browse the texture archive.

Edited by lpgunit

Share this post


Link to post
Share on other sites
nick7

So it's possible to replace an existing station with a completely new one, right? Or add songs to it at the very least?

Just like on PC. You can easily replace audio to your own, but for adding you need to edit other files.
  • Like 1

Share this post


Link to post
Share on other sites
lpgunit

 

So it's possible to replace an existing station with a completely new one, right? Or add songs to it at the very least?

Just like on PC. You can easily replace audio to your own, but for adding you need to edit other files.

 

I assume that the IDX files only store information on the MP3 files i.e. size or length, among other things. Is there a set/fixed number of tracks that I can add to an archive, i.e. that I can't go over or under 150 MP3s, or can I just shove in several hundred songs on it?

Edited by lpgunit

Share this post


Link to post
Share on other sites
nick7

yep, just size name and length. and file count. i don't know why they made this file, all this information can be easily read from zip (osw).

 

files are related between them, you can't just add new file to archive, game will not play it. I don't know how to add a new file to SA, try to look SAAT docs I think it'll work for mobile version same way.

  • Like 1

Share this post


Link to post
Share on other sites
lpgunit

yep, just size name and length. and file count. i don't know why they made this file, all this information can be easily read from zip (osw).

 

files are related between them, you can't just add new file to archive, game will not play it. I don't know how to add a new file to SA, try to look SAAT docs I think it'll work for mobile version same way.

I think besides the SCM files (i.e. playing mission-related news reports, etc.), there's obviously something else that controls the order in which the songs or bits of audio should play, whether it's hardcoded or in another file.

 

Reminds me of the time when I tried to cobble up a new radio station in Mafia II. The newly-added XML entry to the station shows up ingame, but for some reason the FSB archives for the new station doesn't play,

Edited by lpgunit

Share this post


Link to post
Share on other sites
Silent

I think besides the SCM files (i.e. playing mission-related news reports, etc.), there's obviously something else that controls the order in which the songs or bits of audio should play, whether it's hardcoded or in another file.

They're all hardcoded.

  • Like 2

Share this post


Link to post
Share on other sites
buzbegone
Tips:

1) I'm using 7zip, but you can use winrar or something else what supports zip format and allows you to set compression type.

2) Add files to archive. It's easier even to create a new archive with store compression (see screenshot for 7zip).

3) rename your ZIP into OSW (MR.zip -> MR.osw).

4) run SAAF and open your OSW file.

5) SAAF asks you to create or fix IDX file, so just click 'Yes'.

6) Done. Copy OSW and IDX files (MR.osw and MR.osw.idx) to your phone.

 

Seems to be game doesn't accept stereo files, so you should downmix it to mono (if you're using LAME, add -a key).

I've tested it with -v -a -b 192 (VBR4 192 kbps mono).

 

 

 

It's probably something to do with my converter but I still receive ad-only stations for my effort. These must be some obscenely stringent bitrate requirements for the game to read the files.

  • Like 1

Share this post


Link to post
Share on other sites
lpgunit

 

I think besides the SCM files (i.e. playing mission-related news reports, etc.), there's obviously something else that controls the order in which the songs or bits of audio should play, whether it's hardcoded or in another file.

They're all hardcoded.

 

 

And that's the case with the scripted audio, like the aforementioned reports, right?

Share this post


Link to post
Share on other sites
nick7

It's probably something to do with my converter but I still receive ad-only stations for my effort. These must be some obscenely stringent bitrate requirements for the game to read the files.

archive must have 'store' compression for every file. check it.

for now files sholuld be imported in original order (maybe i fix it later).

don't forget to rebuild idx using my program.

 

try to test my conversions from end of this post.

Edited by nick7

Share this post


Link to post
Share on other sites
buzbegone

Actually, it's my encoder's fault. For some reason, selecting all then changing the desired bitrate only affects the file that was clicked on last.

 

What encoder are you using?

 

 

Edit: They're working, which is more than what I got with mine and I can hear the missing songs.

Edited by buzbegone

Share this post


Link to post
Share on other sites
nick7

LAME3.99r, via foobar2000

 

Edit:

my foobar preset for those conversions:

manual-foobar.png

Edited by nick7

Share this post


Link to post
Share on other sites
buzbegone

How'd you get that window?

Share this post


Link to post
Share on other sites
Heisenberg666

Is the cheats completely gone or just disabled? Any way it can be enabled again?

Share this post


Link to post
Share on other sites
gamerzworld

 

I think besides the SCM files (i.e. playing mission-related news reports, etc.), there's obviously something else that controls the order in which the songs or bits of audio should play, whether it's hardcoded or in another file.

They're all hardcoded.

 

What are the dat files in the CONFIG folder?

Share this post


Link to post
Share on other sites
ThirteenAG

Is the cheats completely gone or just disabled? Any way it can be enabled again?

Cheats are present in the code, so it could be a bug. It probably most bugged mobile release :)

Share this post


Link to post
Share on other sites
Heisenberg666

 

Is the cheats completely gone or just disabled? Any way it can be enabled again?

Cheats are present in the code, so it could be a bug. It probably most bugged mobile release :)

what a relief :) so it's just the developers mistake? Is it in the ios version then? On Android I've tried with Game Keyboard but it doesn't do anything.

Share this post


Link to post
Share on other sites
ThirteenAG

I don't know, it just a speculation.

Share this post


Link to post
Share on other sites
_CP_

Someone noticed transparent billboards?

wxwznWD.jpg

  • Like 1

Share this post


Link to post
Share on other sites
Alexander Blade

Cheats in a standard way doesn't work on ios as well . But I'd managed to invoke them using CLEO Android .

 

Someone noticed transparent billboards?

Graphic bugs are all about different hardware .

 

Edit:

Calling original cheat funcs via CLEO script

http://www.youtube.com/watch?v=HGnDxyONA00&feature=player_embedded

Edited by Alexander Blade

Share this post


Link to post
Share on other sites
Silent

Calling original cheat funcs via CLEO script

Wow, old style MenuSystems are still present in the game? Interesting.

 

 

 

What are the dat files in the CONFIG folder?

Haven't looked into mobile files, but PC config files just store all kinds of info about names/length/position of sounds. Nothing about the way they are used in game (except eventvol.dat, but that only controls... volume!).
  • Like 1

Share this post


Link to post
Share on other sites
arshi19x

Hello frnds im using iphone 4 v6.1 game running but laggy.. is there any idea to reduce game graphic for iphone4(ios) so that game running good..

i not worry about bad graphic i just want that game running smooth.. plzzz frnds help.. i will be very thankful to you for this..

plz help

Edited by arshi19x

Share this post


Link to post
Share on other sites
emirh08

some quick mods i did i need help with car mods how come they still dont work? is there something im doing wrong? anyone??? IMG_5237.pngIMG_5228.pngIMG_5233.png

  • Like 1

Share this post


Link to post
Share on other sites
Heisenberg666

Hello, İ have %100 save game here for Android,İos http://www.mediafire.com/?5ul3xgjdi48nuh3

Sorry for the noobish question but where do I place this? I found some .b files in Android/data/San Andreas but no .bin file, is .b the same as .bin?

Edited by Marck527

Share this post


Link to post
Share on other sites
leftas

 

Hello, İ have %100 save game here for Android,İos http://www.mediafire.com/?5ul3xgjdi48nuh3

Sorry for the noobish question but where do I place this? I found some .b files in Android/data/San Andreas but no .bin file, is .b the same as .bin?Rename it to "GTASAsf*.b" instead of * put from 1-10 10 (is autosave) Edited by leftas

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.

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.