Problem with compile and preview
Re: Problem with compile and preview
yea thats what i dont understand...okay it isn't previewing the basic demo level or any others. so i download RF and open up the basic.bsp level in RFedit pro and hit compile, check the box that says preview and then click okay. it compiles and then i hit the okay button on the window that comes up asking if i still want to preview and i say yes (ok) and my screen just flickers and goes back to rfedit pro. And now im not even getting a RF.log file that i had posted earlier in this thread. that is what is happening. (side note- the first time i say preview it says it can't find RF.exe in C:\RealityFactory\media...and it asks for some other .dll files to be in there so i just copy them from the main folder into the media folder and then it doesn't complain anymore...not sure if that has anything to do with it)
- QuestOfDreams
- Site Admin
- Posts: 1520
- Joined: Sun Jul 03, 2005 11:12 pm
- Location: Austria
- Contact:
Re: Problem with compile and preview
Of course you don't get a log file. The one you posted earlier in this thread hasn't anything to do with your level - it obviously came from a program run when you've played the 3 demo levels that come with RF (as I stated before).nesbom wrote:And now im not even getting a RF.log file that i had posted earlier in this thread.
This is not the normal behaviour of the editor. It should find realityfactory.exe without problems unless you've messed up the RFEditPro.ini file (in the tools folder) which tells the editor where to look for realityfactory.exe. Copying the files over to the media folder will not solve your problem it may even make it worse because realityfactory won't find other files it needs to run properly.nesbom wrote:the first time i say preview it says it can't find RF.exe in C:\RealityFactory\media...and it asks for some other .dll files to be in there so i just copy them from the main folder into the media folder and then it doesn't complain anymore...not sure if that has anything to do with it
The RFEditPro.ini file should look like this
Code: Select all
[Grid]
Background=6710886
Color=12632256
SnapColor=13688896
[Paths]
TxlName=..\media\levels\default.txl
TxlSearchPath=.\
PreviewPath=..\realityfactory.exe
Headers=..\source
ObjectsDir=..\media\Objects
ProjectDir=..\media\levels
Include=..\source
Actors=..\media\Actors
PawnIni=..\install\Pawn.ini
[DESKTOP-Summary]
Bars=10
ScreenCX=1280
ScreenCY=800
[Tip]
StartUp=1
TimeStamp=Sat Oct 06 11:29:19 2007
FilePos=338
[Settings]
PreviewPages=1
[DESKTOP-Bar13]
BarID=59423
Horz=1
Floating=1
XPos=1291
YPos=156
Bars=3
Bar#0=0
Bar#1=860
Bar#2=0
[DESKTOP-Bar11]
BarID=59423
Horz=1
Floating=1
XPos=214
YPos=129
Bars=3
Bar#0=0
Bar#1=59392
Bar#2=0
[DESKTOP-Bar12]
BarID=59423
Horz=1
Floating=1
XPos=930
YPos=113
Bars=3
Bar#0=0
Bar#1=59392
Bar#2=0
[DESKTOP-Bar10]
BarID=59423
Horz=1
Floating=1
XPos=255
YPos=165
Bars=3
Bar#0=0
Bar#1=59392
Bar#2=0
[DESKTOP-Bar0]
BarID=59419
Bars=5
Bar#0=0
Bar#1=59392
Bar#2=59392
Bar#3=59392
Bar#4=0
[DESKTOP-Bar1]
BarID=59420
Bars=3
Bar#0=0
Bar#1=860
Bar#2=0
[DESKTOP-Bar2]
BarID=59421
Bars=3
Bar#0=0
Bar#1=1404
Bar#2=0
[DESKTOP-Bar3]
BarID=59392
XPos=-2
YPos=-2
Docking=1
MRUDockID=0
MRUDockLeftPos=-2
MRUDockTopPos=-2
MRUDockRightPos=315
MRUDockBottomPos=25
MRUFloatStyle=8196
MRUFloatXPos=-2147483648
MRUFloatYPos=0
[DESKTOP-Bar4]
BarID=59392
XPos=313
YPos=-2
Docking=1
MRUDockID=0
MRUDockLeftPos=313
MRUDockTopPos=-2
MRUDockRightPos=678
MRUDockBottomPos=25
MRUFloatStyle=8196
MRUFloatXPos=-2147483648
MRUFloatYPos=0
[DESKTOP-Bar5]
BarID=59392
XPos=676
YPos=-2
Docking=1
MRUDockID=0
MRUDockLeftPos=676
MRUDockTopPos=-2
MRUDockRightPos=947
MRUDockBottomPos=25
MRUFloatStyle=8196
MRUFloatXPos=-2147483648
MRUFloatYPos=0
[DESKTOP-Bar6]
BarID=860
XPos=-2
YPos=-2
Docking=1
MRUDockID=0
MRUDockLeftPos=-2
MRUDockTopPos=-2
MRUDockRightPos=148
MRUDockBottomPos=668
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=0
[DESKTOP-Bar7]
BarID=1404
XPos=-2
YPos=-2
Docking=1
MRUDockID=0
MRUDockLeftPos=-2
MRUDockTopPos=-2
Re: Problem with compile and preview
okay...so iv never even opened rfedit.ini before so i know for a fact that i hadn't messed with it. but just to make sure i put the code you gave me in to that file in place of what was there...and tried to run it again and it didnt work. i am attatching screen shots so you can see what i am talking bout. as in im not doing anything at all to any file as i get it. but then again i dont know.
- Attachments
-
- first message.jpg
- This is the first message box that pops open when i go to RR->media->levels->basic.3DT
- (41.98 KiB) Downloaded 3 times
-
- second message.jpg
- This is the second message box that pops open when i try to preview it. this is exactly as i got it from RF site.
- (35.38 KiB) Downloaded 3 times
Re: Problem with compile and preview
Ok.
1. You cannot double click a 3DT file. You have to use File | Open.
2. It is using the media folder as the working directory because you double clicked the file. Try using the shortcut in the Start Menu to start RFEditPro and use File | Open to open the level.
1. You cannot double click a 3DT file. You have to use File | Open.
2. It is using the media folder as the working directory because you double clicked the file. Try using the shortcut in the Start Menu to start RFEditPro and use File | Open to open the level.
Many Bothans died to bring you this signature....
Re: Problem with compile and preview
Alright i didn't know that i wasn't allowed to double click a 3DT file...so i have now reinstalled RF clean and followed ur steps and here are screenshots of what i did. Okay first i went to my start menu and went to open rfedit like you said i should. and screenshot number 2 is the window that pops up. I then find the default file that it is looking for and that opens up the editor with the default screen. then i go to file open and find the basic.3DT file and open it which is screenshot 3. Then the window that i have shown in shot 2 comes up again when i open up basic.3DT. I again find the default.txl that it is looking and then the basic level loads. I next compile and try to preview it and screenshot 5 happens. Those are all the steps i followed after downloading RF from the site. should i have done something different?
- Attachments
-
- 5.JPG
- (19.42 KiB) Downloaded 1 time
-
- 3.JPG (30.39 KiB) Viewed 2782 times
-
- 2.JPG (8.23 KiB) Viewed 2782 times
Re: Problem with compile and preview
In the menu, select Project | Level Options and make sure your default.txl in the location where you installed RealityFactory. You might have to do this for each level that you open. For new levels, you should not have to do this.
Many Bothans died to bring you this signature....
Re: Problem with compile and preview
yea when i opened that up it was where it ought to be C:\ReailtyFactory\media\levels\default.txl...and i didn't even change anything...
Re: Problem with compile and preview
Aiite well thanks everyone for your help...i really appreciate it all. Um so the problem was in the rfedit pro.ini file...and it was looking for the files in the folder right above (..) and all i did was set a hard path to all the paths that began with .. by finding and replacing all. and that fixed it. Thanks once again. I hope i dont have more problems as i now set about building my games. Thanks.