Forum Home Forum Home > Arcade Technical and Restoration > Tech, Maintenance & Repairs
  New Posts New Posts RSS Feed - Pandoras box 4 hacking
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pandoras box 4 hacking

 Post Reply Post Reply Page  <1 181920
Author
Message
redneck eyeball View Drop Down
Level Up
Level Up


Joined: 09 March 2017
Location: Belgium
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote redneck eyeball Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2017 at 7:47pm
Interesting read, thank you for sharing.

Back to Top
MadGear83 View Drop Down
Level Up
Level Up
Avatar

Joined: 15 August 2016
Location: Greece
Status: Online
Points: 249
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadGear83 Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2017 at 10:20pm
I'm trying lemon launcher.. it's not so bad
If someone wants to boot direct to lemon launcher ui have to edit from first partition "game" txt from pb4s to mame. Then pandora box will boot direct to lemon launcher..

Back to Top
Asure View Drop Down
Kill Screen
Kill Screen
Avatar

Joined: 17 May 2013
Location: Nederland
Status: Offline
Points: 1586
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asure Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2017 at 10:33pm
I also sorted out how to add additional games, i have 801-807 for test working.
I inserted entries before 'martial masters' ended, duplicating 'killing blade' entry. :)

For some reason, the 801-806 entry all start up 'Reactor' game #542
Identyfing marks for the entry are '68 01' and 'BB 0B' number before rom start.
I duplicated the rest from 'Shinobi' as i want some 'mame 05' entries. 
Maybe we're not allowed to duplicate the entry at the start.?
The actual Reactor entry has BB 17 at the start, 

At least i don't have the menu crashing like before but just starting something else :)
The last entry (martial masters, 807 now) works fine. I'm sure i'll figure out how to fix that the 801-806 entries all launch Reactor instead :).

Check it out: screenshot


Edited by Asure - 26 May 2017 at 10:34pm
Back to Top
Akira84 View Drop Down
Level Up
Level Up


Joined: 09 May 2017
Location: usa
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Akira84 Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2017 at 10:34pm
Originally posted by Asure Asure wrote:





Note the shinfz at the top, and shinobi at the bottom.
If you wanted to change this to something else, you would hexedit the 'shinobi' rom name at 0x5D3B00 and do this inside all of the libnsx*.so files.


@Asure  I have played around with trying to hex edit some new games into the menu, but am not having any luck.  Could you explain in more detail how to do it, 
or could you pick one of the games you added such as uccopsj  and tell me the addresses you hex edited in each lib.so file. So I can compare the addresses in each lib.so files in your version and pb4x and see specifically what you changed in each file.     Thanks again for all your work.  
Back to Top
Akira84 View Drop Down
Level Up
Level Up


Joined: 09 May 2017
Location: usa
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Akira84 Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2017 at 10:37pm
also do you need to add new select and unselect image and a video preview to get it to work?
Back to Top
Asure View Drop Down
Kill Screen
Kill Screen
Avatar

Joined: 17 May 2013
Location: Nederland
Status: Offline
Points: 1586
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asure Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2017 at 10:38pm
Look at the bottom area (green)
5F3B00 77 17 is the start for entry shinobi.
Hexedit the rom name to something else supported by xmame. And you're done.
First xxxxxx = Chinese name, second xxxx = English name. Not used, it uses gfx tiles to show the names.
The rest of the bytes i did not touch. That 01 03 05.. no idea. but the red 05 = use XMAME for this rom.

Good luck :)

Edit: no you do not need preview avi or png for select/unselect. If the romset is OK the game will work. (Ex. try Wardner or some known OK rom.) 
Some tile duplication will show up so remember the number of the rom you changed.
I always look at the list from Mengxipeng and note down the number. Then test.


Edited by Asure - 26 May 2017 at 10:41pm
Back to Top
mananuk View Drop Down
Power Up
Power Up


Joined: 02 May 2017
Location: Spain
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote mananuk Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2017 at 8:44am
Originally posted by Akira84 Akira84 wrote:

@redneck eyeball
Why do you think the hots4 is not a hack out the pb4x?
I only found 2 different games so far, it has a different shiniobi game, and it's missing sonic which is replaced by qix (I could not get Qix to load).
Are there other games that are different?


I think shinobi it's the same, only the name changes because the magic works perfect at hots4 too, and fz shinobi rom magic not works
Back to Top
Asure View Drop Down
Kill Screen
Kill Screen
Avatar

Joined: 17 May 2013
Location: Nederland
Status: Offline
Points: 1586
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asure Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2017 at 2:14pm
Figured out why the games 801-809 + do not start what rom name i put into them.
I have the 9 new entries set up for emu '05' but there is no corresponding entry in the 'gamelist' inside emu 05.

05 starts up and reads the configfile to see the 'game number' that it needs to run.
It does not use a romname on the command line.
It matches that number to an internal list inside the 05 lib. But this list is quite different and uses a confusing numbering system with seemingly random numbering (not from 01-100, but jumps around.)

This does not mean it's impossible to add games, but i need to come up with a blank numbering area and 'add' these entries into the 'xmame' 05 lib before i can call them as a number from the original pandora menu. So it's still possible to release say, a 900-in-1 (lol) with lots of mame-compatible titles added. It's just gonna be a lot of work without specialist tools to enable quick and easy hacking/editing. Lots of hexediting so to say :(

I'm more up for removing more badly emulated games and vertical shooters that are badly scaled in the current list of 800, and replacing with proper titles.. Quality over quantity. 
Back to Top
Winklepicker View Drop Down
Level Up
Level Up
Avatar

Joined: 17 May 2016
Location: UK
Status: Offline
Points: 121
Post Options Post Options   Thanks (0) Thanks(0)   Quote Winklepicker Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2017 at 8:22pm
Yeah definitely it's a good idea to replace games that do not run very well with others games that work fine.

Is there any way to alter the games list to display alphabetical?

Edited by Winklepicker - 28 May 2017 at 8:24pm
Back to Top
Asure View Drop Down
Kill Screen
Kill Screen
Avatar

Joined: 17 May 2013
Location: Nederland
Status: Offline
Points: 1586
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asure Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2017 at 9:03pm
Unless someone (me?) writes a tool to handle the 4 main libs + single xmame lib, there is no easy way.
To replace stuff, i just dig around and find a bunch of entries in a row that suck. Not too hard :)
Back to Top
digweed View Drop Down
High Score
High Score
Avatar

Joined: 14 May 2015
Location: Bournemouth
Status: Offline
Points: 982
Post Options Post Options   Thanks (0) Thanks(0)   Quote digweed Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2017 at 10:48pm
Originally posted by Asure Asure wrote:

Unless someone (me?) writes a tool to handle the 4 main libs + single xmame lib, there is no easy way.
To replace stuff, i just dig around and find a bunch of entries in a row that suck. Not too hard :)

Mate I do applaud you for all the work you have done so far, wish I could help but I'd have to start way from the beginning Clap  
Wanted: Lordsvale or Neo Geo themed cab
Back to Top
Akira84 View Drop Down
Level Up
Level Up


Joined: 09 May 2017
Location: usa
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Akira84 Quote  Post ReplyReply Direct Link To This Post Posted: Yesterday at 5:15am
Originally posted by Asure Asure wrote:

Figured out why the games 801-809 + do not start what rom name i put into them.
I have the 9 new entries set up for emu '05' but there is no corresponding entry in the 'gamelist' inside emu 05.

05 starts up and reads the configfile to see the 'game number' that it needs to run.
It does not use a romname on the command line.
It matches that number to an internal list inside the 05 lib. But this list is quite different and uses a confusing numbering system with seemingly random numbering (not from 01-100, but jumps around.)

This does not mean it's impossible to add games, but i need to come up with a blank numbering area and 'add' these entries into the 'xmame' 05 lib before i can call them as a number from the original pandora menu. So it's still possible to release say, a 900-in-1 (lol) with lots of mame-compatible titles added. It's just gonna be a lot of work without specialist tools to enable quick and easy hacking/editing. Lots of hexediting so to say :(

I'm more up for removing more badly emulated games and vertical shooters that are badly scaled in the current list of 800, and replacing with proper titles.. Quality over quantity. 


This might explain at least part of why I have been having issues hexediting and replacing games.  The games I have been trying to add, do work on lemonlauncher but are not in the 05 lib, I have searched for them and not found them in lib,  so maybe that is part of my problem.
Again thanks for all your work.  And I'll keep messing with it, hopefully I can figure it out, so I can help you with replacing games.
Back to Top
Asure View Drop Down
Kill Screen
Kill Screen
Avatar

Joined: 17 May 2013
Location: Nederland
Status: Offline
Points: 1586
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asure Quote  Post ReplyReply Direct Link To This Post Posted: Yesterday at 8:43am
You need to edit all the lists in all the libs for games to work properly.
Open the main libnsxas.so and search around the list.
So, you find a bunch of games with emu 05 (try 580-589, there's a nice cluster of them there.)
This list is the same inside 00-04 emus. You need to edit all of them.

Look inside 05 (libnsxnx, this is xmame) and you will see a different list, but at least the game you want to swap out, is in there.

580 05 Arabian Magic 
581 05 Steel Gunner
582 05 Dockman

Those three are all inside 05. Do not search for the game name (it's xxxxx in most cases) but search for rom name.

It would help if you explain what you want to do exactly. :)



Edited by Asure - Yesterday at 8:44am
Back to Top
Eddhorse View Drop Down
Bonus Stage
Bonus Stage
Avatar

Joined: 18 March 2014
Location: Dublin
Status: Offline
Points: 389
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eddhorse Quote  Post ReplyReply Direct Link To This Post Posted: 17 hours 31 minutes ago at 9:29pm
FYI for those not in the know, the following link shows one of the developers/hackers of the Pandoras.

http://mengxipeng1122.github.io/PandoraBoxHacking/

Also has a Facebook page asking which game you would like added to the next 800/900 in 1

Also has links to the hackable boards.

Edited by Eddhorse - 17 hours 31 minutes ago at 9:29pm
Back to Top
Akira84 View Drop Down
Level Up
Level Up


Joined: 09 May 2017
Location: usa
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Akira84 Quote  Post ReplyReply Direct Link To This Post Posted: 9 hours 4 minutes ago at 5:56am
Finally making progress.
I successfully replaced 582 Dockman with Paperboy (paperbr1).
The first paperboy rom I tried must not have been the right version. Using the serial usb adapter, I could see it tried loading it but could not find the files, So I tried another version of the rom and it worked :)
Thank you Asure for all your help.
I'll keep playing with it and see if I can successfully do it again with another rom.

Do you know if the pb4s or pb4sfix image can be hex edited ? Or does it only work on the pb4x image?


Back to Top
Akira84 View Drop Down
Level Up
Level Up


Joined: 09 May 2017
Location: usa
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Akira84 Quote  Post ReplyReply Direct Link To This Post Posted: 9 hours 1 minutes ago at 5:59am
I see what you were talking about with the title duplication.  582 no longer said dockman, it said a different name, and when I highlighted it it would change to another name.
Next step is to try to replace another rom to see if I can do it again.
Then I will actually look through the list and see what games I want to replace and what games I want to add.
THen I'll work on the select un select images.
Once I get that all figured out, I'll have questions about how to do the preview movies.
Thanks again asure for all your work and tips on how to replace games.
Back to Top
Asure View Drop Down
Kill Screen
Kill Screen
Avatar

Joined: 17 May 2013
Location: Nederland
Status: Offline
Points: 1586
Post Options Post Options   Thanks (0) Thanks(0)   Quote Asure Quote  Post ReplyReply Direct Link To This Post Posted: 5 hours 49 minutes ago at 9:11am
I'm assuming PB4S and PB4Sfix can be edited as the 'fix' involved editing :)
I have a command line for repacking video in the correct format.

I am working on a huge edit replacing most of the vertical stuff, i'd say about 50-60 titles now. 
I have no 'requests' left on the table, the stuff everybody was asking for is in. 

Just a big bunch of title editing and video ripping involved now.
Back to Top
MadGear83 View Drop Down
Level Up
Level Up
Avatar

Joined: 15 August 2016
Location: Greece
Status: Online
Points: 249
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadGear83 Quote  Post ReplyReply Direct Link To This Post Posted: 5 hours 39 minutes ago at 9:21am
Wow!! You convert the king of air to best vertical games??
I wish you will include and exerion ☺️
Back to Top
 Post Reply Post Reply Page  <1 181920
  Share Topic   

Forum Jump Forum Permissions View Drop Down