Post #1 · Publicado en 2014-04-10 01:45:02am Hace 10.1 años
Wan | |
---|---|
Member | |
412 Mensajes | |
Reg. 2008-01-13 | |
"I want to change my username =(" |
Last updated: 2014-04-10 02:03am
Well, this has been a looong running project of mine, and I'm still tweaking various aspects of it from time to time.
It's almost a direct copy of Takuya's Party Collection theme for 3.9, with some elements borrowed from Beware Extreme and many others implemented by me.
Screenshot spamfest incoming!
Yay home screen. The "yellow" text is the actually highlighted, so it changes when moving the cursor. Takuya's theme didn't for technical reasons.
I've yet to make an INFORMATION screen.
Separate parts for the platform and character are used. From Takuya's theme, if one starts in the 2P side, a different character appears.
Also, the stage count changes dinamically.
Difficulty Selection screen. I NEED HELP HERE (explained below).
In 4:3 mode this looks fine, but there's too much space in widescreen modes. I might change the elements position to a proportion of the screen instead of SCREEN_LEFT+something.
If you notice, Random and Roulette are in their correct positions. Any OpenITG build later than August 2011 allows this via metrics.
Also, I'm using the Sort Series image. It's in the original game data but never used (there's no group sort in Party Collection)
Original options, original font ripped from the game and arranged by hand. To not show the difficulty number in the list, any OpenITG build later than August 2011 is needed (changed via metrics).
I've yet to find a way to make the OptionIcons change when selecting options like in the original game.
Elements adapt to the screen size, except the life bar. Didn't want to stretch it.
The shown options are like in the original game.
Score is normal instead of percentage. Planning to change it.
Heavily customized Operator Menu, with corresponding sounds and whatnot
PS2 ending video. The audio changes in December like in the original game.
_______________________________________________________________________________________________
Now, I need help with the Difficulty selection screen. The screen uses Takuya's method so ScreenSelectMaster is used.
- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
[Come to think, I started working on this when Takuya was actively theming, so I asked himself permission to port the theme...]
It's almost a direct copy of Takuya's Party Collection theme for 3.9, with some elements borrowed from Beware Extreme and many others implemented by me.
Screenshot spamfest incoming!
Yay home screen. The "yellow" text is the actually highlighted, so it changes when moving the cursor. Takuya's theme didn't for technical reasons.
I've yet to make an INFORMATION screen.
Separate parts for the platform and character are used. From Takuya's theme, if one starts in the 2P side, a different character appears.
Also, the stage count changes dinamically.
Difficulty Selection screen. I NEED HELP HERE (explained below).
In 4:3 mode this looks fine, but there's too much space in widescreen modes. I might change the elements position to a proportion of the screen instead of SCREEN_LEFT+something.
If you notice, Random and Roulette are in their correct positions. Any OpenITG build later than August 2011 allows this via metrics.
Also, I'm using the Sort Series image. It's in the original game data but never used (there's no group sort in Party Collection)
Original options, original font ripped from the game and arranged by hand. To not show the difficulty number in the list, any OpenITG build later than August 2011 is needed (changed via metrics).
I've yet to find a way to make the OptionIcons change when selecting options like in the original game.
Elements adapt to the screen size, except the life bar. Didn't want to stretch it.
The shown options are like in the original game.
Score is normal instead of percentage. Planning to change it.
Heavily customized Operator Menu, with corresponding sounds and whatnot
PS2 ending video. The audio changes in December like in the original game.
_______________________________________________________________________________________________
Now, I need help with the Difficulty selection screen. The screen uses Takuya's method so ScreenSelectMaster is used.
- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
[Come to think, I started working on this when Takuya was actively theming, so I asked himself permission to port the theme...]
Post #2 · Publicado en 2014-04-10 02:34:08pm Hace 10.1 años
Mad Matt | |
---|---|
Member | |
65 Mensajes | |
Reg. 2011-10-26 | |
Quote: Wan
To not show the difficulty number in the list, any OpenITG build later than August 2011 is needed.
This is not strictly true. In normal 3.95 it is possible to override the text of any option row, although it has to be done in a difficult and convoluted way.Quote: Wan
Now, I need help with the Difficulty selection screen. The screen uses Takuya's method so ScreenSelectMaster is used.
- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
If you want to send me a copy of the theme I can try to figure this out for you. Without seeing the code I can't offer much help.- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
Post #3 · Publicado en 2014-04-10 04:42:06pm Hace 10.1 años
Th3_Ov3rHell_3XoduZ | |
---|---|
Member | |
313 Mensajes | |
Reg. 2012-09-13 | |
"ITG, The Best Dance Machine!" |
Well I am not able to help so much, I'm user of SM5 but I have to say it looks WOW
Post #4 · Publicado en 2014-04-10 07:23:50pm Hace 10.1 años
Wan | |
---|---|
Member | |
412 Mensajes | |
Reg. 2008-01-13 | |
"I want to change my username =(" |
Quote: Mad Matt
Quote: Wan
To not show the difficulty number in the list, any OpenITG build later than August 2011 is needed.
This is not strictly true. In normal 3.95 it is possible to override the text of any option row, although it has to be done in a difficult and convoluted way.Quote: Wan
Now, I need help with the Difficulty selection screen. The screen uses Takuya's method so ScreenSelectMaster is used.
- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
If you want to send me a copy of the theme I can try to figure this out for you. Without seeing the code I can't offer much help.- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
http://www.mediafire.com/download/wb3xj2ep7p95kfv/Parti_colekshon.7z
Post #5 · Publicado en 2014-04-10 10:59:23pm Hace 10.1 años
The crashing when you make a selection on page 2 is caused by the "DoMenuStart" function in the code for ScreenSelectMaster, lines 644 to 679.
On page 2, or on page1 if SharePreviewAndCursor are turned on, it'll call that function for both players when you hit start.
When it calls the function for player 1, "bIsFirstToChoose" is false so it doesn't do much.
The second time around, it'll run through the conditional starting on line 661.
If SharePreviewAndCursor is false, as it is in your case, it'll try to run CursorPart1P2ChooseCommand, regardless of which players are enabled.
If only player 1 is enabled, this will cause an Access Violation. If only player 2 is enable, or both players are enabled, it will not crash here.
The only real way around this is to turn on SharePreviewAndCursor conditionally. The caveat is that you'll have to make all of the shared cursor and preview parts look identical to the P1 cursor and preview parts, because with only P1, it'll use those instead.
I'll look at the cursor jumping part later.
edit: It's actually the "GetTimeLeftInTween" that causes the crash, not the command.
On page 2, or on page1 if SharePreviewAndCursor are turned on, it'll call that function for both players when you hit start.
When it calls the function for player 1, "bIsFirstToChoose" is false so it doesn't do much.
The second time around, it'll run through the conditional starting on line 661.
If SharePreviewAndCursor is false, as it is in your case, it'll try to run CursorPart1P2ChooseCommand, regardless of which players are enabled.
If only player 1 is enabled, this will cause an Access Violation. If only player 2 is enable, or both players are enabled, it will not crash here.
The only real way around this is to turn on SharePreviewAndCursor conditionally. The caveat is that you'll have to make all of the shared cursor and preview parts look identical to the P1 cursor and preview parts, because with only P1, it'll use those instead.
I'll look at the cursor jumping part later.
edit: It's actually the "GetTimeLeftInTween" that causes the crash, not the command.
Post #6 · Publicado en 2014-04-11 12:17:32am Hace 10.1 años
Wan | |
---|---|
Member | |
412 Mensajes | |
Reg. 2008-01-13 | |
"I want to change my username =(" |
Could it probably be fixed directly in the source? The metrics from ScreenSelectMaster are identical as in the 3.9 theme, and it didn't crash there.
Post #7 · Publicado en 2014-04-11 12:26:33am Hace 10.1 años
Mad Matt | |
---|---|
Member | |
65 Mensajes | |
Reg. 2011-10-26 | |
Sure, just throw a "if(m_sprCursor[i][iIndex] != NULL)" in there before it tries to check the remaining tween time.
Post #8 · Publicado en 2014-04-11 01:26:28am Hace 10.1 años
Wan | |
---|---|
Member | |
412 Mensajes | |
Reg. 2008-01-13 | |
"I want to change my username =(" |
Last updated: 2014-04-11 01:37am
Quote: Mad Matt
Sure, just throw a "if(m_sprCursor[i][iIndex] != NULL)" in there before it tries to check the remaining tween time.
Let's see how this goes. Starting VS now.EDIT:
Quote
Find all "GetTimeLeftInTween", Subfolders, Find Results 1, "Entire Solution"
Matching lines: 0 Matching files: 0 Total files searched: 1366
Matching lines: 0 Matching files: 0 Total files searched: 1366
EDIT2:
It's actually GetTweenTimeLeft. So, you mean to leave it like this?
Quote
for( int i=0; i<NUM_CURSOR_PARTS; i++ )
{
COMMAND( m_sprCursor[i][pn], "Choose");
if(m_sprCursor[i][iIndex] != NULL)
{
fSecs = max( fSecs, m_sprCursor[i][iIndex]->GetTweenTimeLeft() );
}
}
{
COMMAND( m_sprCursor[i][pn], "Choose");
if(m_sprCursor[i][iIndex] != NULL)
{
fSecs = max( fSecs, m_sprCursor[i][iIndex]->GetTweenTimeLeft() );
}
}
Post #9 · Publicado en 2014-04-11 01:35:12am Hace 10.1 años
ScreenSelectMaster.cpp line 674.
It's GetTweenTimeLeft, not GetTimeLeftInTween. oops.
It's GetTweenTimeLeft, not GetTimeLeftInTween. oops.
Post #10 · Publicado en 2014-04-21 11:16:09pm Hace 10.1 años
Wan | |
---|---|
Member | |
412 Mensajes | |
Reg. 2008-01-13 | |
"I want to change my username =(" |
Last updated: 2014-04-21 11:17pm
YOU ARE GOD, MAD MATT.
It doesn't crash anymore, woohoo!
EDIT: Nonstop works, but Challenge (Oni) doesn't. I'm going to check why.
EDIT2: Ahh, sweet metrics.
________________________________________
Actually ScreenSelectCourse looks like this, for both Nonstop and Oni:
I'm still on the hunt for an appropriate font for the course names
It doesn't crash anymore, woohoo!
EDIT: Nonstop works, but Challenge (Oni) doesn't. I'm going to check why.
EDIT2: Ahh, sweet metrics.
________________________________________
Actually ScreenSelectCourse looks like this, for both Nonstop and Oni:
I'm still on the hunt for an appropriate font for the course names
Post #11 · Publicado en 2022-03-26 07:49:27pm Hace 2.2 años
Vixy45 | |
---|---|
Member | |
4 Mensajes | |
Reg. 2022-03-17 | |
Quote: Wan
Quote: Mad Matt
Quote: Wan
To not show the difficulty number in the list, any OpenITG build later than August 2011 is needed.
This is not strictly true. In normal 3.95 it is possible to override the text of any option row, although it has to be done in a difficult and convoluted way.Quote: Wan
Now, I need help with the Difficulty selection screen. The screen uses Takuya's method so ScreenSelectMaster is used.
- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
If you want to send me a copy of the theme I can try to figure this out for you. Without seeing the code I can't offer much help.- First of all, if I pick either Nonstop or Challenge, the game crashes with an Access Violation. This happens from SM 3.95 onwards.
- The cursors behave weirdly. For example, if both players start in Beginner and Player 1 moves to Light, when Player 2 then moves to the right it SKIPS Player 1's cursor and goes straight to Standard. If Player 2 moves back to the left it lands on Light as it should.
http://www.mediafire.com/download/wb3xj2ep7p95kfv/Parti_colekshon.7z
the download link seems to not be working
Post #12 · Publicado en 2022-06-14 11:48:21pm Hace 1.9 años
This is ITG3 EXTREME