Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Ayumi, howardR), 499 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: Black Screen when Test Runing in Lite-C [Re: Uhrwerk] #236867
11/16/08 22:03
11/16/08 22:03
Joined: Nov 2008
Posts: 20
D
deyshawn Offline OP
Newbie
deyshawn  Offline OP
Newbie
D

Joined: Nov 2008
Posts: 20
I use the Free Lite0C version of the a7 game engine. I did as you suggested in you last post, but that did not fix anything. I guess it is possible that the installation was corrupted, however, it runs the workshops fine.
I can only open the samples to the workshops, not the actual tutorials themselves. When I try, it says "there is a problem with your internet connection", but my internet connection is working. I wondering if the 2 problems are related. I downloaded both in the "Download" section of this site.

Re: Black Screen when Test Runing in Lite-C [Re: Uhrwerk] #236872
11/16/08 22:25
11/16/08 22:25
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline
Senior Member
sadsack  Offline
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Make sure you are using .c files, If you do not save your files like this
(filename.c) they will not save as a .c file. and when you try to run it you get a black screen.
renny

Last edited by sadsack; 11/16/08 22:25.

I have A7 Commercial .............. Now I just need to learn how to use it

Re: Black Screen when Test Runing in Lite-C [Re: sadsack] #236903
11/17/08 02:35
11/17/08 02:35
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Please try the following:
1. Open sed and create a new empty script.
2. Paste the follwing code into your empty script:
Code:
#include "acknex.h"
void main()
{
  printf("It's working! :-)");
}

3. Save the script on your desktop (or somewhere else you get fast access to) under the name "test.c". Make sure you select .c file as extension under the file name in the save dialog and type the .c at the end of the file name additionally.
4. Click the gears icon to go to the preferences.
5. Select the file test.c that you have just created as "File to run / publish".
6. Check the checkbox that says diag. After cheking it there should be "-diag" under command line options.
7. Close the dialog with the ok button.
8. Hit the black triangle in the top toolbar to launch the engine.
9. There should be a message box popping up. (If it doesn't there is something wrong. Just continue with 10. We'll try to fix that...)
10. Go to your desktop or whereever you saved the file and look for a file "acklog.txt".
11. Post the content of this file in this thread.


Always learn from history, to be sure you make the same mistakes again...
Re: Black Screen when Test Runing in Lite-C [Re: Uhrwerk] #237301
11/19/08 14:56
11/19/08 14:56
Joined: Nov 2008
Posts: 1
N
nebulus Offline
Guest
nebulus  Offline
Guest
N

Joined: Nov 2008
Posts: 1
Hi all,

Make sure you save your code with the .c at the end before you execute/compile it. Every time you make a change save it and the execute/compile. It works for me.

Re: Black Screen when Test Runing in Lite-C [Re: Uhrwerk] #238989
12/01/08 16:49
12/01/08 16:49
Joined: Nov 2008
Posts: 20
D
deyshawn Offline OP
Newbie
deyshawn  Offline OP
Newbie
D

Joined: Nov 2008
Posts: 20
Sorry I have replayed sooner. I will do as you say when I get to my computer.

Re: Black Screen when Test Runing in Lite-C [Re: sadsack] #239025
12/01/08 21:51
12/01/08 21:51
Joined: Nov 2008
Posts: 20
D
deyshawn Offline OP
Newbie
deyshawn  Offline OP
Newbie
D

Joined: Nov 2008
Posts: 20
I did all of your steps in order and it wouldn't run. Here's what the acklog said:

Log of Atari Lite-C 1.10.2 run at Mon Dec 01 16:47:55 2008
Jake on Windows NT/2000/XP version 6.0 Build 6000
Options test.c -eq -diag -te

App C:\Program Files\Lite-C\acknex.exe in C:\Users\Jake\Desktop\
MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened
(c)Conitec . Dieburg . San Diego . www.3dgamestudio.com
Atari Lite-C - Free Edition V1.10.2 - Jul 10 2008
Development version

Mouse found
Speakers (Realtek High Definition Audio) opened
Mobile Intel(R) 965 Express Chipset Family pure T&L device 1ff9 detected
D3D device Mobile Intel(R) 965 Express Chipset Family 1ff9 selected.
PATH C:\Program Files\Lite-C\code\
Compiling TEST.C - [Esc] to abort..
Error in 'MAIN' line 1: Include file acknex.h not found

< #include "acknex.h"
>

Error in 'MAIN' line 4: 'printf' undeclared identifier

< printf("It's working! :-)");
>
.. 0.003 sec
Can't compile TEST.C
Startup failure - any key to abort

Re: Black Screen when Test Runing in Lite-C [Re: deyshawn] #239032
12/01/08 23:15
12/01/08 23:15
Joined: Oct 2008
Posts: 67
pewpew Offline
Junior Member
pewpew  Offline
Junior Member

Joined: Oct 2008
Posts: 67
I have had a few problems loading levels. The problem was (and still is) directory issues. For some reason i couldnt leave the MODELS for a specific level in ANY other folder, than the location of the scripts themselves.

Try putting all required files into a same directory and see how you go..


HURRR DERP DERP DEERRPP HURR
Re: Black Screen when Test Runing in Lite-C [Re: pewpew] #239087
12/02/08 13:39
12/02/08 13:39
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
I am sorry. My fault. It has to be

Code:
#include <acknex.h>
#include <stdio.h>
void main()
{
  printf("It's working! :-)");
}



Always learn from history, to be sure you make the same mistakes again...
Re: Black Screen when Test Runing in Lite-C [Re: Uhrwerk] #239147
12/02/08 22:08
12/02/08 22:08
Joined: Nov 2008
Posts: 20
D
deyshawn Offline OP
Newbie
deyshawn  Offline OP
Newbie
D

Joined: Nov 2008
Posts: 20
Alrght, I did it again with the new code. Here are the results:

Log of Atari Lite-C 1.10.2 run at Tue Dec 02 17:06:48 2008
Jake on Windows NT/2000/XP version 6.0 Build 6000
Options test.c -eq -diag -te

App C:\Program Files\Lite-C\acknex.exe in C:\Users\Jake\Desktop\
MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened
(c)Conitec . Dieburg . San Diego . www.3dgamestudio.com
Atari Lite-C - Free Edition V1.10.2 - Jul 10 2008
Development version

Mouse found
Speakers (Realtek High Definition Audio) opened
Mobile Intel(R) 965 Express Chipset Family pure T&L device 1ff9 detected
D3D device Mobile Intel(R) 965 Express Chipset Family 1ff9 selected.
PATH C:\Program Files\Lite-C\code\
Compiling TEST.C - [Esc] to abort.. ...
_filbuf: function not found
_flsbuf: function not found. .. 0.168 sec
Running TEST.C.
2 objects
Main started
D3D_Init Window: 640x480 -> Window: 1x640x480x32
Video memory found: 248 MB
Main loop..........ok
1st frame - 253952K.. ok

Re: Black Screen when Test Runing in Lite-C [Re: deyshawn] #239311
12/03/08 22:00
12/03/08 22:00
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Excellent. You got it running. From here you can paste you own code line by line into the new file you just created. This way you can exactly identify the line that is causing the trouble.


Always learn from history, to be sure you make the same mistakes again...
Page 2 of 4 1 2 3 4

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1