Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Pixeling > oswald we need to have a chat about p1
2010-07-18 00:01
STE'86

Registered: Jul 2009
Posts: 274
oswald we need to have a chat about p1

and the way it replaces 4th colour.

now i realise atm its broken and u are out of action.

however while u are incapacitated have a think about this:

atm it works that replace 4th colour will only work if u try to place a pixel on an existing none background colour. if u try and place a 5th colour on background it wont work because obviously it cant replace the BG colour.

now what i would like it to do is what koala does and let u place that pixel while changing another of the 4 colours (maybe the least used one). thereby u can happily draw over the background colour in your 5th colour

do u get me?

Steve

oh and by the way the export does not work on 0.6
doesnt matter what extension you type it always saves in bmp format. (you may already be aware of this i dont know)

2010-07-18 00:41
null
Account closed

Registered: Jun 2006
Posts: 645
Protip: we have a PM function.

Protip2: There's at least 2 already threads about project1, and 1 is more than enough. Use the search function.

------------------------------------
http://zomgwtfbbq.info
2010-07-18 00:51
STE'86

Registered: Jul 2009
Posts: 274
protip 3:

the ignore function for use on snotty little wannabes does work it seems.

2010-07-18 01:35
null
Account closed

Registered: Jun 2006
Posts: 645
Aww, isn't that cute. The super leet oldschooler can't deal with some criticism.

------------------------------------
http://zomgwtfbbq.info
2010-07-18 02:16
Oswald

Registered: Apr 2002
Posts: 5020
I'll look into the replace stuff in a week (if all goes well).

The export problem is intentional and needs a long explanation: I've found no way to tell Visual Basic to specify what DLL to use exactly. Now the export function needed a specific win DLL, which windows xp likes to update to a version that does not work with P1. I have figured I'll get rid of the problem once and for all. It's not fun having to hunt down all DLL's with the same name replacing it to the version you need.

if anyone reading this can provide some C++ code which exports a windows bitmap object as png/gif that would help. With the help of Edhellon P1 has now its own DLL for stuff that Visual Basic is too clumsy at.
2010-07-18 03:32
Moloch

Registered: Jan 2002
Posts: 2896
Quoting Knoeki
Aww, isn't that cute. The super leet oldschooler can't deal with some criticism.

That wasn't criticism, you're being an asshole. There is definitely a difference between both, this follow-up of yours proves the point even further.
2010-07-18 08:28
JCB
Account closed

Registered: Jun 2002
Posts: 241
Quote: I'll look into the replace stuff in a week (if all goes well).

The export problem is intentional and needs a long explanation: I've found no way to tell Visual Basic to specify what DLL to use exactly. Now the export function needed a specific win DLL, which windows xp likes to update to a version that does not work with P1. I have figured I'll get rid of the problem once and for all. It's not fun having to hunt down all DLL's with the same name replacing it to the version you need.

if anyone reading this can provide some C++ code which exports a windows bitmap object as png/gif that would help. With the help of Edhellon P1 has now its own DLL for stuff that Visual Basic is too clumsy at.


Are you trying to keep stuff streamlined? Like not need a full VB install or something? If not then you just need System.Drawing.Image imported. After that there's various ways to do it from internally converting an image to a new buffer to just saving with the required ImageFormat.

Should just be a case of say you've created an internal bmp called Mybmp, doing Mybmp.Save("filename",ImageFormat.PNG)

Might be sliiightly different to that depending how you're image data is stored internally.


Pete
2010-07-18 08:39
Oswald

Registered: Apr 2002
Posts: 5020
P1 is written in old VB6 and it needed a specific GDI+ version for the export.
2010-07-18 08:52
JCB
Account closed

Registered: Jun 2002
Posts: 241
Quote: P1 is written in old VB6 and it needed a specific GDI+ version for the export.

Riiiiight, I see your problem then ;)

http://www.vbaccelerator.com/home/vb/code/vbmedia/using_gdi_plu..

any use?
2010-07-18 09:05
Oswald

Registered: Apr 2002
Posts: 5020
Nice find, but it has the same problem: its bound to a specific GDI+, and there's no way telling VB6 what dll to use. (unless you really know your ways)

Also it needs 2 .tlbs not provided. I had enough of alien code.

The provided exe does not start up, guess it doesnt likes my GDI+ version.. :)
2010-07-18 12:27
JCB
Account closed

Registered: Jun 2002
Posts: 241
Kinda seems like living in the dark ages using VB6. I'd suggest updating it to .net but that brings a whole new load of problems :)

 
... 4 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
syntaxerror
Sentinel/Excess/TREX
megasoftargentina
Fungus/Nostalgia
Smasher/F4CG
CA$H/TRiAD
iceout/Avatar/HF
Matt
Higgie/Kraze/Onslaught
K-reator/CMS/F4CG
Clayboy
Guests online: 173
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.071 sec.