Removing default rooms and tiles (large topic)

Discussions about all other tools (CusPop, SAV/HOF editors) and hex editing.
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Removing default rooms and tiles (large topic)

Post by Emiliano »

After 5+ clichéd mods I understood that it's necessary to remove default situations to be able to fully create something new
It is exactly what I need for this hacks
I will not apply all of them to a same future mod, I will choose between the replies you make
This is not about moving them to other levels, it is about changing them
First
I would like to make the prince have the sword in level 1 without the need of taking it (having it in all the other levels of course)
Second
The skeleton in Room 1 Tile 16 Level 3 wakes up
I want to disable the waking up skeleton and keep the same tile in the same place
Third
There's a mirror that appears when the exit door is open in Room 4 Tile 5 Level 4
I want to make the mirror don't appear in any room of any level
Foruth
There was already a post about the shadow in Room 24 Level 5
But you didn't tell how to make him don't appear
Fifth
By default you can only go to level 7 falling in Room 1 of Level 6
I would like to make the game be able to use a regular exit door without weird behavior
I want also remove the shadow in room 1
Sixth
This may be important for some players
I want to remove the mouse in level 8 (entire level not only Room 16)
And of course this will need to affect princess cutscenes which can be altered in CusPoP but the feature says to don't change them
Seventh
I haven't found options related with the shadow of level 12a in CusPoP
I want to don't merge him in any level, removing him from Room 15 Level 12a and from all levels
It is also impossible to set mirrors in level 12 without interesting consequences
Eigth
You can set the exit door in any room except the room you start in
The multiple doors act weird
Is it possible to end in the same door you started in? (like Micropalace by Norbert)
Ninth
When I was testing the levels I found a gate draw bug that I want to fix
See the images and videos attached in this post
The levels are of course not definitive yet

Attachments
Bug002.png
Bug002.png (6.9 KiB) Viewed 5801 times
prince_054.png
prince_054.png (4.16 KiB) Viewed 5801 times
prince_053.png
prince_053.png (7.3 KiB) Viewed 5801 times
prince_052.png
prince_052.png (4.21 KiB) Viewed 5801 times
prince_051.png
prince_051.png (4.36 KiB) Viewed 5801 times
prince_050.png
prince_050.png (3.59 KiB) Viewed 5801 times
prince_049.png
prince_049.png (4.16 KiB) Viewed 5801 times
65536
User avatar
yourantumayel69
Calif
Calif
Posts: 565
Joined: November 12th, 2019, 9:53 am
Location: Indonesia
Contact:

Re: Removing default rooms and tiles (large topic)

Post by yourantumayel69 »

It's very simple for removing default rooms using Apoplexy and RoomShaker. You don't remove Room 5 in Princess Level
Emiliano Fierro wrote: June 18th, 2020, 11:10 pm I want to remove the mouse in level 8 (entire level not only Room 16)
Don't remove the mouse in Level 8 Room 16.
Pengkhotbah 3:1 (TB) Untuk segala sesuatu ada masanya, untuk apa pun di bawah langit ada waktunya.
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

yourantumayel69 wrote: June 19th, 2020, 2:32 pm It's very simple for removing default rooms using Apoplexy and RoomShaker. You don't remove Room 5 in Princess Level
Emiliano Fierro wrote: June 18th, 2020, 11:10 pm I want to remove the mouse in level 8 (entire level not only Room 16)
Don't remove the mouse in Level 8 Room 16.
Right, I will not, but; Don't you think other players will want to remove it?
65536
David
The Prince of Persia
The Prince of Persia
Posts: 2848
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Removing default rooms and tiles (large topic)

Post by David »

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm First
I would like to make the prince have the sword in level 1 without the need of taking it (having it in all the other levels of course)
Search: 83 7E 06 01 74 05
Change: 74 05 to 90 90 (offset is 0x61D9 in unpacked v1.0)
-or-
In Apoplexy press F2 and set "Prince has sword" to "Y".

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Second
The skeleton in Room 1 Tile 16 Level 3 wakes up
I want to disable the waking up skeleton and keep the same tile in the same place
Search: 83 3E 9E 0F 03 74 03
Change: 03 to CC (offset is 0x5D54 in unpacked v1.0)
-or-
In CusPop set the level to something nonexistent.

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Third
There's a mirror that appears when the exit door is open in Room 4 Tile 5 Level 4
I want to make the mirror don't appear in any room of any level
Search: 83 3E 9E 0F 04 75 2A
Change: 04 to CC (offset is 0xA477 in unpacked v1.0)
-or-
In CusPop set the level to something nonexistent.

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Foruth
There was already a post about the shadow in Room 24 Level 5
But you didn't tell how to make him don't appear
Remove shadow from level 5:
Search: 83 3E 9E 0F 05 75 23
Change: 05 to CC (offset is 0x5017 in unpacked v1.0)

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Fifth
By default you can only go to level 7 falling in Room 1 of Level 6
I would like to make the game be able to use a regular exit door without weird behavior
I want also remove the shadow in room 1
Remove shadow from level 6:
Search: 83 3E 9E 0F 06 75 29
Change: 06 to CC (offset is 0x4FE7 in unpacked v1.0)

The "weird behavior" is caused by the shadow. If you remove him, it will be fixed.

Disable falling exit:
Search: 83 3E 9E 0F 06 75 17
Change: 06 to CC (offset is 0x2216 in unpacked v1.0)
and:
Search: 83 3E 9E 0F 06 75 E3
Change: 06 to CC (offset is 0x5562 in unpacked v1.0)
-or-
In CusPop set the level to something nonexistent.

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Sixth
This may be important for some players
I want to remove the mouse in level 8 (entire level not only Room 16)
Search: 83 3E 9E 0F 08 75 1E
Change: 08 to CC (offset is 0x6816 in unpacked v1.0)
-or-
In CusPop set the level to something nonexistent.
Emiliano Fierro wrote: June 18th, 2020, 11:10 pm And of course this will need to affect princess cutscenes which can be altered in CusPoP but the feature says to don't change them
It says "don't change a value from/to none". You can change them to any other cutscene.
-or-
Search: 4D 03 4F 02 B7 03 4F 02 (offset is 0x1D550 in unpacked v1.0)
Change to: 4C 03 4F 02 B6 03 4F 02

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Seventh
I haven't found options related with the shadow of level 12a in CusPoP
I want to don't merge him in any level, removing him from Room 15 Level 12a and from all levels
Remove shadow from level 12:
Search: 83 3E 9E 0F 0C 75 42
Chage: 0C to CC
Emiliano Fierro wrote: June 18th, 2020, 11:10 pm It is also impossible to set mirrors in level 12 without interesting consequences
Disable shadow fighting on level 12:
Search: 83 3E 9E 0F 0C 75 04
Change: 0C to CC (offset is 0x5778 in unpacked v1.0)

Disable the kid being hurt if the shadow was hurt:
Search: 83 3E 9E 0F 0C 75 0D
Change: 0C to CC (offset is 0x2B36 in unpacked v1.0)

Disable the kid dying if the shadow died:
Search: 83 3E 9E 0F 0C 75 33
Change: 0C to CC (offset is 0x9CC1 in unpacked v1.0)

Disable the kid and the shadow drawing their swords:
Search: 83 3E 9E 0F 0C 75 3B
Change: 0C to CC (offset is 0x6A1D in unpacked v1.0)

Don't show the shadow's HP:
Search: 83 3E 9E 0F 0C 75 6A
Change: 0C to CC (offset is 0x2A29 in unpacked v1.0)

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Eigth
You can set the exit door in any room except the room you start in
The multiple doors act weird
CusPop has a fix for multiple doors, called "Stop the second level door from acting weird".
Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Is it possible to end in the same door you started in? (like Micropalace by Norbert)
Which level of Micro Palace has that?

Emiliano Fierro wrote: June 18th, 2020, 11:10 pm Ninth
When I was testing the levels I found a gate draw bug that I want to fix
See the images and videos attached in this post
The levels are of course not definitive yet
Don't enable "Set up fix gate drawing bug" in CusPop. It fixes an obscure bug, but causes this bug instead.
See here: viewtopic.php?p=21377#p21377 (bottom of post)
And here: viewtopic.php?p=21214#p21214 (bottom of post)
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

Thanks David, I thought you were not coming back until 4± days ;)
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

Sorry for the confusion, I don't remember correctly Micro Palace, I haven't played the mod because it seems hard for me, I watched Lambert's videos about the mod
65536
David
The Prince of Persia
The Prince of Persia
Posts: 2848
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Removing default rooms and tiles (large topic)

Post by David »

Emiliano Fierro wrote: June 20th, 2020, 6:37 pm Sorry for the confusion, I don't remember correctly Micro Palace, I haven't played the mod because it seems hard for me, I watched Lambert's videos about the mod
The video of level 9 (see here) had a strange thing related to exit doors at the end.
This is what I wrote about it: viewtopic.php?p=25926#p25926

Is this what you mean?
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

No, it is the same fact, I don't remember well :|
Thanks for correcting me
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

After removing the shadow I found this still happens:
The tile 2 Room 15 Level 12a changes from any tile (sword by default) to regular floor
This happens to make you feel like the shadow took the sword
It might be annoying to find a floor where originally was any other tile, don't you think so?
I would like to keep the original tile (disable changing it to floor)
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

Hi again I would like to disable the loose floors which fall by themselves in level 12b located in rooms 1 and 17 and make them fall only by stepping on them
This may be altered in CusPoP, however I would need to download a new file, this is why I need to Hex edit them
Thanks
Attachments
Loose floors level 12b.png
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

You may think “simply don't use those room” applied to any level
But, it's not this way, I'm making a mod that uses 24 rooms in every level so this is not possible
65536
David
The Prince of Persia
The Prince of Persia
Posts: 2848
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Removing default rooms and tiles (large topic)

Post by David »

Emiliano Fierro wrote: June 20th, 2020, 7:48 pm After removing the shadow I found this still happens:
The tile 2 Room 15 Level 12a changes from any tile (sword by default) to regular floor
This happens to make you feel like the shadow took the sword
It might be annoying to find a floor where originally was any other tile, don't you think so?
I would like to keep the original tile (disable changing it to floor)
Search: 83 3E 9E 0F 0C 75 24
Change: 0C to CC (offset is 0x55B5 in unpacked v1.0)

Emiliano Fierro wrote: June 21st, 2020, 3:41 am Hi again I would like to disable the loose floors which fall by themselves in level 12b located in rooms 1 and 17 and make them fall only by stepping on them
This may be altered in CusPoP, however I would need to download a new file, this is why I need to Hex edit them
Thanks
Search: 83 3E 9E 0F 0D 75 40
Change: 0D to CC (offset is 0x28BD in unpacked v1.0)
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

Thanks again David
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

Sorry to disturb again, I would like to treat room 23 of level 12a like a regular room (disabling exiting by entering this room)
This way I would force the game to end the level using an exit level door
Doing this I would finally separate level 12a and 12b
I don't know if this can be modified in CusPoP I haven't fully explored CusPoP, anyway I need both, Hex editing and CusPoP feature
Attachments
Img020.png
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: Removing default rooms and tiles (large topic)

Post by Emiliano »

As you can see, the level I will need to edit mos is 12a, I would like to disable this shortcut generated by a link in all rooms linked to any room (disabling this kind of links)
This is not a broken room link, is it?

Instead the prince should end in room 18
I really don't know if is this hack possible
Attachments
Img021.png
65536
Post Reply