Jump to content

[REL] VC Limit Adjuster


Recommended Posts

I've finished and released the VC Limit Adjuster, which is able to change the hardcoded limitations for objects und other stuff in VC.

 

 

[ Download VC Limit Adjuster ]

 

With it it should now be possible to add more than 222 static object instances and more than 4 dynamic object instances (IPL). But it can't increase the maximum amount of objects (IDE) yet, which is 76. It comes with a useful statistic, which counts the objects and tells you, how much you can add/must increase until the game crashes.

 

Don't forget to keep me updated about new findings!!

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/
Share on other sites

Two great tools in one day! Steve, you are the king! Would you be interested in trying to find the physical limits of the gameworld? Where the game throws you back, and where it will crash? I think you should be able to, because if you teleport outside the game, it doesn't crash, only if you go over the line.

 

[EDIT]Ooooh! Streaming memory editor! Should help patch up the LOD problems the game has!

Edited by opius
Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1120916
Share on other sites

Two great tools in one day! Steve, you are the king! Would you be interested in trying to find the physical limits of the gameworld? Where the game throws you back, and where it will crash? I think you should be able to, because if you teleport outside the game, it doesn't crash, only if you go over the line.

 

[EDIT]Ooooh! Streaming memory editor! Should help patch up the LOD problems the game has!

I've already tried to find these limits, but that's harder to find than the other stuff. And I thought having read that the "borders" are at different places (not the same distance from the center of the map), right?

 

I've incresed the streaming mem to 64 MB, that works a bit better, especially when you use my draw distance tool.

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1121069
Share on other sites

PineCreek-Skidz

I also want to be kept aware of the 76 object limit. If anyone gets over it, let me know plez.

I dont do vice city anymore becouse of the limit.

 

Steve M: This is way better than the beta, wasnt expecting the Streaming memory. Would you advise only 64mb?

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1123135
Share on other sites

I also want to be kept aware of the 76 object limit. If anyone gets over it, let me know plez.

I dont do vice city anymore becouse of the limit.

 

Steve M: This is way better than the beta, wasnt expecting the Streaming memory. Would you advise only 64mb?

LithJoe also tries to find the value for the 76 object limit, I hope he is successful...

 

I've also tried 128 MB, but didn't see any differences to 64 MB. You should also try 10 MB, that's fun... smile.gif

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1123595
Share on other sites

  • 3 weeks later...

Upon changing any of the limits with the limit adjuster, all of the dynamic cars and peds disappear from my saved game.

 

If I start a new game, it works fine.

 

I tried saved games from all over and no cars appear after I have changed a setting in the limit adjuster.

 

Any idea what's going on??? Thanks.

Edited by KCINKCIN
Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1178921
Share on other sites

Ok, none of the changes work but I'll tell you what I've tried.

 

Streaming Memory - 44,46

 

Vehicles - 111

 

Buildings - 7001, 8000

 

Dummys - 2341

 

Thanks for the reply, hope this problem can be solved.

 

 

 

******** UPDATE *********

 

I reinstalled Vice City, and immediately saved a game.

 

Then I increased the buildings from 7000 to 7001 in the Limit Adjuster and loaded the game I saved.

 

Again, all cars disappear.

 

I know most of you guys are running on XP, but I'm playing off of WinMe, could this have something to do with it?

 

I have no clue what else it could be.

 

Thanks.

Edited by KCINKCIN
Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1179017
Share on other sites

  • 4 months later...

I was wondering if you can look at the code that gives the police their weapons, I want to give the fbi pythons (coz i have changed the to deset eagles) this is all I need to finish off my matrix mod, as I want the fbi to be matrix agents, everything works but I have to make their mp5's look like and fire like the deset eagle. Has anyone written to rockstar asking for some help about this kinda thing? Would they help out their community or are they go away type?

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1425164
Share on other sites

  • 4 weeks later...

I'll just post my findings anyway. Someone might find it useful.

 

Since I'm not a mapper, I'm not able to test if changing these values will allow more IDEs, but this information should be helpful for anyone trying to figure it out.

 

 

0055FEC0 initModelStores proc near0055FEC0                 push    3885    <---0055FEC5                 push    680055FEC7                 push    offset loc_5602C00055FECC                 push    offset sub_5602D00055FED1                 push    offset dword_709EB00055FED6                 call    sub_6402D00055FEDB                 add     esp, 200055FEDE                 mov     ideStoreStaticCount, 00055FEE8                 push    offset dword_709EA00055FEED                 push    offset ideStaticCallback0055FEF2                 push    offset ideStoreStaticCount0055FEFC                 add     esp, 0Ch0055FEFF                 push    385    <---0055FF04                 push    800055FF06                 push    offset loc_5602600055FF0B                 push    offset sub_5602800055FF10                 push    offset dword_74A6B40055FF15                 call    sub_6402D00055FF1A                 add     esp, 14h0055FF1D                 mov     ideStoreDynamicCount, 00055FF27                 push    offset dword_74A6A40055FF2C                 push    offset ideDynamicCallback0055FF31                 push    offset ideStoreDynamicCount.....005602A0 ideStaticCallback proc near005602A0                 push    ebx005602A1                 mov     ebx, ecx005602A3                 lea     eax, [ebx+4]005602A6                 push    3885    <---005602AB                 push    68005602AD                 push    offset loc_5602C0005602B2                 push    eax005602B3                 call    sub_640300.....00560240 ideDynamicCallback proc near00560240                 push    ebx00560241                 mov     ebx, ecx00560243                 lea     eax, [ebx+4]00560246                 push    385    <---0056024B                 push    800056024D                 push    offset loc_56026000560252                 push    eax00560253                 call    sub_640300.....0048DD04 loc_48DD04:0048DD04                 mov     ecx, ds:ptrModelStoreBase[ebx*4]0048DD0B                 test    ecx, ecx0048DD0D                 jz      short loc_48DD140048DD0F                 mov     ebp, [ecx]0048DD11                 call    dword ptr [ebp+28]0048DD14 0048DD14 loc_48DD14:0048DD14                 inc     ebx0048DD15                 cmp     ebx, 6500  	<---0048DD1B                 jl      short loc_48DD04

 

 

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1485624
Share on other sites

I use IDA mainly and sometimes w32dasm. I'm usually able to find stuff by building a large names list and then back-tracing the calls.

 

It might be as simple changing the instructions at:

0x55FEC0 push 3885

and

0x5602A6 push 3885

 

but I'm not completely sure. I could not find a call to GlobalAlloc associated with these procedures, which has me wondering if there's also something else that needs to be changed. I've also searched for an allocation (3885*68) 264184 but did not find it. The place where the stucture data for these models is stored is called the SimpleModelStore.

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-1485737
Share on other sites

  • 1 year later...

I'm sorry for bumping this very, very old topic. I just want to list the meanings of some of the unknown parameters in Limit Adjuster:

 

- EntryInfoNode: number of pickups, checkpoints and other pickable items you can create through the script.

- Peds: number of actors you can create through the script.

- Vehicules: number of cars that can be created through the script. Possibly includes the parked cars.

- Objects: number of objects that can be created through the script (those objects defined in the first section of main.scm).

- AudioScriptObj: number of sounds that can be created through the script.

 

The limits also exist in GTA 3 (gta3.exe v. 1.1 - 0x4A1860) and their values are as follows:

- PtrNode: 30000

- EntryInfoNode: 5400

- Peds: 140

- Vehicules: 110

- Buildings: 5500

- Treadables: 1214

- Objects: 450

- Dummys: 2802

- AudioScriptObj: 256

 

LimitAdjuster 2.0 maybe? wink.gif

Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-2696694
Share on other sites

 

Treadables?

I am not entirely sure what it stands for, but there is more than thousand times more of them in GTA3 than in GTA VC.

 

 

If Andy's findings about the ide limits and world boundaries can be included, it would certainly be a good idea to make a new version.

 

If I understood Andy's findings correctly, he has to reallocate all the memory from one place to another and then change the references from the addresses normally used by exe to the ones he allocated. This is something doable only with the asi. But I might be totally wrong on this issue.

Edited by Hammer83
Link to comment
https://gtaforums.com/topic/106774-rel-vc-limit-adjuster/#findComment-2698445
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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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