Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » Faster Game via Compiler Optimizations
Faster Game via Compiler Optimizations[message #100969] Sun, 28 March 2004 15:38 Go to next message
lt411 is currently offline lt411
Messages:3
Registered:March 2004
Location: Grand Rapids
Here is an idea to make the game faster. Try to compile it under the Visual C++ compiler that ships with Visual Studio .NET. That compiler supports optimizations for the latest processors. Visual Studio 6 is limited to Pentium Pro.

I don't know how much processor advancements since the Pentium Pro would speed up the game, but it might be worth a try?

--Leto

Report message to a moderator

Civilian
Re: Faster Game via Compiler Optimizations[message #100970] Tue, 30 March 2004 01:37 Go to previous messageGo to next message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
didn't make a noticable difference to me... I currently compile under VC.net 2002
granted I work on a 2GHZ intel so I wasn't exactly hurting in the performance department...

not sure what is slow for you... the graphics? find that hard to believe... although I am looking at what would be required to port to SDL... would also love to drop these damn STI files.. PCX would probably be what I'd use...

the strategic slow-downs I have seen are based on timeouts, which seem to be bugs in UI locking states... theres a 25 sec timeout... thats typically why you see long clock cursor waits...

Report message to a moderator

Sergeant 1st Class
Re: Faster Game via Compiler Optimizations[message #100971] Tue, 30 March 2004 12:33 Go to previous messageGo to next message
lt411 is currently offline lt411
Messages:3
Registered:March 2004
Location: Grand Rapids
Thanks for letting me know it compiles ok under VC.Net. Now I don't have to install VC6, but can go right to .NET.

I was thinking of porting the .c code to .cpp. I've done it before, just change the extension and work through the compiler errors.

Anyway, thanks for the response.
--Leto

Report message to a moderator

Civilian
Re: Faster Game via Compiler Optimizations[message #100972] Tue, 30 March 2004 13:01 Go to previous message
Digicrab is currently offline Digicrab

 
Messages:253
Registered:December 2003

Leto, that's not a very good approach from a programming standpoint. If you want to port to C++ you'd have to restructure the program to use classes etc. To just make it C using a C++ compiler strikes me as rather pointless.

Report message to a moderator

Master Sergeant
Previous Topic: How does melee work?
Next Topic: Random suggestions
Goto Forum:
  


Current Time: Fri Jan 10 01:26:19 GMT+2 2025

Total time taken to generate the page: 0.00888 seconds