Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Zorchenhimer

Pages: [1] 2 3 ... 176
1
Paintball 2 Discussion / Re: Move source to GitHub
« on: October 03, 2015, 06:37:04 PM »
I fully support this.  It would be rather easy to do too.  After a repo is created on GitHub (replace repo url if necessary):

Code: [Select]
$ git clone http://git.zorchenhimer.com/paintball2/paintball2.git
$ git remote add github git@github.com:jitspoe/paintball2.git
$ git push github master

Or, if you want to generate the history from CVS yourself (The cvsimport will take a while.  Grab a coffee.):
Code: [Select]
$ git cvsimport -d :pserver:anonymous@paintball2.cvs.sourceforge.net:/cvsroot/paintball2/ -C paintball2 paintball2
$ cd paintball2
$ git remote add github git@github.com:jitspoe/paintball2.git
$ git push github master

This can be done on Windows or Linux.  On windows, open up a Git Bash session (there's a menu icon for it in GitExtensions) and type/copy-paste the commands there.  It's also possible to do it through the gui (sans cvsimport, iirc), but it's just easier to explain this way.

2
Paintball 2 Discussion / Re: Steam Grid Images
« on: September 08, 2015, 12:22:39 PM »
Yea, I know.  You can still add it as a shortcut in Steam though.  You'll even get the overlay if you start it via Steam.

3
General Development / Re: Sourceforge died.
« on: September 01, 2015, 11:42:24 PM »
That's just a Git Extensions thing.  Idk why it does that.  Actually, I can't get it to do that for me.

4
Paintball 2 Discussion / Steam Grid Images
« on: August 29, 2015, 04:36:41 PM »
Was bored today so I made two steam grid images for DP.  Thought I'd share.

5
Anyone can make a translation.
Just edit pball/menus/*.*

Here's what happens when you try to use Russian text:



I've attached the menu file if you want to see for yourself.

6
Other Stuff / Re: Anybody going to PAX?
« on: August 18, 2015, 02:36:52 PM »
I've gone to PAX East the past few years.  This past year was the first year I didn't cosplay.

7
General Development / Re: Sourceforge died.
« on: July 30, 2015, 09:45:07 PM »
This is what happened there: http://www.badgertronics.com/writings/cvs/keywords.html

Lolwut?  The fact that CVS would even need this makes me laugh a bit.  Jitspoe, please abandon CVS. :x

8
General Development / Re: Sourceforge died.
« on: July 30, 2015, 04:40:28 PM »
Then, i diffed them with winmerge which gave me three files that were different:

refgl/glidesys.h
refgl/glideutl.h
refgl/sst1vid.h

In all three, just the $HEADER line was changed from /cvsroot/paintball2/paintball2/ref_gl/filename to /cvsroot-fuse/paintball2/paintball2/ref_gl/filename.
Since that is inside a comment, it should not do any harm.

And that right there makes me a suspicious.  Is CVS modifying these files?  None of the versions of these files in git has the "/cvsroot-fuse/" version.  The last time these lines were ever touched in a commit was nine years ago (twelve for sst1vid.h).  When was this change made?  When the repo was restored from a backup?  Source control should never be modifying the source on its own.

The fact that anything is different from what was pulled two weeks ago raises flags.  In fact you've convinced me that SourceForge cannot be trusted with the source tree.  Especially if it's hosted in CVS.

9
General Development / Re: Sourceforge died.
« on: July 29, 2015, 11:47:10 PM »
The CVS repository is back up on sourceforge, see http://paintball2.cvs.sourceforge.net/viewvc/paintball2 , but currently I still can't do a checkout. I guess it will be completely usable again in the next 24h.

At this point I don't know if I'd trust that the CVS source tree is free of data corruption.  There is no data validation in CVS whatsoever.  Git on the other hand uses sha1 hashes to identify commits.  If you can verify that the commit hash is correct (40 characters), you can be sure that the commit you are looking at is valid as well as the entire history connected to that commit.  Relevant part of Linus' talk: https://youtu.be/4XpnKHJAok8?t=56m20s

10
General Development / Re: Sourceforge died.
« on: July 24, 2015, 04:14:34 AM »
"In Git your working copy is a clone of the entire repository."

Ugh... that's one of the things that turned me off from SVN.  Super bloated, especially if you have a large project with a lot of history.  Takes up massive amounts of disk space.

The only repo I've seen that's borderline unmanageable due to its size is the unreal engine at ~27k commits and 13 branches.

I'm not very good at describing it's strong points against CVS though, only because I've never really used CVS.  Linus Torvalds has a really good talk at Google about CVS and Git if you have about an hour to spare: https://youtu.be/4XpnKHJAok8

He goes over the whole distributed architecture of git, why it's a good thing, and why CVS is terrible.

Edit:
Btw, the repo for paintball is really small.  The git stuff is only 4Mb (paintball2/.git/).

Code: [Select]
$ du -hd 1
1.3M ./tools_src
2.0M ./serverbrowser
9.7M ./paintball2
13M .

$ du -hd 1 paintball2/
56K paintball2/extern
256K paintball2/linux
4.1M paintball2/.git
128K paintball2/game
844K paintball2/client
24K paintball2/a3d
208K paintball2/server
16K paintball2/xfire
2.2M paintball2/ref_gl
292K paintball2/qcommon
168K paintball2/bots
1.4M paintball2/win32
9.7M paintball2/

11
General Development / Re: Sourceforge died.
« on: July 23, 2015, 02:48:56 AM »
Wow, that's a pretty serious blow to sourceforge, since it seems like it was already on a downhill trend.

What are the advantages to git?  I've heard it's kind of awkward to use but I've never used it myself.  CVS was super simple with TortoiseCVS -- I'd just right click on the files/directories in explorer and submit/sync/whatever.

I could never really figure out CVS/SVN, not that I've tried really hard.  However I hear that branching/merging is a nightmare.  Branching and merging in git is really smooth, and it can handle three way merges pretty well.  Once I learned how to use git I started to use it for all my projects.  Git has many advantages, one being that there is no need for a central dedicated server for repos.  Everyone who clones/checkouts a repo has a full copy of it including the history.  When I found out that my Git repo on sourceforge was wiped, I simply pushed to it from my local machine and I've got the full commit history again on sourceforge.

For some detailed stuff see here: https://gist.github.com/btilford/716213

There are a few tools for git (including first party plugins for Visual Studio 2015, if you use that), but the one I use the most on Windows is GitExtensions.  The web view stuff is managed with cgit for the front-end and gitolite managing the repos and user permissions.

Thanks for creating the mirror.  We might need it.  I'll see if they manage to get everything restored -- looks like they're actively working on it.

I've been meaning to ask about this for a while, and sourceforge taking a dive prompted me to stop procrastinating.  I've heard some rumors about their backend, and it doesn't sound good.  If you want, you can send me your public key and I can give you write access to the git repo.

12
General Development / Sourceforge died.
« on: July 22, 2015, 03:57:13 PM »
It looks like SorceForge took a dive last week and it still isn't fully recovered.  This means that the CVS repository is inaccessible (link).  The one project I had on SourceForge had its Git repository wiped and I'm still waiting to see if the SVN version ever comes back up.

I fear that the CVS repository for Paintball has been lost.  Normally that would be horrible, but I had started to mirror the repository on my Git server (link) sometime last month.  The last commit I have is from the day before everything hit the fan (2015-07-14), nothing is actually lost even if SourceForge never restores itself.

I guess the reason I'm making this post is to ask weather or not Jitspoe has considered moving the code to a Git repository.  Maybe now would be a good time to consider moving away from SourceForge to something a bit better?

13
Other Stuff / Re: What Anime/Manga do you read/watch?
« on: February 11, 2015, 02:26:06 AM »
I haven't seen this, but if you want feels: Ano Hi Mita Hana no Namae o Bokutachi wa Mada Shiranai

Good god the feels.  That is the only show that's ever made me tear up.

14
Server Discussion / Re: Amazon EC2 for Dedicated Paintball2 Servers?
« on: February 04, 2015, 03:18:47 AM »
BuyVM also has been a reputable provider for a number of years, and also offers $15 servers in the U.S. and Europe. Visit http://www.buyvm.net.

I manage five VPS boxes from BuyVM, and the only issues I've had were my own fault (like accidentally DDoSing myself).  One box runs a webserver and IRC client, another runs a small FTP fileserver, a storage VPS runs an IRC XDCC bot, and the last two I use as seedboxes.

All their plans come with one IPv4 address and a choice of either sixteen IPv6 addresses or an entire /64 subnet.

15
Anyway, i recall some of the reason about why PB can't get on steam, one of them being implementation of steam UI. Its pretty easy to stream PB using steam. And gives you pretty cool quality, one that made me fix my OBS settings and finally figure them out. That being said, steam has it somehow figured out and when i added paintball2 as non-steam game i was able to use steam UI without any problems, so the implementation shouldn't be an issue.
Just wanted to throw it out here and if anyone wants to get into streaming, I guess steam provides the most user-friendly interface and is really easy to use.

It's from a few years ago, but I think this is still relevant.  From a thread about Steam Greenlight:

Pros:
- Could help increase popularity of the game.

Cons:
- Might be some awkward legal/licensing issues.
- Development time will likely increase to do steam integration.
- Cost?

Still might be worth looking into.

16
Help and Support / Re: 4k res support.
« on: July 24, 2014, 03:17:21 AM »
A lot better than both my screens put together *

:(

17
Paintball 2 Discussion / Re: Gun side Script
« on: July 23, 2014, 02:54:35 AM »
These scripts should still work.

bind "f" "hand2"
alias hand0 "hand 0;echo R;bind f hand2l"
alias hand1 "hand 1;echo L;bind f hand2"
alias hand2 "hand 2;echo C;bind f hand0"
alias hand2l "hand 2;echo C;bind f hand1"

bind "l" "ms"
alias ms "bind a +msl;bind d +msr;echo MS;bind l ms2"
alias msl "hand 1 ;bind a +moveleft"
alias msr "hand 0 ;bind d +moveright"
alias noms "bind a +moveleft;bind d +moveright;echo MS off;bind l ms;bind mouse3 jumper"
alias -msr "-moveright"
alias +msr "hand 0;+moveright"
alias -msl "-moveleft"
alias +msl "hand 1;+moveleft"
alias ms2 "bind d +ms2r;bind a +ms2l;echo MS2;bind l ms2x"
alias +ms2r "hand 0;+moveright"
alias -ms2r "hand 2;-moveright"
alias +ms2l "hand 1;+moveleft"
alias -ms2l "hand 2;-moveleft"
alias ms2x "bind d +ms2rr;bind a +ms2rl;echo MS2X;bind l ms3"
alias +ms2rr "hand 1;+moveright"
alias -ms2rr "hand 2;-moveright"
alias +ms2rl "hand 0;+moveleft"
alias -ms2rl "hand 2;-moveleft"
alias ms3 "bind a +ms3l;bind d +ms3r;echo MS3;bind l noms;bind mouse3 ms3"
alias +ms3r "hand 0;+moveright;bind a +moveleft"
alias -ms3r "-moveright"
alias +ms3l "hand 1;+moveleft;bind d +moveright"
alias -ms3l "-moveleft"

F cycles through the hands (ping-pong style, iirc).  L cycles through the different modes for switching depending on which way you're moving.

18
Help and Support / Re: 4k res support.
« on: July 14, 2014, 02:50:43 PM »
2560x1440

That's 1440p, roughly half the resolution of 4k.

Quote from: https://en.wikipedia.org/wiki/4K_resolution
4K has become the common consumer friendly name for ultra high definition television (UHDTV) but technically it is not 4K. Consumer 4K resolution of 3840 x 2160 (at a 16:9, or 1.78:1 aspect ratio) differs from the industry standard of 4096 x 2160 (at a 1.9:1 aspect ratio).

19
Other Stuff / Re: Who are YOU?!! (With pictures!)
« on: February 23, 2013, 06:35:03 AM »
Why would that matter if you've got nothing to hide?

It matters a lot, actually. https://www.google.com/search?btnG=1&pws=0&q=i've+got+nothing+to+hide

Everyone has something to hide, even if they don't think so.

20
Help and Support / Re: Digital Paintball 2 texture problem
« on: February 19, 2013, 10:50:09 PM »
You can't legally distribute the Quake game resources like that due to copyright.  Go find a copy of Quake II on steam or ebay or something and you can get the files for the textures.

Pages: [1] 2 3 ... 176