Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6531773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:55:07+00:00 2026-05-25T09:55:07+00:00

I am writing a game engine and I’d like it to have Python scripting

  • 0

I am writing a game engine and I’d like it to have Python scripting as well as support for mods using PhysFS.

My game data is stored something like this:

  • /
    • native
      • scripts
      • sprites
      • …
    • mods
      • mymodname
        • scripts

What I want is for the mod scripts to be able to ‘import’ the native scripts as if they were in the same directory. Is something like that possible using PhysFS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T09:55:08+00:00Added an answer on May 25, 2026 at 9:55 am

    [I am the same person who asked the question.]

    The solution I used eventually was to modify Python’s sys.path when my program starts. This does not pollute the game’s data directories with symbolic links and is overall much cleaner.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone had experience writing a game engine or demo engine using something like
So, I'm writing a game engine. I have a little example (see http://qrcode.kaywa.com/img.php?s=8&d=http://rokonandroid.com/rd.apk ),
I am writing a basic game engine and have an abstract class that represents
I'm writing a game engine using pygame and box2d, and in the character builder,
I am writing a scriptable game engine, for which I have a large number
I have been writing an OpenGL game engine for a while which uses SDL
I'm writing a simple game engine, and I have the EntityComponent.h file: #ifndef Psycho2D_Core_EntityComponent_
I'm writing an AS3/Flex4 game engine, and I want to have a base class
I'm writing a game using Irrlicht. And I have problem. I have game in
I'm writing a Connect Four game engine. Currently I'm using Zobrist hashing to generate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.