Git Product home page Git Product logo

alienquake / projectinfinity Goto Github PK

View Code? Open in Web Editor NEW
68.0 12.0 7.0 77.5 MB

Project Infinity - a mod manager for Baldur's Gate Enhanced Edition, Icewind Dale Enhanced Edition, Planescape Torment Enhanced Edition and Enhanced Edition Trilogy (EET).

Home Page: https://forums.beamdog.com/discussion/74335/project-infinity-public-beta-for-all/p1

bgee bg2ee iwdee pstee bg1 bg2 iwd iwd2 eet bgt

projectinfinity's People

Contributors

alienquake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

projectinfinity's Issues

Weidu Requesting input after "wrong argument"

Below is an example, the mod it occurs during appears to be arbitrary as I've experimented with disabling several.
I'll have to disable all mods in my quest folder and try incrementally, but not sure what feature of mods is causing this

//SUCCESSFULLY INSTALLED Finish Cordyr's Quest without killing Sil
//[F:\Mods\BG2\EE-Mod-Setup-master\Project Infinity\Tools\WeiDU\249.00\weidu.exe] WeiDU version 24900
//F:\Mods\BG2\EE-Mod-Setup-master\Project Infinity\Tools\WeiDU\249.00\weidu.exe: wrong argument --log'; option --force-install' expects an integer.
// WeiDU (version 24900: "Master Doom")
//usage: WeiDU [options] BAF,BCS,D,DLG,TRA,TP,TP2-files
//General Input Options:
// --game X set main game directory to X
// --game-by-type X set main game directory to the one where X is installed (BG,BG2,IWD,IWD2,PST)
// --nogame do not load any default game files

Not Recognising Installed Mods

I've shared this issue on Discord as well, but thought I'd highlight it here as well for visibility.

Put simply, despite the mod appearing in the list of installed mods in the left pane, every attempt to install from a Weidu log returns an error message saying the same mod (SoD Tweaks) is missing despite it being visible and checked in the left pane.

Attempts to refresh the mod list return the same number of mods every time, but the number of components varied in an area of around 50-60. This was achieved over 11-12 refreshes of the list.

I've attempted a fresh install of both Project Infinity and of the mod in question, but the issue remains. Due to the complexity of the load order, installing the mod independent of the mod list would prove problematic.

Sorting order file does not work for A#7ImprovedShamanicDance mod

Check requirements:
Windows10, 64 bit, current patchlevel

Upload logs from Logs folder
Attached. Also attached is a screenshot which hopefully shows what the problem is.
Logs.zip

Preliminary Remarks:
When you check the logs you will see that I had to cancel an installation once after hitting "Start-Installation" instead of "Apply-Sorting Order", but I assume that is not a factor for the bug described below. However, the button layout might be a usability/ GUI design issue in general.

I selected "SoD" as game, I believe this is wrong and should be "BG:EE", but believe that is also unconnected to the bug.

Describe the bug
The sort order from the file open in the screenshot is not applied to the A#7ImprovedShamanicDance mod components. They end up in the unsorted category. The sort order file works fine for everything else. At the moment I would assume that the hash mark "#" in the mod name breaks the file parsing.

Also, "Warning" appears to be misspelled as "Warring".

To Reproduce
Get the mod and try a sort order file. The sort order file used is attached.
MY_BGEE_sort_order.txt

Expected behavior
Mod is correctly sorted in install order as specified in the sort order file.

Screenshots
a7_project_infinity

Random hangs/crashes

Describe the bug
When selecting some components, the app hangs and needs to be force closed.
image

This seems to be random. I tried again with that component, and no issues.

Progress Indicator

Problem

Installating one or more big mods in EET can take up to an hour and more. Even on NVMe drive and a quite beefy CPU. Sword Coast Stratagems is a great (or just not) great example. The user gets no idea at all about how much time is left for the installation to be finished.

Solution

Some indicator like a progress bar with informative labeling about which component of total in the install sequence is installing right now.

Should it be impossible to determine progressed component within installer logic, specific log messages could be interpreted (like "Installing [Component] [Version]").

Crash on install

I get this Error when trying to install PI

Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: ProjectInfinity.exe
Problemsignatur 02: 0.7.6.0
Problemsignatur 03: 5d19a067
Problemsignatur 04: PoshExeHostWinV5
Problemsignatur 05: 0.7.6.0
Problemsignatur 06: 5d19a067
Problemsignatur 07: 3c
Problemsignatur 08: 87
Problemsignatur 09: System.IO.FileNotFoundException
Betriebsystemversion: 6.1.7601.2.1.0.768.3
Gebietsschema-ID: 3079
Zusatzinformation 1: e6e6
Zusatzinformation 2: e6e6c208b90db2aa028f8f653cabbf23
Zusatzinformation 3: d770
Zusatzinformation 4: d770a8d56ee6172770911a2e2e812f59

[Documentation] Mods and mod compatibilities?

Hello,

I found this via https://forums.beamdog.com/discussion/44476/tool-big-world-setup-bws-mod-manager-for-baldurs-gate-enhanced-edition-trilogy-for-windows

I was looking for a tool to help in regards to mods. Some mods are abandoned and installing them can be
a bit annoying / problematic, so I was hoping PI may be of help here.

There is a lack of documentation though. Could you perhaps consider adding a few paragraphs about mods
and mod installations in particular? I ran into issues without PI before where some mods had to be installed
in the right order, and other mods needed tweaking. I'd love to use some handy tool to simplify this. I was
using ruby from the commandline, which is fine on linux, but on windows it is not so great, so I was hoping for
a GUI.

Program should be uninstallable

Check requirements:

  • OS: Windows 10 x64
  • .NET Framework version: 4.8
  • Powershell version: 5.1.18362.752

Upload logs from Logs folder
Not relevant

Describe the bug
Program should have option to uninstall all its downloaded files and make back all registry changes.

To Reproduce
Steps to reproduce the behavior:

  1. Run program, which download files and make registry changes.
  2. Try to revert it.

Expected behavior
Program should have option to revert all changes.

Malware report

Hi,
I have downloaded the EXE (v 0.10.2.0) today.
Microsoft Defender blocks it stating that it has
Trojan:Win32/Powbr.A!MTB
https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3aWin32%2fPowbr.A!MTB&threatid=2147731258

VirusTotal shows 3 warnings: https://www.virustotal.com/gui/file/76f313fe24cf113e8f8d03e6892f6769ef240d9b8a3e8a9e09b0572d3783be5b

Given that there is no source code, you may want to do something before it gets reported and your repo gets torn down completely for spreading malware (not specifically blaming you w/o proof, but this is how it looks like).

Best Regards.

Mod component selection does not work on offline computer

Windows 10, 64 bit, current patchlevel

Logs hopefully attached !
Logs.zip

Trying to mod IWD:EE. Extracted mods detected correctly in their folder, but could not expand component subtree view and/or select components. After clicking mod vanished from selection window.

Inspecting the logs (2019.12.06-10꞉41 or2019.12.06-10꞉37) it appears Project Infinity tries to download weidu.exe from the net and failed because the computer was offline at that time. I am also not sure what the "standard local path" for weidu.exe referenced in the log might be, it is not documented it appears. I assume without a working weidu.exe it cannot read the tp2 files.

If the computer is brought online (2019.12.06-10꞉39) component selection works and there are no errors in the logs.

To Reproduce
Set computer offline and not having a "standard local path" weidu.exe should reproduce the behaviour.

Expected behavior

  • Documenting that online download of "weidu.exe" might happen and documentation of the "standard local path" (which I hope I did not miss)
  • A clear/prominent error message "No weidu.exe found" or similar instead of not opening the component selection sub-tree-view and just removing the mod from the list.
  • Ideally a dialogue choice or preference/configuration setting for local weidu.exe

Latest version won't launch

Check requirements:

  • OS: Windows 11 64-bit
  • .NET Framework version: • .NET SDK 7.0.306
    • .NET Runtime 7.0.9
    • ASP.NET Core Runtime 7.0.9
    • .NET Windows Desktop Runtime 7.0.9
  • Powershell version: should be Powershell 5.1 - Have both the built-in 5.1 and Preview 7.4

Upload logs from the Logs folder
Won't launch and no logs created

Describe the bug
Won't launch at all. It appears in Task Manager for half a second and it is gone. There is no log created, nothing in Windows Event Viewer, etc.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to launch latest executable

Expected behavior
The application would launch

Screenshots
[If applicable, add screenshots to help explain your problem.]

https://i.imgur.com/rCFAkBh.png

Selected mods tick resetting

Hi, I occasionally experience an issue where many, but not all, of the mod selections reset whilst using the app. I export my selections to be safe, however it seems if they unselect without me noticing and then I save I lose my progress

Load Order Check Button [Feature]

Currently, this program appears to scan everything, every single time you click on anything. It literally takes several minutes just to expand a section in the mod list sometimes because of all the background shit the program does every single time you click on anything.

Whatever it's doing, it should only be doing it after you click on a dedicated button, AFTER you enable all of your mod components. The constant stateful re-checking of literally everything makes this program run like a hippo in quick-sand.

[Feature]Allow ignoring warnings and errors

Describe the solution you'd like
Every warning and error causes the install to pause and wait for user input.
Sometimes I want to test an install during the night and check everything in the morning, even if there are dozens of errors.
The app could have the option to never pause the install.

Crash on Windows 7

@ALIENQuake - I have .net 4.8 and i get a crash when clicking 2x on windows 7, i wish i could help more. If i may add an suggestion i'd like to recommend a tool like bugtrap here on github to create full zipped crash logs. I'll attach them here in case that happens.

[Feature]Physically duplicate mods

Instead of creating virtual duplicate instances of mods to alternate components, what would it take to duplicate the mod files themselves? Which files would need to be renamed and which configs would need to be changed? Would this be possible as an automatic process?
As it is, instance cloning is too volatile: if the app closes, all changes vanish.

Mod list is not saved after v10

Describe the bug
After the last updates, I set the extracted mods folder, click refresh and the mods show.
If I close the app, I have to refresh again for the mods to show.

Why there is no source code?

While in the ideal world, such things as a 'closed source' would not exist, this project needs to be closed for several reasons. The most important one is that there is a malicious actor in the Infinity Engine Modding community who has hijacked the previous mod manager and replaced mods with customized versions. This person promotes their own mods by recommending them over others and gatekeeps mods that interfere with their content.

However, you don't need source code to be open to trusting the application or contributing to it. If you are really interested in contributing and you are familiar with Windows Forms/WPF/c#/PowerShell, feel free to reach me.

A seemingly correctly defined dynamic install order gives a false positive

Check requirements:

  • OS: 64-bit, fully updated Windows 10
  • .NET framework 4.0.30319

Upload logs from Logs folder
Logs.zip

Describe the bug
A seemingly correctly defined dynamic install order gives a false positive

To Reproduce
Steps to reproduce the behavior:

  1. Open Project Infinity 0.8.12
  2. Download and extract HiddenGameplayOptions v2.6 and cdtweaks v9 mods
  3. Load them to Project Infinity
  4. Move cdtweaks from Default/Unassigned to After A.I.
  5. Move HiddenGameplayOptions from Default/Unassigned to Late (strange that it starts in Default/Unassigned although it's HiddenGameplayOptions.ini file says "# Dynamic Install Order Category Type = Late")
  6. Select some components from both mods
  7. A rule displays HiddenGameplayOptions AFTER cdtweaks as FALSE

Expected behavior
The rule should return TRUE, because HiddenGameplayOptions.ini says "After = cdtweaks" and "cdtweaks" is the correct name to use - same as in the .tp2 file name after "setup-":
2021-01-30 12_03_34-C__Users_rober_Documents_Baldur's Gate mods_Tweaks-Anthology_cdtweaks

Screenshots
2021-01-30 11_45_17-Project Infinity 0 8 12

I assume that selected components and other selected mods are not important for this bug report, but if the bug doesn't reproduce and you need more details, please let me know.

The app appearance is buged with non default window scaling

Check requirements:

  • OS: should be 64-bit, fully updated Windows 7, 8.1 or 10
  • .NET Framework version: should be 4.5.2 or above Download
  • Powershell version: should be Powershell 5.1 Download

Upload logs from Logs folder
Not needed

Describe the bug
Shown in screenshot.
This is with 150% window scale on 4k display.

To Reproduce
Open the app

Expected behavior
The text should be readable.

Screenshots
2021-07-20 23_22_23-Project Infinity 0 9 6

[Feature request] Program should be portable

Check requirements:

  • OS: Windows 10 x64
  • .NET Framework version: 4.8
  • Powershell version: 5.1.18362.752

Upload logs from Logs folder
Not relevant

Describe the bug
Program downloads files to AppData and change registry and it should not.
All downloads should go to subdirectory relative to program path and do not change registry.

To Reproduce
Steps to reproduce the behavior:

  1. Run program.

Expected behavior
Program should be self contained and do not touch any other directories, especially registry.

Why there is no source code?

It would be nice to share source, it's possible someone contributed to this, it's clearly not in any kind of usable state except demo.

GUI freaks out over a forward slash difference between URLs

Check requirements:

  • OS: 64-bit, fully updated Windows 10

Describe the bug
The download URL of the Unfinished Business mod for BG2 has a forward shash at the end, but it's gitRemoteOriginUrl doesn't, which triggers a warning to seek help in forums.

To Reproduce
Steps to reproduce the behavior:

  1. Open Project Infinity 0.8.12
  2. Press the green button
  3. Download the Unfinished Business mod from the list of Pocket-Plane-Group mods
  4. See "WARRNING!
    The update was detected but there is a mismatch betwen INI Download data and local update link:
    Warning! Download: https://github.com/Pocket-Plane-Group/UnfinishedBusiness/ not match gitRemoteOriginUrl: https://github.com/Pocket-Plane-Group/UnfinishedBusiness
    Warning! possible cause: online mod repository was renamed or transfered
    Warning! it's impossible to preform update check and delta updates
    Warning! please ask for support at the forums."

Expected behavior
No warning and no forward slash at the end of the download link.

Screenshots
image

[Feature] Improve button names

Is your feature request related to a problem? Please describe.
These buttons are near impossible to understand their function by their names.
image

Describe the solution you'd like
A couple renamings and tooltips (show a helper on mouseover) would improve the understanding of what they do without resorting to complex instructions.

Import WeiDU.log => Import mod selection from WeiDU.log (This only selects the components, you still need to order the mods)
Set-InstallSequence => Load mod order from list (This will load the mod and component order from the list on the left)
Import install sequence => Import mod order from file
...

Import/Export error

Upload logs from Logs folder
Logs.zip

Describe the bug
When importing/exporting install order, some entries in the install entry are malformed, please see the entry for Sirine's Call (among others) in the below.
ProjectInfinity-InstallSequence-2021.06.24-21꞉06.log
Line reads:
SirinesCall-Main;The Lure of the Sirine's Call - The Lure of the Sirine's Call
Should read:
SirinesCall:0;The Lure of the Sirine's Call - The Lure of the Sirine's Call

To Reproduce
Steps to reproduce the behavior:

  1. Set up an install sequence containing Lure of the Sirine's Call mod
  2. Click E
  3. Save "SortingOrder.csv"
  4. Click I, import "SortingOrder.csv"
  5. Observe incorrect line in install sequence, attempt to install to observe "Unknown Argument" error caused and install failure.

Expected behavior
SortingOrder.csv export should create a list with correct entries.
Screenshots
N/A

Windows 11 support?

Computer

  • OS: Windows 11
  • [/] .NET Framework version: should be 4.5.2 or above Download
  • [/] Powershell version: should be Powershell 5.1 Download

Upload logs from Logs folder
Logs folder is not even created

Describe the bug
Application won't run on Windows 11. Switching compatibility mode does nothing. No GUI is displayed. No Logs folder created

AV and Smartscreen issues

Hello

App is classified as Trojan.GenericKD.46892447 by Bitdefender and Windows Smartscreen is blocking it. Even when I put it into exclusion list, it first tried to write something in registry. Why?

I denied registry access and then my AV blocked C:\Temp\Infinity Engine Mod Package.dat with detection name ATC.SuspiciousBehavior.73F6F2DE54014AF5.

Can't start on windows 10

Hi,
Since recent windows 10 updates (I guess .Net was also updated) I can't start PI anymore.
I just click on the exe, I can see the process starting, and then it closes (PI interface is not displayed though).
No log, nothing to report with, unfortunately.

[Feature]Allow ignoring install order alerts

Is your feature request related to a problem? Please describe.
If a mod has an order that has incompatibilities, it blocks the install.

Describe the solution you'd like
If a mod component as a configured incompatible order with another mod, it should give the warning, but never block the install (with a greyed out button). It should always be a user option.

[Feature] To avoid losing components after re-opening, saving a copy to text of selected components where mods don't support globally unique labels

Is your feature request related to a problem? Please describe.
I'm frustrated when each time I re-launch Project Infinity many of the mod components that I previously selected are now unticked. This means that I must do my PI install in a single sitting, which may take hours.

I realize that saving components is listed as not possible where mods don't support globally unique labels. Is there a work around for this? If I could just select and copy the text to a document it would save time when I'm going back in to do it for the umpteenth time.

Describe the solution you'd like
Either some way to export to string or drag to select and thus copy-paste the list of components in the left window. Alternatively, any sort of hack or option to leave any selected components ticked when the program is shut and re-opened.

Describe alternatives you've considered
Presently I'm just going to start taking photographs or short videos of the screen, I don't know why I didn't think of that earlier.

[Feature] Resize the mod info and install sequence textboxes

Is your feature request related to a problem? Please describe.
Readability of meta data in top right corner is bad due to multiple line breaks.
Readability of Installation Sequence is bad due to too narrow a window.

Describe the solution you'd like
A solution to resize the 2 windows via drag n' drop of the borders (like between Install Order Window and Rules Window).

Describe alternatives you've considered
Using 25% DPI windows scaling and using a magnifying glass

Also a way to scale font size would be a great help for us with high resolution screens.

Front-End Fixes

The text is cut off on the left-side list...This might only be on my set-up and not affecting everyone, but it's still an issue.

The buttons at the top are also misaligned. This is obviously not a use-limited issue and only an aesthetic one.

Both issues visable in image:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.