Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Dualnames

#1
It is what it is. Things are slowly returning to normality, have not received my account back nor will I ever it seems.
#2
And apparently, i got hacked too because of it.
#4
Advanced Technical Forum / Windows 11
Wed 30/08/2023 11:30:17
So, I've upgrade all AGS games of Wadjet Eye Games to 3.6

We were contacted by a person having an issue.

"Whenever I open them the screen has green stripes all over it. It's nearly impossible to see anything else.  Microsoft Windows Version 22H2 (Microsoft Windows 11 Home)"



Any thoughts?
#5
What can be said about Philip J Reed.

Truth is people attribute Larry Vales to him, but it's so much more, Philip single handedly almost created proof of concept, and made people believe in AGS. His contribution is immeasurable to the engine, and a debt that imho cannot be repaid. Without Philip, we wouldn't be here. It's sad that the wall keeps populating.
#6
AGS AWARDS CEREMONY CLIENT 2022


There are versions for Mac and Linux, but they are wildly untested. But should work!

#7
AGS AWARDS CEREMONY CLIENT 2022


There are versions for Mac and Linux, but they are wildly untested. But should work!

#8
There is a client yes, give me some time setting up some last minute things!!
#9
In case it's not super obvious, I'd love to present ofc, since I'm gonna be doing the ceremony thingies anyway!
#10
WELCOME TO THE FIRST TESTING ROUND OF THE AGS AWARDS CEREMONY!!


We're starting at 20:00 CEST TODAY, 20th of May 2023! I'll be around since till 21:00.
Please don't use this version of the client for the day of the awards, but only keep it to test, I'm planning on doing a few fixes down the line!

#11
All good, so yes 20:00 CEST, yes!
#12
Would people be interested in doing a small test for the new client, on May 20th a Saturday at 18:00 GMT?
#13
Phenomenal little game. I loved it!!
#14
We're looking really good added a lot of new cool things and nice features so far, really open to suggestions for the client, anything goes, feel free to DM me or type out your ideas here! I can't wait to show you all these things!
#15
This seems resolved!
#16
Sent you both a dm (eri0 on disc, cw in here)
#17
Just tested on linux, the read from file seems fine, the savetofile not so much, it returns a segmentation fault. What I mean by that, is that when the game is reading the savegames doing the "CreateFromFile" for dynamic sprites it seems proper, but when it attempts to save a dynamic sprite to a file it returns a "Segmentation fault (core dumped)
" on Linux, happy to offer any further terminal logs etc. (this was tested with https://cirrus-ci.com/task/4875192413978624
#18
I will first thing tomorrow morning! Thank you so much for this, I was losing my mind for a second when i was investigating this whole issue!
#19
Further investigation:

This is 100% replicatable, with a new project, same code.
Put this on room_load or room_after fade in.
Create a dynamic sprite variable naming it "spriteFile"

Code: AGS
bool isnull=false;

function room_Load()
{  
    if (spriteFile==null && File.Exists(String.Format("$SAVEGAMEDIR$/saveHD%d.bmp",0)))
    {
        spriteFile=DynamicSprite.CreateFromFile(String.Format("$SAVEGAMEDIR$/saveHD%d.bmp",0));
        bool getexists=File.Exists(String.Format("$SAVEGAMEDIR$/saveHD%d.bmp",0));
        int a=0;
        while (spriteFile==null && a<100)
       {
            spriteFile=DynamicSprite.CreateFromFile(String.Format("$SAVEGAMEDIR$/saveHD%d.bmp",0));      
           a+=1;
       }
       if (spriteFile==null)isnull=true;    
       else isnull=false;

       AbortGame(String.Format("File exists: %d %d", getexists, isnull));
  }
}

1) Run the game once. It should return "File exists: 0 1"
2) Create a bmp called saveHD0.bmp in your savegames directory of this project.
3) Start the game again it will return "File exists: 1 1" but only on LINUX and OSX. On Windows it will return "File Exists: 1 0"

Either, I'm absolutely stupid, or this shouldn't be the case.
#20


So the issue from what i can tell is besides being able to access the savegamesdir (I have cloud saves so it was trying to access the directories and files)
Is that it's unable to save into the $SAVEGAMEDIR$.

When there is a space on MAC, the Application Support part should be Application\ Support, otherwise it won't be able to read it.
So when the files are not there, it doesn't crash, but when they are it crashes being unable to read from the directory.

However this is the difference here, is that,
Code: AGS
 if (File.Exists("$SAVEGAMEDIR$/saveHD0.bmp")) 

Reads properly and returns true. But
Code: AGS
 DynamicSprite.CreateFromFile("$SAVEGAMEDIR$/saveHD0.bmp");

Doesn't.


Code: AGS
if (File.Exists(String.Format("$SAVEGAMEDIR$/saveHD%d.bmp",getSlot))&& doubleclickload)
    {
            
      if (bigSave!=null) bigSave.Delete();
      bigSave=DynamicSprite.CreateFromFile(String.Format("$SAVEGAMEDIR$/saveHD%d.bmp",getSlot));
      
      bigSave.Resize(gwidth, gheight);
}

I'm wondering if the Delete is the outlier, so gonna test this by removing the delete part!
EDIT: It's not.
SMF spam blocked by CleanTalk