Notepad++ need to get user for game submod, how to without typing the username?
-
Well, basically, I need help to be able to make 1 version of the code for each OS that game is available, being Windows, Mac and Linux, and I don’t want to type the code for each user, how can I do one version for each OS quoted?
-
Hi EdfNightmare,
It would help to know what language your are writing in. Most programming languages have functions to identify the OS that they are running under. For example in Python:
import sys
import os
import platform
sys.platform
‘win32’
os.name
‘nt’
platform.system()
‘Windows’Of course, different operating systems will require different installations of the necessary libraries, compilers etc.
Steve
-
If I remember correctly, it’s Ren’Py
-
This isn’t a Notepad++ question, this is a coding question. Please refrain from discussing things unrelated to Notepad++ here. Reference cookie baking.
-
I agree. I was bad. The original post does not belong here and it would be more appropriate in a forum for the programming language involved.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login