Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,813 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. 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

    2. Red Dead Redemption

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

steve-m

[REL] VC Limit Adjuster

Recommended Posts

steve-m

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!!

Share this post


Link to post
Share on other sites
kman2003ko

YESSSSSSSSSSSSSS. It's the Great Genius!

Share this post


Link to post
Share on other sites
DiCanio

kool stuff smile.gif

 

would it be possible to increase the number of vehicles

at some point

Share this post


Link to post
Share on other sites
hotFDLC

This is FAN-F***ING-TASTIC!!!

 

Hey ReSpawn, how about working with the ReSpawn District a little more so you can add most, if not all, of what you originally wanted??

Share this post


Link to post
Share on other sites
Joey2003

Well done, we'll have to use this in the Fun world mod, wont we guys biggrin.gif

 

i love you steve

Share this post


Link to post
Share on other sites
Opius

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

Share this post


Link to post
Share on other sites
steve-m
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.

Share this post


Link to post
Share on other sites
FlipperK

You said you tried to release it the 25th and you did it. It also works without any problems. Good job man! Now I can create part 2 of my map biggrin.gif.

 

*is happy with the tool of Steve M. tounge.gif*

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites
Opius

About 64MB is right, otherwise you'll have load times of up to 30 seconds when moving between islands, mine was set to 192MB smile.gif.

Share this post


Link to post
Share on other sites
Koko4

Yesss!! Thanks man!!

Share this post


Link to post
Share on other sites
steve-m
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

Share this post


Link to post
Share on other sites
GTAGuy

Would upping the streaming memory value help VC render high poly models more efficiently?

Edited by GTAGuy

Share this post


Link to post
Share on other sites
KCINKCIN

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

Share this post


Link to post
Share on other sites
PineCreek-Skidz

what changes are you making exactly?

We couldnt help you without having the info of all your changes.

 

skidz

Share this post


Link to post
Share on other sites
KCINKCIN

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

Share this post


Link to post
Share on other sites
herre

same problem dude tounge.gif

im running XP so that's not the problem

Share this post


Link to post
Share on other sites
death_entry

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?

Share this post


Link to post
Share on other sites
JasonB

i seriously dought that rockstar would help us modify the game EXE, seing as it says not to in the EULA

Share this post


Link to post
Share on other sites
[mta]kyeman

Is this 76 limit still a problem? I don't have time to go through all the posts.

Share this post


Link to post
Share on other sites
[mta]kyeman

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

 

 

Share this post


Link to post
Share on other sites
DexX

ooo, indeed! im gonna have a look, how did you find this anyway? what methods do you use?

Share this post


Link to post
Share on other sites
JernejL

Kyeman, what disassembler do you use? *hits win32dasm with a baseball bat*

Share this post


Link to post
Share on other sites
[mta]kyeman

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.

Share this post


Link to post
Share on other sites
ghost of delete key

Huh.

My Ida doesn't love me anymore cryani.gif

No wonder I can't find anything valuable in here...

 

user posted image

 

I suppose you're using IDA Pro?

Share this post


Link to post
Share on other sites
[mta]kyeman

Heh. Yeah, I use IDA pro alien.gif

Edited by [mta]kyeman

Share this post


Link to post
Share on other sites
Hammer83

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

Share this post


Link to post
Share on other sites
Pagnell

Treadables?

Share this post


Link to post
Share on other sites
steve-m
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.

Share this post


Link to post
Share on other sites
Hammer83

 

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

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

×

Important Information

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