Updated ExShell (Version 0.03) from StaticZ

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2564 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2020-09-14 14:09:49 +00:00
parent fbd7be2ed3
commit 49f86a3edf
3 changed files with 68 additions and 26 deletions
+50 -6
View File
@@ -4,19 +4,43 @@ $unknown: OFF ~ !! Don't remove this... =====
~ =====================================================================================
~ see "ecd-format_eng.pdf"|"ecd-format_rus.pdf" for format and syntax description.
~ WARNING: This version supported only DirectDraw2 with screen mode 16 bpp (555 or 565).
~ ADDED experimental support of GDI (such application have to work in windowed mode)
~$LoadProfile: "DefaultConf"
~ Using sections (exshell will look for walues in this sections in left-to right order)
$LoadProfile: { "ShellOptions", "JaggedAlliance2", "DefaultConf" }
$LoadProfile: { "UserSettings", "ShellOptions", "JaggedAlliance2", "DefaultConf" }
~ =====================================================================================
[UserSettings] ~ Most commonly edited values (see description below) =====
~ =====================================================================================
$WindowFrame: { YES, 1280, 960, 0, 0, #008080 }
$UsingBliter: { 1, 0, 5, 0 }
$ImageFilter: #0001
$ImageFilter: #2004
~ =====================================================================================
[JaggedAlliance2] ~ Jagged Alliance 2 and it's mods =====
~ =====================================================================================
$StartPEPath: ".\..\JA21m.exe"
$FScreenMode: { 640, 480, 555 } ~ resolution maybe higher in 1.13 and other mods
$StartPEPath: "C:\Jagged Alliance 2 1.13\ja2.exe"
~ =====================================================================================
[RPGMakerXP] ~ =====
~ =====================================================================================
$StartPEPath: ".\..\Game.exe"
$StartPEArgs: "Window"
~ =====================================================================================
[RPGMakerRT] ~ aka RPGMaker 2003 =====
~ =====================================================================================
$StartPEPath: ".\..\RPG_RT.exe"
$StartPEArgs: "RPG_RT.exe NormalPlay ShowTitle Window"
$ApplCaption: { "TFormLcfGameMain", NO, 0, NO }
$Compatibles: #C0DE0001
$FScreenMode: { 320, 240, 555 }
~ =====================================================================================
@@ -45,11 +69,18 @@ $WinMainOffs: NO
~ value, so in this case better use window class name. 1st argument - window class name,
~ 2nd - window caption. If both of them are defined then exshell will search window that
~ satisfy both conditions. You can set 1st or\and 2rd parameter to NO to disable filter.
~ 3rd parameter - new window caption, if you want to replace original one. To keep original
~ 3rd parameter - count of skipping windows that satisfy both conditions (for example, if
~ value is 2 and 2nd value "foo" then will be used third created window with caption "foo")
~ 4th parameter - new window caption, if you want to replace original one. To keep original
~ one use value NO.
~ NOTE: To get list of creating window classes and captions run your application and look
~ in console output (See keys $UseDebugMod, $ShowConsole, $ConsoleWPal, $ConsoleWait).
$ApplCaption: { NO, NO, NO }
$ApplCaption: { NO, NO, 0, NO }
~ Special compatible mode, list of possible modes:
~ #C0DE0000 or NO or 0 - don't use special compatibility mode.
~ #C0DE0001 - RPG Maker 2003 (fix screen updating and filters)
$Compatibles: NO
~ 0 - OFF, value in ms for pause (normally values more 1 ms not recommended to use, though
~ in some cases can be used for slowing game). Use it if application always load 100% cpu.
@@ -76,7 +107,7 @@ $FScreenMode: { 640, 480, 555 } ~ NOTE: 8\24\32 BIT MODES NOT IMPLEMENTED !!
~ real window sizes will be larger. Exactly border sizes depending on OS version and used theme.
~ 4th and 5th parameters - initial position for top-left corner of a window (X, Y)
~ 6th parameter - window background color (in R8G8B8 format)
$WindowFrame: { YES, 1920, 1080, 0, 0, #008080 } ~ NOTE: WINDOW BORDER NOT IMPLEMENTED !!
$WindowFrame: { YES, 1280, 960, 0, 0, #008080 } ~ NOTE: WINDOW BORDER NOT IMPLEMENTED !!
~ 1st parameter - Bliter type (render method):
~ 1 - GDI
@@ -131,6 +162,7 @@ $UsingBliter: { 1, 0, 5, 0 }
~ #35 - xbrz [--------] - improved XBR
~
~ #01 - GrayScale [- - - ] - Convert colors to gray tons.
~ #7001 - Downscale2x - fastest, no smoothing, no filtering
~ ??? - Scale2xSaI, Bilinear, BilinearPlus
~ NOTE: keys can contain addition parameters, depending on using filter (see description above).
$ImageFilter: #0001
@@ -150,6 +182,18 @@ $RemFocusKey: OFF ~ NOTE: bad coded, though in most cases its working.
~ Allowed formats: "jpeg", "png", "bmp", "tiff", "gif" (note gif allows save only up to 256 colors)
$ScrnGrabImg: "png"
~ Packages declaration - this packages will be loaded at startup and files in them will override original
~ files. This works like VFS (Virtual File System) and can be used ither to reduce application data trash
~ or to protect some data from extracting\modiffing (for example to protect yours own mode or addon).
~ For creating and extracting package see instructions in exshell (run it with "-help" argument).
~ Files in packages are searching from bottom to top, so it can be also used for creating patches, just
~ make new package with changes and add to the end of list. If file not found in packages application
~ will try to get it from HDD.
~ NOTE: not recommended to use 7-bit ASCII names
~ NOTE: supported only reading from packages, writing will cause error.
~$LoadPackage: "./../package/rtiles.edp"
~$LoadPackage: "./../package/rsound.edp"
~$LoadPackage: "./../package/patch1.edp" ~ override some original tiles and sounds from previous packs.
~ =====================================================================================
[ShellOptions] ~ EXShell global options =====
+5
View File
@@ -0,0 +1,5 @@
Bears Pit Discussion Thread
http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=337877&#msg_337877
Download
http://dev.uoquint.ru/projects/exshell/files
+13 -20
View File
@@ -10,7 +10,7 @@
\/_/\/_/ \/_/ \/_/ \/_/ \/_/ \/____/ \/_____/ \/_/\/_/ \/_____/ \/_____/ \/_____/
2014 (c) StaticZ <staticz@uoquint.ru>
2014-2015 (c) StaticZ <staticz@uoquint.ru>
________________________________________________________________________________________
@@ -44,26 +44,11 @@ For installing copy ExShell to any directory you whant and open exshell.ecd conf
file in any text editor (recomended Notepad++, you can import to it syntax higlight
from *.xml file that are distributed with ExShell). To lunch your application you
have to set path to it and it's screen resolution. The application you whant to run
must be set in fullscreen mode (ja2.ini: SCREEN_MODE_WINDOWED = 0), otherwise you
get many problems and errors.
Check other options and see comments there for more details.
Important exshell.ecd entries:
- Set $StartPEPath for profile [EXSProfile01] to the ja2.exe file (full path).
- Set $FScreenMode to the same resoultion like JA2 1.13 (see: ja2.ini -> SCREEN_RESOLUTION)
-> Also set SCREEN_MODE_WINDOWED = 0 in ja2.ini
- Set $WindowFrame to the double size (if you use 2x upscaling filters) of your JA2 1.13 screen resolution
- Set $ImageFilter to your liking. For best image quality set the filter to #2022
-> This means 2x upscaling the screen resolution and using xbra filter
Be carefully, while saving
must be set in fullscreen mode, otherwise you get many problems and errors.Check
other options and see comments there for more details. Be carefully, while saving
config file, check that you use UTF8 (without BOM) encoding. Otherwise ExShell will
have problems with reading it.
To start the JA2 1.13 with the exShell tool, just run the exshell.exe
Additional informations can be found on the Bears Pit Forum:
http://www.ja-galaxy-forum.com/ubbthreads.php/topics/336350/1
------------------
@@ -123,8 +108,8 @@ ExShell was tested for compatibility with this games:
1. Jagged Alliance 2: Feeding Ground [OK]
2. Jagged Alliance 2: 1.13 [OK]
3. Jagged Alliance 2: Metavira [OK]
4. RPG Maker RT (aka 2003) [OK] * some features not supported
5. RPG Maker XP [OK]
----------------
(6.0) Change Log
@@ -153,4 +138,12 @@ ExShell was tested for compatibility with this games:
* Added: minor checks and validations
(2015.11.05) ver 0.03 rev 030 build 15309
------------------------------------------
* Added: Upscaler support GDI based games
* Added: Downscale 2x filter
* Added: VFS (Virtual File System)
* Added: minor checks and validations
* Change removed dependencies for AVX instructions