Page 4 of 5

Re: game won't start

Posted: 08 Jan 2007, 23:32
by DevUrandom
Jup, that was expected... Warzone should be compiled completely by now. That you can't create an installer shouldn't hurt much...

PS: I have one question: Were you able to compile the Lex/YaCC files correctly with Bison 2.1??? Because when I last tried I wasn't able and had to use 1.8 instead, but in the compilation guide apparently 2.1 is suggested...

PPS: Links in the compilation guide updated (devpkg and TortoiseSVN).

Re: game won't start

Posted: 08 Jan 2007, 23:43
by Sento
wz:         Warzone 2100 - Version TRUNK - Built Jan  8 2007
wz:         Compiled against PhysFS version: 1.0.1
wz:         Linked against PhysFS version: 1.0.1
wz:         Write dir: D:\Dokumente und Einstellungen\andreas\Eigene Dateien\Warzone 2100\
wz:         Base dir: E:\cvs\warzone\test_build\
wz:         Loading the registry from config
wz:         Parsing the registry from config
error:      Registry file config is empty!
wz:         Saving the registry to config
wz:         We are to write (config) of size 0
wz:         Successfully wrote to D:\Dokumente und Einstellungen\andreas\Eigene Dateien\Warzone 2100\\config with 0 bytes
wz:         registerSearchPath: Registering D:\Dokumente und Einstellungen\andreas\Eigene Dateien\Warzone 2100\ at priority 2
wz:         rebuildSearchPath: Cleaning up
wz:         rebuildSearchPath: Switching to multiplay mods
wz:         registerSearchPath: Registering E:\cvs\warzone/data/ at priority 3
wz:         rebuildSearchPath: Cleaning up
wz:         rebuildSearchPath: Switching to multiplay mods
wz:         Search paths:
wz:             [D:\Dokumente und Einstellungen\andreas\Eigene Dateien\Warzone 2100\]
wz:             [E:\cvs\warzone/data/\mp]
wz:             [E:\cvs\warzone/data/\mp.wz]
wz:             [E:\cvs\warzone/data/\]
wz:             [E:\cvs\warzone/data/\warzone.wz]
wz:         gamedesc.lev found at E:\cvs\warzone/data/\
main:       reinitializing
net:        NETinit
never:      NETPLAY: Init called, MORNIN'

lol okay where can i find the programmpart that write the registry to config

----
DevUrandom wrote:
PS: I have one question: Were you able to compile the Lex/YaCC files correctly with Bison 2.1??? Because when I last tried I wasn't able and had to use 1.8 instead, but in the compilation guide apparently 2.1 is suggested...
it compiled all files correctly with bison 2.1 there were only some deprecated messages and warnings

Re: game won't start

Posted: 09 Jan 2007, 00:23
by DevUrandom
Start by having a look into src/configuration.c : saveConfig()
You will end up in lib/framework/configfile.c : registry_save()

Re: game won't start

Posted: 09 Jan 2007, 01:45
by Sento
i took a look on it but im not really sure where the problem is.
Did you ever try to move the config and let the programm recreate it?
I ask myself why the problem is only on my pc and not on others.
Maybe because of the amd prozessor or because of win xp? Hard to imagine...

Re: game won't start

Posted: 09 Jan 2007, 18:40
by DevUrandom
I'll have a look later. Probably need to switch over to WinXP...

Re: game won't start

Posted: 11 Jan 2007, 05:11
by tuant20
To Sento: here is the compiled file 2.0.5 with the original dev package and the MSVC's project configuration file in case you want to compile it yourself (you have to change the path to the include and lib dir according to your build environment)
Following the instruction to setup the data in http://wz2100.net/wiki/user:the_.wz_files
Try it and tell me if there is any doubt.
Good luck

Re: game won't start

Posted: 11 Jan 2007, 08:24
by Sento
thankyou tuant20, i tried it now but the problem is the same, i give up seems like without a backtrace theres no chance for me to get it running :(
@ the config i wrote a conf file myself just to chaeck what he do:
wz:        Loading the registry from config
wz:        Parsing the registry from config
wz:        Saving the registry to config
wz:        We are to write (config) as (config) of size 208
wz:        Successfully wrote to D:\Dokumente und Einstellungen\andreas\Eigene Dateien\Warzone 2100\\config with 208 bytes

maybe normally the config is written later in the program and the fils are only reading it at this time so that there is no problem

Re: game won't start

Posted: 11 Jan 2007, 08:49
by tuant20
You may try this approach: uninstall everything related to wz, clean settings and configuration things, reinstall the binary installer which can download at http://download.gna.org/warzone/release ... -2.0.5.exe
In this case, if the problem exists, then you can make sure the problem isn't in the warzone's source. Otherwise, we can try more.

Re: game won't start

Posted: 11 Jan 2007, 12:26
by Sento
@ tuant20
the thread is now 4 pages long i uninstalled and installed it sure 3-4 times now in different compiles, the rc1 and the normal, two selfcompiled ( mine gcc and yours) and so on ;)

@ linux
i  intensed my concentration on linux, and found out that i used the mesa driver not the flgrx and so software rendering ;) It was just updating the xorg.conf.

please update the wiki a little there stands only "update drivers", but no manual how to do it or how to find out if its nessecery.

the manual could look like (if i made a mistake iike this command is only useful when using a radeon please correct it):

Use the command:
glxinfo
if the third line looks like  "direct rendering: no" a installation of new drivers is most likely necessary

and then give links to driver manuals (maybe in a new wiki page)
as exempel the best manual i found:
ati-drivers Ubunutu German http://wiki.ubuntuusers.de/ATI-Grafikkarten/fglrx
and then ask peaople that find a good manual for theyr system to add the link, so it will be a link collection after and after, and very useful for linux noobs ;)

Re: game won't start

Posted: 11 Jan 2007, 16:22
by DevUrandom
Yup, the graphics-drivers-on-linux check and link to tutorial seems a good. Just don't have time to write it. But as you have a forums account, Sento, you could actually do it yourself. :)

Re: game won't start

Posted: 11 Jan 2007, 16:35
by Sento
okay i will do it and you can take a look on it. My english is not the best so it may do mistakes

---

done
http://wz2100.net/wiki/faq

Re: game won't start

Posted: 12 Jan 2007, 01:11
by DevUrandom
Thanks!
I edited it a bit...
(http://wz2100.net/wiki/linux_drivers)

Re: game won't start

Posted: 12 Jan 2007, 23:56
by Troman
DevUrandom wrote: PS: I have one question: Were you able to compile the Lex/YaCC files correctly with Bison 2.1??? Because when I last tried I wasn't able and had to use 1.8 instead, but in the compilation guide apparently 2.1 is suggested...
If we are talking about windows compilation guide it's not 2.1 that is suggested, it is 1.875-4.
2.1 will not work, looks like it is a bit buggy.

Re: game won't start

Posted: 13 Jan 2007, 08:49
by Sento
i used the Flex 2.5 and Bison 2.1 from the wiki ( http://wz2100.net/wiki/user:windows_compile_guide ) together with mingw and i got it compiled. But i cannot say if the programm works.

Re: game won't start

Posted: 13 Jan 2007, 14:25
by DevUrandom
That's weird... When I tried with 2.1, it did certainly not create compileable C code. And Troman probably noticed the same...
Could it be that the problem is that 2.1 doesn't create code which compiles with MSVC, but does fine with GCC?
Because I did only test it with MSVC...