Topic: Configuration & Graphics Suggestion

An .ini file containing all configuration for the game / launcher:

-- 0 fullscreen, 1 windowed --
[window]
mode=1

-- 0 normal, 1 improve speed, 2 improve graphics --
[performance]
mode=1

-- 0 disable music, 1 enable music --
[music]
mode=1

Last edited by lainz (2009-03-01 19:38:46)

Re: Configuration & Graphics Suggestion

hmm, is this really necessary?

You can already achieve these goals using the command line options. For example, using MS Windows, you could run cmd.exe, go to the folder of the game and type:

opensonic.exe --windowed

Under Linux you could type

./opensonic --windowed

The --help option gives (as of Open Sonic 0.1.1):

Open Sonic usage:
    opensonic [options ...]

where options include:
    --help                    displays this message
    --version                 shows the version of this program
    --fast2x                  doubles the size of the game window
    --2xsai                   doubles the size of the game window and improves the graphic quality (*)
    --supereagle              doubles the size of the game window and improves the graphic quality (**)
    --windowed                windowed mode
    --level "FILEPATH"        runs the level located at FILEPATH
    --nomusic                 disables all the musics

(*) That option may be used to improve the graphic quality using the 2xSaI algorithm.
    You should NOT use this option on slow computers, since it may imply a severe performance hit.

(**) Same as above, but uses the SuperEagle algorithm.

Please read the docs for more information.

If you don't want to use the command line, you can use the launcher instead. wink

Re: Configuration & Graphics Suggestion

OK, this command line is better than ini, and easy.

Other suggestion:
I don't like "SuperEagle", "2xSaI" it's ok but here are a lot of other good .rpi plugins (if is possible):
http://www.emu-france.com/?page=fichier … dFile=2244
In this file are included the source of each plugin.

Last edited by lainz (2009-02-24 21:44:41)

Re: Configuration & Graphics Suggestion

lainz wrote:

Other suggestion:
I don't like "SuperEagle", "2xSaI" it's ok but here are a lot of other good .rpi plugins (if is possible)
http://www.emu-france.com/?page=fichier … dFile=2244
In this file are included the source of each plugin.

hmm, I'm not sure how can I use .rpi files with Allegro, but I'll look at it. However, if somebody could make Allegro work with these files, this would save us a lot of time.

( there are general purpose algorithms which seem to be very cool, like scale2x: http://scale2x.sf.net - maybe we can use these or some other in the game )

Re: Configuration & Graphics Suggestion

The best is HQ2X/3X/4X
http://www.hiend3d.com/hq2x.html
http://www.hiend3d.com/hq3x.html
http://www.hiend3d.com/hq4x.html

Here some "usefull" info:
http://www.smspower.org/forums/viewtopic.php?t=6787
http://www.freebasic.net/forum/viewtopic.php?p=89168
http://www.pixel80.com/erytheia/descarga

2xSai
http://bob.allegronetwork.com/projects.html

2xSai files can be replaced with files of HQ2X to make the filter? (noob question)

Last edited by lainz (2009-03-01 19:41:01)

Re: Configuration & Graphics Suggestion

2xSai files can be replaced with files of HQ2X to make the filter? (noob question)

I don't plan to remove the 2xSaI filter nor replace it by something else. But of course we can add new filters.

I've looked at the hq2x sample images and they look really good. I can't do much about the asm versions (only compatible with MSVC) since I am no assembly expert. But there's other version written only in C++; I'll try to hack it later, and I hope it will work. Please note that this should take a while, since there are other stuff that I need to develop before.

I'll add your request to the TODO List. smile

Re: Configuration & Graphics Suggestion

Alexandre wrote:

2xSai files can be replaced with files of HQ2X to make the filter? (noob question)

I don't plan to remove the 2xSaI filter nor replace it by something else. But of course we can add new filters.

I've looked at the hq2x sample images and they look really good. I can't do much about the asm versions (only compatible with MSVC) since I am no assembly expert. But there's other version written only in C++; I'll try to hack it later, and I hope it will work. Please note that this should take a while, since there are other stuff that I need to develop before.

I'll add your request to the TODO List. smile

Thankyou, big_smile