Steam will sometimes just exclude a dll file when installing the game?

So I'm working on a game called Night of the Abattoir Man, available on steam for free.
I made this game using rpg maker vx ace.
Recently I sent the game link to a reviewer so her could play a game.
To my absolute horror, a couple of days later I recieve an email from him saying that he wasn't able to open the game cuz he got the following error:

image.png

This is the error message that pops up when a dll file is missing, in this case "F1AltEnterF12.dll"
This is odd because that file should most definitely be there?
Also, the reviewer said he tried validating files and re-installing the game but that didn't fix the issue.
The weirdest part is that I've only seen this error pop up one other time before.
When my producer first installed the game, the main rpg maker dll file was missing for some reason.
Then after that I've never seen this happen again until this reviewer sent me that screenshot.
I even uninstalled the game, deleted the steam folder, reinstalled the game just to see if the error would pop up for me but no, the dll file is there.
My guess is that steam just sometimes doesn't install the dll files? But why?
Is this a steam problem? Is there a way to prevent this from happening?
I really don't want this to happen again in the future.
Did you install that file on Windows? Or did you copy it to the Windows System folder manually? If you did that, it'd obviously work on your PC but not on other people's.

I mentioned that because it always matters whenever you are distributing an app. People might forget those little details at some point, and then they get surprised by the missing DLLs messages popping up.

Anyway, in your case I'd have to install it to get an idea of why it's not being installed.
Did you install that file on Windows? Or did you copy it to the Windows System folder manually? If you did that, it'd obviously work on your PC but not on other people's.

I mentioned that because it always matters whenever you are distributing an app. People might forget those little details at some point, and then they get surprised by the missing DLLs messages popping up.

Anyway, in your case I'd have to install it to get an idea of why it's not being installed.
I copied the dll to the the system folder so it should be there?
Im confused cuz I've seen other people play my game and they didn't have any issues so it's weird that it happened to this reviewer.
If you could have a quick look at it, it would be very helpful for me, thank you.
here's the link for the game
1760188990747.png
Ok so it is there!
I don't understand what happened then?
could it be a steam side issue?
I've read somewhere that it could have gotten corrupted during the install and steam just thought everything was fine and that's why the file verification didn't fix anything either.
Thank you so much for checking btw.
Your GOBJ file is also still there and you have memory leaks.
Your GOBJ file is also still there and you have memory leaks.
Really? That's not good at all
How do I fix this?
Really? That's not good at all
How do I fix this?
@kyonides do you want to look at it? Shows memory leaks and error between Window_SaveFile and Kursor Ace
I should probably paste that code here because I forget if I changed anything in it.
Sometimes I mess around with codes trying to get something the way I like it, and of course since I have no Idea what Im doing half of the time this could be my doing

Spoiler: Kursor Ace
# * Kursor ACE * #
# Scripter : Kyonides Arkanthes
# v1.0.2 - 2023-12-12

# * Distributed AS IS * #

# This script allows you to use a custom weapon icon as a cursor on any default
# menu script plus the save file windows.

# It uses the CursorSet which is nothing but a modified version of the RTP's
# IconSet file found at the Graphics/System directory.

# * Optional Script Call * #
# Let us say you created a cursor and named it @cursor and you do not want to
# use the default menu icon. You would need to call this method:
# @cursor.icon_index = Number
# Example:
# @cursor.icon_index = 40

module Kursor
CURSOR_INDEX = 0
CURSOR_OFFSET_X = -8
CURSOR_OFFSET_Y = 9
STATUS_CURSOR_OFFSET_X = 112
STATUS_CURSOR_OFFSET_Y = 48
SAVE_CURSOR_OFFSET_X = 8
SAVE_CURSOR_OFFSET_Y = 16
SAVE_CURSOR_RECT_BLINK = false
CURSOR_HEIGHT = 24
CURSOR_FILENAME = "CursorSet"

module Methods
def setup_cursor
@cursor = Kursor::Cursor.new(self)
end

def x=(nx)
@cursor.x = nx if @cursor
super(nx)
end

def y=(ny)
@cursor.y = ny if @cursor
super(ny)
end

def visible=(state)
@cursor.visible = (state and open? and @Index >= 0) if @cursor
super(state)
end

def viewport=(vp)
@cursor.viewport = vp
super vp
end

def close
@cursor.visible = false
super
end

def show
@cursor.visible = true
super
end

def hide
@cursor.visible = false
super
end

def update_open
super
@cursor.visible = (open? and @Index >= 0)
end
end

class Cursor < Sprite
def initialize(parent)
super(parent.viewport)
@parent = parent
@offset_mode = parent.cursor_offset
@icon_index = $game_system.cursor_index
setup_offset
setup_base_xy(parent.x, parent.y)
self.z = parent.z + 200
self.bitmap = Bitmap.new(CURSOR_HEIGHT, CURSOR_HEIGHT)
create_contents
end

def setup_offset
case @offset_mode
when :default
@offset_x = CURSOR_OFFSET_X
@offset_y = CURSOR_OFFSET_Y
when :save
@offset_x = SAVE_CURSOR_OFFSET_X
@offset_y = SAVE_CURSOR_OFFSET_Y
when :status
@offset_x = STATUS_CURSOR_OFFSET_X
@offset_y = STATUS_CURSOR_OFFSET_Y
end
end

def setup_base_xy(bx=0, by=0)
@base_x = @offset_x + bx
@base_y = @offset_y + by
self.x = @base_x
self.y = @base_y
end

def create_empty
Bitmap.new(384, CURSOR_HEIGHT * 3)
end

def create_contents
bit = Cache.system(CURSOR_FILENAME) rescue create_empty
cw = bit.width / CURSOR_HEIGHT
cx = @icon_index % cw * CURSOR_HEIGHT
cy = @icon_index / cw * CURSOR_HEIGHT
rect = Rect.new(cx, cy, CURSOR_HEIGHT, CURSOR_HEIGHT)
self.bitmap.blt(0, 0, bit, rect)
end

def recreate_contents
self.bitmap.clear
create_contents
end

def x=(nx)
@base_x = @offset_x + nx
super @base_x
end

def y=(ny)
@base_y = @offset_y + ny
super @base_y
end

def dispose_all
bitmap.dispose
dispose
end
attr_accessor :icon_index
end

end

class Game_System
alias :kyon_kursor_gm_sys_init :initialize
def initialize
kyon_kursor_gm_sys_init
@cursor_index = Kursor::CURSOR_INDEX
@cursor_save_blink = Kursor::SAVE_CURSOR_RECT_BLINK
end
attr_accessor :cursor_index, :cursor_save_blink
end

class Window_Selectable
include Kursor::Methods
alias :kyon_kursor_win_sel_init :initialize
alias :kyon_kursor_win_sel_disp :dispose
alias :kyon_kursor_win_sel_set_index :index=
def initialize(wx, wy, w, h)
kyon_kursor_win_sel_init(wx, wy, w, h)
setup_cursor
check_cursor_visibility
end

def check_cursor_visibility(n=@index)
@cursor.visible = (open? and n >= 0)
end

def index=(n)
check_cursor_visibility(n)
kyon_kursor_win_sel_set_index(n)
end

def update_cursor
if @cursor_all
self.top_row = 0
@cursor.y = self.y - self.oy + rect.y
elsif @Index >= 0
ensure_cursor_visible
rect = item_rect(@Index)
@cursor.x = self.x - self.ox + rect.x
@cursor.y = self.y - self.oy + rect.y
end
end

def dispose
@cursor.dispose_all
kyon_kursor_win_sel_disp
end

def cursor_offset
:default
end
attr_reader :cursor_index
end

class Window_MenuStatus
def cursor_offset
:status
end
end

class Window_ChoiceList
alias :kyon_kursor_win_chc_lst_init :initialize
def initialize(message_window)
kyon_kursor_win_chc_lst_init(message_window)
check_cursor_visibility
end

def check_cursor_visibility(n=@index)
@cursor.visible = (self.visible and open? and n >= 0)
end
end

class Window_SaveFile
include Kursor::Methods
alias :kyon_kursor_win_sv_file_init :initialize
alias :kyon_kursor_win_sv_file_disp :dispose
alias :kyon_kursor_win_sv_file_up_cursor :update_cursor
def initialize(height, index)
kyon_kursor_win_sv_file_init(height, index)
setup_cursor
check_cursor_visibility
end

def check_cursor_visibility
@cursor.visible = @selected
end

def update_cursor
check_cursor_visibility
kyon_kursor_win_sv_file_up_cursor if $game_system.cursor_save_blink
end

def dispose
@cursor.dispose_all
kyon_kursor_win_sv_file_disp
end

def cursor_offset
:save
end
end
I won't check it out until OP posts his modified version of the script between "[ code=ruby ]" and "[ /code ]" tags without "quotation marks" and empty spaces inside the [brackets] for a very simple reason: it's a time consuming process to properly indent every single line to make it readable.
I won't check it out until OP posts his modified version of the script
I compared the one he just posted to the one that is in the game.
It is the same expect for the @Index is @Index in the script but his posted script above it is @Index
and comparing it to your demo project the only difference is the constants
changed
CURSOR_INDEX = 0
CURSOR_OFFSET_X = -8
CURSOR_OFFSET_Y = 9

original
CURSOR_INDEX = 5
CURSOR_OFFSET_X = -4
CURSOR_OFFSET_Y = 20
Well, I just recently installed this game on Steam Linux via Proton 9.0 and it seems to be working normally. Yet, I noticed something there...

night_of_something_system_dir.jpeg


Or should I say I DIDN'T find something there?

I even got the "A New Beginning" achievement on Steam.

EDIT 1

Yet, I think the real issue here isn't my script but the default script Scene_File. I even posted a new thread regarding the way it disposes of the windows there.

EDIT 2

I had to edit the order of the disposal of those objects because I had inverted them for some weird reason. :S
Well, I just recently installed this game on Steam Linux via Proton 9.0 and it seems to be working normally. Yet, I noticed something there...

View attachment 351147

Or should I say I DIDN'T find something there?

I even got the "A New Beginning" achievement on Steam.

EDIT 1

Yet, I think the real issue here isn't my script but the default script Scene_File. I even posted a new thread regarding the way it disposes of the windows there.

EDIT 2

I had to edit the order of the disposal of those objects because I had inverted them for some weird reason. :S
Yeah I ended up removing the f12 script, thinking about it I kinda realized it wasn't really fixing anything too worth while and, after what that game reviewer told me, there's a chance it was actually causing issues for some people, So I figured it was best to remove it.

As for the memory leaks problem, I'm assuming following that new thread should solve it?

Thank you so much by the way.
As for the memory leaks problem, I'm assuming following that new thread should solve it?
One of them. there is still one more. Your CRT filter stuff. When entering the save screen with that it causes an entry in GOBJ.
as soon as I start a game it comes up. whether or not it is an actual issue, I'm not sure. It's something that is created and never disposed so it shows as a memory leak.
If it was in every scene where it was created and disposed then it probably would not show as a memory leak.
Time: 2025-10-14 19:27:41 -0400
Memory Leak #<Sprite:0xebd7320>
In Scene NilClass
Creation Stack::
Script 0148 -- crt filter, Line: 2:in `<main>'
ruby:in `eval'
-----
Time: 2025-10-14 19:27:41 -0400
Memory Leak #<Sprite:0xebd6d80>
In Scene NilClass
Creation Stack::
Script 0148 -- crt filter, Line: 3:in `<main>'
ruby:in `eval'

Also you still need to delete the gobj.txt file from the main directory. It does not need to be a part of your game.
Even the GOBJ script could be removed when you are confident there are no more problems.
One of them. there is still one more. Your CRT filter stuff. When entering the save screen with that it causes an entry in GOBJ.
as soon as I start a game it comes up. whether or not it is an actual issue, I'm not sure. It's something that is created and never disposed so it shows as a memory leak.
If it was in every scene where it was created and disposed then it probably would not show as a memory leak.
Time: 2025-10-14 19:27:41 -0400
Memory Leak #<Sprite:0xebd7320>
In Scene NilClass
Creation Stack::
Script 0148 -- crt filter, Line: 2:in `<main>'
ruby:in `eval'
-----
Time: 2025-10-14 19:27:41 -0400
Memory Leak #<Sprite:0xebd6d80>
In Scene NilClass
Creation Stack::
Script 0148 -- crt filter, Line: 3:in `<main>'
ruby:in `eval'

Also you still need to delete the gobj.txt file from the main directory. It does not need to be a part of your game.
Even the GOBJ script could be removed when you are confident there are no more problems.
Yeah I was reading through the text file and noticed it.
I don't think the crt filter memory leak is causing any noticeable issues.
I should probably look into to it though as see how to make so it doesn't cause any memory leaks
Thank you so much for your help

Original thread: https://forums.rpgmakerweb.com/threads/steam-will-sometimes-just-exclude-a-dll-file-when-installing-the-game.180509/