Screwy windows 10 compile?

About Monkey 2 Forums Monkey 2 Development Screwy windows 10 compile?

This topic contains 8 replies, has 4 voices, and was last updated by  AdamStrange 2 years, 4 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #5637

    AdamStrange
    Participant

    I’ve got something odd happening with windows 10.

    my app compiles to a folder appname.products

    inside this is a .json file and then a folder with the app. some dlls? and the assets folder.

    Now if I remove the app, dlls and assets ad run – I get a blank window

    If I run the app with the products folder and jason file, it runs!

     

    Could someone please explain why this is happening, what is happening, and why can’t I just have a folder with the app and the assets + dlls?

    #5690

    APC
    Participant

    AdamStrange,

    The files and directory structure you describe are created by Monkey 2 in order to run the specific target.

    If you delete them or place them in another order the app will not run properly.

    What are you trying to do? Could you be more specific?

    I have Windows 10, and Monkey 2 compiles and runs fine.

    #5702

    AdamStrange
    Participant

    i think i wasn’t being clear.

    there is a products folder created

    inside this is a jason file then a windows folder

     

    what is the json file for and why do i need it?

     

    can’t I just have the windows folder and it’s contents?

    #5704

    nerobot
    Participant

    This json is used for store settings for all targets you build.

    #5705

    AdamStrange
    Participant

    I’m building one target – there are no setting. This is as clear as mud!

    #5722

    Mark Sibly
    Keymaster

    There are currently 2 product settings for the desktop target – app name + gui or console switch. If more are added, this is where they will go. You could of course have worked this out by actually looking at the json file…

    The point of this is to stick *everything* that can affect the generation of *any* product into a single file, so if a team wants to share product build setups for a range of targets they only have to share a single file.

    why can’t I just have a folder with the app and the assets + dlls?

    You do – it’s called ‘Windows’ or ‘Macos’ or ‘Linux’ or ‘Emscripten’ inside the blah.products folder.

    Sorry if you don’t approve of this approach but it’s staying.

    #5738

    AdamStrange
    Participant

    You do – it’s called ‘Windows’ or ‘Macos’ or ‘Linux’ or ‘Emscripten’ inside the blah.products folder.

    Mark please read what I’m trying to say. I know all three above 😉

    But I have a windows app that wont run correctly without the folder structure above it. it wont run unless it has the .json file in the folder above the ‘windows’ one  – that’s the screwy bit

    #5740

    nerobot
    Participant

    I just moved Windows folder from products to my win10 desktop and run .exe – it’s worked.

    Only one my project depends on folders hierarchy – ted2go, it must be ‘near’ to modules and mx2cc.

    Don’t know what happen in your system.

    #5748

    AdamStrange
    Participant

    I have a good idea it’s to do with the assets. but then again it could be my position to the sun as well – lol

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.