thewrdnoob / sandbox-mod-installer Goto Github PK
View Code? Open in Web Editor NEWInstallation program for the Wargame: Red Dragon Sandbox Mod
Installation program for the Wargame: Red Dragon Sandbox Mod
Thank you for the great and ultimate MOD!
This mod's 'Search and Change' strategy is a really beautiful.
Here is a report of small error.
As you know, new DLC will be released soon.
I hope that bug fix for this would be applied after the release of DLC.
Detail:
Tooltip for Eurocorps and Scandinavia is broken after applying Sandbox mod.
When a mouse course is placed on a national flag, the name and description will be shown at vanilla state.
After patch, tooltips for Eurocops and Scandinavia become 'Infinite Units (No DLC)' and 'Infinite Units (Yes DLC), respectively.
Dear @TheWRDNoob,
I recently made series of XML script for private small mod, based on your examples in Sandbox 6.0.
It really helped me, thank you.
As I know, the current version of WGPatcher.exe shows an error if there are too many scripts are given.
So I split the script into 15 pieces. Each of them takes 2-3 minutes to complete the task.
I tried to modify "patcher_paths.json" in SandboxMod folder, then later I tried running WGPather.exe via batch file to automate modding becasue doing the job with my fingers and waiting are really pain.
Also I edited installerConfig.wmi because I have to prevent the change of Eurocorps tooltip and have to add a Name change of a certain unit.
These changes introduced unintended errors, but I could not find the soulteion because no documentation was found for syntax and usage.
Maybe SandoxModInstall.exe delivers special parameters to WGPathcer.exe and WargameModInstaller.exe?
I believe that you as a creator may answer the question.
No pause screen of the console window after changing installerConfig.wmi and installerConfigTemplate.wmi.
I want to stop change of the "Infinite DLC" tooltip and want to add other Unit name change during the run.
Syntax of wmi file would not be wrong, because I get the right result.
However, modding progress & result screen (console window) is not paused anymore after finish.
It automatically closed after job is done whether any error occurs or not.
This makes me harder to find debug my newly created xml code, but I don't know what is wrong and how to make stop.
ADDED LATER: I used screen recorder, so I found a strange error message related with python. Below is the screenshot.
Making asset installerConfig
Traceback (most recent call last):
File "SandboxModInstall.py"", line 243, in <module>
File "C:\Pton38\lib\encodings\cp1252.py", line 23, in decode
UnicodeDecodeError: charmap codec can't decode byte 0x9d in position 4136: character maps to <undefined>
[12428] Failed to execute script SandboxModInstall
NDF_Win.dat untouched when batch script is used
When I use batch script (code at the bottom) instead of SanboxModInstall.exe, the modding result is not applied to NDF_Win.dat.
The black command-line window is generated and the modding progress is displayed naturally.
However, NDF_Win.dat remained untouched and an additional file with the name of "ndf_win_patched.dat" is generated.
Running wargame3.exe after renaming the file did not work. Modding result ass not applied on both files.
Are there any hidden parameters?
InstallerConfig.wmi doesn't work on linked file
Name in unites.dic in "Data\WARGAME\PC\48574\ZZ_Win.dat" was easily changed by modification of InstallerConfig.wmi.
However, Name in unites.dic in Data\WARGAME\PC\49125\49964\ZZ_Win.dat is untochble.
If I change targetPath for the latest ZZ_Win.dat, modding program stopped with the message:
An item with the same key has already been added
@echo off
echo %date% %time%
"SandboxMod\Patcher\WGPatcher.exe" apply "C:\Program Files (x86)\Steam\steamapps\common\Wargame Red Dragon\Data\WARGAME\PC\49964\NDF_Win.dat" "SandboxMod\Script Library\Lobby\MapPoints.xml" "SandboxMod\Script Library\Lobby\IncreasedIncome.xml" "SandboxMod\Script Library\Lobby\TimeOptions.xml" "SandboxMod\Script Library\Gameplay\CampaignStartingPoliticalPoints.xml" "SandboxMod\Script Library\Gameplay\PlaneAltitude.xml" "SandboxMod\Script Library\Gameplay\VehicleSpeeds_BN.xml"
echo " "
echo %time%
timeout /T 3
echo " "
echo " "
echo " "
echo %time%
"SandboxMod\Patcher\WGPatcher.exe" apply "C:\Program Files (x86)\Steam\steamapps\common\Wargame Red Dragon\Data\WARGAME\PC\49964\NDF_Win.dat" "SandboxMod\Script Library\Gameplay\AccuracyReduction.xml"
echo " "
echo %time%
timeout /T 3
echo " "
echo %time%
"SandboxMod\Patcher\WGPatcher.exe" apply "C:\Program Files (x86)\Steam\steamapps\common\Wargame Red Dragon\Data\WARGAME\PC\49964\NDF_Win.dat" "SandboxMod\Script Library\Gameplay\KEYreworks_1_A-10.xml" "SandboxMod\Script Library\Gameplay\KEYreworks_4_DeckBreaker_Marine_ME_MO.xml"
echo " "
echo %time%
timeout /T 3
echo " "
echo %time%
"SandboxMod\Patcher\WGPatcher.exe" apply "C:\Program Files (x86)\Steam\steamapps\common\Wargame Red Dragon\Data\WARGAME\PC\49964\NDF_Win.dat" "SandboxMod\Script Library\Gameplay\KEYreworks_2_Su-25X.xml" "SandboxMod\Script Library\Gameplay\KEYreworks_3_Autonomy-Optic-Size_Bonus.xml"
echo " "
echo %date% %time%
echo " "
echo Finished the first part of Key's Reworks during 14 mins
timeout /T 7
"SandboxMod\Installer\WargameModInstaller.exe"
pause
pause
When I Run the Program There's a Blank Text Box that has Text for a very quick second, then it just goes away, I figured out that the textbox is the program that actually installs the mod but it can't because it keeps getting closed after just some seconds, I'm using a cracked version of Wargame: Red Dragon but I have bought the full version on steam I only downloaded the cracked version because I wanted the DLC's, Know how to help? (I'm using the .exe from this GitHub btw)
When using No Units are Prototypes and All Units are Blufor, there are differences between a deck in the arsenal and in the game.
My deck looks like this in the Arsenal (its a general BluFor Deck, I only used Dutch and Czech units for flavor reasons):
Ingame, there is a USSR Unit in the Supports:
There are also no Czech Air Units:
Thank you for the great mod!
While I am trying to edit some value, I found a mis-spelled (maybe) value in a xml file.
Details:
PlaneAltitude.xml
In the comment, it is written thatall value were multiplied by 1.25, but one section in the file has a lower value than before.
39000 for 750 Alt -> 28750 for 750 Alt (Source)
39000 for 750 Alt -> 48750 for 750 Alt (Correct calculation)
Only a heading number is incorrect, so I assume the mis-typing
It fears me that there might be other mis-typed values in other files, but checking all file is not a simple task.
So I did not tried yet.
Anyway, at least this bug is found by me, so I report it here.
Thank you for this hard and brilliant work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.