AGS 3.5.0 - RC 5 (new upcoming version)

Started by Crimson Wizard, Tue 30/04/2019 20:38:49

Previous topic - Next topic

Vikram Vicky

#160
Quote from: eri0o on Sun 15/09/2019 14:07:13
This is weird, can you run `tree` or some other command that prints the files and their hierarchy on your Adventure Game Studio folder in Program Files on your Wine prefix?

Yes I can use tree command never used it before I always use tab for autocompletion.
Tree is working I can see all folders.

Crimson Wizard

Quote from: Vikram Vicky on Sun 15/09/2019 14:04:53
I thought of doing that but for some reason I can't compile Linux version even when Linux folder is present in zip version of AGS. I also checked general settings there are only Datafiles and Windows option.
In AGS latest stable I can compile Linux version.

This is not right, might be another bug, it does not detect linux files for some reason.

eri0o

I mean like,

cd ~/AgsWineprefix/../C/Program Files/Adventure Game Studio 3.5.0

and on this directory,

tree

. If you don't have tree,

ls * && ls */*

should be fine too. You can encapsulate the output here on the forums using spoiler and code bbcode tags (the forum markup language)

Vikram Vicky

Quote from: eri0o on Sun 15/09/2019 14:24:49
You can encapsulate the output here on the forums using spoiler and code bbcode tags (the forum markup language)

Spoiler

.
â”Å"â”â,¬Ã¢â€â,¬ acsprset.spr
â”Å"â”â,¬Ã¢â€â,¬ acwin.exe
â”Å"â”â,¬Ã¢â€â,¬ AGS.Controls.dll
â”Å"â”â,¬Ã¢â€â,¬ AGS.CScript.Compiler.dll
â”Å"â”â,¬Ã¢â€â,¬ AGSEditor.exe
â”Å"â”â,¬Ã¢â€â,¬ AGSEditor.exe.config
â”Å"â”â,¬Ã¢â€â,¬ ags-help.chm
â”Å"â”â,¬Ã¢â€â,¬ AGS.Native.dll
â”Å"â”â,¬Ã¢â€â,¬ AGS.Types.dll
â”Å"â”â,¬Ã¢â€â,¬ Changes.txt
â”Å"â”â,¬Ã¢â€â,¬ ikpMP3.dll
â”Å"â”â,¬Ã¢â€â,¬ irrKlang.NET4.dll
â”Å"â”â,¬Ã¢â€â,¬ Licenses
│   â”Å"â”â,¬Ã¢â€â,¬ AllegroFont.txt
│   â”Å"â”â,¬Ã¢â€â,¬ AllegroMP3.txt
│   â”Å"â”â,¬Ã¢â€â,¬ DUMB.txt
│   â”Å"â”â,¬Ã¢â€â,¬ FTL.txt
│   â”Å"â”â,¬Ã¢â€â,¬ GNU GPL v2.1.txt
│   â”Å"â”â,¬Ã¢â€â,¬ irrKlang.txt
│   â”Å"â”â,¬Ã¢â€â,¬ Magick.NET.txt
│   â”Å"â”â,¬Ã¢â€â,¬ Newtonsoft JSON.NET.txt
│   â”Å"â”â,¬Ã¢â€â,¬ Scintilla.txt
│   â”Å"â”â,¬Ã¢â€â,¬ Weifen Luo DockPanel Suite.txt
│   â””â”â,¬Ã¢â€â,¬ Xiph.txt
â”Å"â”â,¬Ã¢â€â,¬ Linux
│   â”Å"â”â,¬Ã¢â€â,¬ ags32
│   â”Å"â”â,¬Ã¢â€â,¬ ags64
│   â”Å"â”â,¬Ã¢â€â,¬ lib32
│   │   â”Å"â”â,¬Ã¢â€â,¬ alleg-alsadigi.so
│   │   â”Å"â”â,¬Ã¢â€â,¬ alleg-alsamidi.so
│   │   â”Å"â”â,¬Ã¢â€â,¬ alleg-sdl2digi.so
│   │   â”Å"â”â,¬Ã¢â€â,¬ libaldmb.so.1
│   │   â”Å"â”â,¬Ã¢â€â,¬ liballeg.so.4.4
│   │   â”Å"â”â,¬Ã¢â€â,¬ libdumb.so.1
│   │   â”Å"â”â,¬Ã¢â€â,¬ libogg.so.0
│   │   â”Å"â”â,¬Ã¢â€â,¬ libtheora.so.0
│   │   â”Å"â”â,¬Ã¢â€â,¬ libvorbisfile.so.3
│   │   â”Å"â”â,¬Ã¢â€â,¬ libvorbis.so.0
│   │   â””â”â,¬Ã¢â€â,¬ modules.lst
│   â”Å"â”â,¬Ã¢â€â,¬ lib64
│   │   â”Å"â”â,¬Ã¢â€â,¬ alleg-alsadigi.so
│   │   â”Å"â”â,¬Ã¢â€â,¬ alleg-alsamidi.so
│   │   â”Å"â”â,¬Ã¢â€â,¬ alleg-sdl2digi.so
│   │   â”Å"â”â,¬Ã¢â€â,¬ libaldmb.so.1
│   │   â”Å"â”â,¬Ã¢â€â,¬ liballeg.so.4.4
│   │   â”Å"â”â,¬Ã¢â€â,¬ libdumb.so.1
│   │   â”Å"â”â,¬Ã¢â€â,¬ libogg.so.0
│   │   â”Å"â”â,¬Ã¢â€â,¬ libtheora.so.0
│   │   â”Å"â”â,¬Ã¢â€â,¬ libvorbisfile.so.3
│   │   â”Å"â”â,¬Ã¢â€â,¬ libvorbis.so.0
│   │   â””â”â,¬Ã¢â€â,¬ modules.lst
│   â””â”â,¬Ã¢â€â,¬ licenses
│       Ã¢â€Å"â”â,¬Ã¢â€â,¬ ags-copyright
│       Ã¢â€Å"â”â,¬Ã¢â€â,¬ liballegro4.4-copyright
│       Ã¢â€Å"â”â,¬Ã¢â€â,¬ libdumb1-copyright
│       Ã¢â€Å"â”â,¬Ã¢â€â,¬ libogg0-copyright
│       Ã¢â€Å"â”â,¬Ã¢â€â,¬ libtheora0-copyright
│       Ã¢â€â€Ã¢â€â,¬Ã¢â€â,¬ libvorbis0a-copyright
â”Å"â”â,¬Ã¢â€â,¬ Magick.NET-Q8-x86.dll
â”Å"â”â,¬Ã¢â€â,¬ Magick.NET-Q8-x86.Native.dll
â”Å"â”â,¬Ã¢â€â,¬ Newtonsoft.Json.dll
â”Å"â”â,¬Ã¢â€â,¬ Templates
│   â”Å"â”â,¬Ã¢â€â,¬ BASS.agt
│   â”Å"â”â,¬Ã¢â€â,¬ Empty Game.agt
│   â”Å"â”â,¬Ã¢â€â,¬ Sierra-style.agt
│   â”Å"â”â,¬Ã¢â€â,¬ Tumbleweed.agt
│   â””â”â,¬Ã¢â€â,¬ Verb Coin.agt
â”Å"â”â,¬Ã¢â€â,¬ URLs
│   â”Å"â”â,¬Ã¢â€â,¬ AGS Forums.url
│   â””â”â,¬Ã¢â€â,¬ AGS Website.url
â””â”â,¬Ã¢â€â,¬ WeifenLuo.WinFormsUI.Docking.dll

7 directories, 64 files
[close]

Vikram Vicky

Quote from: Crimson Wizard on Sun 15/09/2019 14:20:50
This is not right, might be another bug, it does not detect linux files for some reason.

I've tested both installer and zip.

Crimson Wizard

Quote from: Vikram Vicky on Sun 15/09/2019 14:34:36
Quote from: Crimson Wizard on Sun 15/09/2019 14:20:50
This is not right, might be another bug, it does not detect linux files for some reason.

I've tested both installer and zip.

I fixed this, the zip download should appear here after build server finishes the tasks: https://cirrus-ci.com/task/5945715601178624

eri0o

Uhm, sorry, yes the directory appears to be the same as mine, but I was in previous beta yet. If you need right now you can place the Linux Engine on Compiled/Data folder and just call it from there while testing. But the proper way is getting the fixed Editor once it finishes building.

Vikram Vicky

Quote from: eri0o on Sun 15/09/2019 14:07:13

The thing about AGS Engine (not Editor) on Wine is it breaks blue light filters (at least for me on Gnome), so eye burning on late nights.  8-) Linux AGS Engine on Linux works fine though.  :)

Have  you tried using redshift application. Its on GNU/Linux.

Vikram Vicky

#168
Quote from: eri0o on Sun 15/09/2019 14:58:16
Uhm, sorry, yes the directory appears to be the same as mine, but I was in previous beta yet. If you need right now you can place the Linux Engine on Compiled/Data folder and just call it from there while testing. But the proper way is getting the fixed Editor once it finishes building.

Waiting for new editor. I'll try it.

eri0o

Build has finished! I just tested and it worked! On the task you can see both Archive and Installer, I downloaded the archive and extracted here and it was good. If you haven't once, a reminder that you may need to set execution bit.

Code: bash

# on your game folder
cd Compiled/Linux
chmod +x mygamename
chmod +x data/ags32
chmod +x data/ags64

Vikram Vicky

Quote from: Crimson Wizard on Sun 15/09/2019 14:41:33
Quote from: Vikram Vicky on Sun 15/09/2019 14:34:36
Quote from: Crimson Wizard on Sun 15/09/2019 14:20:50
This is not right, might be another bug, it does not detect linux files for some reason.

I've tested both installer and zip.

I fixed this, the zip download should appear here after build server finishes the tasks: https://cirrus-ci.com/task/5945715601178624

Awesome!!!
It's working. I can build Linux version and it is running.
I'll update you.
Thanks

Vikram Vicky

Quote from: eri0o on Sun 15/09/2019 15:31:10
Build has finished! I just tested and it worked! On the task you can see both Archive and Installer, I downloaded the archive and extracted here and it was good. If you haven't once, a reminder that you may need to set execution bit.

Code: bash

# on your game folder

cd Compiled/Linux
chmod +x mygamename
chmod +x data/ags32
chmod +x data/ags64


Yes It is working.
Do you use 32bit wine prefix or 64bit?

eri0o

I could only get .NET to install using 32bit Wine. When I tried to install using 64bit Wine, my .NET installation got stuck. I haven't looked further. I think AGS Editor is actually Win32 - but again, my install got stuck before this, on the .NET part.

AGS Linux Engine itself I use the 64bit one because my Linux install is 64bit, but the script on top level should auto-select this.

Vikram Vicky

Quote from: eri0o on Sun 15/09/2019 15:37:35
I could only get .NET to install using 32bit Wine. When I tried to install using 64bit Wine, my .NET installation got stuck. I haven't looked further. I think AGS Editor is actually Win32 - but again, my install got stuck before this, on the .NET part.

AGS Linux Engine itself I use the 64bit one because my Linux install is 64bit, but the script on top level should auto-select this.

Same here (win32 vcrun2017 gdiplus) but I can install .NET on 64bit may be because I'm using Solus (I'ts rolling release). Can you install vcrun2015 in 32bit wine prefix because I can't. So, I'm using vcrun2017. Don't know what gdiplus does but on winehq I saw in recommendation for stable ags.

eri0o

#174
I have no idea, I am on Ubuntu 18.04, using Play On Linux and installed dotnet40 from the graphic PoL interface. For the redistributable I actually got it from the MS website and ran the installer with "run an .exe on this prefix" from PoL interface.

Oh, on Wine there's also a tag somewhere to mark so that the DE doesn't change how Wine decorate stuff, you need to mark that (at least on Gnome) otherwise you can't use find replace on AGS Script from ags itself - the find/replace window will "run away from you". You can also do find/replace  using Atom with AGS Scriptlanguage pack, just watch Atom, because it sometimes gets confused with line ends and replaces line ends of everything it touches - not a problem for ags but if you have your game on Source Control like git, you will get spurious file changes of Atom randomly replacing line endings for whole files. Atom hasn't given this bug anymore for me, so maybe they fixed it, but I had it on the past.

morganw

Quote from: eri0o on Sun 15/09/2019 16:29:18
just watch Atom, because it sometimes gets confused with line ends and replaces line ends of everything it touches - not a problem for ags but if you have your game on Source Control like git, you will get spurious file changes of Atom randomly replacing line endings for whole files. Atom hasn't given this bug anymore for me, so maybe they fixed it, but I had it on the past.
The whitespace package that comes with it is enabled and pre-configured to do lots of whitespace changes. If you edit the settings for this package you can stop it doing this. Git on Windows will also auto-convert line endings by default, which can get complicated if you are sharing the checked out file between Windows and something else.

Vikram Vicky

#176
Quote from: eri0o on Sun 15/09/2019 16:29:18
I have no idea, I am on Ubuntu 18.04, using Play On Linux and installed dotnet40 from the graphic PoL interface. For the redistributable I actually got it from the MS website and ran the installer with "run an .exe on this prefix" from PoL interface.

PlayOnLinux sounds great, I know about it but haven't tried it yet.

Quotecan't use find replace on AGS Script from ags itself
Find and replace/replace all both are working inside inbuilt editor.
Spoiler
[close]
I've used Atom few times then I got into cult of emacs  (laugh).
Give inbuilt script editor try it works and keep sharing.
Thanks.

eri0o

Ah, you aren't theming your Wine prefix. If you have a Gnome theme and apply it on wine, the find replace gets confused when it changes opacity and moves on screen. This doesn't happen if you don't override Wine theme.

Vikram Vicky

#178
Quote from: eri0o on Sun 15/09/2019 20:06:37
Ah, you aren't theming your Wine prefix. If you have a Gnome theme and apply it on wine, the find replace gets confused when it changes opacity and moves on screen. This doesn't happen if you don't override Wine theme.

There is way to change theme by editing user.reg inside wine prefix then you don't have to override theme.
Copy this under [Control Panel\\Colors] inside user.reg save and exit. Got this on internet forgot the link.
Just for experiment.
Spoiler

"ActiveBorder"="49 54 58"
"ActiveTitle"="49 54 58"
"AppWorkSpace"="60 64 72"
"Background"="49 54 58"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="49 54 58"
"ButtonHilight"="119 126 140"
"ButtonLight"="60 64 72"
"ButtonShadow"="60 64 72"
"ButtonText"="219 220 222"
"GradientActiveTitle"="49 54 58"
"GradientInactiveTitle"="49 54 58"
"GrayText"="155 155 155"
"Hilight"="119 126 140"
"HilightText"="255 255 255"
"InactiveBorder"="49 54 58"
"InactiveTitle"="49 54 58"
"InactiveTitleText"="219 220 222"
"InfoText"="159 167 180"
"InfoWindow"="49 54 58"
"Menu"="49 54 58"
"MenuBar"="49 54 58"
"MenuHilight"="119 126 140"
"MenuText"="219 220 222"
"Scrollbar"="73 78 88"
"TitleText"="219 220 222"
"Window"="35 38 41"
"WindowFrame"="49 54 58"
"WindowText"="219 220 222"
[close]
PS: I think it does happen sometime.

abstauber

Somehow I can't find the tumbleweed template's manual in the wiki. The only template files are these.

    TemplateBASS
    Templates
    TemplateSierraStyle
    TemplateVerbcoin

And the only trace I found of a verb gui is this:
Quote
AGS comes with a few standard templates:

    9-Verb Monkey Island Style
...

SMF spam blocked by CleanTalk