Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2020-04-19 16:42:21

taotm
Member
Registered: 2020-04-19
Posts: 22

Windows XP, Vista

This is a dumb question, but does Open Surge work on Win XP

I got an error that said "The procedure entry point fopen_s could not be located in the dynamic link library msvcrt.dll"


professional loser

Offline

#2 2020-04-19 19:49:24

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,274
Website

Re: Windows XP, Vista

Hello taotm, and welcome to the forums.

Good question. Open Surge uses the Allegro 5 game library on the backend. As far as I know, Allegro 5 is compatible with Win XP. However, I investigated the issue and there's a zip module inside the game that makes (very few) calls that are not available on XP.

I'm currently without a XP machine, but if you're able to compile Open Surge from the source code, we may be able to get it working on this OS with a few modifications. In any case, it certainly works on Win 7, as I have tested it myself.

Offline

#3 2020-04-19 19:53:21

taotm
Member
Registered: 2020-04-19
Posts: 22

Re: Windows XP, Vista

Alexandre wrote:

Hello taotm, and welcome to the forums.

Good question. Open Surge uses the Allegro 5 game library on the backend. As far as I know, Allegro 5 is compatible with Win XP. However, I investigated the issue and there's a zip module inside the game that makes (very few) calls that are not available on XP.

I'm currently without a XP machine, but if you're able to compile Open Surge from the source code, we may be able to get it working on this OS with a few modifications. In any case, it certainly works on Win 7, as I have tested it myself.

Thanks for the reply, this is the first forum i have ever joined

I will try to compile the source code and try to make it work i guess




edit: the amount of the tools i need to download is ridiculous. don't do this kids!

Last edited by taotm (2020-04-19 20:14:10)


professional loser

Offline

#4 2020-04-19 21:06:13

taotm
Member
Registered: 2020-04-19
Posts: 22

Re: Windows XP, Vista

cmake_gui.exe is not a valid win32 application. i knew something like this was going to happen eventually

is there any other C compiler?

Last edited by taotm (2020-04-19 21:08:15)


professional loser

Offline

#5 2020-04-19 21:14:33

taotm
Member
Registered: 2020-04-19
Posts: 22

Re: Windows XP, Vista

did some research, there is no fopen_s in the win xp version of msvcrt.dll (big plot twist i know) i think it's possible to replace fopen_s with fopen

i am a beginner so i don't know much

Last edited by taotm (2020-04-19 21:19:45)


professional loser

Offline

#6 2020-04-20 16:48:35

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,274
Website

Re: Windows XP, Vista

taotm wrote:

i think it's possible to replace fopen_s with fopen

Yes, indeed.

If you have difficulty compiling the sources, and this is a technical procedure, you may play the game right away on Linux or get a newer version of Windows without needing to compile anything (WinXP is a really old system).

Offline

#7 2020-04-20 17:05:08

taotm
Member
Registered: 2020-04-19
Posts: 22

Re: Windows XP, Vista

Alexandre wrote:
taotm wrote:

i think it's possible to replace fopen_s with fopen

Yes, indeed.

If you have difficulty compiling the sources, and this is a technical procedure, you may play the game right away on Linux or get a newer version of Windows without needing to compile anything (WinXP is a really old system).

I have linux, but some people don't (and mine boots up after 30min) so i would like to help others who can't play the game


professional loser

Offline

#8 2021-03-01 20:49:10

CrazyPencilDawg
Member
From: Kingston, ON
Registered: 2018-10-12
Posts: 49

Re: Windows XP, Vista

FluxBB bbcode test


I'm making a game about a blue cartoon rat. I must have made some terrible life choices.
icon-medallion.gif

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org