Ikemen Plus

Started by ShinLucho, November 20, 2017, 12:45:35 AM

Previous topic - Next topic

K4thos

#60
QuoteI fixed the stage of Legion by increasing the values of "boundleft" and "boundright" in the .def-data of the stage. The same method is working for the stage of Slogra, Gaibon and Beelzebub by OMEGAPSYCHO. This stage need an increase for "boundhigh" too. Some stages need a different zoom value too. (Example: Stage of Phalanx needs 0.6 instead of 0.5 in Ikemen.)

But it seems to me that these issues are solvable. The only issue, which I can't solve are partly missing stage graphics in the stages of Cerberus, Crocomire, Ovnunu, Phalanx and Ryukotsuki. The layers are probably the solution here. Legion, Slogra, Gaibon and Beelzebub are playable without issues, if you apply these little changes.

I hope that OMEGAPSYCHO himself will have a look at this issue, if time permits.
Thanks for testing. Did you try winmugen versions of his characters? Maybe those will have less issues.

------------

new update that fixes all known issues is up on Github.

v0.2 Changelog:
- automatic stage zoom adjustment based on stage DEF file data if present (zoomout, zoomin)
- fixed zoomMin, zoomMax, zoomSpeed parameters in select.def
- [Characters] section of select.def now accepts stages declarations even outside stages directory
- fixed randomselect feature
- looping music plugin added to the package
- fixed character's arcade intro and ending storyboards playback
- fixed music playback for stages added via [Characters] section of select.def

------------

With these changes select.def installation instructions in OMEGAPSYCHO characters are valid also for ikemen (no need to adjust zoom level, stage can be inside character's dir, all optional parameters work). As mentioned before his boss characters are not fully compatibile with the engine though.

adriano gt

GREAT.... thank you for hard work in this v0.2

-Ash-

#62
Its possible to change the localcoord so you can use lifebars from higher resolutions?

Edit

How do I put sound on the main menu, char select, versus, and victory screen?
Lasagna

adriano gt

Quote from: -Ash- on December 12, 2017, 06:32:36 PM
Its possible to change the localcoord so you can use lifebars from higher resolutions?

good question...
and is it possible to change the resolution?
arcade for example, 400x254

Teralon

Quote from: K4thos on December 12, 2017, 07:43:31 AMAs mentioned before his boss characters are not fully compatibile with the engine though.
I fixed the stages of Cerberus, Crocomire, Ovnunu, Phalanx and Ryukotsuki!

You can read the following line in common.ssz (line 390):

if(`stg.boundhigh > 0) `boundH += (float)`stg.boundhigh * `stg.localscl;

This defines the case if "boundhigh" is higher than zero, but there is no case defined if "boundhigh" is lower than zero!

After I noticed that, I added the following line above 390:

if(`stg.boundhigh < 0) `boundH += (float)`stg.boundhigh / `stg.localscl;

When you lower the value of "boundhigh" in the .def-data of the stages after adding this line, they are fully compatible.

Good_Wall533

Can you help me with this? I can't launch the build. When try to it says this : script/main.lua:221: attempt to index local 'file' (a nil value)

Zero800

#66
This project is getting really cool, I found a site with S-SIZE documentation that might be useful to you.

http://wishdream.org/s-size/

I wish it was possible to switch char with each new round in "turns" and "simul" mode.
*Chars remaining for "turns".

Teralon

Quote from: Good_Wall533 on December 13, 2017, 02:11:06 PM
Can you help me with this? I can't launch the build. When try to it says this : script/main.lua:221: attempt to index local 'file' (a nil value)
If you get asked the question "Would you like to start the conversion?", you should answer "Yes, do it now." to avoid this error.

K4thos

#68
QuoteHow do I put sound on the main menu, char select, versus, and victory screen?
What kind of sound? You can add music with this lua function that should be put inside corresponding loop:
playBGM('path_to_your_file.mp3')

QuoteYou can read the following line in common.ssz (line 390):

if(`stg.boundhigh > 0) `boundH += (float)`stg.boundhigh * `stg.localscl;

This defines the case if "boundhigh" is higher than zero, but there is no case defined if "boundhigh" is lower than zero!

After I noticed that, I added the following line above 390:

if(`stg.boundhigh < 0) `boundH += (float)`stg.boundhigh / `stg.localscl;

When you lower the value of "boundhigh" in the .def-data of the stages after adding this line, they are fully compatible.
Unfortunately this can't be implemented like this since the change breaks other stages. See yourself: https://www.dropbox.com/s/kth6s6v4x78jjfs/I.K.E.M.E.N%2013.12.2017%2016_54_42.mp4?dl=1

QuoteThis project is getting really cool, I found a site with S-SIZE documentation that might be useful to you.
Nice find :)

Quoteand is it possible to change the resolution?
arcade for example, 400x254
you can change resolution in options screen. More resolution options and a way to set one by hand will be added in the next update (edit: you can also modify resolution in ssz/config.ssz).

QuoteIts possible to change the localcoord so you can use lifebars from higher resolutions?
Not for screenpacks (see point 4 of this post). As for lifebars, no idea. You can install different mugen lifebar yourself to check it out. Simply open 'script/data_sav.lua' file in notepad and adjust this line with correct path to your lifebar:
data.lifebar = 'data/gms_lifebar/fight.def'

Teralon

Quote from: K4thos on December 13, 2017, 05:13:25 PM
QuoteYou can read the following line in common.ssz (line 390):

if(`stg.boundhigh > 0) `boundH += (float)`stg.boundhigh * `stg.localscl;

This defines the case if "boundhigh" is higher than zero, but there is no case defined if "boundhigh" is lower than zero!

After I noticed that, I added the following line above 390:

if(`stg.boundhigh < 0) `boundH += (float)`stg.boundhigh / `stg.localscl;

When you lower the value of "boundhigh" in the .def-data of the stages after adding this line, they are fully compatible.
Unfortunately this can't be implemented like this since this change breaks other stages. See yourself: https://www.dropbox.com/s/kth6s6v4x78jjfs/I.K.E.M.E.N%2013.12.2017%2016_54_42.mp4?dl=1
It can be implemented. The engine is considering the negative "boundhigh" value in the .def-data. Change the "boundhigh" value from -22 to 0 and the stage is fixed.

jenngra505

If you put in an invalid input (which is surprisingly easy to do), IKEMEN will crash and will keep crashing on startup until you go into the files manually and undo your changes.
Hopefully, I'll be able to make the little puffball on my profile pic someday.
(Credit to Zeku for the digitized 3D model used as reference and Scrollboss for the base and bits of line art that may have slipped into the final sprite)

Good_Wall533

Quote from: Teralon on December 13, 2017, 02:51:21 PM
Quote from: Good_Wall533 on December 13, 2017, 02:11:06 PM
Can you help me with this? I can't launch the build. When try to it says this : script/main.lua:221: attempt to index local 'file' (a nil value)
If you get asked the question "Would you like to start the conversion?", you should answer "Yes, do it now." to avoid this error.

Then i get this error: script/parser.lua:661:cannot open file 'tools/wip/Kung_Fu_Man/s-sff.def' (No such file or directory)

HatsuneMiku270

sorry for my bad english
is it possible to choose what kind of enemy to fight in coop mode like "single" and "turn" instead of just "simul" mode?
and thank you for your great work in this version :3

K4thos

Quoteis it possible to choose what kind of enemy to fight in coop mode like "single" and "turn" instead of just "simul" mode?
No yet, but this feature will be added in the next version.

QuoteThen i get this error: script/parser.lua:661:cannot open file 'tools/wip/Kung_Fu_Man/s-sff.def' (No such file or directory)
no idea, maybe try redownloading the package

QuoteIf you put in an invalid input (which is surprisingly easy to do), IKEMEN will crash and will keep crashing on startup until you go into the files manually and undo your changes.
which input in particular? I will see if some check can be implemented.

-Ash-

#74
Quote from: K4thos on December 13, 2017, 05:13:25 PM
What kind of sound? You can add music with this lua function that should be put inside corresponding loop:
playBGM('path_to_your_file.mp3')
Could you please tell me where exactly I place this? I tried pasting at the end of the main menu section, but didn't work, and made it extremely laggy.

QuoteNot for screenpacks (see point 4 of this post). As for lifebars, no idea. You can install different mugen lifebar yourself to check it out.



This is what happens when I use a 640x480 lifebar on Ikemen.
Lasagna

jenngra505

#75
Quote from: K4thos on December 13, 2017, 06:49:48 PM
QuoteIf you put in an invalid input (which is surprisingly easy to do), IKEMEN will crash and will keep crashing on startup until you go into the files manually and undo your changes.
which input in particular? I will see if some check can be implemented.
, . / ; and ' are examples. If you type in COMMA, PERIOD, SLASH, SEMICOLON, and APOSTROPHE they function but I feel having it respond to the individual digits as well would be useful.
Hopefully, I'll be able to make the little puffball on my profile pic someday.
(Credit to Zeku for the digitized 3D model used as reference and Scrollboss for the base and bits of line art that may have slipped into the final sprite)

Good_Wall533

I tried something. I moved the chars to a new folder i created with the name of wip in the tools folder as it said that that there was no 'such file or directory' there and the message to check the characters and sprites no longer appears. And i still get the other error i mentioned. Weird.

ShinLucho

Quote from: Good_Wall533 on December 13, 2017, 02:11:06 PM
Can you help me with this? I can't launch the build. When try to it says this : script/main.lua:221: attempt to index local 'file' (a nil value)

I have just commited a fix to this error. Try this version:
https://github.com/K4thos/Ikemen-Plus/tree/b70102392a871a109212ac3dd4e8d5e9fc37bdbe

You won't see char's portraits on select screen, but I want to see if this fixs those crashes at least.

Good_Wall533

Quote from: ShinLucho on December 14, 2017, 12:23:23 AM
Quote from: Good_Wall533 on December 13, 2017, 02:11:06 PM
Can you help me with this? I can't launch the build. When try to it says this : script/main.lua:221: attempt to index local 'file' (a nil value)

I have just commited a fix to this error. Try this version:
https://github.com/K4thos/Ikemen-Plus/tree/b70102392a871a109212ac3dd4e8d5e9fc37bdbe

You won't see char's portraits on select screen, but I want to see if this fixs those crashes at least.

Yeah, it worked. Thanks for the fix.

adriano gt

Quote from: K4thos on December 13, 2017, 05:13:25 PM
Quoteand is it possible to change the resolution?
arcade for example, 400x254
you can change resolution in options screen. More resolution options and a way to set one by hand will be added in the next update (edit: you can also modify resolution in ssz/config.ssz).

Yes, this works perfectly

but today I tested the ikemen on another computer ... windows 7 64
and this error occurs: the screen turns black .... the commands and sounds work, but no graphics
Spoiler (click to show)

may have some relation with opengl mode, something like this?