Jump to content

Recommended Posts

EET is available here.

Unlike most BG mods, EET has a few parts:

-Mods installed before EET Start AKA EET Core.

-EET Start

-Mods installed after EET Start/EET Core but before EET End.

-EET End.

-Mods installed after EET End.

Thus, in, effect, EET acts as an outline or a skeleton or a framework for mods.

Now, some players don't care about some of the intervening bits.  For example, some players install no mods before EET Start or after EET End, even though the option to do so is there.

Link to comment

You don't have to have EET installed to build for EET compatibility; that just makes testing it easier. There's a guide to updating your mods to support the platform here: https://www.gibberlings3.net/forums/topic/27751-converting-existing-mods-to-support-eet/. The main issue is that a bunch of BG1 resources - particularly areas - get renamed for EET because their original names overlap with BG2 resources. And the main solution for that is the "cpmvars" library, replacing direct references to those resources with variables that evaluate to one version or another.

In your case? Since you're inserting the items at a store, no explicit EET compatibility code is needed. Erdane's store is ERDANE.STO in both BGEE and EET. You just need to update your GAME_IS check to allow both BGEE and EET ... that is, if you had a GAME_IS check in the first place.

So, based on my look at things, your mod should work fully on EET even with no changes. The only related change I'd recommend is to add a GAME_IS check (allowing BGEE and EET), so that people don't try to install this on BG2EE (and error out when ERDANE.STO doesn't exist).

 

Link to comment
3 hours ago, jmerry said:

so that people don't try to install this on BG2EE

I can only recommend a GAME_IS check. Players try really funny things at times. No offence meant, but I got weird bug reports for a - clearly - BG1 mod and it turned out someone tried to install it to BGII. I'm adding GAME_IS checks to all my mods now.

Link to comment

Thank you for all the valuable information so far!

I'm sure this will help the mod and of course future mods (the better my modding skills get, the better the chance for higher quality).

If I find time, I'll work through it and make the necessary changes (As I've already noticed, I like it when I understand things deeper and better, even if it's not always necessary).

 

Link to comment

Ok, the issue with compatibility is resolved as follows:

  • If a compatibility is not certain, a warning is displayed.
  • If there is an incompatibility, an error is displayed and the installation will be canceled.

The compatibility check was carried out with the following games:

WARNINGS:

 

Spoiler
  • bg1  
  • totsc     
  • how     
  • totlm     
  • tutu    
  • tutu_totsc    
  •  bgt   
  •  ca     
  • iwd_in_bg2

Reason: Not supported and tested by me, even if the installation could be successful

ERRORS:

 

Spoiler
  • bg2    
  • tob    
  •  iwd2   
  •  pst   
  •  iwd1   
  •  bg2ee   
  •  iwdee   
  •  pstee

Reason: Testing gives an error during installation, so it makes sense to intercept the installation of these games beforehand.

 

@Endarire the EET compatibility test was a success. This means that the mod is usable for EET.

I even wrote a very simple installation guide for EET in combination with the "Akun's Gear" mod.

 

Link to comment

v1.3.26 is out.

Updates:

  • Improves source code for better maintenance
  • Correctes EET quick installation guide (SoD installation is required)
  • Change tpa in lib folder to tph
  • Deletes unnecessary file
  • Adds additional compatibility and operating system information to the readme file
  • Moves the backup folder when the mod is reinstalled
  • Names files with prefix and adds .tra files for messages
  • Adds an INI file for Project Infinity
Link to comment
1 hour ago, subtledoctor said:

Curious about this choice. TBH I’ve never really understood the file extension naming conventions in this regard. 

The idea behind it is that it serves similarly to a header file, for example found in the C++ programming language.

The difference is that WeiDU doesn't offer classes (as far as I know), but here a TPH file contains functions defined.

An example could be self-created libraries(I mainly use TPH files for this).

Such functions are usually called in other files, e.g. tp2.

Of course the whole thing isn't as strict as I describe it, because a library could use one of its internal functions for another of its own functions, but yes, that's the idea.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...