Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements developer mode command to reload Rules and Art files. #998

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

CCHyper
Copy link
Contributor

@CCHyper CCHyper commented Mar 28, 2023

This pull request implements a new developer mode command, allowing you to reload the Rules and Art files while the game is running.

It will reload the files in the following order;
ART.INI (ARTFS.INI) -> RULES.INI (FIRESTRM.INI) -> Scenario overrides.

Warning: This could very well crash the game, please use it with caution, and make small incremental changes only!

@CCHyper CCHyper added the developer-feature A feature intended for developers only. label Mar 28, 2023
@CCHyper CCHyper requested a review from a team March 28, 2023 01:50
@github-actions
Copy link

github-actions bot commented Mar 28, 2023

This comment is automaticly generated by Nightly.link and allows non-registered users to get download the artifacts for this pull request.

These links are also updated when the pull request is pushed to.

}

/**
* Process rule ini's.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Process rule ini's.
* Process rule inis.

@Longshanks1
Copy link

Tested with a few rules.ini changes in the Freeware TS version, and with an art.ini change in the TS Client. Both properly reloaded the changes to the game, though one rules.ini change did not load (I changed the GACNST entry to have Image=NAWEAP, reloaded the change, and then changed it back and reloaded again. The change back did not properly load, and the Construction Yard kept the appearance of the Nod War Factory.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-feature A feature intended for developers only.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants