Page 1 of 1

build game malfuntion

Posted: Mon Mar 13, 2006 8:19 pm
by legivorden
I created a level named luketest.3dt.


I tested the level and it ran good.


I tried to build the game and it said that the followin files could not be found:

glidedrv.dll
softdrv.dll
softdrv2.dll
vorbisfile_d.dll
vorbis_d.dll
ogg_d.dll
Mfc42.dll
Msvcrt.dll
coldet.dll
uninstall.exe
videosetup.exe
rflogo.bmp
startup.wav
a_lvlsmoke.bmp
lvlsmoke.bmp
a_bubbl.bmp
loopbzzt.wav
onebzzt.wav
luketest.bsp

I then got a dialog box that had a red circle with a white "X" that said "Finished Creating Game".

I then tried to run the game and when I double clicked on the "RealityFactory.exe" in the "GameBuilder" dir.

It gave a black screen with nothing on it and Nothing on it then went back to the desktop.

I thought that it was because the builder didnt see the files it needed.

I copied the dir structure form the "Reality Factory" dir and pasted in the "GameBuilder" dir and then tried to run the game.

Got the same thing.

I checked the D3DDrv.log and it said the following:
=================================================================
D3DDrv v100.3
Build Date: Mar 10 2005, Time: 19:28:38
=================================================================

Current Time: 19:35:53
Current Date: 3-13-2006

** D3D Driver Initializing **

--- D3DMain_CreateDDFromName ---
Name: Primary Display Driver
DDCAPS2_CANRENDERWINDOWED : YES
DDCAPS2_NO2DDURING3DSCENE : NO
DDCAPS2_FLIPNOVSYNC : YES
--- D3DMain_GetTextureMemory ---
Ram free: 93084412
--- D3DMain_RememberOldMode ---
--- D3DMain_EnumDisplayModes ---
--- D3DMain_CreateD3D ---
--- D3DMain_EnumDevices ---
--- D3DMain_SetDisplayMode ---
W: 800, H: 600, Bpp: 16, FullScreen: YES
--- D3DMain_PickDevice ---
D3DTEXOPCAPS_BUMPENVMAP : NO
D3DTEXOPCAPS_BUMPENVMAPLUMINANCE: NO
D3DTEXOPCAPS_DOTPRODUCT3 : YES
--- D3DMain_CreateBuffers ---
Back Buffer Count = 2
--- D3DMain_CreateZBuffer ---
EnumZBufferFormats: StencilBitDepth>=8... can do 8bit stencil buffer
ZBuffer Depth Available: 16-bit (YES), 24-bit (YES), 32-bit (NO),
ZBuffer Depth: 16, ZBuffer in Video: YES
--- D3DMain_CreateDevice ---
D3DMain_CreateDevice: lpD3D->CreateDevice failed:
Generic failure.
** Initialization was NOT successful **

--- D3DMain_ShutdownD3D ---
Shutdown was successful...

I do have the patch installed to update from the 072a to 075.

Posted: Tue Mar 14, 2006 2:22 am
by hike1
RF FAQ http://terrymorgan.net/rffaq.zip


Demos http://terrymorgan.net/download.htm

Gamebuilder doesn't work!

Realityfactory.exe is the built game, you don't have to
build any .exe's.

Check out the new Asylum demo
http://terrymorgan.net/asylum.htm

Posted: Tue Mar 14, 2006 4:13 am
by incenseman2003
What gave you the impression that legivorden was trying to build the exe? Seems to me that he meant that he is trying to save the game so that it is a stand alone and he can give it to others on a CD to play without the use of the reality fatory game builder.
I have had the same issue. I know exactly what he is saying and I havent found an answer yet on the forum or in the online help or in the tutorials. I finally did get the game builder to work but I would like to know how to keep the demo out of my game menu. When I build the game and run it I choose the guy in the grey shirt and I end up in the game I built. If I choose the guy in the red shirt then I end up in the demo that came the Reality Factory game maker.

Does anyone know how to keep this from happening?

Posted: Tue Mar 14, 2006 7:12 am
by legivorden
thank you hike 1 and yes i have seen that asilum thing . incenstman has hit the nail right on the head of what i am trying to do i built luketest to test out one of the features in reality factory . in this case the game builder program .
if he has gotten it to work then that is realy cool . im no good at figering out technical dificultys with these type of things . and dose any one know of a way to build a stand alone game ? is there any compiler programs out there that will acomplish this task and build the games that i create ? i realy like this program its seems to be much better and much more capable than any other program that i have tried to use . im still a big time newbe at game building but i love games and i want to make them .

Posted: Tue Mar 14, 2006 11:59 am
by Juutis
Hike1 wrote:
Realityfactory.exe is the built game, you don't have to
build any .exe's.
Now, what part of this you didn't understand? :D

RealityFactory.exe really is the stand alone game and you don't have to compile anything. (Exept if you modify the source code)

If you create a game with Realityfactory there's no need to "build the games that you make" with some other program. When you're finished with your game just put the Realityfactory to a zip archive or find an installer program and voĆ­la, it's ready to be distributed!

Posted: Tue Mar 14, 2006 12:43 pm
by QuestOfDreams
It's all there in the docs, you just have to read :roll:

http://dhost.info/realityfactory/online ... tarted.htm
Making a Demo
Making a demo or a complete game with Reality Factory is easy. Just create a "minimum installation" - a set of directories containing only the files necessary to run Reality Factory. Then you'll need to add the rest of you game contents - levels, actors, sounds, bitmaps, and video files used by your game.

To put together a demo or a game with Reality Factory, first build your game in the standard Reality Factory directories. Then, move your files to the "minimum installation" directory and test them. Set up Reality Factory so it reflects the correct settings for your game. This means using the IniEditor to pick the correct opening splash or cut scene, menu.ini file and all the rest. Make sure your levels run properly and that they have all been compiled. Then use the VFS Explorer to locate the files that comprise your game and place them in a single VFS file.

Your game is now ready to be distributed, using a ZIP file or one of the many installer programs available on the web.

Posted: Tue Mar 14, 2006 5:56 pm
by GD1
plain and simple, you don't need GameBuilder. Making a game with Reality Factory is somewhat like making a mod. RF is the game, all you do is replace the content to make it uniquely your own. There's no compiling (except in the level editor).

GameBuilder doesn't work, it never really did, and i honestly don't know why it's still included with the install. Originally it was meant to pack all the files you needed into a seperate directory for your game, but it misses half the files.

Posted: Wed Mar 15, 2006 1:15 pm
by incenseman2003
hike1 and GD1,

Thanks for the info on the game builder.


QuestOfDreams.

Your patience is greatly apreciated.


Juutis,

You may be correct at any given time about this or that, but there is no need to be condescending. (No atitude intended).

The information that tells how to use RF to build and distribte games is here somewhere, but it is not all in one spot.

I evidently missed some somewhere.

The phraze "Realityfactory.exe is the built game, you don't have to
build any .exe's." is just that.

It doesnt give any details at all.

GD1 explained it with detail (Tue Mar 14, 2006 5:56 pm). Now I understand.

the documentation is very difficult to get through, and doesnt answer as many questions as it is believed to. It also gives detail on some things and then no detail on other things (it really needs a text search feature). Some things just arent obvious. Im trying to get weapons to work I got the weapons tutorial and set up the weapon that came with RF just like the one in the tutorial and I can pick it up but it wont show in the players hands and it wont fire. This might be in the manual but I havent found it yet. I found the page about weapons but this information is just not there. I had it working once and then applied the patch. Discovered it did work and then redid the level. Still no hud and no fire.

If I said for you to come to my house in PA, and didnt give you any information other than the fact that it was in PA, would be able to find it? I will answer that for you. The answer is no.

I understand that there are naturally angry people in the world. If you are one of them please try to understand that sometimes it might make you look a little silly, just as my iggnorance in RF does me. Just ask yourself if the fact that I understand anything influences your life at all. The answer would have to be no. It doesnt draw resources away from you. It doesnt make you stand in line. It doesnt interfere with your daily plans. So all your really doing is taking the time out of your day to vent by trying to make someone else look stupid. You have failed at that. If I look stupid it is because I failed to see some things. It had nothing to do with you.

Please understand that I have no bad feeling toward you at all. I am not angry or offended. I just want you to know that you didnt have to be that way toward me.

Thank you for your time.

Posted: Wed Mar 15, 2006 2:00 pm
by AndyCR
on a side note, i made a barebones weapon example, you can find it in general topics.

Posted: Wed Mar 15, 2006 2:38 pm
by Juutis
By the way, when I started with RealityFactory a couple of years ago I was just as clueless as you. :D

It took me a long time to get the idea that you just have to replace and modify the files that come with RealityFactory. That time I wasn't aware of these forums and man, it really was frustrating. But by time I have learned at least the basics of RF. :)

O well... just wanted to say I've been like you once and you can't be a professional at every new thing immediately.

Posted: Wed Mar 15, 2006 3:51 pm
by hike1
search 'demo'

Line 3376


http://terrymorgan.net/rffaq.zip

A. I spent about a week trying to put the Asylum Demo in a
separate directory from Reality Factory Standard, it can't be
done. The only way it ran was to manually, painfully add all the
Asylum-specific stuff (this is out of a 1.2 GB) directory to either the
RF subdirectories or the Pack.vfs file. Some of them had to be in BOTH
places before the game ran.


line 4185

Q. What's the easiest way to make a demo?

A. One method that makes it easier to do a demo is to have a different
install of RF for each demo you are making. Use the minimal install
and copy over the latest Exe and any new dlls from the updates.
Also copy over the Tools directory. Then add your resources to
this install and make your demo there. At the end you'll end up
with a version of RF that only contains your demo and none
of the other junk. Delete the Tools directory and your demo is
ready to package. Not the perfect method but the best avalible
to us at the moment. Of course, this doesn't solve the problem of
figuring out which of your resources (out of all your total resources)
are actually used in your demo.