• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 04:56:22 am

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


Sprite Manager with compression support

Started by melonhead, February 10, 2008, 02:28:54 pm

Xifanie

February 16, 2008, 07:43:50 am #20 Last Edit: December 31, 1969, 07:00:00 pm by Xifanie
- 256x488x8bit
- The bmp format is fine (made a new one from scratch and still got the error)

:/

System.IndexOutOfRangeException:
  at FFTPatcher.SpriteEditor.ExtensionMethods.DrawSprite(Bitmap b, Sprite s, Palette p)
  at FFTPatcher.SpriteEditor.ExtensionMethods.DrawSprite(Graphics g, Sprite s, Palette p)
  at FFTPatcher.SpriteEditor.SpriteViewer.OnPaint(PaintEventArgs e)
  at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
  at System.Windows.Forms.Control.WmPaint(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  at System.Windows.Forms.UserControl.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

melonhead

February 16, 2008, 10:23:36 am #21 Last Edit: December 31, 1969, 07:00:00 pm by melonhead
Quote from: "Kyari"There's the bitmap I'm primarily concerned with, though it seems to happen any time I edit any bitmaps. I was attempting to import over MINA_W (Squire) and used Paint Shop Pro 7 to make changes.

The issue is that the pixels you added weren't from the first 16 colors in the BMP's palette. When the program saved the file, it used color "B" instead of color "A". The BMP importer expects all the pixels to be from the first 16 colors, so it crashed. I'll add a check for this and show a warning whenever you try to import a file that has out of range colors.


Kyari

February 16, 2008, 01:42:38 pm #22 Last Edit: December 31, 1969, 07:00:00 pm by Kyari
Oh, I see! I thought I'd checked that, I did multiple things to get it to use the first row, too. Sorry to have wasted your time!

Cheetah

February 19, 2008, 01:08:18 am #23 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
Kyari I'm really like the look of your female Red Mage. I'm impressed that you chose to do a completely different hat design. The color choice is definitely what I was thinking for my attempt at a female Red Mage.
Current Projects:

Kyari

February 19, 2008, 02:12:14 pm #24 Last Edit: December 31, 1969, 07:00:00 pm by Kyari
To be fair, it's heavily FFXI inspired.

Kuraudo Sutoraifu

February 19, 2008, 05:36:51 pm #25 Last Edit: December 31, 1969, 07:00:00 pm by Kuraudo Sutoraifu
As was mine!  Kudos!

Zozma

February 21, 2008, 02:07:04 am #26 Last Edit: December 31, 1969, 07:00:00 pm by Zozma
i have to agree the red mage looks great kyari
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Kourama

February 21, 2008, 03:23:05 am #27 Last Edit: December 31, 1969, 07:00:00 pm by Kourama
QuoteTo be fair, it's heavily FFXI inspired.

Yeah it does remind me of FFXI, brought back some memories back when I played FFXI.