Vidya behind the scenes

Continued from last thread

Other urls found in this thread:

tcrf.net/The_Hobbit_(Game_Boy_Advance)
tcrf.net/Spider-Man_(Windows)
tcrf.net/The_New_Tetris
h14s.p5r.org/2012/09/0x5f3759df.html
lomont.org/Math/Papers/2003/InvSqrt.pdf
a.pomf.cat/tvxkxb.mp4
youtube.com/watch?v=_6vqFgEASx8
mega.nz/#!ORA1SDZY!Z16B_XAR1oLo4EAm7rSHRv0TLX7NpWLcUReW8WeBIBo
mega.nz/#F!phow1RTR!uf88WMqg5_46xEalGJNhFw
twitter.com/AnonBabble

I LIKE MONKEYS. I like monkeys. The pet store was selling them for five cents a piece. I thought that odd since they were normally a couple thousand each. I decided not to look a gift horse in the mouth. I bought 200. I like monkeys. I took my 200 monkeys home. I have a big car. I let one drive. His name was Sigmund. He was retarded. In fact, none of them were really bright. They kept punching themselves in their genitals. I laughed. Then they punched my genitals. I stopped laughing. I herded them into my room. They didn't adapt very well to their new environment. They would screech, hurl themselves off of the couch at high speeds and slam into the wall. Although humorous at first, the spectacle lost its novelty halfway into its third hour. Two hours later I found out why all the monkeys were so inexpensive: they all died. No apparent reason. They all just sorta' dropped dead. Kinda' like when you buy a goldfish and it dies five hours later. Damn cheap monkeys...I didn't know what to do. There were 200 dead monkeys lying all over my room, on the bed, in the dresser, hanging from my bookcase. It looked like I had 200 throw rugs. I tried to flush one down the toilet. It didn't work. It got stuck. Then I had one dead, wet monkey and 199 dead, dry monkeys. I tried pretending that they were just stuffed animals. That worked for a while, that is until they began to decompose. It started to smell real bad...I had to pee but there was a dead monkey in the toilet and I didn't want to call the plumber. I was embarrassed...I tried to slow down the decomposition by freezing them. Unfortunately there was only enough room for two monkeys at a time so I had to change them every 30 seconds. I also had to eat all the food in the freezer so it didn't all go bad...I tried burning them. Little did I know my bed was flammable. I had to extinguish the fire.

Then I had one dead, wet monkey in my toilet, two dead, frozen monkeys in my freezer, and 197 dead, charred monkeys in a pile on my bed. The odor wasn't improving. I became agitated at my inability to dispose of my monkeys and to use the bathroom. I severely beat one of my monkeys. I felt better. I tried throwing them way but the garbage man said that the city wasn't allowed to dispose of charred primates. I told him that I had a wet one. He couldn't take that one either. I didn't bother asking about the frozen ones. I finally arrived at a solution. I gave them out as Christmas gifts. My friends didn't know quite what to say. They pretended that they like them but I could tell they were lying. Ingrates. So I punched them in the genitals. I like monkeys.

when I worked on the gba port of doom the office caught on fire one time

>an int is a number without a decimal
This is the most triggering thing from that image.
The concept of an integer is basic maths

story?

Coffee pot related accident

Eh, int is a little different than a mathematical integer. For example, 3 billion is an integer, but not an int (normally)

riveting

tcrf.net/The_Hobbit_(Game_Boy_Advance)

>So I punched them in the genitals.
I do the same thing when someone doesn't like a gift I give them.

No, I mean why the fuck was Doom getting ported to the GBA? Sounds like a disaster. What was your job?

she still shouldnt explain it in the notes mid code.

;D

Neato. I've always wondered about the option to disable complex lighting in the options in the GBA version of Doom. Did Nintendo have any issue about having graphics options in a game on the GBA?

it's an int. it's just not a 32 bit signed int

>I mean why the fuck was Doom getting ported to the GBA?
are you retarded? Doom needs to run on everything. If I can't play Doom on my Apple watch, then why did I buy the damn thing?

And why should it be a disaster? Doom was also on the SNES.

On the topic of last thread, League of legends and their infamous "minion coding".

...

No, it's not an "int" depending on the size of the "int" type.

doom gets ported to everything. what's so unusual?

No. Kick him in the nutsack user.

tcrf.net/Spider-Man_(Windows)

yeah thats what i was implying, int still means integer

Did you ever hear the story about League and

BIG
FUCKIN
RIGS

Or just rant.

tcrf.net/The_New_Tetris

>int still means integer

No, it fucking doesn't. An integer is an abstract idea in math. An int is a type with a defined size and perhaps some other defined properties depending on the language.

>No mysterio. Fire Matt

Jesus it all makes sense.

No wonder women can't express themselves in a straight forward manner. Their internal coding constantly loops in on itself without being able to produce a result.

You don't actually think thats real, do you?

Really? You ask this about the GBA? Not the printer version? Or the ATM version? Or the mp3 player version? Not even the fucking oscilloscope version?

How did Carmack did this? Has God given him this hexadecimal constant through his divine will ?

Read the wikipedia page.

They basically bruteforced constants against a table of known accurate values and picked the most accurate one.

You don't turn your back to the Carmack

he fucking didn't come up with it or even use it, 10/10 super mad fuck you

>not inserting inside jokes in your code

If you don't have at least one comment laughing at how shitty your methods are you're coding wrong

>oscilloscope version
that's the definitive version t b h

a 32 bit unsigned/signed int is a type with a defined size
just an 'int' is shorthand for one of those data types which best respresents the way you'd normally use an integer
it can even change based on the compiler settings
so int basically means the same thing as a math integer

>not the etch-a-sketch version

>tcrf thread
>currently playing rez prototype
what a coincidence!

The amount of change from this to final is fucking insane

for those who are unaware, Rez doesnt actually contain "sounds". It contains midi files that are altered very intricately in sequences and are changed and altered based on what you do and how you play.

They have rewreitten entire tracks in this game from just these midi files more times than doom has been ported and all i can think about is how nobody shot themselves for this level of shit.


>have capcom connects
>he has tons of stories of old street fighter stuff
>in the office where playtesting was happening he saw some bugs that were known
>he payed no mind
>he then asked about it and realized they werent trying to understand the bug
>they were practicing on abusing the bug
>which eventually became your combo shit
>he was also asked by SCE at some point to design a UI for the PS4
>he did
>it never got used, so all he did is on paper still
>he promised me copies when he finishes this next title

>had a neighbor that was on the marketing team of EA
>we got him to say some words about the costs to advertise for battlefront
>met up with another EA employee
>he worked on my favorite game published under them
>its dead
>he was a bro and made the VFX for it
>he never got to play his final product for how much effort he put into making it as perfect as can be


game dev has a shit ton of stories


>32bit version of doom was ported by Gabe Newell
>it was never released

>if you're not bad at coding you're coding wrong
what did he mean by this?

Sounds like a crazy script kiddie version of numerical analysis

to be fair the oscilloscope is just a high tech etch a sketch

he used it, he just didn't come up with it

Just have good methods that can't be made fun of.

Just kidding, I love doing that too

>not playing the abacus version

nigger, i play doom in the sandbox of the local playground.

Leaked prototypes are fun in general. A huge joy can be had playing the protos of games that you know like the back of your hand.

>so int basically means the same thing as a math integer

No, because a math integer isn't constrained by size

h14s.p5r.org/2012/09/0x5f3759df.html

Nope. See lomont.org/Math/Papers/2003/InvSqrt.pdf

>Sounds like a crazy script kiddie version of numerical analysis
Welcome to computer science...

im only playing rez's prototype due to getting too good at the final (and because i can finally document/record shit)

prototypes, cancelled games, leaked ones, e3 demos, everything. theres something special about it

bought 115 prototype builds of power rangers light speed rescue for ps1
i dumped them all and theres weird shit
>the fucking music a.pomf.cat/tvxkxb.mp4 (there was some low-key porn music in one build
>audio dialog placeholders as simpson's clips
>controls are all sorts of fucky
>shit i dont even recognize despite playing this game to hell
>literally everything

>let a woman code and you wind up with THIS
youtube.com/watch?v=_6vqFgEASx8

>bought 115 prototype builds of power rangers light speed rescue for ps1
Honest question: are you actually autistic?

Jesus...

How does it make you feel that Java is now almost as fast a C++?

>2016
>still using c style comments

judging by the indecypherable way he talks I thought he had english as a second language but autism might be a real possibility

Java has been super fucking fast for quite some time. Fast until gc happens and everything locks up :^)

brianna wu is a transsexual, ie. a man

>his code isn't C89 compliant

yes.

heres a pic

theres 300ish prototypes of some games here
all of which have been dumped for you all

>Fast until gc happens and everything locks up :^)
tfw enabling the Java 9 G1 collector

iwn kode with karlie why even live

>heaven forbid I use C99, a standard that's 17 fucking years old.

nobody besides you cares about your collection of alpha builds for obscure horrible games

>else return 5 because I'm so random, yay
This never fail to upset me to no end.
JUST RETURN THAT THERE EQUAL YOU FUCKING WHORE

i'm really interested in your collection of alpha builds for obscure horrible games

I appreciate your efforts doing what no normal human being on Earth would ever do voluntarily, I honestly am, it is pretty interesting.

no you aren't

it's fake

Oh hey

did you ever figure out how to get that PS3 Gears of War to actually load

I really forgot how to read quartiles and what IQRs are, etc. though I assume the middle line is a median. But what unit of measurement is the y axis anyway? Also I assume all of this is performed on the same platform. On top of that, this might be on a small scale application. But keep in mind that things add up and snowball with time and number of computations, and when you get to something that's really intensive, obviously you're still going to go for something more optimal like a variant of C or just straight down to ASM if you're that autistically capable

That's pretty awesome. I'm tempted to buy some prototypes when they pop up on ebay, but I'm paranoid of buying fakes or junk.

Shit slows down if you constantly create new objects.

reminder that Wu is not a woman and to not call him a "she"

And in the context of video games it's far more important that you know the execution time of something is consistent, which you can't with garbage collectors which are temperamental and can suddenly decide to pause your entire program for a long ass time or multiple times in a short interval which takes a steaming shit on your frame rate. If speed was the only factor there'd probably be a bigger variety of languages used in game dev, but writing an engine in a GC language is just a non starter.

>all of which have been dumped for you all

Link?

do you have any idea how many games use garbage collected scripting languages?
people always talk about how scary gc-induced pauses are, I've never used java so I have no idea how horrible it's gc is but if you're using something like lua and you aren't a shit coder it never happens

no need to samefag user
i could have bought 3 ps4s for all this shit


no success. SKFU compiled it in a way that only worked on his ps3 kit. only way to get it working is locate the source code of it (or find someone willing to share since finding it isnt hard).

fakes - unlikely
junk - actually likely. usually you will see a lot of review builds. usually if its 3 months before release it usually isnt anything good.

always check those dates. the older, the better, but watch yourself with dreamcast discs and a lot of GB/GBC/GBA carts. Theres been a lot of people making fakes lately since they have the tools to do it (chips are easy, but some fuck went to the length of getting a GD-Writer to make reproduction prototypes)

>ywn independently discover Carmack's reverse

>power rangers
>16gb unpacked
mega.nz/#!ORA1SDZY!Z16B_XAR1oLo4EAm7rSHRv0TLX7NpWLcUReW8WeBIBo

>the rest that arent power rangers
>unpacked?? (never checked due to how little space i had anyway)
mega.nz/#F!phow1RTR!uf88WMqg5_46xEalGJNhFw

as a game developer watching mentally undeveloped people prize development builds is like watching people comb through your shit thinking they've found gold

post your work

I have no idea what's going on with the left. But at least the right tells you what the function does before you read through it.

When I code, I make sure to preface my code with a description of what it does, the inputs and the outputs of the function.

Readability is one of the most important parts of coding they don't teach in school.

and as a collector i like things that dont reach store shelves.

sold an engineering sample ps3 controller. was the first of this kind weve ever seen. was one of the best things ive ever seen.

if you dont like people collecting versions of what you make thats your problem, not mine. i could be collecting figurines, but instead i like to share what i get because its nice to make sure nothing is lost over time.

while im at it, you took an exceedingly long amount of time to make that post user, you can samefag, its okay to be called out for it.

The amount of memory allocated by the scripting language is miniscule compared to what the engine does. And in most serious shops there is very little scripting language use or they compile it ahead of time now (for example, Carmack trashed the scripting language from Doom 3 before RAGE, ND only really uses their Lisp dialect as a data format that doesn't do anything at run time, UE4 blueprints now compile to C++, etc.)

does it offend you that people are actually interested in devs work and work process?

This is supposed to make me mad, right?

BECAUSE
I
AM
FUCKING
MAD

bragging on Cred Forums is pretty pathetic

>Readability is one of the most important parts of coding they don't teach in school.
if anything, commenting code is something they overteach in school
your code should be self-explanitory and require as little comments as possible

It really depends on how you program. Java isn't invulnerable to that kind of issue, either, but the way Java handles things like "garbage collection" does allow it to be more consistent. Keep in mind you can always do similar tricks on your own in any other language that allows for dynamic memory allocation, and you just have to be clever. Like if you're rapidly allocating chunks and chunks of memory and freeing them up almost as rapidly, creating gaps that may or may not be appropriately sized for the next allocation, OF COURSE it's just gonna be a big issue, and that's why C has such a higher Q3 bar and upper IQR, because unlike how can be implemented to be a little bit more fine tuned, malloc() can be really shitty when allocating rapidly. Java tries its best to reduce this, but keep in mind it has to do so because Java by itself can still only reach so high because it's still object code, even when at its greatest optimization, due to at least some overhead. Sure, use Java all you want, but it's not going to be fastest at its peak when you can still find ways to properly synchronize code activity so that propagation delay isn't making performance too inconsistent.

>blueprint now compiles to C++
Oh cool, when did that happen? I kept having people say blueprint wasn't ideal because there was overhead from having to interpret it in real time

being a 'collector' is a mild form of mental illness

not really, i love helping get people into development but these people aren't interested in getting into it they just want to gape in stupidity at something they don't understand

The function on the right claims it returns the larger of the two numbers, but it returns 5 if the numbers are equal, which is not documented in the comments.

The name of the function on the left says it all. It returns the reciprocal of the square root.

It's about relevance. Some movies get making of documentaries that interest a lot of people, and some don't. People like watching deleted scenes, reading early scripts, and hearing what creators have to say about their creative process. Liking prototypes and development history is the same thing.

I think they added beta support for it in like 4.11, don't know if it's considered stable yet.

Comments here and there help to jog your memory when you haven't looked at a piece of code in a long time. That said, I am poor at remembering to leave comments. That can bite me in the ass sometimes.

And why does that bother you so much?

>And in most serious shops there is very little scripting language use
this is flat out wrong. you name two examples of people who publicly talk about their scripting language, but nearly every game on the market uses scripts and has done for like ten years. Yeah you would never program a game engine in a VM language but you'd be surprised at how much heavy lifting scripts do. Using a garbage collected language is fine even for engine development if you're smart and about it and know and to use it properly

>being a 'collector' is a mild form of mental illness
and being a collector can also be a hobby. why are you so mad about this anyway user? why do you have such a problem with someone that cares what happened behind the scenes?

now post your work user. name an old game youve worked on.
unless these games are what you worked on :^)

being a hobby doesn't exempt it from being a mental illness
especially when you're collecting shitty power rangers games

I was lucky to have an algorithms/data structures professor who made fun of stupid unnecessary comments and would actually deduct points for stupid useless comments like
>y = x + b; // y equals x plus b
>printf("y now equals x plus b\n"); // print out "y now equals x plus b

Now as jokey as that sounds, I did peer review of code before and that seriously happened with a few peers. Just reminded me of bad rough draft essay peer reviews in my first college English class.

>The name of the function on the left says it all. It returns the reciprocal of the square root.

Heh, the engineer in you is strong.

I didn't think to interpret r as shorthand for reciprocal. And I can guarantee half the posters here didn't either. That's not an excuse for not explaining what the code does.

most teachers encourage people to comment like that unfortunately

Can you type up a list of all the games you have prototypes for?

You said you dumped them, have you uploaded them anywhere then?

user i already said im autistic what else do you want.
i didnt have tthe asking price for the warcraft builds (700 USD), so i went for something i can document


ill give you this though, those games were shitty

Well, there is also the fact that the version of the code everyone knows is the one from the Q3 engine, which was in turn taken from elsewhere. Maybe the original version had better comments.

i should make a list but i havent.

see here for the ones in the binders

I know. This one UTA for an instructor did that to me and I lost points for failing to comment like that and I got pissed off and went to the instructor to reclaim points

because you're not garnering any real understanding by looking at random prototype builds, you're getting "my dad works at nintendo" level misinformation where you construct half-truths and misconceptions by taking a shallow look at something you barely understand

you're a moron, because "int" has different meanings depending on the implementation. would you going to say that 257 isn't an "int" if you had only worked on 8-bit platforms?

int has always been intended as shorthand for integer and the constraints upon the upper and lower bounds are merely details of the implementation

that type of algorithm is the one that doesn't need to have comments. you put the number in and get the result out, the black magic going on inside doesnt need to be understood by anyone because nobody is going to be changing it anyway

>int still means integer
Unless it means "integral". My textbook calls it that, and it's horrible. Anyone also taking calculus gets confused at the section "generating random integrals".

youre replying to 2 different anons, user.
im the one that owns those builds, but the other user and i want to know why yorue mad when it just looks like arbitrary irritation

>>y = x + b; // y equals x plus b
>>printf("y now equals x plus b\n"); // print out "y now equals x plus b

This here we can agree isn't good commenting habits. This doesn't explain things any clearer and is cluttering the code. They're just repeating themselves. This, I don't do.

>oscilloscope version
very impressive

it doesn't matter who I'm replying to
are you retarded

Did you end up reclaiming the points?

Well, I don't see anything in the mega i'm interested in, but it's really great that you are doing this sort of thing.

You should get in touch with some game historians so they can get copies.

I wasn't aware of the significance (or the existence for that matter) of the algorithm till this topic. If I were to use it, I'd preface it with a link to an article on it and say that's a really fast inverse square root solver. That's more than sufficient for commenting it.

Yeah. Otherwise I would have really blown a gasket for something stupid and dropped the course.

jesus christ

i'm a lady programmer and the example on the right is garbage - you shouldn't have to comment like that in any circumstance, your code should be self documenting, otherwise people assume things of the code instead of reading that shit.


Jesus take the wheel, but at the least if this is the type of people who are my competition for jobs, I'm okay with this.

lol

>i'm a lady programmer

lol

and youre the one on Cred Forums complaining about a collector that shares his collection with others instead of keeping it to myself like a faggot

the only thing i had of interest was battlefront 3, and that was posted for everyone like i wanted.

i haven't tried to contact any historians but i do know a few people that can aid in this

it gets you the inverse square root, thats all you need to know and thats the name of the function

>I'm a lady
LONDON

it doesn't matter whatever you do with it, it's worthless and you have a mental disorder

heres a (You) from an autist
name a language

>says the person arguing on Cred Forums
im an autist as well as a mechanical engineer. at least i can have fun on both sides of my life.

tbqh both sides are dogshit, and nobody would like working either of those "coders"

the left for not being clear unless you knew that mathematical trick or what was going on and the right for being ... nothing anyone would ever write in real life

seriously, more commenting is not bad, especially if your code is batshit enough to warrant it, buuuuut y'know

believe me, I was a too-cool-for-school compsci student once too, and I didn't comment shit cuz only LAME IDIOTS can't understand my genious code B} (also I have only two hours to finish this assignment so fk it baylife)

but now that I'm doing it for a job and can't be arsed to explain to coworkers for the fiftieth time how a particular function interacts with their system ... yeah.

English

man why are you so angry? this guy has found something he likes doing and is sharing it with other people, and youre getting mad because of it. how much do you hate your own life to get like this over seeing someone enjoying something?

english

'fun' as defined in your own messed up mental prison

@353418150
imagine being this mad for no good reason

the 'coder' on the left is from the guy who probably contributed the most to game programming of all time

Japanese. The greatest language from the greatest country

so what is your fun user?
go on, tell me

I don't care if it's carmack or jesus or whoever

games were smaller teams back then, you could have (and god knows if it was him, he could handle it) one guy do literally all the system and engine work

but in real life on actual jobs that trashlords who visit this site (me included) would be lucky enough to have, you need to have your shit work with at least 10 other people, most assuredly more if you include whoever wrote your game's engine (even if it's out of house)

tl;dr, even carmack is a dumbass for not commenting his code, and I'm sure he'd agree if you said it to his face

Making games is nerd shit. That's why Toriyama is what we aspire to be

Toriyama is anime, Miyamoto is video games.

You're the one in a mental prison. You're limiting yourself by letting yourself get so angry about something that means so little. Do you even have a point?

but Japanese is from China.

the code on the left does have comments, it was removed for the example for whatever reason. but one of the comments was literally 'what the fuck' it's a machine level hack that gets a fast inverse square root. you can understand that just by looking at the function name and the fact that it's doing some bit shifting on wierd consts. If you don't understand this, you really shouldn't be using the function in the first place. well you shouldn't be using it at all seeing its completely unneccessary on modern hardware

It's obvious to you, but not to everyone else. I didn't make the connection and a lot of the posters of this topic didn't either at first glance. That's why I'm advocating for commenting style I mentioned. And this isn't much to commit to.

// This is a significant accelerated inverse square root solver
// More information on this algorithm, see here: h14s.p5r.org/2012/09/0x5f3759df.html

2 lines, boom. If you don't agree with this, then we'll have to agree to disagree.

pointless shitposting on Cred Forums

I find this both cancerous and cute at the same time.

if it's not obvious to you you shouldn't be using the function
it wasn't written for reddit upvotes it was written for the lighting algorithm in quake

it's literally the function name

quick reciprocal square root

you're a moron

please stop pretending to be retarded, you are neither constructive nor funny

you know what, thats fair. good work user

you're a moron
there wasn't even a website to link to, when it was written 15 years ago, and if you dont know what an inverse square root is you dont even need to use the function

lol