Starting RTC from a command line
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

I'm with Luenver, a "blind" compile would be useful. A menu or toolbar button in RTCed that could command line compile your dungeon without the RTC graphic environment. I'm sure command line has been mentioned before, but I'll do it again anyway. WOuld be nice to be about to: RTC "\modules\my.rtc" to run the my.rtc after the swoosh rather than need to pick it from the list.
Don't be scene or herd!
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
You can sort of do this already - in the config.txt file, simply add the line "COMPILE my.rtc" (i.e. change the txt extension to rtc) and it will run your rtc file...copperman wrote:WOuld be nice to be about to: RTC "\modules\my.rtc" to run the my.rtc after the swoosh rather than need to pick it from the list.
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Not recently, no. So I did, and it's failing. 
Using a (XP) command prompt from the RTC folder I type:
I get a: Critical error Terminating program ... can't opn file: /modules/DM.RTC
Although, moving the DM.RTC into the main folder and running
does works, presenting you with the dungeon entrance.

Using a (XP) command prompt from the RTC folder I type:
Code: Select all
RTC "\modules\DM.RTC"
Although, moving the DM.RTC into the main folder and running
Code: Select all
RTC DM.RTC
Don't be scene or herd!
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
- Gambit37
- Should eat more pies
- Posts: 13773
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
You'd need to modify your command to:
This changes it from an absolute to a relative path and should work OK.
SIMULTANEOUS POSTING EDIT: Or do what GG said!
Code: Select all
RTC ".\modules\DM.RTC"
SIMULTANEOUS POSTING EDIT: Or do what GG said!
Non work!
All fail
Works as discribed above.
Are my DOS skills really that faded that I am missing something stupidly simple
Code: Select all
D:\Zgames\RTC_V037>rtc "\modules\dm.rtc"
D:\Zgames\RTC_V037>rtc "modules\dm.rtc"
D:\Zgames\RTC_V037>rtc ".\modules\dm.rtc"
Code: Select all
D:\Zgames\RTC_V037>rtc dm.rtc
Are my DOS skills really that faded that I am missing something stupidly simple

Don't be scene or herd!