A question for coders in the community. [message #104618] |
Sun, 17 January 2010 12:54 |
|
Problems often melt away with enough sunlight on them, so here's a riddle for the community coders.
XN Resource Editor is the application we use to install the skins that Jim Drago, Mike Yanoska and others build for PARIS. A small issue blocks more complete skin work - certain images make PARIS crash if replaced or altered.
Whole sections can be freely altered, but It only takes a trivial alteration in certain areas to provoke a crash. Try this experiment yourself if you're curious:
1) Make a copy of your paris.exe.
2) Download and boot up XN Resource Editor.
3) From inside XN Resource Editor, navigate to the copy of the paris.exe you made and open it.
4) In "PICT" resources you'll find one called MIXER. Take the pencil tool and draw a visible mark in a specific place, shown below (it can be as little as a single pixel, but a bit larger is better for the purpose of visibility of the results).
5) Save the app. Quit XN Resource Editor.
6) Boot PARIS from the altered .exe. Open a Mixer window; you should see your "graffiti" mark displayed above the Auxes. Now - close the mixer window.
PARIS should now quit with ***ASSERTION FAILED: aPalettes.c:317 palette!=NULL.
Questions to those who are code-savvy (I am not, I'm just a layman who isn't afraid to ask stupid questions): why? What changes - palette? Header? File size? DPI (the 8-bit original is an unusual "86 DPI")?
Finding a solution to this will help people skinning PARIS take the work further. Perhaps it's a matter of opening the changed graphic in a hex editor and altering the header/palette to match the original in some way? There are some real talents here in the community; insights gratefully received.
Thanks!
"... being bitter is like swallowing poison and waiting for the other guy to die..." - anon
[Updated on: Mon, 18 January 2010 14:07] Report message to a moderator
|
|
|