Skip to content

Conversation

MahBoiDeveloper
Copy link
Contributor

@MahBoiDeveloper MahBoiDeveloper commented Jul 5, 2025

Closes #750

To Do List

  • Write patches for each release with major config changes
  • Add embedded missing images and copy them if they are absent in Resource folder
  • Fix Migration-INI.md wrong Edit GlobalThemeSettings.ini section
  • Add documentation with migration tool description and detailed steps for migration workflow
  • Test MT with old client configs samples
    • Mental Omega 3.3.6
    • Twisted Insurrection
    • Tiberian Sun Client
    • YR client package
    • YR Mod Base
    • Rise Of The East

@MahBoiDeveloper MahBoiDeveloper changed the title Migration Tool Implement Migration Tool Jul 5, 2025
Copy link

github-actions bot commented Jul 5, 2025

Nightly build for this pull request:

  • artifacts.zip
    This comment is automatic and is meant to allow guests to get latest automatic builds without registering. It is updated on every successful build.

@MahBoiDeveloper MahBoiDeveloper force-pushed the feature/migration-tool branch from 7f8f3ff to 028f8de Compare July 5, 2025 13:03
@MahBoiDeveloper MahBoiDeveloper force-pushed the feature/migration-tool branch from b5f5f57 to 0122a2f Compare July 5, 2025 16:11
@MahBoiDeveloper MahBoiDeveloper force-pushed the feature/migration-tool branch from ee55039 to e3f72ba Compare July 6, 2025 12:02
@SadPencil
Copy link
Member

That's why I suggest using a list of strings

Set this list manually is a mistake. But I have found another way to organize this list. We can just use enum extension to get all values of Version enum.

image

seems good

@SadPencil
Copy link
Member

Including clientcore? What if polyfill requires a lot of dll files (like the updater in 2.12.0)

@MahBoiDeveloper
Copy link
Contributor Author

Including clientcore? What if polyfill requires a lot of dll files (like the updater in 2.12.0)

It is a good question how to include already existed enums into migration tool.

@SadPencil
Copy link
Member

Including clientcore? What if polyfill requires a lot of dll files (like the updater in 2.12.0)

It is a good question how to include already existed enums into migration tool.

Just repeat the definition for now? I don't have a better way

@MahBoiDeveloper
Copy link
Contributor Author

image

This doesn't feel right

@SadPencil
Copy link
Member

image

This doesn't feel right

yeah. Let's just repeat the definition.

@MahBoiDeveloper
Copy link
Contributor Author

yeah. Let's just repeat the definition.

@Metadorius what do you think? I agree with @SadPencil to reduce numbers of libs by repeating the definitions.

@Metadorius
Copy link
Member

Why can't you reuse the same libs the client uses?

BTW, this is one of the reasons I proposed for it to be a part of the client invoked as a command line parameter.

@MahBoiDeveloper
Copy link
Contributor Author

BTW, this is one of the reasons I proposed for it to be a part of the client invoked as a command line parameter.

Client assembly differences with libraries between different versions (like Rampastring.Tools.dll near to clientdx.exe that crash client on start) should not affect the migration tool. That's why I decided to make it as cli-tool in executable file.

@Metadorius
Copy link
Member

Client assembly differences with libraries between different versions (like Rampastring.Tools.dll near to clientdx.exe that crash client on start) should not affect the migration tool. That's why I decided to make it as cli-tool in executable file.

Do we really need to inconvenience ourselves that much because of issues of wrong binaries? IMO we would save a lot of hassle by not handling the problems with binaries. The migration tool doesn't apply 100% of the needed changes anyway, so it's not like we will lose a lot by not handling this.

@MahBoiDeveloper
Copy link
Contributor Author

@SadPencil Would you like to help with WindowsXNA Release NET4.8 target build? I don't know how to fix compilation for this target.

@SadPencil
Copy link
Member

@SadPencil Would you like to help with WindowsXNA Release NET4.8 target build? I don't know how to fix compilation for this target.

I guess you'll have to consult @frg2089 for this error. Maybe you can also try moving the tool inside the DXMainClient project to avoid touching the build files

@MahBoiDeveloper
Copy link
Contributor Author

I guess you'll have to consult @frg2089 for this error. Maybe you can also try moving the tool inside the DXMainClient project to avoid touching the build files

Never mind, I managed to solve the problem myself. The issue was the build target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migration tool
4 participants