Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 14
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: Hi there and slight issue.  (Read 1631 times)

0 Members and 1 Guest are viewing this topic.

Offline Sir Arthur

  • Jr. Member
  • **
  • Posts: 6
  • CONGRATULATION THIS STORY IS HAPPY END.
Hi there and slight issue.
« on: February 05, 2011, 11:14:51 am »
Hello there! I'm pretty much new here, save that I've known about OpenBOR for a while now, but have finally decided to buckle down and attempt to make my own mods. I'm really glad a program like this exists, as I've been looking for a reliable piece of software to make a scrolling brawler for ages!

Anyway, a couple nights ago I compiled a character and placed it in the data/chars folder using the Neo Edit Pack just to see if it would work, and told it to load in Models.txt, etc, all the required animations were filled as well.  
Anyway, I start the game, it gets to the load screen, then crashes.  I check the log file and get the error "Unable to load file "data/chars/charname/icon.gif" so, I think to myself, maybe it's a size issue, so I change it to a different icon (maxima's from BoR just to test) and then it can't load the idle animation, then the walking, etc.  Every time I tried to switch something to figure out the problem, it wouldn't load any frames. I left one line blank at the end of the file as well, since I read that you need to.

So, long story short, is there a format specification I'm not finding, or is there something I should look for that I'm not doing?

Thanks in advance, and I'm glad to be here. =)
~Arthur

P.S.: I apologize if this was posted elsewhere, but I tried searching and couldn't find an answer.
« Last Edit: February 05, 2011, 11:51:08 pm by Sir Arthur »

Offline DJGameFreakTheIguana

  • Hero Member
  • *****
  • Posts: 3963
  • Credit to Vyck_St.Judas, Edited by me.
Re: Hi there and slight issue.
« Reply #1 on: February 05, 2011, 06:17:36 pm »
What's up Sir Arthur, and welcome to lavalit son.  :cheers!:
Quote
I check the log file and get the error "Unable to load file "data/chars/charname/icon.gif"
About your problem, is your path wrong or something? I mean, is Icon.gif really in a folder called (Charname). I just have to ask because it doesn't seem like a folder you have to make, since the Icon can go in that characters folder.
Quote
so, I think to myself, maybe it's a size issue
I doubt that. Just check out my Icons:

I'm pretty sure they can be at any size.

Quote
so I change it to a different icon (maxima's from BoR just to test) and then it can't load the idle animation, then the walking, etc.
huh? Is this what the log file says?

I tell you what, you see that + button at the bottom of these post menus that says "Additional Options..."? Click that and go to "attach" and click browse to load up your char's txt file. Or you coud click the # symbol in that row of stuff above the similes(right over the blushing one in fact) and copy your text file there in the middle of two "Code" brackets
Code: [Select]
Kinda like thisThat way we can see it.

X)

Offline Sir Arthur

  • Jr. Member
  • **
  • Posts: 6
  • CONGRATULATION THIS STORY IS HAPPY END.
Re: Hi there and slight issue.
« Reply #2 on: February 05, 2011, 11:54:34 pm »
Lol, nah, it's not in a folder called charname.  Anyway, here's the code from the file. I've probably done something really stupid and that's why it's not working. lol

Code: [Select]
name Ryu
health 100
speed 12
type player
shadow 2
icon data/chars/ryu/icon.gif
diesound data/sounds/playerko.wav

anim idle
loop 1
delay 2
offset 30 99
bbox 14 21 31 80
frame data/chars/ryu/idle000.gif

anim walk
loop 1
delay 12
offset 30 99
bbox 14 21 31 80
frame data/chars/ryu/walk000.gif
frame data/chars/ryu/walk001.gif
frame data/chars/ryu/walk002.gif
frame data/chars/ryu/walk003.gif
frame data/chars/ryu/walk004.gif
frame data/chars/ryu/walk005.gif

anim jumpdelay
loop 0
delay 5
offset 30 99
bbox 16 31 26 69
frame data/chars/ryu/jump000.gif

anim jump
loop 0
delay 11
offset 30 99
bbox 17 15 24 80
frame data/chars/ryu/jump001.gif
bbox 15 16 26 52
frame data/chars/ryu/jump002.gif
bbox 17 15 24 80
frame data/chars/ryu/jump001.gif

anim forward jump
loop 0
delay 4
offset 30 99
bbox 12 17 28 66
frame data/chars/ryu/flip000.gif
bbox 10 23 33 38
frame data/chars/ryu/flip001.gif
frame data/chars/ryu/flip002.gif
frame data/chars/ryu/flip003.gif
frame data/chars/ryu/flip004.gif
bbox 11 20 29 45
frame data/chars/ryu/flip005.gif


anim jumpland
loop 0
delay 4
offset 30 99
bbox 16 31 26 69
frame data/chars/ryu/jump000.gif

anim get
loop 0
delay 4
offset 30 99
frame data/chars/ryu/grab000.gif

anim attack1
loop 0
delay 3
offset 30 101
bbox 11 22 27 80
attack 40 22 38 12 6
frame data/chars/ryu/jab001.gif
attack 0 0 0 0 0
frame data/chars/ryu/jab000.gif

anim attack2
loop 0
delay 3
offset 30 101
bbox 11 22 27 80
frame data/chars/ryu/punch000.gif
frame data/chars/ryu/punch001.gif
delay 4
bbox 14 26 39 76
attack 46 21 47 18 10
frame data/chars/ryu/punch002.gif
attack 0 0 0 0 0
bbox 11 22 27 80
frame data/chars/ryu/punch001.gif

anim attack3
loop 0
delay 3
offset 30 101
bbox 12 25 26 77
frame data/chars/ryu/rhouse004.gif
frame data/chars/ryu/rhouse003.gif
attack 36 22 55 44 15
bbox 11 25 30 78
frame data/chars/ryu/rhouse002.gif
attack 0 0 0 0 0
bbox 20 22 34 81
delay 4
frame data/chars/ryu/rhouse001.gif
frame data/chars/ryu/rhouse000.gif
offset 39 101
frame data/chars/ryu/rhouse005.gif

anim jumpattack
loop 0
delay 20
offset 40 99
bbox 24 7 29 56
attack 44 40 50 25 8
frame data/chars/ryu/jkick000.gif

anim special
loop 0
delay 5
offset 30 99
bbox 17 15 24 80
frame data/chars/ryu/jump001.gif
offset 50 118
frame data/chars/ryu/tatsu001.gif
offset 28 118
blast 0 48 88 66 12 1
frame data/chars/ryu/tatsu000.gif
offset 35 118
frame data/chars/ryu/tatsu002.gif
offset 50 118
frame data/chars/ryu/tatsu001.gif
offset 28 118
frame data/chars/ryu/tatsu000.gif
offset 35 118
frame data/chars/ryu/tatsu002.gif
frame data/chars/ryu/tatsu001.gif
offset 28 118
frame data/chars/ryu/tatsu000.gif
offset 35 118
frame data/chars/ryu/tatsu002.gif
offset 30 99
attack 0 0 0 0 0
bbox 17 15 24 80
frame data/chars/ryu/jump001.gif

anim pain
loop 0
delay 8
offset 39 100
bbox 12 21 31 81
frame data/chars/ryu/hurt000.gif

anim fall
loop 0
delay 20
offset 44 99
frame data/chars/ryu/ko000.gif
offset 53 62
frame data/chars/ryu/ko001.gif

anim rise
loop 0
delay 11
offset 30 99
frame data/chars/ryu/grab000.gif


Once again, thanks in advance!
~Arthur

P.S. - Here's the error message from the log -

Code: [Select]
Unable to load file 'data/chars/Ryu/icon.gif'
load_cached_model #scriptbuf: 6663 bytes in 1 allocs
buffer_packfile: 3332 bytes in 1 allocs
Total Leaked Bytes 9995

Offline LeeBrother

  • Full Member
  • ***
  • Posts: 138
Re: Hi there and slight issue.
« Reply #3 on: February 06, 2011, 03:46:22 am »
Try to change "loop 1" to "loop 0" in anim idle.

Offline magggas

  • Hero Member
  • *****
  • Posts: 735
  • .....
Re: Hi there and slight issue.
« Reply #4 on: February 06, 2011, 07:07:51 am »
The olny i can say is,be sure that your Gifs are saved as Indexed color
and not RGB.

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: Hi there and slight issue.
« Reply #5 on: February 06, 2011, 05:59:32 pm »
 magggas, I don't think it's possible to save RGB gif.

 @Arthur: This may sound stupid but try remaking the gif. I had similar problem before and I solved it by remaking the gif (I was using gifs that time, now I'm using png).
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline talic

  • Sr. Member
  • ****
  • Posts: 300
  • I kill you, and the Night!!!
    • Talic VisualBlog
Re: Hi there and slight issue.
« Reply #6 on: February 06, 2011, 06:12:25 pm »
magggas, I don't think it's possible to save RGB gif.

 @Arthur: This may sound stupid but try remaking the gif. I had similar problem before and I solved it by remaking the gif (I was using gifs that time, now I'm using png).

I got a question how do you make entitys with .png images??. i mean what are the steps you have to follow, and what are the good thing about it.

Offline magggas

  • Hero Member
  • *****
  • Posts: 735
  • .....
Re: Hi there and slight issue.
« Reply #7 on: February 06, 2011, 06:17:28 pm »
magggas, I don't think it's possible to save RGB gif.

I really have no idea about other softwares but with Adobe Photoshop i use
is possible.You can save as RGB png or gif.

Offline Plombo

  • Hero Member
  • *****
  • Posts: 1724
  • Your source for useful modding tools!
Re: Hi there and slight issue.
« Reply #8 on: February 06, 2011, 06:31:49 pm »
I really have no idea about other softwares but with Adobe Photoshop i use
is possible.You can save as RGB png or gif.

There is no such thing as an RGB GIF.  The file format specification for GIF allows only indexed images.

I got a question how do you make entitys with .png images??. i mean what are the steps you have to follow, and what are the good thing about it.

You save the image as an indexed (non-RGB) PNG.  The advantage is that the compression is superior to GIF.

Anyway, I start the game, it gets to the load screen, then crashes.  I check the log file and get the error "Unable to load file "data/chars/charname/icon.gif" so, I think to myself, maybe it's a size issue, so I change it to a different icon (maxima's from BoR just to test) and then it can't load the idle animation, then the walking, etc.  Every time I tried to switch something to figure out the problem, it wouldn't load any frames. I left one line blank at the end of the file as well, since I read that you need to.

Can you upload one of the images it can't load so we can look at it?
« Last Edit: February 06, 2011, 06:35:03 pm by Plombo »

Offline magggas

  • Hero Member
  • *****
  • Posts: 735
  • .....
Re: Hi there and slight issue.
« Reply #9 on: February 06, 2011, 06:51:48 pm »
Sorry,you are right guys.I forgot that you can turn gif in to RGB format
but not save it.I think i got a big break from modding  :-X

Offline Sir Arthur

  • Jr. Member
  • **
  • Posts: 6
  • CONGRATULATION THIS STORY IS HAPPY END.
Re: Hi there and slight issue.
« Reply #10 on: February 07, 2011, 12:37:21 am »
Well, changing them to RGB .png files allowed them to load (they wouldn't load as Indexed .pngs), but now they look like this, lol...

Does the dpi of the frame have anything to do with it? As I noticed each frame for Maxima was 96dpi instead of 72dpi. I'm not concerned about the palette as I know it doesn't match the pal.act file in the mod folder, but if that's causing it, by all means let me know.

Thanks again!
~Arthur

EDIT: Nevermind, I appear to have figured it out.  Thanks very much for your time!
« Last Edit: February 07, 2011, 12:58:22 am by Sir Arthur »

Offline talic

  • Sr. Member
  • ****
  • Posts: 300
  • I kill you, and the Night!!!
    • Talic VisualBlog
Re: Hi there and slight issue.
« Reply #11 on: February 07, 2011, 08:06:30 am »
Well, changing them to RGB .png files allowed them to load (they wouldn't load as Indexed .pngs), but now they look like this, lol...

Does the dpi of the frame have anything to do with it? As I noticed each frame for Maxima was 96dpi instead of 72dpi. I'm not concerned about the palette as I know it doesn't match the pal.act file in the mod folder, but if that's causing it, by all means let me know.

Thanks again!
~Arthur

EDIT: Nevermind, I appear to have figured it out.  Thanks very much for your time!

I have the same issue when i try to make a entity with .png images.
How do you fix it?

Offline Sir Arthur

  • Jr. Member
  • **
  • Posts: 6
  • CONGRATULATION THIS STORY IS HAPPY END.
Re: Hi there and slight issue.
« Reply #12 on: February 07, 2011, 05:41:16 pm »
I just opened them in photoshop and saved them as an indexed palette .png. For some reason, saving them again fixed the issue.  :cheers!:

~Arthur

 



 0%




mighty
SimplePortal 2.3.3 © 2008-2010, SimplePortal