MyWiki:Reference desk/Archives/Computing/2013 July 6

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This template must be substituted. Replace {{Archive header with {{subst:Archive header.

{| width = "100%"

|- ! colspan="3" align="center" | Computing desk |- ! width="20%" align="left" | < July 5 ! width="25%" align="center"|<< Jun | July | Aug >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


July 6

[edit source]

Separate clients for singleplayer and multiplayer

[edit source]

I've noticed that several games have done this practice, most especially first-person shooters. They would market the title as a single game, but it has separate executables for the SP and MP portions of it, while others, such as Max Payne 3, would just incorporate both in a single .exe, or just separate portions of it in two dynamic-link library files. Are there any real benefits to this, besides development, as separate teams could just do both portions at the same time?

Having multiple teams wouldn't be a good reason to have multiple executables, as both modes share so much code. And even single player modes are often built in a client-server way; single player has a local server where the game logic, physics, AI, etc. work (this division is evident in games like Quake and Half Life 2, where messages about, and variables to configure, the server are evident throughout the single player console). Not having the game/server logic in the multi-player binary makes for a smaller binary, but a modern OS demand-pages binaries anyway, so really that shouldn't be an issue. Perhaps single player Max Payne /isn't/ coded with a clear client-server divide, meaning the multiplayer version would either have lots of "if multiplayer foo else bar" checks or compile those out (which would mean a distinct binary); I don't know why they'd do things that way (the local server for single player seems like a simple, clever architecture to me) but maybe they do. Or it may all be an artefact of whatever anti-cheating technology they're using (PunkBuster or whatever), as such things check in the client binary for illicit patches (Blizzard's Warden does that kind of thing), and giving it the smallest simplest binary to check, with simply no exploitable game logic present at all, might make that a more tractable process. -- Finlay McWalterTalk 11:25, 6 July 2013 (UTC)

Permission to open Outlook file.

[edit source]

My computer recently broke so I bought a new one and downloaded the latest version of Outlook on it, and successfully added all my email accounts. So far so good.

But I have a copy of the .pst file from my old computer and for obvious reasons I want to be able to view it. But when I attempt to open it, it says "File access is denied. You do not have the permission required to open the file..." etc.

So can anyone tell me:

  1. WTF? Who should need permission to access a file on their own computer?
  2. More importantly, how to work around this?

Best, AndyJones (talk) 13:16, 6 July 2013 (UTC)

You may need to "take ownership" of the file in question. Instructions: XP, Win7. -- Finlay McWalterTalk 13:20, 6 July 2013 (UTC)
Excellent, that worked. Many thanks for your help. AndyJones (talk) 16:53, 6 July 2013 (UTC)

Wikipedia Dumps to import them to SQL

[edit source]

Dear Sir/ Madam

From website http://en.wikipedia.org/wiki/Wikipedia:Database_download, I have downloaded dumps from http://dumps.wikimedia.org/. How do I import these huge files to My SQL table format. I tried whats written in the website but it didn't work out.

Is there any easier and alternate solution. Its very urgent as I need to mine some data from the huge files for my journal paper.

Waiting for your reply.

Regards

Most of the dumps are XML, not MySQL-dump format, and need to be imported by a functional MediaWiki install, not MySQL's own tools. The process is described here -- Finlay McWalterTalk 20:05, 6 July 2013 (UTC)

USB 2 card (int. hub), power output

[edit source]