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

V3.13 Does not replace strings in *.rc files #86

Open
pjfarleyiii opened this issue Feb 13, 2019 · 3 comments
Open

V3.13 Does not replace strings in *.rc files #86

pjfarleyiii opened this issue Feb 13, 2019 · 3 comments

Comments

@pjfarleyiii
Copy link

Hercules V3.13 does not replace strings in *.rc files. I hope this is a bug and not an intended feature.

Attached are three test files that work to demonstrate the problem under Windows in the TK4- setup. The file "test.bat" asks you to select a Hercules version, sets the path to that version of Hercules and a unique log file name component and then runs the selected version of Hercules using the test.cnf file after setting HERCULES_RC to point to the "test.rc" file. Hercules output is directed to the log dataset using the unique name component. "test.bat" should be placed in the TK4- root directory (where the "mvs.bat" file lives). "test.cnf" goes into the TK4\conf directory and "rest.rc" into the TK4\scripts directory.

The attached test.zip file contains the "test/bat", test.cnf" and "test.rc" files.

I have attached the log file results for the tests that I ran for four different versions of Hercules:

  1. TK4- Hyperion version
  2. Hyperion 4.0.0 release
  3. SDL Hyperion version 4.1.0.9426
  4. Spinhawk version 3.13

Peter Farley
Brooklyn, NY

test.h4x.log
test.h40.log
test.s3.log
test.tk4.log
test.zip

@Fish-Git
Copy link
Contributor

Peter (@pjfarleyiii): FYI: your batch file has a bug: the branch label for Hyperion 4.0 and SDL-Hyperion 4.1 are bass-ackwards.

Selecting Hyperion 4.0 will actually execute (and create a logfile for) SDL-Hyperion 4.1 and vice-versa: selecting SDL-Hyperion 4.1 will actually execute (and create a logfile for) Hyperion 4.0:

[...]

:Hyperion
set HERCPATH=Q:\Hercules\SDL-Hyperion
set HERCLOG=h4x.
[...]

:SDLHyp
set HERCPATH=Q:\Hercules\Hyperion
set HERCLOG=h40.
[...]

@pjfarleyiii
Copy link
Author

You are absolutely correct. Thank you for pointing out my mistake.

Peter

@pjfarleyiii
Copy link
Author

Sorry for the temporary "close". I am new to github and pressed the wrong button.

Peter

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

No branches or pull requests

2 participants