Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Any maps load.ini/textures checker?  (Read 918 times)

0 Members and 2 Guests are viewing this topic.

Whiskey_Sierra_972

  • Modder
  • member
  • Offline Offline
  • Posts: 6690
  • In memory of my beloved hero: Saburo SAKAI!
Any maps load.ini/textures checker?
« on: July 19, 2024, 12:26:30 PM »

Just a small discussion/request....

We have a batch called static.ini checker that search for missing objects in our static.ini....

Could a similar batch be done to read inside the load.ini and search if we have all the needed textures?

Testing maps textures is a time consuming task as each textures missing need to restert the game....

Thanks in advance for the reading of this post!

Eternal reconoscence for pointing me to a released batch or for the future batch!

:)
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Any maps load.ini/textures checker?
« Reply #1 on: July 19, 2024, 03:14:37 PM »

I guess you want more than what shows Shift_Tab ?
Something batchwise ?
Logged

FL2070

  • Modder
  • member
  • Online Online
  • Posts: 1292
  • FAC #87
Re: Any maps load.ini/textures checker?
« Reply #2 on: July 19, 2024, 09:17:43 PM »

We have a batch called static.ini checker that search for missing objects in our static.ini....

Could a similar batch be done to read inside the load.ini and search if we have all the needed textures?

Well, it wouldn't be a batch file, because you'd need to search through SFS files, which batch files can't do. It'd need to be an in-game code change that dumps all of the missing texture names into the log or something when a map is loaded, or something like that.
Logged
On average, the average average averages, averagely, the average average of all averages.

Vampire_pilot

  • member
  • Offline Offline
  • Posts: 8630
Re: Any maps load.ini/textures checker?
« Reply #3 on: July 20, 2024, 12:08:35 AM »

The way the game shows the first missing texture in the log is basically okay.

I do not know if the game could be made to try a number of times before aborting and then plot all missing textures in a log, instead of just the first. No idea if a java class/mod could be constructed that triggers such a behavior.
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3148
Re: Any maps load.ini/textures checker?
« Reply #4 on: July 20, 2024, 03:34:41 AM »

the problem is that the game stops loading the map at the first error so you would need to tell the game to keep loading the map notwithstanding the errors   
Logged

Whiskey_Sierra_972

  • Modder
  • member
  • Offline Offline
  • Posts: 6690
  • In memory of my beloved hero: Saburo SAKAI!
Re: Any maps load.ini/textures checker?
« Reply #5 on: July 20, 2024, 10:59:16 AM »

Infact I was thinking similar to the static checker.....but with maps is different , checker compare 2 files static.ini and actors.static....

The map doesn't have the textures available and doing such instrument should involve the whole game engine or a dedicated classfile with the instruction....
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3148
Re: Any maps load.ini/textures checker?
« Reply #6 on: July 20, 2024, 01:33:50 PM »

the load.ini is the file mentioning the textures to be used  unfortunately we don't have an equivalent to the static.ini that mentions all the textures stored in our game
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: Any maps load.ini/textures checker?
« Reply #7 on: July 20, 2024, 02:35:35 PM »

What about MODS/MAPMODS/MAPS/_Tex/ folder ?
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3148
Re: Any maps load.ini/textures checker?
« Reply #8 on: July 20, 2024, 03:12:31 PM »

Is not complete many map textures are inside sfs files
Logged

Whiskey_Sierra_972

  • Modder
  • member
  • Offline Offline
  • Posts: 6690
  • In memory of my beloved hero: Saburo SAKAI!
Re: Any maps load.ini/textures checker?
« Reply #9 on: July 21, 2024, 06:33:39 AM »

What about MODS/MAPMODS/MAPS/_Tex/ folder ?

Yes I thought about to relate to it but the dump stops when first textures is missing....
Logged

genXgamer

  • member
  • Offline Offline
  • Posts: 1407
Re: Any maps load.ini/textures checker?
« Reply #10 on: July 28, 2024, 06:16:30 PM »

I can't see why this couldn't be implemented, it would be time consuming for someone initially but after that easy.

All that is needed is the complete _Tex folder in B.A.T. then someone or someones list every texture found within giving a .tga extension.
Then it's just a matter of having a program that can compare the load.ini to this text file with a script telling it to only search for entries with .tga extensions.

Each time a map builder or re-texturer makes a map available any new texture is accompanied with an entry to be added to the texture list.
This all relies on people keeping their list up to date.

Whether all this is needed well you can decide, but I think it's doable.
Logged
Go in quickly - Punch hard - Get out!

Vampire_pilot

  • member
  • Offline Offline
  • Posts: 8630
Re: Any maps load.ini/textures checker?
« Reply #11 on: July 28, 2024, 10:37:48 PM »

All that is needed is the complete _Tex folder in B.A.T. then someone or someones list every texture found within giving a .tga extension.

Nobody has that information. Those files are inside numerous and countless sfs files. Only the game itself can sift through that.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.056 seconds with 27 queries.