The PARIS Forums


Home » The PARIS Forums » PARIS: Main » A question for coders in the community.
icon4.gif  A question for coders in the community. [message #104618] Sun, 17 January 2010 12:54 Go to previous message
kerryg is currently offline  kerryg   CANADA
Messages: 1529
Registered: February 2009
Senior Member
Administrator
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.

http://content.screencast.com/users/kerrygalloway/folders/Jing/media/8f5d9c94-d44a-49e4-be85-cbdcccf05452/00000003.png

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

 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Off topic: and the MRI says
Next Topic: PARIS started making lots of distortion type noise--What Happened!!
Goto Forum:
  


Current Time: Mon Dec 16 11:47:51 PST 2024

Total time taken to generate the page: 0.00807 seconds