Phantasy Star (Master System)
<?xml version="1.0" encoding="UTF-8" ?>
<gamelink>

    <card
        title="PHANTASY STAR"
        short="PHANTASY STAR"
        titlelo="Phantasy Star"
        sort_name="PHANTASY STAR 1"
        beta="true"
    />

    <libretro>

        <!-- Phantasy Star (UE) [!].sms -->
        <detect system="SMS">
            <content_hash>9e324e92bd833b45126861b6f1d2dcbb51251bdf3df6d563ab3a3ff784d8cf88</content_hash>
            <peek bytes="30a 30c 2f4" />

            <!-- todo: dungeon number -->

        </detect>  

    </libretro>

    <regions>

        <region id="1" name="Camineet" ground_floor="false" start_floor="B1" auto_create="true" >
            <grid width="10" height="8" origin_tl="true" />
        </region>

        <!-- todo: regions for all the dungeons! -->

    </regions>

    <views>

        <!-- Classes -->
        <class name="dungeon">
            <face offset="0" length="1" n="0" e="1" s="2" w="3" />
             <xypos offset="1" length="1" stride="10" />
            <check offset="2" length="1" value="86" /> <!-- 'in a dungeon' flag -->
        </class>

        <!-- Camineet -->
        <packetview extends="dungeon" region="1">
            <move x="-6" y="0" />
        </packetview>

    </views>

</gamelink>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License