English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 29 January 2018, 04:49   #1
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 345
hey emufan..just curious....is it possible to port this?

This is not a game but an applet that alters the colors of your monitor/tv based on the hour of the day to remove blues colors on night and return them in morning. I am sorry to disturb you, but is it possible you could check to see if you can port this into Amiga? It would be super cool if it can be done.

http://www.google.ca/url?q=https://g...IsIQ2Je_pNccnZ
xboxown is offline  
Old 29 January 2018, 05:04   #2
grelbfarlk
Registered User

 
Join Date: Dec 2015
Location: USA
Posts: 1,452
I would also like a version that simulates interlace but cycles every other line tinted to yellow->blue after 12:00 it slowly cycles to green->red.
grelbfarlk is offline  
Old 29 January 2018, 05:43   #3
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 345
this is very useful important tool ....no joke!
xboxown is offline  
Old 29 January 2018, 10:24   #4
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
of course I don't feel disturbed
I only see python files in the src folder. something which does not exists (!?) for OS3.
Maybe ARexx could be used to make an AmigaOS3 version, but I dont have the skills to port it.

if you find something similiar with C or C++ src (with SDL support), we may have a better chance to port this.

#1) there are other backlight/color correction tools, written in C and others,
but I doubt I could make those easily work on the amiga.

I could imagine some background tool, which will do that kind of color changing,
but thats something I dont have the skills to do :/

Last edited by emufan; 29 January 2018 at 10:47.
emufan is offline  
Old 30 January 2018, 00:53   #5
grelbfarlk
Registered User

 
Join Date: Dec 2015
Location: USA
Posts: 1,452
That's a fine idea, there might even be a tool out there to change the WBprefs to change the color sliders already, if not it could be done with an ARexx script.

Question is how were you going to program the LCD to turn off the blue pixels? Since that's really the only thing that's going to keep the satanic gangster mind control rays from penetrating your pupils.

Green, Brown, Grey, Purple, these are not colors but the agents of the Mindflayers that are out to drain us of our essential juices.

I just realized.... EAB has a b*** theme! MorphOS too!! HOW DEEP DOES THIS CONSPIRACY GO!?!?
grelbfarlk is offline  
Old 30 January 2018, 01:16   #6
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
I've no idea where to start at all, nor how to do some lcd hacking - i didnt even think about that matter

but yes, they are pretty much everywhere. sometimes i shut down all the lights
and hide in the closet. so I'm safe
emufan is offline  
Old 30 January 2018, 02:31   #7
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 345
hehehe...this thread is worth it! Just reading your comments even if no port is done is worth it! - shouts, "Worth it!" -
xboxown is offline  
Old 30 January 2018, 03:31   #8
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
yah, well, some things just dont work. if you find something else, just shout again
emufan is offline  
Old 30 January 2018, 03:38   #9
grelbfarlk
Registered User

 
Join Date: Dec 2015
Location: USA
Posts: 1,452
Ok, how about this: https://sheepshaver.cebix.net/

Just start with pthreads for WarpOS, it should be easy after that.

Last edited by grelbfarlk; 30 January 2018 at 04:59.
grelbfarlk is offline  
Old 30 January 2018, 07:18   #10
gulliver
BoingBagged

 
Join Date: Aug 2007
Location: The South of nowhere
Age: 40
Posts: 1,745
@emufan

"There is no deceit in asking" is a common saying around where I live

It would be very cool if you could port any SNES emulator.

We only have half working ancient soundless beta ports from decades ago.
It would be really cool to play SNES games on high-end/WinUAE Amiga systems.

Nice thread anyways.
gulliver is offline  
Old 30 January 2018, 14:53   #11
Devlin
Sorcerian

Devlin's Avatar
 
Join Date: Nov 2005
Location: Bradford, UK
Age: 32
Posts: 277
Quote:
Originally Posted by gulliver View Post
@emufan

"There is no deceit in asking" is a common saying around where I live

It would be very cool if you could port any SNES emulator.

We only have half working ancient soundless beta ports from decades ago.
It would be really cool to play SNES games on high-end/WinUAE Amiga systems.

Nice thread anyways.
*nudge nudge* zsnes might be a good place to start if you choose to do this, since it's fast and stuff
https://sourceforge.net/projects/zsn...ZSNES%20v1.51/
Devlin is offline  
Old 30 January 2018, 22:30   #12
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 345
Actually I found something maybe emufan can tell me if it is possible or not:

http://crossfire.real-time.com/index.html

What do you think of this also?

https://www.daimonin.org/11826/new-w...793/topicseen/
xboxown is offline  
Old 30 January 2018, 23:08   #13
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
the 1st one uses GTK gui toolkit, we dont have that.
Daimonin uses "SDL", "SDL_mixer" and "SDL_image" - thats ok.
put on my to-do list

#1) there is snes9x-sdl - I'll have a look.

snes9x does build with gcc3.x and some ./configure cheating, but linking gives 5000+ errors :/
some edititing in the makefile and we have a binary

commandline only and it does try to open fullscreeen, which results in grey screen and "unavailable video mode"

*aaahhhh* my bad. workbench was in standard mode, switching to RTG workbench, and it does open the game window.

Last edited by emufan; 31 January 2018 at 00:27.
emufan is offline  
Old 31 January 2018, 00:17   #14
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 345
Quote:
Originally Posted by emufan View Post
the 1st one uses GTK gui toolkit, we dont have that.
Daimonin uses "SDL", "SDL_mixer" and "SDL_image" - thats ok.
put on my to-do list

#1) there is snes9x-sdl - I'll have a look.

snes9x does build with gcc3.x and some ./configure cheating, but linking gives 5000+ errors :/
some edititing in the makefile and we have a binary

commandline only and it does try to open fullscreeen, which results in grey screen and "unavailable video mode"
Eeeee..if diamonin actually works and is playable like what you did with tinyworld and that super SDL that enhanced performance and I can actually go online and play with people..........I will be using my A500 so much so that smoke and keyboard string will be flying all over the place that is how much I will be using it.....

There is also nothing more satisfying playing this game live with people and having my computer that is running the game have it's power LED turn off hahahahahah while everyone elses uses PC, Mac or Linux....




eeeeeeeeeeeeeeeeeeeeeeeeeeeee
xboxown is offline  
Old 31 January 2018, 00:29   #15
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
Quote:
Originally Posted by Devlin View Post
zsnes might be a good place to start
there is a lot of assembler source code, I guess we have to skip this.

Quote:
Originally Posted by xboxown View Post
Eeeee..if diamonin actually works and is playable like ....
I only can try, it may fail, but for now we have a snes emulator

zone: snes9x-sdl-WIP.lha
build for 68020-40 soft-float, ixemul.library and 881/FPU version

linked with SDL 1.2.15 and 1.2.15-AMMX lib, 3 binaries
just test them, maybe AMMX is a bit faster on vampires

no gui, comandline only. start from shell on a RTG workbench.
-fullscreen does not work.

there are many command line options, listed, if you start snes9x without any options.
( for example: -frameskip 5 -eightbit )

sound is working

#1) download again, added fpu version

#2) there is a gui for snes9x on aminet (down at the moment):
http://us2.aminet.net/misc/emu/SNES9xGUI2_3.lha
--> somehow not useable with the sdl version, missing or different comandline options :/

#3) -recordmovie and playmovie does work

#4) I cannot make a savestate. it did saved a game.oops file , but I cannot find out,
when it did it. also no clue how to load it :/
--> oops file is some sort of autosave

the sdl part is missing checks for several functions.
maybe I can include at least one savestate/load-savestate.
have to look at it again, next days.

Last edited by emufan; 31 January 2018 at 03:24.
emufan is offline  
Old 31 January 2018, 01:17   #16
grelbfarlk
Registered User

 
Join Date: Dec 2015
Location: USA
Posts: 1,452
Where's the damn configure file for Daimonin?
grelbfarlk is offline  
Old 31 January 2018, 01:19   #17
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
Quote:
Originally Posted by grelbfarlk View Post
Where's the damn configure file for Daimonin?
look in client/make/linux folder , bootstrap file you have to execute.
this will create configure.

#1)hopefully those only: "CC=gcc-5 CXX=g++-5 CPP=cpp-5" - from setup script.
you should add a check for the three above, before the build starts:
"not there, should I create symlinks (y/n)"

Last edited by emufan; 10 February 2018 at 19:06.
emufan is offline  
Old 31 January 2018, 04:23   #18
grelbfarlk
Registered User

 
Join Date: Dec 2015
Location: USA
Posts: 1,452
Ok just need this PhysFS lib... think this shouldn't be too hard ARGH NO NO WHY INTERNET WHY DID YOU DO THIS TO ME.
grelbfarlk is offline  
Old 31 January 2018, 05:32   #19
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
Quote:
Originally Posted by grelbfarlk View Post
Ok just need this PhysFS lib... think this shouldn't be too hard ARGH NO NO WHY INTERNET WHY DID YOU DO THIS TO ME.
hehe
I will start with that lib too. not done anything else with the game yet.

#1) i try to crosscompile with cmake, but not much success.
how do you build cmake based sources? on your ppc amiga?

Last edited by emufan; 31 January 2018 at 05:55.
emufan is offline  
Old 31 January 2018, 05:57   #20
xboxown
Registered User
 
Join Date: Dec 2012
Location: Vancouver/Canada
Posts: 345
Quote:
Originally Posted by grelbfarlk View Post
Ok just need this PhysFS lib... think this shouldn't be too hard ARGH NO NO WHY INTERNET WHY DID YOU DO THIS TO ME.

HEHEHEH!!! I MISSED YOU GRELBFARLK!! COME BACK TO THE CHANNEL!! YOU ALWAYS MAKE LAUGH!!
xboxown is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
emufan can you please port this to Amiga!!? xboxown Coders. C/C++ 93 29 November 2017 10:06
Just curious; Graphics Card Sim085 support.Hardware 31 12 October 2017 16:27
Curious about Natami Pat the Cat Amiga scene 13 07 January 2017 23:16
Hey hey, new guy here... CarlosTex Member Introductions 4 05 August 2011 02:29
hey hey 16k Akira Nostalgia & memories 5 16 August 2006 23:26

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.09417 seconds with 16 queries