|
Post by Mindless on Dec 3, 2007 23:44:45 GMT
submit patches (also, more smaller patches are better than large ones)
|
|
|
Post by Xav R on Dec 3, 2007 23:45:12 GMT
Tyrian for GP2X!!! Wow! It has been the greatest news for this handheld for a long time A man on the gp32spain forum said that the game runs at a normal speed when using gmenu2x activating ram Tweaks and raising the clock to 240 Mhz. If I could help in any way to the project it would be great. I know a little of C programming OpenTyrian rocks !!! Thanks for the information if you want to help, you'll be welcome. I'm currently on the joystick management, because it seems that not all the GP2x buttons are handled. So if you have any suggestion to use select, start, vol+ and vol-, I'll be happy
|
|
|
Post by antoniou on Dec 5, 2007 18:27:17 GMT
I looked only a little the code, but it seems that every button of the GP2X has a number or name associated for the SDL. In your modification I´ve seen that A button is 12, B 13, etc. The Select button would be a good choice for the real Scape, and it will have a number for it as the rest. In the file "mainint.c" (large one, jaja) I have seen a lot of references to SDLK_ESCAPE, which I suppose is the Escape button. If it was changed for the number of the Select button of the GP2X everywhere it should (ideal case) work fine but I have never used SDL so I could be saying something stupid I will try to spread the word in gp32spain.com. I´m sure that someone with more ideas than me also loves Tyrian and wants to collaborate
|
|
|
Post by yuriks on Dec 5, 2007 18:46:51 GMT
You said something stupid. =P Those only check against the keyboard. The GP2X uses the joystick input, so we need to rewrite all those functions to use the joystick instead. That's a good deal of work.
|
|
|
Post by Xav R on Dec 5, 2007 21:16:19 GMT
Well I believed it was that kind of surprise I noticed inside the JE_joystickTranslate function that the SDLK_ESCAPE symbol is already assigned to lastkey_sym, on pressing button[1]. What is button[1] supposed to match to ? Wouldn't it be possible to directly call JE_doInGameSetup() instead ? I also noticed that the 19 buttons are managed for the GP2x. What does the following mean ? #ifndef TARGET_GP2X const JE_ButtonAssign defaultJoyButtonAssign = {1, 4, 5, 5}; #else const JE_ButtonAssign defaultJoyButtonAssign = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 4, 5, 5, 0, 0, 0}; #endif
|
|
|
Post by Mindless on Dec 5, 2007 22:07:12 GMT
that defines which buttons do an action in-game -- so "defaultJoyButtonAssign[joystick_button_number] = action_number" ... you'll find what the "action_number"s mean in JE_updateButtons()
|
|
|
Post by antoniou on Dec 7, 2007 20:41:17 GMT
I´m not sure if this has been said before, but I think there is an error when saving. I finished the first level. Then I saved. Then I finished the second level, upgraded the ship and saved. I rebooted the GP2X and opened Tyrian and when loading, it only had the first save, not the second.
For this I compiled the last SVN code with the modifications of kalimerou.
|
|
|
Post by Mindless on Dec 7, 2007 22:36:26 GMT
I've stuck some sync() calls in, so hopefully that fixes it.
|
|
|
Post by Xav R on Dec 9, 2007 0:19:12 GMT
I´m not sure if this has been said before, but I think there is an error when saving. Yes, it's been said on GP32x forum. But better say twice than never I've stuck some sync() calls in, so hopefully that fixes it. I had a look at MAMEGP2x src, it seems to be done like that. Well, let's check that as soon as possible ! ;D For this I compiled the last SVN code with the modifications of kalimerou. These modifications are very tiny, and mostly suggested by Daid on this thread. Mindless, yuriks, would you like me to provide you with some patches ?
|
|
|
Post by Xav R on Dec 9, 2007 0:21:34 GMT
I'm slowly preparing a new release which will use hardware SDL, MMU Hack and ram tweaks. For that purpose, I extracted a bunch of gp2x-specific cpp files from Franxis' MAMEGP2X. I built them into a static lib, which also includes a gp2x scaler and joystick support.
Mindless, you said that you were implementing a scaler for OpenTyrian. Would you be interested by that lib ?
|
|
|
Post by Mindless on Dec 9, 2007 1:55:08 GMT
sure, it'd be awesome if Tyrian was scaled to fill the screen
|
|
|
Post by antoniou on Dec 9, 2007 12:32:27 GMT
I'm slowly preparing a new release which will use hardware SDL, MMU Hack and ram tweaks. For that purpose, I extracted a bunch of gp2x-specific cpp files from Franxis' MAMEGP2X. I built them into a static lib, which also includes a gp2x scaler and joystick support. Great! With those modifications it should work really good!!! Thank you for your answers
|
|
|
Post by antoniou on Dec 9, 2007 23:42:10 GMT
Well, I will try to help finding bugs When opening the Ship Specs, the image that appears is bigger than the game window, and the extra piece is shown on the black stripe on the bottom. When you quit the Ship Specs, that extra piece is still there and you can see it while in the menu. Also when upgrading the ship, if you just look at the different weapons, etc without buying anything, if you exit the upgrade option, your weapons and everything are reseted to its starting values, so you have to buy them again (a little annoying, jaja). I hope this helps. Good job and thank you!
|
|
|
Post by Xav R on Dec 11, 2007 21:23:47 GMT
|
|
|
Post by antoniou on Dec 11, 2007 23:02:20 GMT
Great!!! It has improved a lot! Now it only goes a bit slow when maaany ships are shooting at the same time, great!!! There is only one thing, as when I exit the game it hangs up and doesn't return to the GP2X menu. Thanks!
|
|