Jump to content

What are you hoping to do with fastman92's limit adjuster?


Recommended Posts

  • 2 weeks later...
  • Replies 121
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hi guys @fastman92 has recently engaged with us in order to get his limit adjuster implemented into MTA.  Obviously, there are a number of complexities involved in implementing this, and we need

We really appreciate your interest in integrating FLA in MTA, but there are a few requirements that have to be met: Only one MTA version (2 versions would lead to fragmentation which is not our

Link to the project http://gtaforums.com/topic/733982-fastman92-limit-adjuster/

i realy hope this will be a new feature for mta sa

so we finaly can make nice costum maps without the low LOD and stuff
very usefull for non pro mapper/scripter

cant wait to see this in mta it will solve alot of problems

Link to post
  • 3 weeks later...
  • 3 weeks later...

Seems that MTA Team doesn't want to implement it because they don't want to load a .DLL just for the limiter at the start because it could be vulnerable to external injections. The best way would be to adapt the Fastman adjuster into the core of MTA.

Link to post
  • 2 weeks later...
On 2017-4-20 at 14:22, Fist said:

I really hope this will be implemented. Then people could take mapping to the next level and create such awesome things to the MTA and so much more possibilities.

The limit adjuster in my opinion won't be implemented until MTA team agrees that they need to load the .dll at the start of GTA SA.

Link to post
  • 5 months later...
  • 1 month later...
On 5/10/2017 at 18:38, Einheit-101 said:

AFAIK the creator of this wasn't able to create a valid patch for MTA, he just delivered the code for a limit adjuster and the other MTA main developers refused to create that patch for him. So it died.

Well, what was the problem about doing that patch? I mean was there a specific error, or he didn't try at all to develop that patch?

Link to post
  • 2 years later...

It's done. Only the license may remain the problem at this point.

I have been working few last days on the MTA code to make it work with possibly changed ID limits and world map limits. And it works.

 

Other limits will likely require no changes to the MTA code.

 

Picture:

f72a681358255716.jpg 

 

Log:

	Starting fastman92 limit adjuster 5.7, non-public version, release mode, compilation time: Nov  1 2020 07:38:25 (UTC)
Website: http://fastman92.com
	Launch time: 1-11-2020 8:12:44 (UTC)
Launched during the day.
	Solution platform: WIN_X86
FASTMAN92_LIMIT_ADJUSTER_RELEASE_DIRECTORY is not defined. Documentation files will not be written.
Game detected: GTA SA 1.0 US HOODLUM 14383616 bytes
Game uses dynamic image base? No
Game preferred image base: 0x400000
Game current image base: 0x400000
	Number of FLA modules: 67
Delayed processing of limits? No
	Root base directory: 
Root directory: D:\MTA\Custom\Game
Initial directory: D:\MTA\Custom\Game
INI filename: fastman92limitAdjuster_GTASA.ini
	---------------------------------------------
At least one ID limit is changed. ID limits will be patched.
Count of file IDs is over 32767 and requires unsigned ID. Applying unsigned ID patches.
Count of file IDs is over 65532 and base ID of CStreamingInfo requires int32_t. Applying int32_t base ID patches.
Count of DFF/TXD IDs is over 65532 and requires int32_t. Applying int32_t DFF+TXD ID patches.
COL ID limit is over 256 and requires something more than uint8_t. Applying COL ID uint32_t patches.
IPL ID limit is over 256 and requires something more than uint8_t. Applying IPL ID uint32_t patches.
	New ID limits:
0 - 149999 (150000) - DFF models defined within IDE files
150000 - 299999 (150000) - TXD texture archives.
300000 - 449999 (150000) - COL collision archives.
450000 - 450299 (300) - IPL Binary IPL files.
450300 - 450363 (64) - DAT files limited to nodes*.dat
450364 - 450552 (189) - IFP animation archives.
450553 - 451052 (500) - RRR car recordings, carrec*.rrr files
451053 - 451134 (82) - SCM scripts
451135 - 451136 (2) - Loaded list
451137 - 451138 (2) - Requested list
451139 - count of all file IDs
	
Addresses:
CModelInfo::ms_modelInfoPtrs: 0x27E5020
CStreaming::ms_aInfoForModel: 0x5037020
CAnimManager::ms_aAnimBlocks: 0x1CDC898
CVehicleRecording::StreamingArray: 0x1CDE040
CTheScripts::StreamedScripts: 0xA47B60
	
Format of new savefiles will be different: patch for block of IPL flags is applied! Number of IPL flags will depend on current IPL ID limit.
Format of new savefiles will be different: patch for enhanced format of model flags block is applied!
Format of new savefiles will be different: patch for save game of variable length is applied!
---------------------------------------------
Format of new savefiles will be different: patch for car generators with CCarGenerator_extended structure is applied!
Format of new savefiles will be different: patch for save game of variable length is applied!
Modified limit Car generators to: 500 Is CCarGenerator_extended structure used: 1
---------------------------------------------
Renderware world map size set to 28000 x 28000
World map size set to 24000 x 24000
	World map info info:
World map size: 24000 x 24000
	World sectors:
CWorld::ms_aSectors
type: buildings, dummies
count: 480 * 480 = 230400
sector area: 50 x 50
	CWorld::ms_aLodPtrLists
type: lod
count: 120 * 120 = 14400
sector area: 200 x 200
	CWorld::ms_aRepeatSectors
type: vehicles, peds, object
count: 16 * 16 = 256
	
---------------------------------------------
---------------------------------------------
Number of memory changes made: 5047
---------------------------------------------

What can we do now?

 

Part of EULA:

3. Using this software together with other GTA3/GTA:VC modifications is prohibited by this EULA. This is not a cause for termination of the license but can result in further actions taken by the team or other licensees.

I wonder, how could we possibly resolve this matter. As the programming problem of making the MTA code compatible with new limits has been solved.

  • Like 2
  • Thanks 1
Link to post

I thought the offer expired, you sort of gave up and set terms / expressed wishes that were considered unreasonable by the MTA team. After which others (including @Saml1er) started working to lift GTA limits, of which the currently merged and pending changes may conflict with yours.

The people that worked on limits related stuff also said there are better ways of implementing the required changes than yours, and were fearing for instability (they were also rather afraid of using your code, as you can see for example in the closing comment of https://github.com/multitheftauto/mtasa-blue/pull/917)

I'm not saying your achievement will go down the drain, but what I mean to say is that you're definately going to have to talk to the MTA devs again surrounding the desirability before anything else, @fastman92. If you are sure that you used the latest MTA source (in which some of the stuff was already implemented, or solved, such as with dynamic model IDs for skins and such) and also prevented duplicates between what your limited adjuster can do versus those changes that are already in MTA, then it's more likely to work out.

  • Like 1
  • Thanks 1
Link to post

it's been a long time, finally I have decided to spend few days on the MTA code to make it compatible with new limits. 

The FLA does the work once,  when proxy_gtasa.exe gets run.

Limits can be changed once per process launch.

Instability - the FLA has been designed very carefully and any errors in the FLA are completely unacceptable.

 

Tested over many, many thousand computers all over the world.

 

A bit of MTA code had to be changed to work with new ID limits and world map limits and it was also done in a proper way. Some ASM code had to be changed.

@Saml1ermay have been working a bit on it,  but he implemented only the simplest limits probably. The simple limits have never been the problem. They could be changed by the MTA team if there were such a need.

Now the FLA also offers the possibility of changing the complicated limits, which took months of work to alter.

 

I was editing the newest version probably. I've done it over TeamViewer on the computer of someone else. 

Edited by fastman92
  • Like 2
Link to post
  • 2 weeks later...
On 01/11/2020 at 11:50, fastman92 said:

It's done. Only the license may remain the problem at this point.

I have been working few last days on the MTA code to make it work with possibly changed ID limits and world map limits. And it works.

 

Other limits will likely require no changes to the MTA code.

 

Picture:

f72a681358255716.jpg 

 

Log:

 



	Starting fastman92 limit adjuster 5.7, non-public version, release mode, compilation time: Nov  1 2020 07:38:25 (UTC)
Website: http://fastman92.com
	Launch time: 1-11-2020 8:12:44 (UTC)
Launched during the day.
	Solution platform: WIN_X86
FASTMAN92_LIMIT_ADJUSTER_RELEASE_DIRECTORY is not defined. Documentation files will not be written.
Game detected: GTA SA 1.0 US HOODLUM 14383616 bytes
Game uses dynamic image base? No
Game preferred image base: 0x400000
Game current image base: 0x400000
	Number of FLA modules: 67
Delayed processing of limits? No
	Root base directory: 
Root directory: D:\MTA\Custom\Game
Initial directory: D:\MTA\Custom\Game
INI filename: fastman92limitAdjuster_GTASA.ini
	---------------------------------------------
At least one ID limit is changed. ID limits will be patched.
Count of file IDs is over 32767 and requires unsigned ID. Applying unsigned ID patches.
Count of file IDs is over 65532 and base ID of CStreamingInfo requires int32_t. Applying int32_t base ID patches.
Count of DFF/TXD IDs is over 65532 and requires int32_t. Applying int32_t DFF+TXD ID patches.
COL ID limit is over 256 and requires something more than uint8_t. Applying COL ID uint32_t patches.
IPL ID limit is over 256 and requires something more than uint8_t. Applying IPL ID uint32_t patches.
	New ID limits:
0 - 149999 (150000) - DFF models defined within IDE files
150000 - 299999 (150000) - TXD texture archives.
300000 - 449999 (150000) - COL collision archives.
450000 - 450299 (300) - IPL Binary IPL files.
450300 - 450363 (64) - DAT files limited to nodes*.dat
450364 - 450552 (189) - IFP animation archives.
450553 - 451052 (500) - RRR car recordings, carrec*.rrr files
451053 - 451134 (82) - SCM scripts
451135 - 451136 (2) - Loaded list
451137 - 451138 (2) - Requested list
451139 - count of all file IDs
	
Addresses:
CModelInfo::ms_modelInfoPtrs: 0x27E5020
CStreaming::ms_aInfoForModel: 0x5037020
CAnimManager::ms_aAnimBlocks: 0x1CDC898
CVehicleRecording::StreamingArray: 0x1CDE040
CTheScripts::StreamedScripts: 0xA47B60
	
Format of new savefiles will be different: patch for block of IPL flags is applied! Number of IPL flags will depend on current IPL ID limit.
Format of new savefiles will be different: patch for enhanced format of model flags block is applied!
Format of new savefiles will be different: patch for save game of variable length is applied!
---------------------------------------------
Format of new savefiles will be different: patch for car generators with CCarGenerator_extended structure is applied!
Format of new savefiles will be different: patch for save game of variable length is applied!
Modified limit Car generators to: 500 Is CCarGenerator_extended structure used: 1
---------------------------------------------
Renderware world map size set to 28000 x 28000
World map size set to 24000 x 24000
	World map info info:
World map size: 24000 x 24000
	World sectors:
CWorld::ms_aSectors
type: buildings, dummies
count: 480 * 480 = 230400
sector area: 50 x 50
	CWorld::ms_aLodPtrLists
type: lod
count: 120 * 120 = 14400
sector area: 200 x 200
	CWorld::ms_aRepeatSectors
type: vehicles, peds, object
count: 16 * 16 = 256
	
---------------------------------------------
---------------------------------------------
Number of memory changes made: 5047
---------------------------------------------

 

Что мы можем сделать сейчас?

 

Часть EULA:

 



3. Using this software together with other GTA3/GTA:VC modifications is prohibited by this EULA. This is not a cause for termination of the license but can result in further actions taken by the team or other licensees.

 

Интересно, как мы могли бы решить этот вопрос. По мере решения проблемы программирования, связанной с обеспечением совместимости кода MTA с новыми ограничениями.

We are very much looking forward to the release of 5.7 for MTA and it would be great!

Edited by makeevip
Link to post
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...