[solved] FBX plugin and Gamestudio on Linux / Wine

Posted By: Rondidon

[solved] FBX plugin and Gamestudio on Linux / Wine - 09/11/19 14:56

Hello Community,
Hello JCL,

I`m using Gamestudio on the operating system Linux Mint 19.2 with Wine 4.0.2 installed. Gamestudio works okay most of the time, but there is an issue with MED and the FBX plugin. I use Blender to create my models and parts of the levels and therefore I need FBX import/export in MED. But it seems that tehere is some missing dependency .. the menu entries for FBX import / export are missing. Is there anything I can do to solve this problem?

Here are some screenshots that show the problem:

Missing menu entry:
[Linked Image]

Content of folder med_plugins:
[Linked Image]

Thanks for your help laugh
- Robin

Posted By: Emre

Re: MED does not find FBX plugin under Linux / Wine - 09/12/19 03:45

Hello,

if i remember correctly, fbx plugin needed "Visual C++ 2010 Redistributable" to work.
Posted By: Rondidon

Re: MED does not find FBX plugin under Linux / Wine - 09/12/19 21:35

Thanks for your help. Everything is now running fine.

------------
3D GameStudio A8 install guide for Linux:
------------

- Install Wine for Linux (version 4.0.2 is tested and works well)
- Install latest Winetricks from https://wiki.winehq.org/Winetricks
- Create a 64 Bit Wine prefix
- Running winetricks, choose standard wine prefix -> install WIndows DLL. Install d3dx9_43, mfc42, ogg.
- In Winetricks -> choose standard wine prefix -> install fonts: Install all Microsoft fonts.
- Navigate to https://www.microsoft.com/en-us/download/details.aspx?id=14632 and install Visual C++ Libraries x64 manually using Wine.
- Download "mfc42d.dll" from https://de.fix4dll.com/mfc42d_dll and copy it to /home/yourUsername/.wine/drive_c/windows/syswow64

------------
Enjoy WED, MED, SED and Gamestudio laugh . It runs very well.
I recommend to use the native Linux programs "Geany" instead of "SED" and "Blender" instead of "MED".
Posted By: 3run

Re: MED does not find FBX plugin under Linux / Wine - 09/15/19 13:20

Hi Rondidon!

Can you please give us some tips on 'how to setup Geany' to get it working with acknex? I think it would be useful as well! Thank you laugh
Posted By: Dooley

Re: MED does not find FBX plugin under Linux / Wine - 03/16/21 15:12

I have been strongly considering moving to Linux. If this works, there is one less issue preventing the move...
Posted By: Aku_Aku

Re: MED does not find FBX plugin under Linux / Wine - 05/05/21 10:51

I did it. It works. But... have some strange things... The behaviour of SED.
Here is one example: SED Can't remember the last opened file. On Windows that was automatically opened at start. (I am not sure, I used last time 3DGS on Windows three month or so)
Maybe my Wine configuration could be better, or needs to install some dll, redistributable package or something else.
I can live together with this symptom, but maybe there are more.
I am using NotePad++ for editing files, so that is no problem.

If you want to change maybe I could give help in the migration process.
Posted By: 3run

Re: [solved] FBX plugin and Gamestudio on Linux / Wine - 05/05/21 12:40

I would highly recommend switching from SED to VSCode on Linux (or even on Windows, because coding with it incomparably better). And it's not so hard to do that, I could create a thread covering how to start using it with Lite-C.
The only problem I've faced is formating Lite-C related blocks, like ENTITY or PANELS:
Code
ENTITY *view_ent = 
{
	layer = 2;
}

PANEL *example_pan = 
{
	flags = UNTOUCHABLE;
}
Because the line doesn't end with ; and it's not familiar to C or C++ style, VSCode messes up it's formating and thinks there is a mistake. I workaround this my initializing all panels, materials and view entities by hand. I'm not familiar with creating extensions for VSCode, but maybe it could be even fixed by creating custom formatting style or extension to support Lite-C. But one could simply ignore this and not pay too much attention to it, since the benefits of using VSCode over SED are huge.

Edit: I've just made it: VSCode instead of SED

Greets.
Posted By: Aku_Aku

Re: [solved] FBX plugin and Gamestudio on Linux / Wine - 05/05/21 14:26

Thanks for the good advices!
You know, I am using SED to only start my program from there. Coding with that not so comfortable.
You are right, must to change. So, I changed to Notepad++ as I wrote.

And one little advice from me. If you have problems with messed up formating try this ancient coding technique:
Code
ENTITY *view_ent = {
	layer = 2;
}

PANEL *example_pan = {
	flags = UNTOUCHABLE;
}

I think VSCode will be happy and no more messing up. (Literally you saved one line in the code, and the overview of a function will be easier and faster)
You don't have to use it. I know there are lot of people who likes to write the { into one separate line.
Cheers.
© 2024 lite-C Forums