Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 8:22 pm
All times are UTC + 0
AICHECK for TS (fork)
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Tue Jun 09, 2020 3:26 pm    Post subject:  AICHECK for TS (fork) Reply with quote  Mark this post and the followings unread

For those who missed it, AICHECK is a cross-checker for the main ini files, developed for RA2, with belated additions for YR, and other requests. This is 99% the same codebase, with a few things corrected to work with TS.

I extracted the ini files from the tibsun.mix in the CnCNet release, and one thing that strikes me is the declaration lists being hopelessly out of order. AICLEAN which was written to clean this stuff up should be run at least once to correct such things, but it has to be properly configured and won't save comment sections, only inline comments, should you use it.

Anyway the results are pretty decent, the remaining error logging is similar to a good RA2 mod with the normal AICHECK, that is not loaded with false positives or excessive junk.

Feedback/suggestions welcome, as I do not mod TS and know little about its quirks. As always, you need to edit the .tcl to configure directories and filenames, which all have to be present with adequate permissions to read.



aicheck-ts.jpg
 Description:
 Filesize:  192.68 KB
 Viewed:  1650 Time(s)

aicheck-ts.jpg



aichk-ts.zip
 Description:

Download
 Filename:  aichk-ts.zip
 Filesize:  14.61 KB
 Downloaded:  13 Time(s)


_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Jun 09, 2020 7:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

cool, nice to see a TS version. thanks.

i see already a false positive in the screenshot.
Particles read the shp file directly and don't need/read any art.ini section.

That message about the infantry [Sides] is also strange. it seems it read the following section as an entry in the infantrytypes list.


Is it possible to compile this into a standalone exe without the necessity of installing an additional tcl runtime?

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Tue Jun 09, 2020 9:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think the [Sides] error is because I switched to [Houses] for loading the countries, and it became an unhandled section, rather than ignored.

I'm not expecting it to be bug free, but I wasn't going to be too thorough until it had more testing outside.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Thu Jun 11, 2020 11:19 am    Post subject: Reply with quote  Mark this post and the followings unread

This is neat.

I assume any unspecified warhead in VoxelAnims and debris-type Animations defaults to what's specified by C4Warhead= in the rules (or maybe FlameDamage2=). This is why Warhead=Meteorite actually works without issues, even though such a warhead doesn't exist.

I wonder why the other warheads and buildings are listed as errors, they are all declared and used.

Both Visceroids are a special case and hence don't require art sections. They are defined by LargeVisceroid and SmallVisceroid in rules. Also, AFAIK Owner only uses Houses, not Sides, but apparently having a non-existing House as the Owner doesn't cause any errors in the game.

Interestingly, if the prerequisite is a category like FACTORY, the game doesn't care about letter case, hence the error with "Radar". Owner doesn't care about letter case either, it seems.

_________________


Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Jun 11, 2020 11:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

I tend to think the missing warhead just uses the stats to some internal defaults, the same situation is in RA2 where "Special" is undefined. From what little testing I've done, it seems to be a basic 100% with no special flags or limitations, not actually special in any way.

The goal is to highlight things that are normally wrong or possibly unwanted, so you need to see _all_ cases that break the norm. Like I mentioned about missing art data errors demanding a section header for the object in art.ini even if it has no flags, a lot of it is about being consistent.

For my mod I totally revamped and shuffled my [Animations] with no ill effects, because I've also given everything using/referencing anims a valid value, something that exists and is properly defined. You'd be amazed how many glitches are covered up by these gaps from missing/duplicate entries or objects.

Anyway if you can, please test and report as many strange outputs or unhandled use cases you find. I'm not expecting any crashes, but if you see one, that's why there's a pause in the batchfile, you should be able to screencap it for me...

Of course if no one actually cares I'll abandon the fork as-is....?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Fri Jun 19, 2020 4:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok since this is turning out to be a dead end of interest... AICHK-TS 1.1

Slightly trimmed of RA2 stuff, and a few borky things fixed for better TS compat.

Final version I imagine. Enjoy, or don't.



aichk-ts1.1.zip
 Description:

Download
 Filename:  aichk-ts1.1.zip
 Filesize:  14.29 KB
 Downloaded:  12 Time(s)


_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1714s ][ Queries: 14 (0.0116s) ][ Debug on ]