"Nexuiz SVN Builds for Noobs" - MINGW simplified

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

"Nexuiz SVN Builds for Noobs" - MINGW simplified

Postby divVerent » Thu Oct 30, 2008 8:15 am

To make a svn build (newest development version, may be buggy, but your job is to find these bugs and report them), follow these steps:

1. Make sure you have about 2.5GB free space
2. Download http://rm.endoftheinternet.org/~nexuiz/ ... System.zip
3. Extract it to somewhere
4. Double click build.bat and wait one or two hours
5. Double click run-sdl.bat or run-wgl.bat to play

To update to latest svn:

1. Double click build.bat and wait some minutes
2. Double click run-sdl.bat or run-wgl.bat

It will go much faster, as most stuff won't need redownloading or recompiling.

Note that your config and dlcache will be saved in My Documents\My Games\nexuiz, and not in the nexuiz folder this script wrote. If you are not a developer, do not mess with these folders - there is no user editable .cfg or the like inside! Do your own stuff in My Documents\My Games\nexuiz instead! config.cfg for example will be in My Documents\My Games\nexuiz\data, and you'd also put your pk3s in that folder!
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby C.Brutail » Thu Oct 30, 2008 9:36 am

\o/

Rudolf is teh 1337!!!
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby divVerent » Thu Oct 30, 2008 1:06 pm

If anyone got it working, please post, as I'd like to know if it works on any other than my own machine now.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Shoe » Thu Oct 30, 2008 3:44 pm

Last night I had actually started work on my own version of this... though I had only gotten the NSIS installer to work as I wanted (basically instead of trying to track down the different licenses and such I just had it download the SVN client, MiniGW and fteqcc and let them do their own installers, then do the install and start menu shortcuts).

Oh well, I just got beat to the punch :) I'm going to let it run now while I go to classes, I'll update when I get back if it works or not. Thanks for making this, div :)

edit: Hmm, got an error. Running on Vista Business 32-bit, I got a window that said "sh.exe has stopped working." It gave me these problem details:
Code: Select all
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   sh.exe
  Application Version:   0.0.0.0
  Application Timestamp:   3946e1f6
  Fault Module Name:   ntdll.dll
  Fault Module Version:   6.0.6001.18000
  Fault Module Timestamp:   4791a7a6
  Exception Code:   c0000005
  Exception Offset:   00043387
  OS Version:   6.0.6001.2.1.0.256.6
  Locale ID:   1033
  Additional Information 1:   ceba
  Additional Information 2:   6656e349cd2db8d30a374eb910046ad1
  Additional Information 3:   1208
  Additional Information 4:   5f2192fca0614f88193ae96ab521754d


This is the output in the DOS window around the crash:
Code: Select all
make bin-debug \
DP_MAKE_TARGET=mingw DP_SOUND_API=WIN \
EXE="darkplaces.exe" LDFLAGS_COMMON="-lws2_32 -Wl,--large-address-aware -mwindow
s -lwinmm -luser32 -lgdi32 -ldxguid -ldinput -lcomctl32" LEVEL=1

abnormal program termination
C:\Users\Stuart\AppData\Local\Temp\make23843.sh: fork failed: no error [1]
make bin-debug \
DP_MAKE_TARGET=mingw DP_SOUND_API=WIN \
EXE="darkplaces-sdl.exe" LDFLAGS_COMMON="-lws2_32 -Wl,--large-address-aware `sh
../SDL/bin/sdl-config --libs` `[ -n "" ] && echo \ /libmodplug.a\ -lstdc++`" LEV
EL=1

abnormal program termination
C:\Users\Stuart\AppData\Local\Temp\make23844.sh: fork failed: no error [1]
make[1]: *** [sdl-debug] Error 1
make[1]: Leaving directory `E:/nexuiz-svn/darkplaces'
make: *** [debug] Error 2
An error has occurred (see above).
Press any key to continue . . .


Hopefully this helps.
Shoe
Keyboard killer
 
Posts: 517
Joined: Wed Mar 08, 2006 2:18 am

Postby divVerent » Thu Oct 30, 2008 3:53 pm

Not at all, as I did not write this sh.exe. Can you try sh.exe, make.exe and rm.exe from other sources (e.g. gnu win32) and put them in unxutils/usr/local/bin?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Urmel » Thu Oct 30, 2008 6:56 pm

hi div, I managed to follow all the steps you told me and it worked like a charm. :D

The whole thing was done after about 30 minutes.
uncomfortable
random
mean
embarrassing
limited
Urmel
Forum addon
 
Posts: 1744
Joined: Fri Mar 03, 2006 10:06 am
Location: Offline

Postby GreEn`mArine » Thu Oct 30, 2008 8:17 pm

works fine on my windows XP x64

thanks a lot for this! I really appreciate this ;)
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby Dokujisan » Thu Oct 30, 2008 9:19 pm

ahh, I gotta try this when I get some time later on.

This is cool :-)
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby divVerent » Fri Oct 31, 2008 7:14 am

I am currently in the process of replacing the unxutils files by msys files, which should fix the issue on Vista.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby divVerent » Fri Oct 31, 2008 9:26 am

Shoe wrote:edit: Hmm, got an error. Running on Vista Business 32-bit, I got a window that said "sh.exe has stopped working." It gave me these problem details:
Code: Select all
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   sh.exe
  Application Version:   0.0.0.0
  Application Timestamp:   3946e1f6
  Fault Module Name:   ntdll.dll
  Fault Module Version:   6.0.6001.18000
  Fault Module Timestamp:   4791a7a6
  Exception Code:   c0000005
  Exception Offset:   00043387
  OS Version:   6.0.6001.2.1.0.256.6
  Locale ID:   1033
  Additional Information 1:   ceba
  Additional Information 2:   6656e349cd2db8d30a374eb910046ad1
  Additional Information 3:   1208
  Additional Information 4:   5f2192fca0614f88193ae96ab521754d


This is the output in the DOS window around the crash:
Code: Select all
make bin-debug \
DP_MAKE_TARGET=mingw DP_SOUND_API=WIN \
EXE="darkplaces.exe" LDFLAGS_COMMON="-lws2_32 -Wl,--large-address-aware -mwindow
s -lwinmm -luser32 -lgdi32 -ldxguid -ldinput -lcomctl32" LEVEL=1

abnormal program termination
C:\Users\Stuart\AppData\Local\Temp\make23843.sh: fork failed: no error [1]
make bin-debug \
DP_MAKE_TARGET=mingw DP_SOUND_API=WIN \
EXE="darkplaces-sdl.exe" LDFLAGS_COMMON="-lws2_32 -Wl,--large-address-aware `sh
../SDL/bin/sdl-config --libs` `[ -n "" ] && echo \ /libmodplug.a\ -lstdc++`" LEV
EL=1

abnormal program termination
C:\Users\Stuart\AppData\Local\Temp\make23844.sh: fork failed: no error [1]
make[1]: *** [sdl-debug] Error 1
make[1]: Leaving directory `E:/nexuiz-svn/darkplaces'
make: *** [debug] Error 2
An error has occurred (see above).
Press any key to continue . . .


Hopefully this helps.


Try redownloading, I am using MSYS's sh.exe now.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron