OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: Case on March 25, 2009, 09:47:36 PM



Title: what went wrong?
Post by: Case on March 25, 2009, 09:47:36 PM
wtf is up with this? I built from svn and this is what I got
(http://i41.tinypic.com/1ovxq1.jpg)
Is it because I didn't zip the pk3s? I just moved everything from the modSDK build/ directory to the engine

please help


Title: Re: what went wrong?
Post by: Case on March 26, 2009, 07:37:20 AM
after running the make in modSDK I just copied everything over to the engine, here's a ls output http://rafb.net/p/nsi4Vc97.html (http://rafb.net/p/nsi4Vc97.html) should I have done this? am I missing a step?


Title: Re: what went wrong?
Post by: sago007 on March 26, 2009, 09:09:21 AM
Have you deleted the any of the pk3 files?

Here is how I do it:
1. Create a folder called "mymod" next to "baseoa"
2. zip the vm folder in build/release*/baseq3/
3. copy the zip file to mymod and rename the file to mymod.pk3
4. start the engine with "+set fs_game mymod"

This is the exact command use for the elimination mod (paths needs to be changed):
Code:
make && cd build/release-linux-x86_64/baseq3 && rm vm/vm.d && zip -r /mnt/winG/games/openarena-0.8.1/elimination/elimination.pk3 vm && /mnt/winG/games/openarena-0.8.1/openarena.x86_64 +set fs_game elimination +set debug 1 +set sv_pure 0

Explanation:
make // Build the qvm files

cd build/release-linux-x86_64/baseq3 // Go to the location of the vm directory

rm vm/vm.d // Useless file created on some systems

zip -r /mnt/winG/games/openarena-0.8.1/elimination/elimination.pk3 vm // zip the vm directory and place it in the mod folder

/mnt/winG/games/openarena-0.8.1/openarena.x86_64 +set fs_game elimination +set debug 1 +set sv_pure 0 // Run the game. debug and sv_pure is optional but useful

I think the script is included in the modSDK as "supermake"


Title: Re: what went wrong?
Post by: Case on March 26, 2009, 09:20:23 PM
I think I get it now (but have yet to try). modSDK wasn't something I needed. It seems like the content of the game is on the top level of the repo, I get that now. So i'll try zipping those dirs up hopefully that will work.


Title: Re: what went wrong?
Post by: sago007 on March 26, 2009, 09:45:31 PM
If you are talking about the media then there is a "buildpk3nix.sh" in svn to create the pk3 files.