Author Topic: weidu next generation - add "game type" as a string to the weidu.log  (Read 1300 times)

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Simple addition for weidu.log:


Code: [Select]
// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name [ : Version]
// Game: BG1EE
// GameVersion: 2.6.11.0


It's for debugging information.
« Last Edit: January 30, 2019, 04:54:29 AM by AL|EN »
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline DavidW

  • Planewalker
  • *****
  • Posts: 316
Re: weidu next generation - add "game type" as a string to the weidu.log
« Reply #1 on: January 23, 2019, 02:15:44 AM »
That would be pretty helpful, actually.

Offline subtledoctor

  • Planewalker
  • *****
  • Posts: 131
Re: weidu next generation - add "game type" as a string to the weidu.log
« Reply #2 on: January 28, 2019, 11:51:42 AM »
Srsly.

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Re: weidu next generation - add "game type" as a string to the weidu.log
« Reply #3 on: January 30, 2019, 03:32:21 AM »
I didn't mention one more thing because it was so oblivious: include game version

For classic games, it's possible to use BGMain.exe versioninfo or detect specific file.
For EE games, you either detect specific file or ask friendly Beamdog employee to provide a reliable method which Beamdog Devs use to determine game version.
« Last Edit: January 30, 2019, 04:04:38 AM by AL|EN »
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: weidu next generation - add "game type" as a string to the weidu.log
« Reply #4 on: February 19, 2019, 12:11:28 PM »
Game type: I'll look into it. The usefulness could hit a snag or two with the exceptions GAME_IS has, and this would essentially have to be implemented as if GAME_IS foo print "foo"; if GAME_IS bar print "bar", etc.
Version: pass; I don't know where in ye olde binary the version is stored and if you say the EEs don't store it, I'll take your word for it.

Offline The Imp

  • Planewalker
  • *****
  • Posts: 288
  • Gender: Male
I would for one prefer this:
~TP2_File~ #language_number #component_number #game_is // [Subcomponent Name -> ] Component Name [ : Version]

Yes, it would change from BG2EE to be EET after EET's install... of course, but that's to be expected.
And you should be alerted to find the log to contain multiple different things such as IWD, BG1 and TotSC in a log... which will totally tell you that something went very much off.

Offline DavidW

  • Planewalker
  • *****
  • Posts: 316
That’s redundant. Once you know the game type once, there’s no additional information provided by getting it again on a component-by-component basis.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: