Quantcast

Jump to content

» «
Photo

GTA Vice City Mobile Modding

965 replies to this topic
Lion_4K
  • Lion_4K

    Player Hater

  • Members
  • Joined: 3 weeks ago
  • Brazil

#961

Posted 3 weeks ago

 

IktS6.png
Grand Theft Auto: Vice City: 10th Anniversary Edition was released today, and I want to thanks both Rockstar and War Drum Studios for port of one of the best game in GTA saga. GTA:Vice City 10th Anniversary Edition is a port of the same RenderWare engine, and our modding tools can be used for modding.


Modding
In iOS devices is direct access to game files besides Android.
In Android devices, extract files from .obb file (by Winrar or 7Zip) and extract it into Android/data/com.rockstargames.gtavc/files.


Audio
They are saved at 64kbps. Few songs are cut from mobile release. It really doesn't matter, because we can easily replace it.

Removed songs:
Michael Jackson "Billie Jean"
Michael Jackson "Wanna Be Startin' Somethin"
Ozzy Osbourne "Bark At The Moon"
Kate Bush "Wow"
Herbie Hanc**k "Rock It"
Afrika Bambaataa "Looking For The Perfect Beat"
And a couple of songs from Radio Espantoso.
Thanks to Ash.

SCM
QUOTE (ThirteenAG) CODE
VERSION=2.2.Mobile
PUBLISHER=ThirteenAG
DATE=06.12.12

[OPCODES]
03A8=1,save_float_to_debug_file %1d%
03A9=0,save_newline_to_debug_file
0454=3,useless_store_debug_camera_position_to %1d% %2d% %3d%
0463=3,useless_store_debug_camera_target_point_to %1d% %2d% %3d%
0488=1,  model %1o% exists
04B0=2,  %1d% > %2d%; $ > any
04B1=2,  %1d% > %2d%; @ > any
04B2=2,  %1d% > %2d%; any > $
05A9=1,get_debug_state_to %1d%
05AA=1,%1d%
05AB=0,unknown
05AC=1,%1d%
Additional opcodes to decompile(and compile) original mobile main.scm without any errors. My VICESCM.INI, just in case.
Thanks to ThirteenAG and Silent.

Also, R* left debug mode in SCM.
Access: previous radio + handbrake.
Sterring: analog up/down - switching option
analog left/right - enable/disable option

Graphic options

To edit graphic options, find a gta_vc.set file and edit it with hex editor like Hex Workshop.
View Distance Offset: 0x5D1

Options:
"66 66 E6", Maximum drawing distance
"66 66 DE",
"66 66 D6",
"66 66 CE",
"66 66 C6",
"66 66 BE",
"66 66 B6 ",
" 66 66 AE ", Medium drawing distance
" 66 66 A6 ",
" 66 66 9E ",
" 66 66 96 "
" 66 66 8E ",
" 66 66 86 ",
" CC CC 7C ",
" CC CC 6C ",
" CC CC 5C ",
" CD CC 4C ", Minimum drawing disance
" CC CC A4 ", iOS A4 chipset drawing distance (some sort of custom value)
" CC CC AC", iOS Custom Value (From a 3GS set file)
" 66 66 06 " iPad mini draw distance
" 33 33 D3 " iPhone4 draw distance Car lights, Traffic lights, Lamps and Flashing Lights Offset: 0x6E5

Options:
00 = off,
02 = on Detailed Shadows and Blood Offset: 0x6E1

Options:
00 = off,
01 = on Debris Offset: 0x6E6

Options:
00 = off,
01 = on Frame Limiter Offset: 0x5D7

Options:
00 = off,
01 = on Thanks to Gamerzworld for values.

Fingers & XBOX cars Offset: 0x6EB

Options:
00 = off,
01 = on
Thanks to Dingleman for his set file Models
Seems to be a bit edited structure of DFF file, 3D Max can't import it.
PC models works fine with Andorid and iOS version.

 

Hi, I'm new to the forums and modding GTA at all. I have found this piece of code that's supposed to change the locations of all hidden packages to be in front of the first safe house.

02EC: put_hidden_package_at 299.0 -1294.0 11.0
02EC: put_hidden_package_at 299.0 -1292.0 11.0
02EC: put_hidden_package_at 299.0 -1290.0 11.0
02EC: put_hidden_package_at 299.0 -1288.0 11.0
02EC: put_hidden_package_at 299.0 -1286.0 11.0
02EC: put_hidden_package_at 299.0 -1284.0 11.0
02EC: put_hidden_package_at 299.0 -1282.0 11.0
02EC: put_hidden_package_at 299.0 -1280.0 11.0
02EC: put_hidden_package_at 299.0 -1278.0 11.0
02EC: put_hidden_package_at 299.0 -1276.0 11.0
02EC: put_hidden_package_at 298.0 -1294.0 11.0
02EC: put_hidden_package_at 298.0 -1292.0 11.0
02EC: put_hidden_package_at 298.0 -1290.0 11.0
02EC: put_hidden_package_at 298.0 -1288.0 11.0
02EC: put_hidden_package_at 298.0 -1286.0 11.0
02EC: put_hidden_package_at 298.0 -1284.0 11.0
02EC: put_hidden_package_at 298.0 -1282.0 11.0
02EC: put_hidden_package_at 298.0 -1280.0 11.0
02EC: put_hidden_package_at 298.0 -1278.0 11.0
02EC: put_hidden_package_at 298.0 -1276.0 11.0
02EC: put_hidden_package_at 297.0 -1294.0 11.0
02EC: put_hidden_package_at 297.0 -1292.0 11.0
02EC: put_hidden_package_at 297.0 -1290.0 11.0
02EC: put_hidden_package_at 297.0 -1288.0 11.0
02EC: put_hidden_package_at 297.0 -1286.0 11.0
02EC: put_hidden_package_at 297.0 -1284.0 11.0
02EC: put_hidden_package_at 297.0 -1282.0 11.0
02EC: put_hidden_package_at 297.0 -1280.0 11.0
02EC: put_hidden_package_at 297.0 -1278.0 11.0
02EC: put_hidden_package_at 297.0 -1276.0 11.0
02EC: put_hidden_package_at 296.0 -1294.0 11.0
02EC: put_hidden_package_at 296.0 -1292.0 11.0
02EC: put_hidden_package_at 296.0 -1290.0 11.0
02EC: put_hidden_package_at 296.0 -1288.0 11.0
02EC: put_hidden_package_at 296.0 -1286.0 11.0
02EC: put_hidden_package_at 296.0 -1284.0 11.0
02EC: put_hidden_package_at 296.0 -1282.0 11.0
02EC: put_hidden_package_at 296.0 -1280.0 11.0
02EC: put_hidden_package_at 296.0 -1278.0 11.0
02EC: put_hidden_package_at 296.0 -1276.0 11.0
02EC: put_hidden_package_at 295.0 -1294.0 11.0
02EC: put_hidden_package_at 295.0 -1292.0 11.0
02EC: put_hidden_package_at 295.0 -1290.0 11.0
02EC: put_hidden_package_at 295.0 -1288.0 11.0
02EC: put_hidden_package_at 295.0 -1286.0 11.0
02EC: put_hidden_package_at 295.0 -1284.0 11.0
02EC: put_hidden_package_at 295.0 -1282.0 11.0
02EC: put_hidden_package_at 295.0 -1280.0 11.0
02EC: put_hidden_package_at 295.0 -1278.0 11.0
02EC: put_hidden_package_at 295.0 -1276.0 11.0
02EC: put_hidden_package_at 294.0 -1294.0 11.0
02EC: put_hidden_package_at 294.0 -1292.0 11.0
02EC: put_hidden_package_at 294.0 -1290.0 11.0
02EC: put_hidden_package_at 294.0 -1288.0 11.0
02EC: put_hidden_package_at 294.0 -1286.0 11.0
02EC: put_hidden_package_at 294.0 -1284.0 11.0
02EC: put_hidden_package_at 294.0 -1282.0 11.0
02EC: put_hidden_package_at 294.0 -1280.0 11.0
02EC: put_hidden_package_at 294.0 -1278.0 11.0
02EC: put_hidden_package_at 294.0 -1276.0 11.0
02EC: put_hidden_package_at 293.0 -1294.0 11.0
02EC: put_hidden_package_at 293.0 -1292.0 11.0
02EC: put_hidden_package_at 293.0 -1290.0 11.0
02EC: put_hidden_package_at 293.0 -1288.0 11.0
02EC: put_hidden_package_at 293.0 -1286.0 11.0
02EC: put_hidden_package_at 293.0 -1284.0 11.0
02EC: put_hidden_package_at 293.0 -1282.0 11.0
02EC: put_hidden_package_at 293.0 -1280.0 11.0
02EC: put_hidden_package_at 293.0 -1278.0 11.0
02EC: put_hidden_package_at 293.0 -1276.0 11.0
02EC: put_hidden_package_at 292.0 -1294.0 11.0
02EC: put_hidden_package_at 292.0 -1292.0 11.0
02EC: put_hidden_package_at 292.0 -1290.0 11.0
02EC: put_hidden_package_at 292.0 -1288.0 11.0
02EC: put_hidden_package_at 292.0 -1286.0 11.0
02EC: put_hidden_package_at 292.0 -1284.0 11.0
02EC: put_hidden_package_at 292.0 -1282.0 11.0
02EC: put_hidden_package_at 292.0 -1280.0 11.0
02EC: put_hidden_package_at 292.0 -1278.0 11.0
02EC: put_hidden_package_at 292.0 -1276.0 11.0
02EC: put_hidden_package_at 291.0 -1294.0 11.0
02EC: put_hidden_package_at 291.0 -1292.0 11.0
02EC: put_hidden_package_at 291.0 -1290.0 11.0
02EC: put_hidden_package_at 291.0 -1288.0 11.0
02EC: put_hidden_package_at 291.0 -1286.0 11.0
02EC: put_hidden_package_at 291.0 -1284.0 11.0
02EC: put_hidden_package_at 291.0 -1282.0 11.0
02EC: put_hidden_package_at 291.0 -1280.0 11.0
02EC: put_hidden_package_at 291.0 -1278.0 11.0
02EC: put_hidden_package_at 291.0 -1276.0 11.0
02EC: put_hidden_package_at 290.0 -1294.0 11.0
02EC: put_hidden_package_at 290.0 -1292.0 11.0
02EC: put_hidden_package_at 290.0 -1290.0 11.0
02EC: put_hidden_package_at 290.0 -1288.0 11.0
02EC: put_hidden_package_at 290.0 -1286.0 11.0
02EC: put_hidden_package_at 290.0 -1284.0 11.0
02EC: put_hidden_package_at 290.0 -1282.0 11.0
02EC: put_hidden_package_at 290.0 -1280.0 11.0
02EC: put_hidden_package_at 290.0 -1278.0 11.0
02EC: put_hidden_package_at 290.0 -1276.0 11.0

Says I'm supposed to insert this into main.scm, I used your VICESCM.INI to setup SannyBuilder, and extracted the game OBB and pointed Sanny to that folder because it kept asking for the game folder, and since I don't have Vice City for PC (I mean I have, on Steam, but not installed) I chose to use the OBB (idk if I should make it that way thou).

I have decompiled the main.scm file inside the obb, then edited with that piece of code (swapped the original values), then recompiled. it was a success it says (at least I think it says that, well, doesn't say error).
3D4uoFbiQ9yEB-nY8I2Fag.png

After that I tried repacking the obb file, I believe it is just a zip file set to no compression with extension name obb. But I think i'm wrong thou, because every time I try to put the obb back into android/obb/com.rockstargames.gtavc/main.11.com.rockstargames.gtavc.obb and launch the game, the game tries to download a new copy of the file.

So either I did something wrong, or the game tries to validate the file and see that I modded it, and re-downloads that file.

Either way, I need help with this, either to properly repack the obb, or make the game not validate the obb.

I'm using the latest version from Google play store.
 

Any help will be greatly appreciated.


George Costanza
  • George Costanza

  • The Yardies
  • Joined: 04 Jan 2009
  • None
  • [Rockstar Editor Awards 2017] Best Rockstar Editor Short
    Best Total Overhaul 2017 Contribution [GTA: Underground]
    l33t p05T3r 5t34l3r 2017
    Worst Sheep 2017
    Spam Commando 2017
    Best Conversion 2016 [GTA: Underground] [Contribution]

#962

Posted 3 weeks ago

erm i think the scm is in apk, so you gotta replace the main.scm in the apk with apk editor from google play.

  • Lion_4K likes this

Lion_4K
  • Lion_4K

    Player Hater

  • Members
  • Joined: 3 weeks ago
  • Brazil

#963

Posted 3 weeks ago

erm i think the scm is in apk, so you gotta replace the main.scm in the apk with apk editor from google play.

Gonna check that. However there were a main.scm inside the obb.


George Costanza
  • George Costanza

  • The Yardies
  • Joined: 04 Jan 2009
  • None
  • [Rockstar Editor Awards 2017] Best Rockstar Editor Short
    Best Total Overhaul 2017 Contribution [GTA: Underground]
    l33t p05T3r 5t34l3r 2017
    Worst Sheep 2017
    Spam Commando 2017
    Best Conversion 2016 [GTA: Underground] [Contribution]

#964

Posted 3 weeks ago

Ye but, there is some order of loading the files.
You can also load the new files from folder where saves are stored, but they are ignored if the files are in apk.
  • Lion_4K likes this

Lion_4K
  • Lion_4K

    Player Hater

  • Members
  • Joined: 3 weeks ago
  • Brazil

#965

Posted 3 weeks ago

Ye but, there is some order of loading the files.
You can also load the new files from folder where saves are stored, but they are ignored if the files are in apk.

good to know that, while checking with Solid Explorer, I did find another main, however I could not edit the installed package, i'm gonna try editing the apk and replacing it


Lion_4K
  • Lion_4K

    Player Hater

  • Members
  • Joined: 3 weeks ago
  • Brazil

#966

Posted 3 weeks ago

erm i think the scm is in apk, so you gotta replace the main.scm in the apk with apk editor from google play.

 

 

Ye but, there is some order of loading the files.
You can also load the new files from folder where saves are stored, but they are ignored if the files are in apk.


Yep, that worked like a charm, thank you very much!!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users