-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap-yarmico.tsd
96 lines (55 loc) · 1.7 KB
/
map-yarmico.tsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
; --------------------------------------------------------
; NYGJAM22
; --------------------------------------------------------
;From: https://web.archive.org/web/20030212205842/http://www.cs.kun.nl/is/ts/
;TUT video: https://www.youtube.com/watch?v=rrSc7mG4aHw
;
; --------------------------------------------------------
; Tile Studio Definition for use with the Netyaroze PSX
; --- bitmap file ----------------------------------------
; Bitmaps are saved in a subdirectory named "gfx\".
;
; All bitmaps need to be converted to TIM file using sony PSX
; tools (Timtools 3) and positioned correctly in VRAM
; // #tilebitmap gfx\\<TileSetIdentifier>.bmp 256
;
#tileset
!ExportDuplicateTiles
!StartWithEmptyTile
#tilebitmap <TileSetIdentifier>.png 128
#end tilebitmap
; --- c file ---------------------------------------------
; This file should be included in the source code.
#file ts_maps.inc
// <CurrentDate>
//<ProjectName> <Author> <Copyright> TS:<TSVersion>
// export to: <OutputDir>
// tiles <TileCount> - must be less the u8 to use in map
// must rerun dataman on binary data when updated
; not needed ##include "yarmico_config.h" // for YARMICO_TILEMAP_TPAGE
yarmico_tilemap_t g_yarmico_maps =
{
#list "HEADER" "" " \n" ""
<Item>
#end list
};
#end tileset
#end file
#binfile levels.bin 8
#tileset
#map
; 4byte header
;"MAP"
; <MapCode:"8">
; WxH
#mapdata
<X:"8">
<TileNumber:"8">
#end mapdata
#end map
#end tileset
"EOF"
#end binfile
; --------------------------------------------------------
;!runcmdline
;"C:\Documents and Settings\NetYaroze\Desktop\NY-demos\scrolla-yaroze\PSX.bat"