Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / A little help with FPSC Source Question

Author
Message
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 23rd Aug 2011 23:33
I am currently working on an installer for FPSC and I have a strange issue. My installer uses WSH script to create a program shortcut to the newly installed FPSC Game executable. The shortcuts seem to be correct and point to the appropriate folder and file, but when I use the shortcut I get the following error.

Init Error: Genre Unknown

This is an FPSC error as seen here in the source code...



If I click directly on the executable, the game runs normally. FPSC only responds this way when using the shortcut. Can anyone shine more light on this issue?

Brian.

s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 23rd Aug 2011 23:50
Yeah I had the same problem with vishnu products its because fpsc can't find the other files in the dir folder.

The way I worked around this was to make my app pick the working folder fpsc is in.

For example I had to set the folder as the current folder the app is working from.

This is in lua code :-

Folder.SetCurrent(_EXEFolder.."\\Data\\");

Data is where fpsc.exe would be stored.

Hope this helps

best s4real


Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 24th Aug 2011 00:02 Edited at: 24th Aug 2011 00:03
Thanks for the help s4. I hope all is well with you. The issue was the "Start in" location of the shortcut. You would think that it would stat where it was, but no.

Anyway, issue resolved. Thanks and this can be locked.

Brian.

s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 24th Aug 2011 00:06
Glad you got it sorted.

best s4real


Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Beno09
15
Years of Service
User Offline
Joined: 3rd Jun 2011
Location: Bosnia and Herzegovina
Posted: 24th Aug 2011 00:11
Are you almost finished with installer ?
raymondlee306
16
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 24th Aug 2011 01:12
I volunteer to test it if your looking for someone. Drop me an email.
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 24th Aug 2011 03:08 Edited at: 24th Aug 2011 03:12
I just sent a Beta out to my partner in crime. Once he does the initial check and I write a basic manual I'll send it to you for more testing/suggestions/comments/etc.

Brian.

Login to post a reply

Server time is: 2026-07-01 02:14:19
Your offset time is: 2026-07-01 02:14:19